Seasonal & Cycle (Monthly Average & Probability)

Seasonal & Cycle (Monthly Average & Probability)

Hi All,

I’m here to share a simple indicator that i use to calculate the average monthly price (Open – Close) and probability of previous years. No. of years can be configured in parameter, default value is 8 years. I use DAX monthly chart as example, you can use it on stocks, indices and etc. It can be useful indicator / filter on your trading strategy to control the quantity on high probability month. You also can modify the code to measure to average monthly price + shadow (high – low), and in “weeks” if you prefer.

Your suggestions are welcome.

br,

CKW

 

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. Philip Raphael • 09/01/2016 #

    Hey! Thank so much for sharing this wonderful indicator! I have always tried to code a similar indicator, but unfortunately I haven’t had the knowledge to do so.
    PRT tells me that “Years” are not defined. Has somebody had a similar problem? What to do about it? Could someone please help me?
    Best regards, Philip

  2. CKW • 09/01/2016 #

    Hi Philip,
    What do you mean “Years” are not defined ? candle? If to code yearly candle size, something can be like this…. (not tested)
    IF YEAR[0] <> YEAR[1] THEN
         YCLOSE= CLOSE[0]
         YEARCANDLE = PREYCLOSE -YOPEN
         PREYCLOSE = CLOSE[0]
    ENDIF
    Br, 
    CKW
     

  3. dakaodo • 09/01/2016 #

    Years not defined was probably b/c Phillip copied and pasted the code into PRT instead of importing the .itf file. In his case, he just needs to add the variable years as an integer, default value 8.
    On the monthly chart as instructed, I found this highly correlates with other reading I’ve found about the seasonality of the USDJPY, though I found better accuracy when I set the years to a period that excluded the excessive swings post-financial crisis.On a constructive note, I tried a crude modification setting the look-forward to +24, and tried it on the hourly chart. I was not previously aware of a time-of-day cycle to hourly up/down probabilities. I found some highly regular patterns for time of day. So that was surprisingly useful.What was even more confusing/surprising is that the original +12 showed an even higher correlation for the exact same 24-hour cycle than my +24 edit. I’m still a bit new to trading, so I cannot explain this very visible pattern in terms of fundamental market drivers for the USDJPY.

avatar
Register or

Likes

avatar avatar avatar avatar
Related users ' posts
ALE
8 years ago
pollon Ciao Ale,  anche a me da questo errore  "QQE_QUDAX1HBUY"  "QQE_QUDAX1HSELL"  "UNIV_QUDAX...
reb Hi Ale do you trade these QU strategies?  Are the results same as backtests Thnaks in adv...
avatar
crazytrader Hi anyone that has run this lately?
larouedegann best with this hour IF TIME =081000 THEN plushaut=highest[2](high) plusbas = lowest[2](lo...
CanAny1Trade Hi! I'm trying to put together a similar indicator but struggling. I want to mark the NY Pit...
ALE Hi Pat This code was nothing more than an experiment
pat95162 Hi Ale Do you have same results as me ? The strategy works very well in 2017 and now in 2-...
Nicolas Built on the history means that it suits the history. Always develop ideas in In-Sample peri...
ALE
8 years ago
ALE no, only with TF 15m
enzo_52 Grazie tante, Thanks so much 
JanWd Hallo Ale, First of all, thank you for this strategy. Could you explain what the BLUSTER ...
Elsborgtrading No that is wrong :) 1st runs always- then only run 2nd if 1st is on market with positions(ar...
Elsborgtrading It can only be fully automated if IG change minimum SLto 7 at night on DAX multi timefra...
Elsborgtrading A small example. the strategy would have opened 3 position on Dec 4th 2016 and keept it for ...
Cosmic1
9 years ago
Cosmic1 @JadeDB What times are you putting in?
sincitytrader I tried this one out recently,  and wasn't profitable for me.
Cosmic1 Yes, not great lately. I stopped this live at the end of last year. Will wait to see when th...
zilliq The reasons why I think it's time consuming and we loose time to try to do backests and Auto...
filiprb Hello Zilliq, You don't need a system to produce a walk forward test. You can easily create...
Philip Raphael It is incredible! Thanks for sharing, Doctrading!
Reiner
9 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...
Reiner
9 years ago
Nicolas Overfit on past history obviously. But it doesn't mean that it would still underperformed in...
Francesco78 Thank you for the clarifications Nicolas, I am more aware of the meaning of the backtesting ...
CanAny1Trade Hi all, could a simple indicator be made to mark the traditional Pit based ORB? I'm tryi...
Fabio Anthony Terrenzio this strategy works only in a well defined trend
brosly Good afternoon I am trying to get the complete code of lex strategy made by adolfo since I s...
dreif123 hi Adolfo, is Alex Auto Trading Botindex working on DAX as well ? if so , can you post the...
hvluthy@sunrise.ch I'm very interested to try out your strategy, but as a bloody newbie I need some help regard...
Scalp Hola Adolfo, tengo una variante de tu estrategia, pero no se programar, me puedes ayudar al ...
ALZ Hi, I tested this strategy and that doesn't work.. strategy is losing.. Does anyone curr...
Nicolas Ahah, I'm not the author of this one :) I know you are a great coder Wilko, why don't you p...
Wilko Thanks for the flattery! I will, I promise.  /F
Nicolas Still don't have seen anything from your own :) You promised me! Ahaha 
Andres Uffff, I didn't adjust the different index spreads. With the heavy spread of Italy It's nega...
davidp13 Good day. I know this was posted such a long time ago, but I though rebuilding the system on...
davidp13 Also to note that the one position in my code does not close the other, which as far as I kn...
Dave Hi, I'm new to coding and have been trying to modify the code a little to backtest an idea I...
Nicolas Better use the forums for coding assistance please. You'll get more results there for sure.
Dave Apologies - only just learning the site layout. Maybe you could delete the post?
Nicolas FR/Bonjour Steftonio, non pas de frais overnight calculé sur la durée du backtest, c'est une...
avatar
Anonymous Any reason why in 2016 this system is doing very bad respect the previous years?
Nicolas "very bad" is relative to the account equity. I do not forward test this strategy since I po...

Top