EA Ignoring Parameters on ADX??
-
Good Day All
I've set up a condition on ADX to only open a trade when the -DI Indicator line moves below 15 to open a trade

However, the EA still opens a trade?? Does anybody have an idea why it's ignoring my parameters?
Check here it opens a trade at -DI Indicator line at 24.46


-
Can you please share the link to your project?
-
@l-andorrà https://fxdreema.com/shared/f6cB8UCCb
It's the 1st condition, I've changed the value to 9.71, but still, the trades are still opened regardless of the value, it ignores it seems like it.
-
Maybe using the Comment block to print out those values so that you can know exactly hat has happened.
-
@sktsec Can you perhaps show me how to do that?
-
You are positioning the 'once per bar' block high on your block tree. That means the condition is checked at the open price of each new bar when the condition can be true later. You should move that block to the current position of the 'Loop' block and substitute it.
-
@thecreatorx Okay so put the 'once per bar' block where the 'Loop' block is and remove the 'Loop' block?
Thanks, once again much appreciated
-
Exactly. You're welcome.