- Search Forex Factory
- 46 Results
- fxtrue replied Apr 22, 2021
First up, thanks for that normal distribution example - will be interesting to see how that can be applied. As for the reversal idea, my first thought is that it turns the strategy into a martingale system as we'd be adding to a locked loss at that ...
- fxtrue replied Apr 22, 2021
@neosqualls That's an interesting thought - how would you suggest the normal distribution be calculated (for a coder, my maths ability is oddly minimal ) Is anyone else using normal distribution? If so, please share your thoughts & ...
- fxtrue replied Apr 20, 2021
I'm not sure that it matters (Paddy9 can always comment if so), and instant re-entry (if conditions are met) may improve profitability if the market is moving in the trend direction.
- fxtrue replied Apr 20, 2021
Hi, Neosqualls ...as I assume Paddy9 explained, it's not averaging or Martingaling because buys are only added as price goes up, and sells are only added as price goes down (i.e. pyramiding). It's also not really a hedging system because as soon as ...
- fxtrue replied Apr 20, 2021
This is not quite correct as it's not really possible to accumulate "many positions"... remember that the system is trading 0.1 lots and shooting for a $50 target - that's only a 50-pip move for a single entry and the target has been achieved. Also, ...
- fxtrue replied Apr 20, 2021
This is actually Paddy9's code - I simply cleaned it up so it would be more useful / less confusing for the group. As for the buy / sell bench checks you mention, the operation is correct ...it's just not optimal - since the closing price two ...
- fxtrue replied Apr 19, 2021
Just to clarify for those who can't understand the strategy ... 1) it trades with fixed lots 2) it's trying to pyramid i.e. add to a winning position, it's not averaging / Martingaling (adding to a losing position) 3) exit rule #2 is to get out of a ...
- fxtrue replied Apr 19, 2021
As promised, I attach Paddy9's (moderately) cleaned-up code for the Ghilly Oar system that generated the provided test results. Paddy9 explained that the purpose of this thread was to encourage some "thinkers" (rather than "takers") get involved and ...
- fxtrue replied Apr 14, 2021
Hi, Paddy I was just wondering why you decided against sharing your EA / source code - the idea of this thread was to find ways of improving your system so it would make sense for improvements to be made to a common-core EA rather than new EAs being ...
- fxtrue replied Apr 13, 2021
I intended to query the trigger conditions earlier because your description omitted the bench levels in the entry filters and basically made the bench calcs completely pointless, but I'm glad you've now clarified that point. The logic is actually to ...
- fxtrue replied Apr 12, 2021
OnTimer() does not trigger in the tester so it can't be used as suggested - the correct approach is to maintain a LastTick value in the OnTick() function that just returns if insufficient time has passed. However, in actual trading, the OnTimer() ...
- fxtrue replied Apr 12, 2021
Trailing stops result in no appreciable server load if correctly implemented - the only time there's a noticeable issue (which often results in brokers blocking the offending trading accounts) is when poorly coded trailing stop code sends modify ...
- fxtrue replied Mar 30, 2021
The original code is written in pre-"build 600" style which allows a number of coding issues to go unchecked, so attempting to compile in "strict" mode resulted in 130 warnings and several errors. In addition, NormalizeDouble() was being used where ...
- fxtrue replied Nov 28, 2020
That approach of pre-coding magic numbers for individual currencies started many years ago over at the ForexTSD forum and was championed by people who didn't understand how to code in MQL4. The whole concept is completely pointless and irrelevant.
- fxtrue replied Oct 16, 2020
Good catch ... forgot to include the iClose code Correct version attached... (compiled & tested on MT4 and MT5)
- fxtrue replied Oct 16, 2020
Issues such as?
- fxtrue replied Oct 16, 2020
Okay... first the long explanation: If you grab MT5 build .15 or .16 and look at the code, you'll see that most of the comments are unreadable - just rows of "squares". That's because those source files are encoded in ANSI format which doesn't ...
- fxtrue replied Oct 15, 2020
Here is MT4-MT5 cross-compiling build .21 which includes the Ichimoku Cloud feature from the MT4 .16 build (plus a little more code tidying) The Ichimoku feature does not affect existing set files The .mq4 source file is attached MT5 users should ...
- fxtrue replied Oct 11, 2020
Out of curiosity, I also coded it to check the reliability of the strategy. I used MT5 and included the ability to trade multiple pairs simultaneously, but despite adding logical tweaks and ATR filters for entries & exits, I wasn't able to get ...
- fxtrue replied Oct 7, 2020
I don't know what "updates & bug fixes" you're referring to, but the MT5 fork was not converted very well at all - as I mentioned when posting my .18 MT5 build, I'd had to correct 70 compiler warnings in .17 just to get a clean compile, so when I ...