Nevermind, here is a script solution instead of an indicator
It should be compiled in MQL4/Scripts
Files:
Max_Lot.mq4
21 kb

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
This is a very old code and is not working on the current build of MT4
https://www.mql5.com/ru/code/10769
I'm not an MQL4 developer, this is an attempt to convert it, but nothing is seen on the chart: