Hi , I have an indicator that draws arrow with each doji found on the charts . But with the drawings , it does not indicate any windgings object , but instead it displays a green cross .
After the properties , I have set the codes lines :
intOnInit(void)
{
//--- indicator buffers mapping SetIndexBuffer(0,ArrowsBuffer,INDICATOR_DATA);
SetIndexBuffer(1,ColorArrowColors,INDICATOR_COLOR_INDEX) ;
PlotIndexSetInteger(0,PLOT_COLOR_INDEXES,3);
PlotIndexSetInteger(0,PLOT_LINE_COLOR,0, color_FIRST );
PlotIndexSetInteger(0,PLOT_LINE_COLOR,1, color_SECOND );
PlotIndexSetInteger(0,PLOT_LINE_COLOR,2, color_THIRD );
PlotIndexSetInteger(0,PLOT_LINE_COLOR,1, color_FOURTH );
PlotIndexSetInteger(0,PLOT_LINE_COLOR,1, color_FIFTH );
//--- Define the symbol code for drawing in PLOT_ARROW PlotIndexSetInteger(0,PLOT_ARROW,252);
//--- Set the vertical shift of arrows in pixels PlotIndexSetInteger(0,PLOT_ARROW_SHIFT,20);
//--- Set as an empty value 0 PlotIndexSetDouble(0,PLOT_EMPTY_VALUE,0);
//--- return(INIT_SUCCEEDED);
}
It might be the PlotSetInteger with the arrow codes .
As the results , we get :
Is it possible to declare the arrows and the right codes for each point on the charts ?
Hi , I have an indicator that draws arrow with each doji found on the charts . But with the drawings , it does not indicate any windgings object , but instead it displays a green cross .
Here are the codes lines :
After the properties , I have set the codes lines :
It might be the PlotSetInteger with the arrow codes .
As the results , we get :
Is it possible to declare the arrows and the right codes for each point on the charts ?