Topics
Replies

leeliangwee
29 Jul 2024, 14:20 ( Updated at: 30 Jul 2024, 05:37 )

RE: Need Help on Indicator Code

PanagiotisCharalampous said: 

Hi there,

This happens because you check the values of the current candle that has not closed yet. Try shifting your checks to index - 1 and index - 2.

Best regards,

Panagiotis

Hi,

I get what you mean, thanks a lot for the help. :)


@leeliangwee