Hi there !
Were do I configure the pink fields ?
Where do I set its parameters ? (_Points and _Digits)
Thanks !
Hi there !
Were do I configure the pink fields ?
Where do I set its parameters ? (_Points and _Digits)
Thanks !
It's not clear what is your question.
Sorry ... I am trying to trade WINM14 and WDOM14 (dollar).
I cannot use the same EA because the SL gives me an error.
Further investigation shown the problem is the _Digits and _Point. Depending on the instrument I have to change it.
Question is ... How can I change it ? :)
You cannot change these values... they depend on the symbol you're using...
So what is the "best practice" here ?
Use an external variable ?
So what is the "best practice" here ?
Use an external variable ?
What exactly are you trying to do ?
if(StringSubstr(_Symbol,0,3)=="WIN") { pontos=0.001; digitos=3; } if(StringSubstr(_Symbol,0,3)=="WDO") { pontos=1; digitos=0; } (...) To replace here (*) mrequest.sl=NormalizeDouble(price_info.bid+stop_loss*_Point,_Digits); // Stop Loss (SELL)
Hummm... Now we're talking about the so-called "market knowledge", and it's not related to programming anymore... :-)
So, my question to you is: how many decimal places do "WIN" and "WDO" have ??
Another question: what is the usage you're trying to make out of _Point?
Hummm... Now we're talking about the so-called "market knowledge", and it's not related to programming anymore... :-)
So, my question to you is: how many decimal places do "WIN" and "WDO" have ??
Another question: what is the usage you're trying to make out of _Point?
- 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 there !
Were do I configure the pink fields ?
Where do I set its parameters ? (_Points and _Digits)
Thanks !