CLOSE ALL TRADES AT A PARTICULAR TARGET
-
Good day. My Question is simple. I have 2 Group of trades, The Buy is Group 1, and then the sell trade is Group 2.
So close all trades when running trades of Buy and sell Trades equals a particular profit Target. checks the startup balance for the day, then immediately the bot starts running, both closed trades and running trades, if all hits the profit Target. Close all trades. -
block, check profit (period of time) - close block, this will check profit made over a given time then close if reached.
-
@jstap If the today target has been hit for the day, how do I terminate the bot for the day, then it resumes the following day
-
you don't terminate you use 2 blocks, above your trade blocks < the goal amount, above a close block in a separate tree > goal amount
-
@jstap Please can you show me a typical representation
-
Basically like this:

-
@NZEFILI you can also "terminate the bot for the day, then resume the following day" with Set Flag and Check Flag.
- Once a day you Set Flag (textual) to ON
- Then Check Flag to be ON to run your system
- If your Take Profit target is met, Close all Positions and set a separate flag Set Flag to OFF. Trading will stop and resume next day when the flag is reset to ON again.
-
@Bogdaiki of cause you can... buy why...
-
@jstap said in CLOSE ALL TRADES AT A PARTICULAR TARGET:
@Bogdaiki of cause you can... buy why...
To stop trading for the day then resume next day.
Because I'm thinking in your example above all trades would close when profit is hit, then continue trading during the same day.
I also need to count TP and SL in pips, so I use Check profit (average), because Check profit (period of time) is doing it in Money only..
But maybe I'm wrong in my assumptions
-
It does exactly that, only allows trades if day profit not met then closes, you could not use the close section, and it would work the same if a trade closes above the value. It doesn't work for pips, a different multi block set up would be needed.
-
@Bogdaiki Please can you show me an Example
-
I can but get things working as you want, then if needed you can refine by changing set up's to use pips.
-
@Bogdaiki said in CLOSE ALL TRADES AT A PARTICULAR TARGET:
@jstap said in CLOSE ALL TRADES AT A PARTICULAR TARGET:
@Bogdaiki of cause you can... buy why...
To stop trading for the day then resume next day.
Because I'm thinking in your example above all trades would close when profit is hit, then continue trading during the same day.
I also need to count TP and SL in pips, so I use Check profit (average), because Check profit (period of time) is doing it in Money only..
But maybe I'm wrong in my assumptions
In that case your solution it's much cleaner and shorter - thank you
! Wondering how to make the Profit target for the day in pips instead of money though..!
I have it like in the imgage but have to test if the Profit resets to 0 next day.. (I'm not sure).
Bo-StoTactics-Cond-Day--01-11-2026_06_25_PM.jpg -
Pips means regardless of lot size the trade will stop when enough distance is covered, so I see why it would make sense. But test with money, once working as you want you can upgrade the logic to pips, because at this point you will know the money value of a trade's action, so on the same lot you will see how many pips give the same result.