Like this:
If the main instrument short MA is above the main instrument longer MA and secondary instrument short MA is above longer MA create a signal
if ( SMA(5)[0] > SMA(10)[0] [B]&& "SMA(5)[0] > SMA(5)[0]"[/B] ) { DrawArrowUp("arrow"+CurrentBar, true, 0, Low[0]-ATR(10)[0]*2, Color.Green); }
Is this possible? Tried to look around, but couldn't quite find a post about this kind of a coding. So, any hints appreciated Thank you!
Comment