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);




Reply With Quote
