How? - Do not open if a trade has been close manually.
-
Hi,
Situation: EA is running and in profit. But I close it manually as it doesn't have a TP point. But after i close it, the EA immediately open again. I DO NOT want the EA to open any trade (atleast for the next 3 bar) if the trade has been close manually by me. Please advise.
Thank you
-
@dreematrade A pink for each closed trade block with manual trade inside, reset a variable to 0, then add 1 per bar, in the buy/sell tree check with a condition that variable value is > 3.
-
@jstap Hi, this is relevant for me. Can you provide me with steps or illustration? I have challenges understanding adding variables
Much appreciated
-
@traderea6 This should work:
-
@jstap Hi, thanks for building the block. Am i right to say that I only need to enter the number of candle to wait?
-
@traderea6 Yes if you put the number to wait in inputs, when a trade closes the number will reset to 0, it will then +1 every bar so when a new trade is placed the number has to be equals or above what you put in the inputs.
-
Hi @jstap ,I tested it. It will execute trade if there is no value in candles to wait. But if i put in any value e.g 1 or 3. The EA only open 1 trade and stop opening anymore. Can you check? It is the same for your example program.
Thanks
-
@traderea6 Try this, had to stop it constantly looking at the same close trade: https://fxdreema.com/shared/XicUoNbB