Hey guys, I am looking to see if someone could help me with coding an idea.
I would like an arrow plotted on a candle when
Price crosses two moving averages within the body of the current candle.
Would also like the option to displace .
Any help would be greatly appreciated.
Example:
Price crosses above the 10 sma and 40sma within the same bar an up arrow will appear, and the opposite when it crosses back below in the same bar( on any time frame)
I can figure out crossing of 1, 2 within the same bar is a little tricky for me
I would like an arrow plotted on a candle when
Price crosses two moving averages within the body of the current candle.
Would also like the option to displace .
Any help would be greatly appreciated.
Example:
Price crosses above the 10 sma and 40sma within the same bar an up arrow will appear, and the opposite when it crosses back below in the same bar( on any time frame)
I can figure out crossing of 1, 2 within the same bar is a little tricky for me
Last edited: