Foo Voon Chin / Publications
Forum
Python in Enable and Disable MT5 EA
Hi, Anyone had idea of how do python access to MT5 to enable or disable the EA ?? Thanks
MQL5 to get file size
Hi, I had a file data.txt which the file size are 0 bytes. and i had python program which will access to write some data into the file occasionally Anyone know how do mql5 to get the filesize without open and accessing into data.txt ? For example : if data.txt file size =< 0 byte then print " No
Close Sell limit position
if (position == "sell limit" && type == "(open now) OPEN" ) // OPEN SELL LIMIT Position ********************************************** { // Perform action for Sell Limit Open // Place the order here // Prepare trade
Check stop loss price not working
Hi All, i had an error in my simple engulfing EA which i tried almost a week still cant found the error. This EA is when the IF condition is hit then execute the BUY OrderSend() without set the stop loss price because i want to avoid the candlestick shadow hit on my stoploss price while still
How to Execute buy/sell order 10 seconds before candlestick close ?
Dear All, Anyone know How to Execute buy/sell order "10 seconds" before candlestick close in mql4 ? please help on this. thank you very much in advance
MQL4 instantly get MA200 figure
Hi, im using MQL4 and im using iMA function as below : double MAscds = iMA(NULL,0,200,0,MODE_SMA,PRICE_CLOSE,0); After executed the EA, the MA200 only able to appear after 200 Candlesticks. MY Question is how can i have the MA200 at the 1st candlestick after i run my EA ? Thanks