not to trade after profit
-
I have a robot that checks conditions in every price tick of a candle and open buy or sell after the conditions are met.Therefore, it is possible to take Buy or Sell several times in one candle according to the conditions.
My problem is that even in case of making profit, this robot continues to take buy and sell until the end of candle close.
Now, I want that if the first and second trade was a loss, but the third trade was a profit, no more trade should be made in that candle and stop until next candle open. -
But what if trades 1 and/or 2 are in profit as trade 3? And what if the situation changes through the candle's evolution in time?
-
@l-andorrà I want to say more clearly, if in a candle the first trigger is profit stop until the candle close, if the first is loss and the 2 is profit then stop to candle close, i want just stop open trade after profit it doesn't matter its the first position or 5,6....
It is even possible that all the trades hit the stop loss and the candle close before a profit , which is not important and we proceeded according to the strategy. -
I forgot to say something ، If one position is open, no other position will be opened
-
Ok. Can you please share the link to your project?