I want 2 indicators to confirm first before ordering
-
I'm trying to make the EA wait until 2 orders are confirmed but it skips conditions 68 and 67 and places either a buy or sell order anyway.
-
Your settings seem wrong, you are using within limits indicator and it only contains an upper value of 80, so anything below 80 will pass as true. If you had the lower value say 20 the RSI would need to be between value 20-80 and it would open a trade.
What were you trying to achieve?
-
@Ipod I’m trying to make the ea place a buy order when RSI on M5 and M1 has already or has now crossed the 20 level line, sell order when RSI on M5 and M1 has already or has now crossed the 80 level line, place another buy order when the ask price is below the lowest buy order and RSI on ONLY M1 timeframe has already or has now crossed the 20 level line AGAIN, place another sell order when the bid price is above the highest sell order and RSI on ONLY M1 timeframe has already or has now crossed the 80 level line AGAIN, close all buy orders when RSI on ONLY M5 time frame has already or has now crossed 80 level line, and close all sell orders when RSI on ONLY M5 time frame has already or has now crossed 20 level line.
-
@NamiyrD You will need variables to control that. Now you are requesting all conditions to be true at the exact same moment. You need variables controlling when one condition is active when another one already happened.
-
@l-andorrà how do I use variable to make the ea buy or sell per each crossing of one of the levels of RSI?
-
@NamiyrD Hello, just use the condition block the yellow one and select the RSI indicator in one side and in the another one select >x if you want a upper cross or select <x if you want a bearish cross.
-
@SATI-Autotrading-Institute https://fxdreema.com/shared/XFbfF9nUc
The problem is that when I added in crosses above and below into the sell and buy below “if trade” order, the ea spams orders. And even if I add “crosses above”, then crosses below for buy, it doesn’t place any orders
-
@NamiyrD You need to create two separate structures. The first one will be checking when a crossing happens. As soon as it happens, a bool variable will be 'true'. Then in the second structure you search for the RSI condition to be true, but with a condition block on top of it requiring the bool variable to be true.
-
@l-andorrà what should that look like? can you give me an example?
-
Is this single entry? If not, i think you should use Once per bar block.
-
Try something like this, hope it helps. I have not tested it but this is roughly how I would build a grid system.

-
@NamiyrD It should look like your current structure, but with those variables I suggested being included.