Project does'not start (Variable)
-
I can't find the problem here. The trade is not starting.
I made a variable.
I first want to check if RSI is <= 30
Then Variable1 should go to 1
If Variable1 is 1 then check if MACD main line crosses Signal line upwards
If through buyThe trade is not starting with this setup.
Can someone have a look please? -
For a start, you need to reset the variable if the condition is not true, put the variable into a comment and watch if it changes before worrying about it placing a trade.

-
Thanks. Do you mean this. What do you mean with leaving a comment? How can you do this. Really appreciate your help. Love to work with the program.

-
What I mean by comment is put this variable into a comment, so when you backtest you can see what is happening. I would rather than using the change variables section use 2 modify blocks, at least at the start.
-
I reset the counter from the start. When I sut down the right part I receic=ve a message. So that's working. Only when I try to test the right part (with the once per bar) I do not get a command. Do you have any idea what could be wrong. An other thing is that I use in Metatrader 5 the original MACD. Does it suppose to work with this Or do I need a custom MACD?
-
Once per bar needs to be below a cross condition
-
Thanks, you keep me going. Have a nice evening
-
