After buying in Nifty Future(1lot) @ some points ex:8400 and i want to exit or sell the position @ 8425,but it is selling 2lots.and in statergy it is not considering sell but it is taking as short.
below is the code:
Buy = Cross(EMA(C,per1),EMA(C,per2)) ;
Short=Buy+25 ;//buy exit;
Sell = Cross(EMA(C,per2),EMA(C,per1)) ;
//Buy= Ref (Close, 1) > Ref (High, 2) AND Close > Ref (High, 1);
//Sell= Ref (Close, 1) < Ref (Low, 2) AND Close < Ref (Low, 1);
please help to solve the problem