Forum

Help - how to write its code - EA Locked MT4

EA should verify all three things and how to write its code if (AccountName()!= "Shabaz Shah" && AccountNumber()!= 1234534 && AccountCompany()!= "Bank" )

Help - OrderSend error 130

if ( rateChange > VelocityTrigger * Point && avgSpread <= maxSpread && totalBuyStop < 1 ) { ticket = OrderSend ( Symbol (), OP_BUYSTOP, lotSize(), Ask + ( totalBuyStop + 1.0 ) * ( Point * Offset ), Slippage, totalBuyStop-( 15 +StopLoss)* Point ,TakeProfit,TradeComment, MagicNumber, 0 );