You tell your broker to fix their server.
Hi,
The below Script I'm using to calculate the position size, it works fine across all symbols but I got some problems with some CFDs, "The Nikkei JPN225" for example, TICK_VALUE = 0 which causes the position size to be Max Volume of that symbol or never breaking out of that While loop.
So my question is, is there a work around that, when TICK_VALUE = 0, for calculating the appropriate position size ?
Hi,
The below Script I'm using to calculate the position size, it works fine across all symbols but I got some problems with some CFDs, "The Nikkei JPN225" for example, TICK_VALUE = 0 which causes the position size to be Max Volume of that symbol or never breaking out of that While loop.
So my question is, is there a work around that, when TICK_VALUE = 0, for calculating the appropriate position size ?
https://www.mql5.com/en/code/28029
also,
- www.mql5.com
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Hi,
The below Script I'm using to calculate the position size, it works fine across all symbols but I got some problems with some CFDs, "The Nikkei JPN225" for example, TICK_VALUE = 0 which causes the position size to be Max Volume of that symbol or never breaking out of that While loop.
So my question is, is there a work around that, when TICK_VALUE = 0, for calculating the appropriate position size ?