- Search Energy EXCH
-
Hairi replied May 11, 2018This is from my Codebase in mql site. Previous Candle Hi-Lo url
looking for daily high/low indicator
-
Hairi replied May 10, 2018Interesting strategy. Question. How do you select/choose particular candle as candle reference for entry? Thanks in advance.
Systematic Trend Trading
-
Hairi replied May 9, 2018bool CheckTime() { bool Allow = true; int BrokerTime = 6; // Broker time if(DayOfWeek()==5 && TimeCurrent() >= HourMin(BrokerTime,0)) Allow = false; return Allow; } datetime HourMin(int pHour = 0, int pMinute = 0) { MqlDateTime timeStruct; ...
I will code your EAs and Indicators for no charge
-
Hairi replied May 9, 2018I've got 3days high-low, and i think you maybe interested. The fibo will redraw, on breakout.
I will code your EAs and Indicators for no charge
-
Hairi replied May 6, 2018latency to broker depend on your physical location to trade server (of whichever server you choose). the nearer the better.. 200ms is consider okay, unless.. your system if High Speed based. i.e scalping within seconds..
Internet speed and platform question for news trading
-
Hairi replied May 6, 2018double MaxLot = SymbolInfoDouble(_Symbol,SYMBOL_VOLUME_MAX); if(LotSize>MaxLot) LotSize = MaxLot;
EA31337 released for free
-
Hairi replied May 3, 2018Perhaps, you didn't get what i mean. put a flag on "already done partial closing". from what i do understand, you only want to do partial closing "once" on each order, correct?
Partial close code - need help
-
Hairi replied May 3, 2018On the next tick, EA execute again the partial closing function. put a flag, where after partial closing done, EA will not call that function again.
Partial close code - need help
-
Hairi replied May 3, 2018when you said, you found a system(s), did you discover it? or simply optimize from other system(s)? or from other EAs?
(binned per thread starter’s request) Looking for quant freaks
-
Hairi replied Apr 26, 2018i don't say it's duplicating.. in a brief 1sec, how many incoming tick = how many new order EA will execute. but hey, SwingMan will surely taking care of it.

Help Needed to Debug Existing EA with proven strategy
-
Hairi replied Apr 26, 2018yes, OnTick is for EA only. but...if you run this code for script (i.e OnStart()), the NewBar function will never be true, unless you execute the script on exact time as new bar of candlestick. ... or else.. void OnStart() { ...
MQL4 Script - open on new bar question
-
Hairi replied Apr 26, 2018// --- Global Variable ------------------------------------------------------------------ datetime ArrayTime[], LastTime; void OnTick() { if(NewBar(PERIOD_CURRENT)) { // your code } } bool NewBar(int period) { bool firstRun = false, newBar = false; ...
MQL4 Script - open on new bar question
-
Hairi replied Apr 26, 2018perhaps, assigned magic number to each individual order, and recheck it existence, before opening new order. "rapid and repeating order generation" is bugs when you don't count existing order.
Help Needed to Debug Existing EA with proven strategy
-
Hairi replied Apr 20, 2018Yes, there is MT4 for mobile (iOs, Android). No, you can't use/apply any custom indicator or EA on MT4 for mobile. you also can't use/apply any custom indicator or EA on webterminal platform.
Highest Open / Lowest Open Trade
-
Hairi replied Apr 5, 2018are you sure about (hedging both buy & sell together with same lots setting) producing handsome profits?... over the long run? i do agree with yalgaar. Your original EA‘s is directional bias. The way i see it, once the cycle is complete, execute ...
Help Needed to Debug Existing EA with proven strategy
-
Hairi replied Mar 31, 2018yes, with multiple device. i.e laptop, desktop, mac, linux, android phone, iphone etc.. no problem.
Two MT4s but one live account?