Fractional part in iMACD indicator

 

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

 
jugivi:

shows me only 4 decimal places how can you get see 6 decimal?.

How are you printing the value..?? By default, mql4 prints decimal till 4 digits only...
 
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 ...
Reason: