Something is missing in my "Friday Sell-off"

Forums ProRealTime English forum ProOrder support Something is missing in my "Friday Sell-off"

Viewing 5 posts - 1 through 5 (of 5 total)
  • #38879

    This is my first backtest, just trying to create a simple test to take a look at sell-offs in S&P500 during the last 45 minutes on Fridays.

    It seems that I am missing something as I don’t get any results.. I want to look at in in the 5 minutes timeframe and I’ve put in MA8 and MA16, I want to enter a short position (and vice versa for long) when MA8 crosses under MA16 and I want it to exit the position when price goes over MA8 or 10 minutes after closing time of the stock exchange (which in my case is 22:10 as I’m located in GMT+1). Attached you can see a pic of what I’m looking to capture, however the attached pic is of a Thursday but it is just to show you what I’m looking for.

    What am I missing?

    Thanks in advance for any help! 🙂

     

    #38881

    Something wrong in your conditions:

    Don’t return any valid signals in backtests. You should test each of all your conditions, to know which one prevent a signal to be valid.

    #38883

    Thanks for answering!

    What do you mean by testing all of the conditions? Am I only testing one right now?

    #38884

    I think Nicolas means for you to backtest 1 condition and then include a 2nd condition and then a 3rd etc. When you include a condition which stops trades then you know that is the condition with the error?

    1 user thanked author for this post.
    #38890

    This is all conditions that trigger a BUY order:

    c1 AND timeEnterBefore AND timeEnterAfter AND not daysForbiddenEntry

    All these conditions are not met at the same time and that’s why you never get any long entry. I suggest to GRAPH one condition by one in backtests to know why it happens.

    1 user thanked author for this post.
Viewing 5 posts - 1 through 5 (of 5 total)

Create your free account now and post your request to benefit from the help of the community
Register or Login