Hello,
I'd love to know if a person knows how to increase the number of decimals shown in the information window. For price I receive 5 digits but for a number of this indior I use I only get 4. Can I increase this?
Due
Hello,
I'd love to know if a person knows how to increase the number of decimals shown in the information window. For price I receive 5 digits but for a number of this indior I use I only get 4. Can I increase this?
Due
utilize this code:Originally Posted by ;
PHP Code: <code><span style=”color: #000000”> <span style=”color: #0000BB”>doubledXPoint</span><span style=”color: #007700”>=</span><span style=”color: #0000BB”>1</span><span style=”color: #007700”>;
</span><span style=”color: #FF8000”>// ------------------------------------------------------------------
//|expertinitializationfunction|
// ------------------------------------------------------------------
</span><span style=”color: #0000BB”>intinit</span><span style=”color: #007700”>()
</span><span style=”color: #0000BB”></span> </span> </code>
Thanks so much Newton51, it works so much better. Will test it a while more to see if there are any problems with the indi. Appreciate your help.
Sorry for bringing up an old thread, but I attempted to stick to the directions about how to boost the screen to 5 decimals for one of those indi in the information window but neglected.
Can any kind soul pls help to edit the Keltner Indi so that it shows 5 decimals in the information window of MT4.
A thousand thanks in advance.
https://www.forexforum.co.za/attachm...9984099581.mq4
I'm an amateur in coding and maybe there is a more elegant solution, but this will always provide you five digits in DataWindow, regardless of whether specimens for your Symbol is 2,3,4 or 5.Originally Posted by ;
I hope this is what you seek.
https://www.forexforum.co.za/attachm...1409133503.mq4
Utilize the following:
emptiness IndiorDigits( int digits)
Sets precision format (the count of digits after decimal point) to visualize indior values. The emblem price preicision is used by default, the indior has been attached to this symbol chart.
Parameters:
Records - Precision format, the count of digits after decimal point.
Sample:
int init()
//-- two additional buffers are used for counting.
IndiorBuffers(3);
//-- placing of drawing parameters
SetIndexStyle(0,DRAW_HISTOGRAM,STYLE_SOLID,3);
SetIndexDrawBegin(0,SignalSMA);
IndiorDigits(Digits 2);
//-- 3 alloed buffers of an indior
SetIndexBuffer(0,ind_buffer1);
SetIndexBuffer(1,ind_buffer2);
SetIndexBuffer(2,ind_buffer3);
//-- short name for DataWindow and indior subwindow
IndiorShortName(OsMA( FastEMA , SlowEMA , SignalSMA ));
//-- initialization done
return(0);