Strategy XXDJI-M5-EngulfingGap

Forums ProRealTime English forum ProOrder support Strategy XXDJI-M5-EngulfingGap

Viewing 15 posts - 1 through 15 (of 35 total)
  • #131368

    Hi everyone,

    Here is a new strategy on Wall Street/DJI 5 min TF based on the engulfing bar with range at least 1 ATR. Incorporated 2 Bollinger Band as trend filter.

    DLS code is added to avoid high spread period and for skipping trade during major market open to avoid less reliable engulfing bar. Time Zone used is UTC+08:00, please change the time zone in PRT to obtain same result.

    Variables atrperiod, bolltrendperiod and bolltrendperiod2 are used for optimization. Other variables are just taking moderate value, not being fully optimized.

    Looking forward for your suggestion and ideas of improvement.

     

    3 users thanked author for this post.
    #131386

    I don’t get a single trade… regardless of time settings.

    #131401

    Strange works fine for me

    #131468

    It worked after a reboot. Thanks!

    #131611

    Back testing over 10000 occurrences  from today is very negative. Did I miss something ? How about you ?

    #131677

    wow! Great work! Thanks…

    Where can I change the time zone? I do not know well Prorealtime yet..

     

    #131727

    Where can I change the time zone?

    You can change the Time Zone from Options -> Platform options -> Time zones & Trading hours -> Display all data in this time zone: <select the UTC+0800>

    #134071

    Hi…

    I can’t get much more than 8% on total return. I have changed the PR Time to read UTC+8. Is there anything else I may be doing wrong?

     

    I am in UK using Spread bet demo if that helps?

     

    Thanks

     

     

    #134083

    Hi,

    Well done!….but i got a syntaxe message asking me to define : bolltrendperiod/bolltrendperiod2 and strdperiod….

    They are written at the top of the code…I tried to write them in the lines but it doesn’work.

     

    Regards

    Tono

    #134086

    i got a syntaxe message

    These are variables, if you are copying the code manually, then you need to add them into variable window. Otherwise, you can just import the .itf attached in the first thread. It includes the variables, spread, etc…

    #134087

    I may be doing wrong

    Hard to say what problem, do you define the unit to 100k or 200k bar? Maybe post some screen shots to help.

    #134610

    Thanks for your help,I’ve made a copy/paste of the page,I’ll try the import….

    #143249
    Anonymous

    Ca gave, quelquesoit le code qu’on copie y’a toujours une merde…

    #143251
    Anonymous

    même chose en téléchargeant directement le fichier .ITF

    #143271

    Hi Lino,

    I would asume you have to replace line 4/5/6 as below (remove the /):

    //atrperiod = 18
    //bolltrendperiod2 = 24
    //bolltrendperiod2 = 80
    by
    atrperiod = 18
    bolltrendperiod2 = 24
    bolltrendperiod2 = 80
    On my side, when I want to launch the code I have the error message below “The code is invalide, please correct it” (translated from french), while i have no issues highlighted in the code itself.
    Can anyone explain me the task of lines 167 to 172 ? I have the feeling that some conditions are missing.

    Thank you Dow Jones for your work.

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

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