Forum

NYSE Stock trading time

hi I write a EA that trading stocks how can i set the trading time to NYSE time ? That will auto update when the clock is move back or forward by the sesson

file seek or wirte erroe [112]

hi i run a EA at broker "Pepperstone" and everyting is ok when i try to move to broker "vantage " i get errors like : 2021.05.26 10:17:28.092 Accounts write file error (112) 2021.05.26 10:17:50.489 Accounts write file error (112) 2021.05.26 10:17:50.489 Network '1147201': scanning network finished

New deposit alert

hi how can i know if there is a new deposit on the account

How can i know the sum of all deposit at account ?

Hi How can i know the sum of all deposit of account ? for example if was many deposit and many trades, how can i know the sum of all the deposit ? at the application there is a line "deposit " but how can i know it on EA

How can i know if order is open or close ?

Hi, i have a ticket number of order and i want to know if the order is open or close i tried the function OrderSelect (ticket,SELECT_BY_TICKET) and its return me true even when i close the order with the " ticket " number

How can i know POSITION_REASON at MQL4 ?

Hi, how can i get info about POSITION_REASON at MQL4 ? At MQL5 the function is PositionGetInteger ( POSITION_REASON ) i dont find the function at MQL4

How to add Bitmap to the chart

Hi I want to add a bitmap to the chart , i put the bmp file on the image folder and its work good (i see the photo on the chart) but when i sent the EX5 file to my friend he dont see the photo on the chart , just if i send him the bmp file and he put is on image folder then its work good , how can i

Upload a EA to market " contains native code "

hi i try to upload a EA to market for the first time i get a massage " contains native code " the EA is a base a "Chart event " when i try to compile to the cloud protector its give me error " sending request to protector server error (3-3, #0) " how can i upload this EA to the market ? ( i have a

How to protect my EA file on VPS ?

Hi there is a way to hide my EA file or secure it with password ? i want to connect a customer to my EA I open a vps that run the MT5 and the file of my EA is there ,the customer have access to the vps i dont want that the customer will have access to my EA file ( now he can go to the folder and

How to set a expiration time for pending order ?

hi how can i set e expiration time for pending order ? i want to set a expiration time of 60 second from the time that the order get to the stop price and executed ( not from the time that i made the order i tried that but its retun me a error " invaild expiration " request.type_time=