|
Guys, is that a flaw or what?
if iRSI(15,2)>iRSI(14,1) then
{
SetOrder(OP_SELL,Max(0.1,Floor(FreeMargin/500.)/10.),Ask,0,Ask+StopLoss*Point,0,Blue);
Alert("Sell - ",Symbol,"\n","Date - ",TimeToStr(CurTime),"\n","Balance - ",Balance);
};
if iRSI(15,2)>iRSI(14,1) then
{
SetOrder(OP_BUY,Max(0.1,Floor(FreeMargin/500.)/10.),Bid,0,Bid-StopLoss*Point,0,Red);
Alert("Buy - ",Symbol,"\n","Date - ",TimeToStr(CurTime),"\n","Balance - ",Balance);
};
Exit;
};
Shouldn't those marks be opposite? i mean if one ">" then the other is "<"??
|