How do I point to one instruction for each condition, and when that is repeated, then move on to the next command?
-
How do I point to one instruction for each condition, and when that is repeated, then move on to the next command?
-
@ddvjvn-kmb Need more information, put a shared link here.
-
@jstap i have an example like this where rsi >70 Ea will enter a sell order 0.01 lot . but my EA goes into consecutive sell orders when rsi > 70 , so bad . what i want is that the EA only enters one instruction until the condition rsi > 70 is repeated it will enter the second instruction, so it only enters one instruction every time the condition rsi > 70 is repeated. i know a block is " no trade " which means will only enter a new order when the previous one is closed , that is not what i want , i want it to enter even if the previous order is not closed as long as the condition rsi > 70 is met .
-
@ddvjvn-kmb Create a shared project and say what's not working, a blue no trade block will limit to 1, if you want more than 1 you have to decide the logic processes used, for example every candle if rsi is still below 70 a new trade is placed.
-
@jstap
this is my project , i want it to enter a sell order when rsi >70 , and into the next one when the rsi >70 condition is repeated , even if the previous one has not closed . ( but my ea has entered a sell order continuously as long as rsi >70 , i only want it to enter 1 order , until the condition rsi >70 is repeated will enter the next order , even if the previous one has not closed , so I don't use the " no trade " block because this block only opens a new order when the previous one is closed)
https://fxdreema.com/shared/KO6F8On9e -
@ddvjvn-kmb Your logic is floored,> is all the time rsi is above a value, if you use X> and once per bar then you will get a trade once per candle every time the cross happens.