Forum

unknown ticket orderdelete funtion

Hello I got " unknown ticket orderdelete funtion " error to close pending orders //======== void CloseAll( int t) { int cnt= OrdersTotal (); int ticket= 0 ; double closeprice= 0 ; double closelot= 0 ; int ordertip=- 1 ; for ( int

EA open at time error

Hello I coded my EA to open orders at time , the issue is the EA doesn't open trades if i leave the EA to work for next days even if i use VPS . extern string OpenTime= "01:00" ; //Time to place trades (HH:MM) if ( TimeCurrent ()>=StrToTime(OpenTime)&& TimeCurrent

EA issue : Ordersend error 131 / 130 at US30 indx

Hello the EA works very well on all pairs but in US30 it gives me ordersend error 131 : invalide trade volume and order130 invalide stops here is the code #property copyright "Copyright 2020" #property version "1.00" #property strict input string A1= "========== EA SETTINGS ==========" ;

open 1 order when EA works at multiple pairs

Hello i would like to add condition to my EA to allow open 1 order only when EA works at multiple pairs . i have found that script but it doesn't work could you please help ? int totalpairs() { int total= 0 ; string msymbols= "" ; for ( int i= 0 ; i< OrdersTotal (); i++) { if (

account number lock MQL5

Hello I have added a code to my EA MQ5 but it doesn't work . could you please correct me . void OnStart () { int my_acc = ( int ) AccountInfoInteger ( ACCOUNT_LOGIN ); //--- add as many accounts as necessary -- example- int auth_accounts[] = { 123456 , //live 1 123457

Allow EA trading on demo account only MT5

I have this code from my EA of mt4 and I need mt5 code if (IsDemo()) Print ( "I work at a demo account only" ); if (!IsDemo()) { ExpertRemove (); }

breakeven ea mt4 platform

I would like fairly simple EA that will move my take profit to 0 when my option goes -3 pips in the negative

Multi time frame Indicator mt4

Hello community ! I'm looking for multi time frame Fibonacci for mt4 platform

TP & SL calculate by percentage

I would like to calculate TP and SL by percentage of my balance . is there any format to do that ? thanks in advance