Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

macd bollinger bands strategy help

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    macd bollinger bands strategy help

    hi everyone

    I need some help with a condition for a strategy using the Macd Bollinger bands that i am stuck with. any help will be much appreciated. i have attached some pictures of my problem.

    but in general,i am stuck trying to work out how to plot the fast over the upper/lower bands to trigger an entry. i am using the Jumbol bbmacd indicator. which might be the source of my problems. I am just not quite sure

    again thank you for any help

    Simon Thompson

    Click image for larger version

Name:	macd bollinger bands.png
Views:	605
Size:	202.8 KB
ID:	1074180Click image for larger version

Name:	macd bollinger bands 1.png
Views:	529
Size:	272.4 KB
ID:	1074181Click image for larger version

Name:	macd bollinger bands 2.png
Views:	527
Size:	287.1 KB
ID:	1074182Click image for larger version

Name:	macd bollinger bands 3.png
Views:	517
Size:	287.1 KB
ID:	1074183Click image for larger version

Name:	macd bollinger bands 4.png
Views:	553
Size:	202.8 KB
ID:	1074184
    Attached Files

    #2
    Hi Simon,
    If you open the indicator in NinjaScript, you will notice that the dots change colour if the MACD changes direction (row 79 thru 85). Thus, what you need is the IsRising / IsFalling condition, which can be found under "Misc" in the Strategy Builder. NinjaTrader_PatrickH provided an example using the StrategyBuilder example here:
    https://ninjatrader.com/support/foru...trategy-wizard.
    I hope this gets you started.
    NT-Roland

    Comment


      #3
      NT_ roland. sorry for the late response but thank you for your help mate i will do this

      regards

      Simon

      Comment


        #4
        Hello Simon, thanks for your note.

        I attached a sample that will draw vertical lines on every cross for the default MACD. Since the plots are exposed for the custom MACD indicator, I can't see a reason those plots won't work. To run this add it to Documents\NinjaTrader 8\bin\Custom\Strategies and compile.

        Best regards,

        -ChrisL

        Attached Files
        Chris L.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by mgco4you, Today, 09:46 PM
        1 response
        3 views
        0 likes
        Last Post NinjaTrader_Manfred  
        Started by wzgy0920, Today, 09:53 PM
        0 responses
        4 views
        0 likes
        Last Post wzgy0920  
        Started by Rapine Heihei, Today, 08:19 PM
        1 response
        8 views
        0 likes
        Last Post NinjaTrader_Manfred  
        Started by Rapine Heihei, Today, 08:25 PM
        0 responses
        6 views
        0 likes
        Last Post Rapine Heihei  
        Started by f.saeidi, Today, 08:01 PM
        1 response
        9 views
        0 likes
        Last Post NinjaTrader_Manfred  
        Working...
        X