I m trying to make my own strategy and i want the strategy to check the current state of the last candle at 7 am local time on DAY chart.i Know that source.close( 0 ) is wrong.
How can i do it?
Can someone help me on that?
- Code: Select all
source.close( 0 )>source.close( 1 ) .and. source.close( 1 )>source.close( 2 )
.and. source.close( 2 )>source.close( 3 ) .and. source.close( 3 )<source.close( 4 )