What block should I use if I want the robot to stop until the reopening of the candle tomorrow if today's loss reaches more than 3%? If possible, give a picture
Unsolved Stopping the robot for hours
-
What block should I use if I want the robot to stop until the reopening of the candle tomorrow if today's loss reaches more than 3%? If possible, give a picture
-
I'll help you build, create a test project, and add a shared link. I use check profit (period of time), above buy/sell >loss % amount, above a close block, check profit (period of time) =< loss %. to work out % into money, current balance once per daily bar/100*3 (to get 3%), this will stop trading for the rest of the day (use 00:00) as the time to look at profit from time.
-
@jstap I have a robot that whenever the price moves in the opposite direction, it adds some amount to the volume at regular intervals and opens a new trade (with no profit and loss limits) and after the price returns, when the total profit is reached. 3%, closes all current trades. This robot is profitable on 99% of days and I see a beautiful chart going up but suddenly it loses all the capital in one day. How can I control it?
-
@jstap If you have a solution, you have greatly helped all my strategies
-
Create the test project, from what I said earlier.
-
@Beigi There is no solution for that. That's a martingale-style betting. That is not even considered a strategy. It is inevitable. That can happen sooner or later, but will happen for sure.
-
@Beigi said in Stopping the robot for hours:
What block should I use if I want the robot to stop until the reopening of the candle tomorrow if today's loss reaches more than 3%? If possible, give a picture
i suggest you to make a search on forum typing "stop trade until next day" or similar, i'm pretty sure you can find something that has already been discussed