@arlslan You can do it via this option here:

@arlslan You can do it via this option here:

True. This has never happened to me in the last 8+ years. I'm living in western Europe.
I'm afraid I don0t get it. You cannot 'compensate' lost trades with different SL distances unless you change the lot size accordingly. I can't get how a martingale doubling lot size every new trade will do that.
@JordanMarvelley Blocks 9 and 10 are unnecessary. You can remove them and it will close them all.
@tradingforward23 That definitely depends on your current structure. Can you please share the link to it.
They should close normally. That error is stopping new trades to be open, not to stop closing those that are open now.
@MT4stefano Are you sure storing that initial value is useful? Brokers are usually using a crazy spread at the beginning of the day.
¿Significa eso que el único time frame a considerar es el diario? Lo digo porque cambia mucho la estructura a usar barras intradía a usar sólo las diarias.
@lucas-farias-de-almeida That's right. Crypto payments can need up to a week to be confirmed. You'll need some patience.
@Khun-Som-Ath Definitely they are not needed if the bot is supposed to be 100% automatic (is no human intervention at all). So let's begin with those initial distance calculations. Here you have a first structure:
https://fxdreema.com/shared/KJ2qALMbb
I created a Constant that is supposed to select the distance in pips for both trades to be activated. Then on the chart you will see both price levels. If this is what you want, we can move on from there.
@jstap Just curious. Will that make the indicator selectable i some way? I mean, you are selecting a string variable and that's a text only. Why the name of an indicator can be useful and not the indicator itself? Sorry for my ignorance.
@Tehern Yes, you should use two separate 'for each trade' block trees, one for each function. You current use of a blue 'trailing stop' block connected below a 'for each trade' is not good because you are connecting a loop to another loop. You'd better use pink block only on both blot trees.
@honeylogs86 I knew that. My question was why do you need that if the bot is supposed to be 100% automatic with no human intervention.
@amiinkiaei Maybe if you try it first, we can see you are putting some effort on your part. 
But are all trades sharing the exact same distance to their SL? If I understand it correctly, that's not the case. Am I right?
@Duelistking Do you really need those lines? The bot can work perfectly fine with variables storing that information and the coding will be FAR less complicated.
@YOSEF It refers to the most recent history. That means that if you are looking for 2 consecutive losses, as soon as they happen (ie, at the second one), the counter will immediately reset. Same if there is one loss and then one win. The counter resets immediately.
@honeylogs86 Why do you need the line when you can store the value into a variable?