DislikedHi to everyone, I would like to ask your support in order to display the net profit/loss of each currency pairs in a box/button. kindly see below image for more details, {image} your help is highly appreciated. here is my present code for(int i=0; i < OrdersTotal(); i++) { if(OrderSelect(i, SELECT_BY_POS, MODE_TRADES) == true) { if(OrderSymbol() == symbols[0]+suffix) { double audcadpl = OrderProfit()+OrderCommission()+OrderSwap(); double audcadtotalpl = audcadpl; ObjectSetString(0,"audcadplbtn",OBJPROP_TEXT,DoubleToStr(audcadtotalpl,2)); if (audcadtotalpl...Ignored
why...else if (audcadtotalpl = 0)
else if (audcadtotalpl == 0)
Example
>
>=
<=
!=
==
example
x:int
y:int
z=int
3*4=12
but..u...IF...audcadtotalp==0
then....{
or..IF..audcadtotalpl >=
if you my trade,My-post analysis, subscribed to ME
1