Eng Chuan Keh / Publications
Forum
how to send request with correct body by using wininet in mql4?
Hi, i wish to get data from web api. 1.Get the access token from the server by enter all the required data in the call body. URL: http://47.91.231.122:5002/token username:admin@admin.com password:111111 grant_type:password And here is my code, not sure where is the bug, i suspect my body data is not
how to recognise current symbol is index or forex or commodity in EA?
Hi, is there any function can let us know current Symbol() is in which category(forex,index.commodity)? because i want write below condition: FX product is 10pips TP Index (Dow/HSI) is 10 points TP Gold is 30pips TP Crude is 20pips TP Thanks, EC
How can i draw an indicator on current chart and also on Sub window?
Hi, is there any way to let 1 indicator draw on both current chart and also in sub window? i only can choose 1 of the below. #property indicator_chart_window #property indicator_separate_window Thanks, EC
Any idea to reduce optimisation back testing time?
Hi, i am MT4 user and wanna run optimisation back testing, i have around 20 parameters setting and i have set the "Start, Step, Stop" and it need to run 10k count and about 2months times, so i increase the STEP and wish to reduce the test time but found that the test time count still the same as
How can i get other symbol indicator value?
Hi, I am trying to get the Stochastic value from other Symbol like below but i got 0 value. if(Symbol() == EURUSD) { double Env_USDJPY_Sto_Cur = iCustom("USDJPY",60,"Stochastic",K_Period,D_Period,Slowing,0,0); } May some1 can gives some advice? thanks~
no data record during back test
Hi, Need help.. lol During back test, there is no trades in certain period although my history center have those period record. from below trade results, it shows that there are no trades in 2015.4.15 till 2016.1.4, may I know why will this happen and how can I solve it? 411 2015.04.14 04:49 412
how to set array as input?
Hi all, may i know is it possible to key in the input as array style? In my ea, i wrote like orange highlighted as below: extern double array[]; but i get the error message: 'array' - objects and arrays are not allowed as inputs. Need advice. thanks in advance