Hi Guys,
Can anyone Helps me ??!!
I want to remove all Objects from Visual Order Editor and there is no H_Lines on chart (all Parameters will given from EA's externs) . For E.X : This Code :
will be change to this one :
Thanks All http://live-forextsd.netdna-ssl.com/...ssed_smile.gif
Can anyone Helps me ??!!
I want to remove all Objects from Visual Order Editor and there is no H_Lines on chart (all Parameters will given from EA's externs) . For E.X : This Code :
Inserted Code
if(use_be)
{
if(-1 == ObjectFind("lvoe_be_" + oTicket))
{
if(oDir*(oStopLoss-oOpenPrice)<0)
{
ObjectCreate("lvoe_be_" + oTicket,OBJ_HLINE,0,Time[0],oOpenPrice+oDir*default_be_level*point);
ObjectSet("lvoe_be_" + oTicket,OBJPROP_COLOR,be_color);
ObjectSet("lvoe_be_" + oTicket,OBJPROP_STYLE,be_style);
}
}
} will be change to this one :
Inserted Code
if(use_be)
{
if(oDir*(oStopLoss-oOpenPrice)<0)
{
be = oOpenPrice+oDir*default_be_level*point;
if(oType < 2 && oDir*(BidAsk-be)>=0)
{
sl = oOpenPrice+oDir*be_offset*point;
OrderModify(oTicket,oOpenPrice,sl,oTakeProfit,0,Yellow);
continue;
}
}
} Thanks All http://live-forextsd.netdna-ssl.com/...ssed_smile.gif
Attached File(s)