I'm looking to build a code that captures:
A) Bullish move:
• Three candles
This code should plot a horizontal line at the high of the first candle that extends all the way to the left of the chart until it's crossed.
B) Bearish move
• Three candles
This code should plot a horizontal line at the low of the first candle that extends all the way to the left of the chart until it's crossed.
Thanks in advance!!!!!
A) Bullish move:
• Three candles
- First candle is red
- Second is green and at least twice the size of the first candle
- Third candle low that is at least a penny greater than the high of the first candle
This code should plot a horizontal line at the high of the first candle that extends all the way to the left of the chart until it's crossed.
B) Bearish move
• Three candles
- First candle is green
- Second candle is red and at least twice the size of the first green candle.
- Third candle high is at least a penny less than the low of the first candle.
This code should plot a horizontal line at the low of the first candle that extends all the way to the left of the chart until it's crossed.
Thanks in advance!!!!!