@len-1 I'm sure a custom code will always be more efficient, but I'm not a programmer so I cannot help there. You can use a 'check distance' block like this:

By selecting yes, the distance will be absolite and you will never need a +1/-1 factor.
@len-1 I'm sure a custom code will always be more efficient, but I'm not a programmer so I cannot help there. You can use a 'check distance' block like this:

By selecting yes, the distance will be absolite and you will never need a +1/-1 factor.
@len-1 Why should you use the custom code block? You can get that distance by using the standard 'formula' block and then visualize the result via variable on the 'comment (ugly)' block.
This is the second thread you created for the exact same question. Please don't duplicate threads.
I always ignored the repeated requests of transformation from money to price level in order to find a TP/SL level. However, I finally find myself needing it for a project. Sadly, I don't find the formula doing that.
My project is having several open trades at the same time (buys and sells) and I need to find the dynamic price level that would hit a specific TP/SL in money. So far I selected the corresponding 'check profit/loss' block and then close them all. However now I'm explicitly requested to find the corresponding price level where that will happen. Could someone please tell me the formula used to transform money into price?
@sktsec I tried it but it doesn't work. The final result is only modified by the value of 'TP_money' constant only. I tried the same value for 'TP money' with different lot size values and the result on 'tp_fraction' doesn't change. I'm testing on EURUSD with a 5 digits chart.
Now I will try to work on roar's suggestion.
I created two versions of the same bot to be used on the same symbol. I want to see the profit/loss performance for both independently. Both both use slightly different versions of the trade launcher but the exact same version of the manager part closing trades partially or completely.
I always believed that using different magic numbers on every chart would be more than enough to separate their results, but I was wrong. Although I'm using them on separate charts I see that both final results at the end of the day are wrong because some results of one of them is included in the other.
Do I need something more than using different magic numbers? What am I missing?
I created a bot used on a demo account on different symbols at the same time and in 3 out of 8 I got the error in the title. No trades were open for that reason and this is weird because I'm using a 200k USD account and 0.5 lot size on each symbol. It is obvious that tere is enough money to trade. All symbols are standard forex charts (no crypto, indexes, etc.).
Could someone please tell me why some charts are working and some not?
@Alisorouri Please open a new thread with your question and don't use previous OT threads.
@mentor123 Stop kidnapping other threads for the same question. If you want someone to help you, that doesn't help.
@TashaB Then this is the only info fxDreema can provide:

If you need more you should find a custom indicator.
@MrDaisyBates Thank you for tagging me, man, but this is FAR OUT of my league!!
I'm not a programmer like roar. I'm just an advanced fxDreema user. He will be able to help you for sure. 
The offline version doesn't work. The admin decided not to fix the problem looooong ago, sorry.
@TipsyWisdom I don't remember having said that.
But I'm over 50 so I cannot discard I did it and now I simply don't remember.
Try to backtest on MT5 instead. Live spread is included there.
@Domas1988 You need to connect this block immediately below the event you need top be communicated.

However, you'll need to use the android's MT4 app to make it work. That means all you contacts, phone calls, messages, emails, etc. will be used and sold to unlimited third parties.
Same if it is the same indicator. You can use as many different variables as necessary.
There is no block breaking that loop, I'm afraid. The only option is adjusting the logic of both of them accordingly.