Caranya begini gan:PHP Code:
OrderSelect(OrdersHistoryTotal()-1,SELECT_BY_POS,MODE_HISTORY);double hasilOrder = OrderProfit();
terima kasih gan atas bantuannya,, ane barusan nyoba sedikit nih... jadi begini kodenya:
OrderSelect(OrdersHistoryTotal()-1,SELECT_BY_POS,MODE_HISTORY);
double hasilorder = OrderProfit();
if (hasilorder<0)
{Comment("loss");}
else if (hasilorder>0)
{Comment("profit");}
ternyata beneran jalan,, hehe,, thanks gan
No comments:
Post a Comment