Announcement

Collapse
No announcement yet.

Backtesting Strategy problems

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Backtesting Strategy problems

    I have been back testing a strategy recently and wrote a new filter and blanked out most of the existing one.
    Upon backtesting it produced no trades so I began to ease the restrictions in the new filter and checked at each stage by inserting a debug printout.
    All was fine initially but then after about 4 revisions, it stopped producing the debug printouts and just seemed to parse the code once only before stopping...I have tried simplfying the code by cutting all function calls and even took out all filters to try and get it to take a trade but to no avail and it still only parses once!
    The amazing thing is that it behaves perfectly well if I load it as an indicator, it takes trades, returns and plots lines and arrows and prints my debugs...
    I've tried closing and re-opening (I'm using v10.6)
    What to make of it...I'm at a loss, any thoughts would be appreciated.
    Regards
    Nigel

  • #2
    I posted here as there doesn't seem to be much happening in the Back testing forum.
    Last edited by red49er; 09-28-2011, 09:02 AM.

    Comment

    Working...
    X