Seasonality Curve

v11
Seasonality Curve

This indicator can analyse any section of historical data day by day and produce a seasonality curve for it.

Set the starting date for the data to be analysed with the variable StartDate.

Set the end date for the data to be analysed with the variable EndDate.

Set either to zero if you don’t want a start or end date.

The highest and lowest points in the seasonality curve are highlighted. You can turn this off with the ‘HighAndLow’ setting.

You can also choose whether the calculations are done simply on price change or on the change as a percentage of price. The latter helps make a more direct comparison between older historical data and more recent data. Switch this on and off with the ‘Percentage’ setting.

The month labels indicate where a month starts.

The indicator only works on PRT v11 and must be applied to the daily chart only.

As it is possible to analyse different sections of history we can break our data into different samples and then directly compare them to see if there truly is seasonality. In the image there are three charts analysing Lean Hogs. The top one is analysing all the pre 1995 data back to the early 1960’s and the middle one all data from 1995 to the present day. the bottom one is analysing all the data for both periods. We can see that all the charts are pretty similar so it appears that lean hogs at least have some seasonality to them.

I advise importing the ITF file to get full functionality.

Share this

Risk disclosure:

No information on this site is investment advice or a solicitation to buy or sell any financial instrument. Past performance is not indicative of future results. Trading may expose you to risk of loss greater than your deposits and is only suitable for experienced investors who have sufficient financial means to bear such risk.

ProRealTime ITF files and other attachments : How to import ITF files into ProRealTime platform?

PRC is also on YouTube, subscribe to our channel for exclusive content and tutorials

  1. Rocketship • 03/26/2020 #

    There seems to be a syntax error in the code.

    • Nicolas • 03/26/2020 #

      Code compatible only for ProRealTime version 11, it will not work for any prior version due to the use of variables arrays.

  2. christophe11560 • 03/26/2020 #

    bonjour , j’ai la version V11 mais ne marche pas non plus?

  3. JohnScher • 03/26/2020 #

    Which index/ FX do we see in the picture? Can you put the curve for the Dax in here?

    • Vonasi • 03/26/2020 #

      It is Lean Hogs as it says in the description. It is not possible to post images in these library posts so I suggest getting a PRTv11 end of day account and testing the indicator on the DAX using that.

    • JohnScher • 03/26/2020 #

      Okay. Thanks. I opened an end-of-day on ProRealTime. Imported your indicator and got this result for the Dax. You are attached to the screenshot.
      Please can you check if the curve looks the same for you. I have my doubts about myself that I did everything right.

  4. JohnScher • 03/26/2020 #

    https://prnt.sc/tl8s0u

  5. Vonasi • 03/26/2020 #

    I don’t know what start date or end date you used or whether you used price or percentage of price so I cannot recreate your test. There is not much that you can do wrong! I advise testing various start and end date periods to see if the seasonality curves are similar to confirm if there is any true seasonality.

  6. klaus_reum • 03/26/2020 #

    Many thanks for that great tool. nevertheless, I am struggling with the time range. I tried to show three seasonality curves as in your example but one shall show the graph for a time from 2000 till 2010 the other for 2010 till 2020 and the third for the time before 2000. The problem I see is that all three curves are looking similar. Any ideas what I am doing wrong here?

  7. ipbvba • 03/26/2020 #

    idem ne fonctionne pas sur V11 (meme avec real time data), import OK mais aucune courbe dans l’indicateur ne s’affiche

  8. Ciccarelli Franco • 03/26/2020 #

    I’m new to the Market, I imported the code, but I don’t see anything, there is an empty box and at the base there are the selected dates.
    Thank you

avatar
Register or

Likes

avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar
Related users ' posts
JohnScher I've been looking for this for a long time! A very big thank you to you.
Nupsator hi, looks very interesting, i imported the indicator and inserted it into a 1h chart. Unfort...
Ciccarelli Franco Lo trovo interessante, ma non riesco a scaricarlo. Chi mi può aiutare?
ALE Very Very Nice
manel Hi - Many thanks for this and your other analytical codes, stellar work - very useful ! With...
Vonasi Good idea Manel. I have posted a new version here that shows results as a percentage: https:...
Vonasi No problem pableitor - I'm glad you like it.
pableitor Hi Vonasi, I was checking a few random weeks with your indicator and sometimes it seems to ...
Vonasi I have not checked your query on a chart but my guess is that you are reading the indicator ...
Vonasi Thanks for the compliments ALE. If you use any results from it in a strategy then please sha...
CKW this is Awesome tool. thanks Vonasi
Vonasi ....and thank you for the compliment CKW.
Reiner great work:-)
Vonasi Thanks Reiner. that is compliments indeed from the seasonality expert. I have a second vers...
Sagal Hi Vonasi, Can it be presented as a 1 year graph displaying a 5 year average or 10 year aver...
Yannick TradingDayLong = dayofweek = 1 or dayofweek = 2 or dayofweek = 3 or dayofweek = 4 or dayof...
Marlon Hey JohnScher, your code works fine, but my results aren't as good as yours. Even if I use ...
DarioMazza Bha... this code dont work. gg
Wing There's a few threads on the forum about backtest and live trades being different at times. ...
ET I agree with verdi55. As it is now, the code will only test for a breakout on the upside (li...
Philipjonasson are u still active Wing?
Reiner
8 years ago
Nicolas You should join and read the forum thread about this strategy. There are plenty of different...
Reiner Hi djtaktik and welcome, I have answered your question in the related Pathfinder forum beca...
danver34 is this version the definitive one or from the original one have there been modifications to...

Top