Condition's Value input is being ignored.
-
Hi,
I'm trying to create a condition, where the EA can enter Buy order when RSI is above 35 value, but the value is being ignored for some reason. Also having the same issue with William%R where the value input is not being considered.

Am I doing something wrong?
-
@rafaels919 You are measuring the rsi from candle 0, which constantly changes. When you make a backtest, you only see the final value of each candle and it seems that the condition doesnt work.
To solve, hit more settings and change candle id to 1.
-
@roar Okay, so I set the candle ID to 1:

But it still ignores the value: The closed candle is 32.4267, which violates the value input: >35:

-
@rafaels919 Ok, now thats weird!
I can't see what is the problem, the fxdreema logic is fine.
Maybe you are accidentally using an old version of the ea, or old settings.. ? -
@roar
Just restarted MT4, tested the same with William %R, same issue.(> -80 and < -20)

-
@rafaels919
You have ticked the candle ID setting, this means its converted to an input and the value doesnt automatically update from fxdreema. Please check the EA inputs on your mt4 strategy tester.Its probably not the issue, but I can't think of anything else
-
@roar
The candle ID is "1" in the Strategy Tester EA settings as well... -
@roar If it's called "Lo_Shift" that is^
-
@rafaels919 Yeah, thats it. Everything should be okay
-
I also had the same issue with some other settings in my EA... If you have tested the EA before and then changed it in FXdreema .. When loading the EA back into the MT4 you have to open the setting tab of the EA and press reset Otherwise MT4 keep the previous settings.. my two cents...

-
@AlphaOmega Reset didn't help either unfortunately.
-
@rafaels919 Sorry about that : Here I have exactly the same sort of thing and it works fine?? Sorry I cannot help you, I am a total noob at this

-
@roar The issue seems to be only when the closing of the previous order and opening of the new one are happening on the same candle. Like in the previous images I attached:

(closing and opening on the same candle^) -
@rafaels919 I noticed that as well.. implies that the EA wants to trade on whatever RSI value. Try without that AND block, just connect the conditions one after another. Maybe the AND logic is the issue here - as far as I know, the AND somehow "stores" the individual condition passes and continues only when all passes are recorded
-
Everywhere else it looks fine. Whenever there is space between previous order and the new order, it works within the Value limits. @roar
-
@roar Nope, that didn't help either. Exactly the same without the AND block.
-
@roar Maybe I could make it wait for 1 candle to pass after a closed trade (t/p or s/l) - then continue trading?
Could the "Turn Off/On" blocks work for this case? -
Okay, this is what I did, and it seems to work.

input is 2 minutes in the "Skip Tick"
"Check Type" Blocks: ("Buy Trade" in block one) ("Sell Trade" in block two)@roar @AlphaOmega
Thanks for helping out! -
@rafaels919 Great! If you later figure out the cause, please update here - I'd love to know
-
@roar This is so fucking weird. Now I was able to skip a candle at some places that I wasn't able to before, but it still ignores the candle limit nevertheless. It also still enters on the same candle on other trades. I guess my solution on skipping candles isn't working properly and the issue of ignoring the value still remains, regardless if the candle is skipped or not.
