A trading system based on the indicator One More Average MACD

Forums ProRealTime English forum ProOrder support A trading system based on the indicator One More Average MACD

Viewing 15 posts - 1 through 15 (of 21 total)
  • #115728

    Good morning and a Happy New Year!

    I am trying to create a trading system based on the indicator posted by Nicolas, One More Average MACD, but I fail. I tried to tweak the different parameters but without any results. Any ideas why?

    Thanks!!

     

    #115730

    Vous utilisez le même nom pour 2 variables différentes.
    Il faut un nom différent pour chaque nouvelle variable.

    1 user thanked author for this post.
    #115731
    You use the same name for 2 different variables.
    Each new variable needs a different name.
    #115734

    Merci pour votre réponse rapide! Cependant, je ne comprends pas ce que vous voulez dire. OMAMACD et SIGMACD sont des variables différentes, ou voulez-vous dire quelques autres? Merci de votre patience!

    Thanks for your quick answer! However, I do not understand what you mean. OMAMACD and SIGMACD are different variables, or do you mean some others? Thanks for your patience!

    #115739
    Like for example “averagePeriod” in the “Fast moving average”.
    “AveragePeriod” in the “Slow moving average” must be renamed differently as “SaveragePeriod” and so on for all the variables written in black color.
    1 user thanked author for this post.
    #115745

    You need to ensure that there are enough bars before starting the calculations. With the standard settings it seems a minimum of 129 bars are required.

     

    1 user thanked author for this post.
    #115747

    Matriciel – Please only use English in the English speaking forums. Using two languages just bloats the topics.

    In the code it is OK to use the same variable name several times in different calculations as its new value for it is calculated prior to its use each time. Its previous value is not part of the calculation so that is fine.

    I just checked my code from my last post and it seems that the values of SIGMACD and OMAMACD are not calculated the same as the indicator returned values. Not sure why – might need to spend a little more time on this!

    1 user thanked author for this post.
    #115752

    Thank you both! I tried to implement both your suggestions, but I still fail, now with an error… Thanks for your time!

     

     

     

     

    #115764

    I used Vonasi version and got attached … no error messages.

    Ain’t never seen a Gain to Loss ratio as high as attached!!

    1 user thanked author for this post.
    #115767

    but I still fail, now with an error

    Your version just needs an extra endif  adding at line 131

    1 user thanked author for this post.
    #115769

    for me in Soulintact  to plot an other endif a the end

    but Grahal what do you use  as code because for me  no result

    #115772

    @Madrosat here you are … attached is Soulintact v1.1 as the top image.

    All I did was add endif as the last line to Soulintact v1.1 version

    Attached is the code

    #115776

    Ain’t never seen a Gain to Loss ratio as high as attached!!

    That’s what happens if you never close any losing positions! The strategy does not exit unless it is profit. At some point you will find drawdown to be as impressive as gain/loss ratio!

    2 users thanked author for this post.
    #115782

    Thank you for all your help. Truly appreciated! Take care and have a great start of 2020!

    #115784

    You too soulintact … keep on doing more of the same!!

    I wish I had put both versions Live … they’ve made nearly £80 over 3 trades in the last 3 hours!!!! hahahahaha

Viewing 15 posts - 1 through 15 (of 21 total)

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