How to store a set of conditions as a variable
-
Hello Everyone
I am trying to make my EA save the lowest price (of the last 15 candles) as a variable only if conditions 1 and 2 have been met. see shared project link below.
https://fxdreema.com/shared/dpUejq8wb
What am I doing wrong?
Thanks in advance
-
Your condition are:
if candle 10 high is higher than the high of candles 1-9
&
if candle 10 high is higher than the high of candles 11-15
then
Save candles 1-15 lowI see no reason why this doesn't work as long ass conditions are met, I would put all results into a comment block so what is needed can be verified
. -
@didymario7 The logic is correct. The 'pass' block is not necessary though. Is that the whole project?
-
@l-andorrà said in How to store a set of conditions as a variable:
@didymario7 The logic is correct. The 'pass' block is not necessary though. Is that the whole project?
No I just got started though. As part of the project, please take a look at this challenge and see if you can help out. https://fxdreema.com/forum/topic/12949/close-pending-order-before-midnight-and-reopen-it-after-midnight
Thanks