Add Symbols on chart for my alerts

 

Hi and sorry for my poor english.

Actually i'm trying to add alerts on chart for my MT4 interface.

I'm able to draw lines but i need to put special graphic symbols in place.

Is someone able to help me ?

thank's by advance

 
windounet:

Hi and sorry for my poor english.

Actually i'm trying to add alerts on chart for my MT4 interface.

I'm able to draw lines but i need to put special graphic symbols in place.

Is someone able to help me ?

thank's by advance

Please show your code if you need coding help.
 

Hi and thanks for your answer.

Here is my code :


void DrawLine(string LineName,double LinePrice,color LineColor,int LineStyle)

{

if(ObjectFind(LineName)==-1)

{

    ObjectCreate(LineName,OBJ_VLINE,0,Time[0],LinePrice);

    ObjectSet(LineName,OBJPROP_COLOR,LineColor);

    ObjectSet(LineName,OBJPROP_STYLE,LineStyle);

    ObjectSet(LineName,OBJPROP_WIDTH,1);

}

    ObjectSet(LineName,OBJPROP_PRICE1,LinePrice);

}


This one is working to draw vertical line.

But i want to drhow arrow. So, i look at the help and try code for 

But it's not woking.

In the help we have ObjectCreate(chart_ID,name,OBJ_ARROW_BUY,sub_window,time,price)


Thank's for help.

OBJ_ARROW_SELL - Object Types - Objects Constants - Standard Constants, Enumerations and Structures - MQL4 Reference
OBJ_ARROW_SELL - Object Types - Objects Constants - Standard Constants, Enumerations and Structures - MQL4 Reference
  • docs.mql4.com
OBJ_ARROW_SELL - Object Types - Objects Constants - Standard Constants, Enumerations and Structures - MQL4 Reference