comparing 2 candles
-
Hi,
I expect this has been asked before, and yet I cannot find the answer.
Suppose I want to compare the last 3 bars on the hourly chart. If I understand correctly, supposing it is now 08:01, the 07:00 bar is x-1, and the 06:00 bar is x-2 etc...
I would like to use a condition to compare x-4 and x-5. and then x-7 and x-8.
Where in the condition window do I say x-4, or x-5, etc... I do not have a specific time I am looking at, just 4,5 and 7,8 bars back.
Thank you,
Mike -
Candle ID parameter. 0 is the current candle, 1 is the previous, then 2, 3 and so on. These are positive values and yes, the bigger the number, the more you go to the left on the chart.
-
__Candle ID parameter. 0 is the current candle, 1 is the previous, then 2, 3 and so on. These are positive values and yes, the bigger the number, the more you go to the left on the chart.[/quote:89bvzvnj]
Please is there a way you can shift to future bars because that would help me to close my trades per bar as much as possible?
-
No