Forum

CAN I CHANGE INFORMATION WHEN USING EA ON VPS MT4

Hello Everyone, I have coded an EA, and i desgign a Stop function so that when i change the string of EA Input from "YES" to "NO" the EA will do until finish the work and it won't add any order anymore. I have rent a VPS from Vultr and run EA on MT4 24/24, but sometimes when i'm trying to use that

[Need Help] Problem with Sell & SellStop

Hello, I'm writing an EA and i have a problem here: This is my Send Order: OrderSend (Tien,ÓP_SELL,Lots[y], NormalizeDouble (GiaS[y],Sothapphan), 3 ,z, NormalizeDouble (GiaTPS[y],Sothapphan), NULL , 0 , 0 , clrNONE ); And this is my SellStop Order OrderSend (Tien, OP_SELLSTOP ,LotSs, NormalizeDouble

[Error] OrderCloseTime return wrong

Hello everyone, I'm thinking and tested for hours but i can't figure out this error I have this scrips: if (Solenh[i]== 1 && OrderSelect (IDB_Tien[a[i]][ 0 ], SELECT_BY_TICKET )== true ) // Right { datetime Tgiandong= OrderCloseTime ();

[Error] Array out of range

Hello everyone, I'm just learning how to code a EA, I'm very happy if someone explain this error for me This is my mini func int Lenhmua( int Loailenh, short x, short y) { if (Loailenh== OP_BUY || Loailenh== OP_BUYLIMIT ) { if (y== 0 ) GiaB[x][y]=