
I SOLVED (by my self)
Just for those who may struggle with this if the future, just measure by: Check distanse - market properties (High / Low price ) time period.
like in picture
other whise thats not gonna work!
Have a nice one

I SOLVED (by my self)
Just for those who may struggle with this if the future, just measure by: Check distanse - market properties (High / Low price ) time period.
like in picture
other whise thats not gonna work!
Have a nice one

here you can see:
On the top - two check distance
and there is two lines on the the chart - LineHigh and LineLow - the only think that i want is the check the distance between those two lines and say is that lower or highrer than X pips
I will be really thatnkfull if you will help 
shared/Rh0lpugub
fresh link
Im already done with with range break EA, but I need kind of a filter for max and min range in pips, so range between two horisonrtal lines (top and bottom lines) should have max and min in pips...
So acheck distance measuring the current price number not the range between two lines
please help
shared/Ksf8Dq9fe

@jstap Thank you!
Creating small project it is good idea!
Thank you, let me try to do this
Hi Team!
I created a bot, then add counters to see:
How many orders opened;
How mony lots opened;
And so on... but that is not works correctly on live trade, but works fine on tester, i really tryed different ways, and i canot fix it..
and again, why that counter works perfect on tester but shows thousands of zeros on live action..?
Tester mode (works fine)


Live trade results (works bad)


There is a 2 things to do:
Please help!
@l-andorrà Hi Boss, is there any one who can do this block with custom code? even if that will cost me a couple bucks, just let me know how much
@jstap 
Here.. Close all positions on MT5/4
@jstap is there any way how to trigger button on mt5 that is responsible for close all orders? Because that function is really closing all orders at one time, nevertheless fxdreema one closing one by one and spending a time... Really splendid around 10/15 seconds to close 50 orders....
I mean maybe some custom code can help with that?
Using my bot on crash 500 (Deriv broker)...
When close all is triggered, orders are closing one by one, not all together at one time....
For example if there's 50 orders, it takes around 7/10 seconds to close all of them, sometimes even more time...
But when you manually choose on MT5 "Close all orders" button, the system closing orders all together immediately....
Is there any solution for this?