jugivi:
How are you printing the value..?? By default, mql4 prints decimal till 4 digits only...
shows me only 4 decimal places how can you get see 6 decimal?.
Print with Alert ("MACD for M15", "signal", mi_MACD_signal, "main", mi_MACD_main);
Depends on where you are 'seeing' the result. The default display size is 4decimal places to see more use DoubleToStr(value,dp) where dp is the number of decimal places you want to display.
Many thanks, I'll try ...
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
Good morning I wanted to ask a question, I'm calculating the MACD of a symbol and a timeframe, the MACD signal values in MT4 with 6 decimal places, but when you run into an Expert Advisor shows me only 4 decimal places how can you get see 6 decimal?.
MACD_main = iMACD("EURUSD", PERIOD_H1, EMA_fast, EMA_slow, EMA_signal, PRICE_CLOSE, MODE_MAIN, 0);
Thanks