Backtesting NOK SEK dip in december

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #113881 quote
    GubbenGubben
    Participant
    Senior

    When I heard NOK/SEK had dropped lately I realized it was the same last year, and the year before that, so I made a simple backtest and thought the results were nice compared to the simplicity. It might not be much for automation as much as a concept to trade manually, but still sharing here if anyone has any input on how it could be improved and automated. Or if there are other pairs that perhaps has a stronger effect. I wanted to add stop loss etc but I didn’t manage adding a max trades per month properly. Also not sure what the spread is so I set it at 6

    shorttime = month = 11
    longtime = month=1
    exitlongtime = month>=5
    exitshorttime = month=1
    //higherlow = low > highest[x](low[1])
    //lowerhigh = high < lowest[y](high[1])
    
    // Conditions to enter long positions
    IF NOT LongOnMarket AND longtime THEN
    BUY 8 CONTRACTS AT MARKET
    ENDIF
    
    // Conditions to exit long positions
    If LongOnMarket AND exitlongtime THEN
    SELL AT MARKET
    ENDIF
    
    // Conditions to enter short positions
    IF NOT ShortOnMarket AND shorttime THEN
    SELLSHORT 8 CONTRACTS AT MARKET
    ENDIF
    
    // Conditions to exit short positions
    IF ShortOnMarket AND exitshorttime THEN
    EXITSHORT AT MARKET
    ENDIF
    
    noksek.png noksek.png
    #113885 quote
    robertogozzirobertogozzi
    Moderator
    Legend

    It seems a good performance, but keep in mind that you used too small an initial capital. If you want to double that performance you just have to write SEK 3000, instead of 6000!

    A better initial capital would be 3 to 4 times the DD, that is roughly SEK 40-50000, thus reducing gaining percentage from 850% to about 140% in 13.5 years, which is 10%/year. Moreover did you enable tick-by-tick mode? I’m afraid not, because bactkesting wouldn’t have started back from 2006, I guess. Try enabling it and using a larger starting capital.

    Gubben thanked this post
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.
ProRealAI ProRealAI New

Stuck on this ProBuilder code?

Describe what this topic is trying to build, in plain English, and ProRealAI writes the ProRealTime™ indicator, screener or system for you.

Available in 7 languages
Try ProRealAI

Backtesting NOK SEK dip in december


ProOrder: Automated Strategies & Backtesting

New Reply
Author
author-avatar
Gubben @danung Participant
Summary

This topic contains 1 reply,
has 2 voices, and was last updated by robertogozzirobertogozzi
6 years, 10 months ago.

Topic Details
Forum: ProOrder: Automated Strategies & Backtesting
Language: English
Started: 11/28/2019
Status: Active
Attachments: 1 files
ProRealCode ProRealCode
Loading...