aiman
Active Member

- Messages
- 1,889
- Joined
- Apr 19, 2006
- Messages
- 1,889
- Reaction score
- 1,356
- Points
- 101
Code:double TPBuy,TPSell; if(TP>0) { TPBuy=Bid+TP*Point; TPSell=Ask-TP*Point; } if (SL>0) { double SLBuy=Bid-TP*Point; double SLSell=Ask+TP*Point; }
betul tak add adjust SL skali tu bro Aiman?
kat atas tu sepatutnya macam bawah ni
Code:
double TPBuy,TPSell,[COLOR="Red"]SLBuy,SLSell[/COLOR];
if(TP>0)
{
TPBuy=Bid+TP*Point;
TPSell=Ask-TP*Point;
}
if (SL>0)
{
SLBuy=[COLOR="#ff0000"]Ask-SL*[/COLOR]Point;
SLSell=[COLOR="#ff0000"]Bid+SL[/COLOR]*Point;
}