i already trade this strategy by running two bots in oposite directions. but it is missing money management and can open the trades in the same direction. i can show/explain better on a call.
1. trade opening
At a certain time orders in both directions are open
2. Trade management
- at a defined gap size, the winning trade is closed and another opened in the same direction. the losing trade is also closed and opened new with lots changed accordin to the defined change
- Position sizing is defined in two parts, from starting lot to a 1st target lot is one definition(can be decreasing or increasing) after the 1st target lot size is met, the second position sizing is starting. also have a target lot size when the changing stops.
- the positions are always against each other
- losing direction is closed at defined profit(or loss)
3. Time management
- trade start, trade opening finished. at this point one direction can be closed very quickly and the other one can take a lot of time to close succesfully.
-At defined time slot, if the defined profit is achieved, the trades are closed for the day. if the profit is higher, the set amount acts as a profit protection
- at the next defined time slot if the loss is no greater than defined amount, the trades also close for the day.
-Hard close - time when all open trades are closed diregarding the profit or loss.
4. Money management
- daily profit close(equity)- closes trading for the day
- daily stoploss close(equity) - closes trading for the day
5. Visuals
much like the one bellow. the next closing is marked(for the initial trade and for the series of losing trades) , diferentiated by color for each direction
the trades are connected by a line
![](https://c.mql5.com/21/364/6039692811571__1.png)
Dashboard
- daily profit
- possibility to close the trades in one direction or all
- some information like bellow
![](https://c.mql5.com/21/364/314092403103.png)
Variables
pip gap
Position sizing-----
Starting lot size
phase1
change by rate
target lot
phase2
change by rate
target lot
Time management------
reference time
GTM
open trades start
open trades finish
days to trade
Monday
tuesdazy
Wednesday
Thursday
Friday
Trade profit closure------
time profit period start
time profit period end
profit target
trade loss closure-------
time loss start
time loss end
loss target
daily hard close
money management-------
daily profit close
daily loss close