SetIndexStyle for mql5

chinaski
1047
chinaski  

Hello,

in mql4 i can set style and color for an indicator dynamically usign function 

SetIndexStyle(index,DRAW_LINE,EMPTY,1,my_clr);

Is there something similar in mql5 or do i need to use 

#property indicator_type1   DRAW_LINE
#property indicator_color1  Cyan                

Thank you

chinaski
1047
chinaski  
chinaski:

Hello,

in mql4 i can set style and color for an indicator dynamically usign function 

Is there something similar in mql5 or do i need to use 

Thank you

        PlotIndexSetInteger(index,PLOT_DRAW_TYPE,DRAW_LINE);      
        PlotIndexSetInteger(index,PLOT_LINE_COLOR,my_clr);