Hi can someone please with mql coding experience add sound and text alert (email if this is not too complicated) to attached indi?
It plots 123 pattern and I would like to get an alert when such situatiuon happens.
I assume that some code needs to be added in part :
Thanks for help in advance
It plots 123 pattern and I would like to get an alert when such situatiuon happens.
I assume that some code needs to be added in part :
Inserted Code
// create 123 markers & save positions //get number of markers at this bars low * estpiptextheight yadj= (findobatpos(Time[up1pos],"","B"))*estpiptexth; // create marker ObjectCreate("123Up1,"+DoubleToStr(Time[up1pos],0),OBJ_TEXT,0,Time[up1pos],Low[up1pos]-yadj); ObjectSetText("123Up1,"+DoubleToStr(Time[up1pos],0),"1",fontsize,fontname,upcolor); yadj = (findobatpos(Time[up2pos],"","T")+1)*estpiptexth; ObjectCreate("123Up2,"+DoubleToStr(Time[up2pos],0),OBJ_TEXT,0,Time[up2pos],High[up2pos]+yadj); ObjectSetText("123Up2,"+DoubleToStr(Time[up2pos],0),"2",fontsize,fontname,upcolor); yadj= (findobatpos(Time[up3pos],"","B"))*estpiptexth; ObjectCreate("123Up3,"+DoubleToStr(Time[up3pos],0),OBJ_TEXT,0,Time[up3pos],Low[up3pos]-yadj); ObjectSetText("123Up3,"+DoubleToStr(Time[up3pos],0),"3",fontsize,fontname,upcolor);
Thanks for help in advance
Attached File(s)
__show123_Rh_BB.mq4
48 KB
|
553 downloads