MULTIPLE TRADES CONDITION
-
hello,
is there a way i can control the trades that open? for example if a condition is true it opens and the trailing stop closes it but i dont want the EA to open immediately another trade the next candle even if the condition is true... is it possible?
thank you -
any ideas?
-
Of course you can control your trades, but what do you want, exactly?
That the trades don't open every bar? Then use "once per minutes" bar, for example. -
sometimes the trailing stop closes the trade and the conditions are met again to open a new one, especially in big candles, i need to avoid after a big candle to open a new trade right away because most probably it will retrace.
-
This is what I use in similar tasks. There is probably simplier solutions..
https://fxdreema.com/shared/AY3GhifBd
As you can see, it pauses when there is an impulse.
You can adjust the impulse size with minRatio constant (bigger ratio, bigger impulse) -
this needs a lot of reading ...
, too much for my programming skills -
Ok

Well, I think you will learn these eventually anyway, if you are going to be successful ea builder
The idea in this is to count bars, and then check the counted bars before buying or selling. If there is a spike, the counting starts from 0, and so no trading for a while.