Forex Trading 2018- TA/FA- Setups and discussion, page-4296

  1. 8,420 Posts.
    lightbulb Created with Sketch. 59
    Thanks for the link TwoHands. That strategy makes a lot of sense to me - although I don't intend to do any coding for equities trading, it has been part of my strategy to divest a percentage of any equity I build trading FX into other asset classes - I''m a big believer in diversification.

    I love that picture Rick, it sums up perfectly what can go wrong with logic in programming.

    As an example, I had only just discovered today that my Daily Breakout EA has a logical flaw in it, a fairly important flaw, and yet despite that its been making money.

    You will probably already know this model consists of a block for a first breakout trade, and then another block for additional breakout trades, subject to a maximum number of open positions which the user can set. So for the long side there is a counter that counts long positions open up till the max number and it wont allow any more, and the same for the short side. I just discovered that in fact for the long side the counter is counting open short positions when it should be counting open long positions and vice versa for the short side. With this wrong logic the EA makes 110% profit p.a. and in demo mode in 2 months has made 12% - yet it has the wrong logic. Now I have to go back and re-do all the backtesting using the correct logic (and hope it will perform better than the wrong logic, lol).

    Cheers, Sharks
    Last edited by sharks37: 14/09/18
 
arrow-down-2 Created with Sketch. arrow-down-2 Created with Sketch.