Comment on Managing your Script
Please provide code for my strategy:
It involves 2 previous candles and current candle
Buy : if (Close of previous candle > High of previous to previous candle) and the current price > High of previous candle.
Sell : if (Close of previous candle < Low of previous to previous candle) and the current price < Low of previous candle.
Thanks in advance