the EA don't open any trade because it's need just 2 spreds but my broker get 3 or 4...please help me ..how change the spred up ..code below..


if (b==0 && bl==0) // No Buy orders, open bl
{
OP=MA-dist; // bl order open rate
if(OP>Ask-Level) OP=Ask-Level; // OP precision according to the tolerance
OP=NormalizeDouble(OP,Digits); // Normalizing (MA gives the 5th digit)
OrderSend(Symbol(),OP_BUYLIMIT, Lots(),OP,3,OP-SL,OP+TP,"",0,0,Blue);// Open
bl=1; // Now there is a Buy order b1
}
//--------------------------------------------------------------------------------------------
if (s==0 && sl==0) // No Sell orders, open sl
{
OP=MA+spred+dist; // sl order open rate
if(OP<Bid+Level) OP=Bid+Level; // OP precision according to the tolerance
OP=NormalizeDouble(OP,Digits); // Normalizing (MA gives the 5th digit)
OrderSend(Symbol(),OP_SELLLIMIT,Lots(),OP,3,OP+SL, OP-TP,"",0,0,Red);// Open
sl=1; // Now there is a Sell order sl