How to?

 

Dear Scorpion

How can I perform checking on the previous bar (candle) in zero code??

Regards

 
old_man:
Dear Scorpion How can I perform checking on the previous bar (candle) in zero code?? Regards

When chosing from the dropdown menu click on Previous instead of Current. Hope this helps

 

Thanx for the reply

What I mean is how to specify a condition where I compare a value of the indecator (current or previous does'nt matter) with the high of the previous candle.

regards

 

Assume you want to check whether current MA is higher than high of the previous candle. The logic is "MA (x) Current > High[1]"

 
scorpion:
Assume you want to check whether current MA is higher than high of the previous candle. The logic is "MA (x) Current > High[1]"

Thanx Scorpion

I suggest that the system should include such processing in the pop menue.

 

Dear Scorpion,

I am continuing this thread since I find the "How to" subject very good for questions. I hope it is ok.

I would like to ask about "indicator rising" check. That is, to check that

[current > previous] and also [previous (-1) > previous (-2)].

I just wonder, if I could write in the "ZeroCode":

AND ADX (previous) > ADX (previous)

to check values of previous (-1) compared to it's previous (-2)??

Thank you,

Simon

 

This is not support yet. Hopefully, I can program it in next release.

Reason: