NexusFi: Find Your Edge


Home Menu

 





Combine the donchian channel indicator with MACD?


Discussion in NinjaTrader

Updated
      Top Posters
    1. looks_one Tasker_182 with 2 posts (1 thanks)
    2. looks_two Reyesca with 2 posts (0 thanks)
    3. looks_3 Pablherasgarcia with 1 posts (0 thanks)
    4. looks_4 bobwest with 1 posts (1 thanks)
    1. trending_up 1,947 views
    2. thumb_up 2 thanks given
    3. group 4 followers
    1. forum 5 posts
    2. attach_file 7 attachments




 
Search this Thread

Combine the donchian channel indicator with MACD?

  #1 (permalink)
Reyesca
Orlando, FL
 
Posts: 3 since Mar 2022
Thanks Given: 0
Thanks Received: 1

hi mike my name is Rey I registered on your website a few weeks ago but I never took the chance to explore around.
I am not a programmer or developer, I am just a trader and still learning and I have watched a couple of tutorials and videos about from your YouTube channel. So I wanted to ask you if there is a possibility to combine the donchian channel indicator with the MACD indicator to create a bias indicator that you can actually see the indicator on the chart?
I have tried several different ways but have always failed in producing results.
I built a strategy on Ninja Trader Strategy Builder and tried to convert it to an indicator but it failed.
I really appreciate it if you could give me an answer if it would be possible, and some tips to help.

Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Trade idea based off three indicators.
Traders Hideout
What broker to use for trading palladium futures
Commodities
How to apply profiles
Traders Hideout
Better Renko Gaps
The Elite Circle
MC PL editor upgrade
MultiCharts
 
  #2 (permalink)
 
bobwest's Avatar
 bobwest 
Western Florida
Site Moderator
 
Experience: Advanced
Platform: Sierra Chart
Trading: ES, YM
Frequency: Several times daily
Duration: Minutes
Posts: 8,172 since Jan 2013
Thanks Given: 57,515
Thanks Received: 26,292


Reyesca View Post
hi mike my name is Rey I registered on your website a few weeks ago but I never took the chance to explore around.
I am not a programmer or developer, I am just a trader and still learning and I have watched a couple of tutorials and videos about from your YouTube channel. So I wanted to ask you if there is a possibility to combine the donchian channel indicator with the MACD indicator to create a bias indicator that you can actually see the indicator on the chart?
I have tried several different ways but have always failed in producing results.
I built a strategy on Ninja Trader Strategy Builder and tried to convert it to an indicator but it failed.
I really appreciate it if you could give me an answer if it would be possible, and some tips to help.

@Reyesca, in order to make it easier for someone to help you, you may have to specify more clearly what you want the new indicator to show and how it should look on the chart. How do you want to combine the two indicators? What would be the signal it would provide? How would this be helpful? Also, what have you tried so far.

The more info, the better.

Bob.

When one door closes, another opens.
-- Cervantes, Don Quixote
Reply With Quote
Thanked by:
  #3 (permalink)
Reyesca
Orlando, FL
 
Posts: 3 since Mar 2022
Thanks Given: 0
Thanks Received: 1


Hey Bobwest, just wanted to try again and see if I could get some help. I would like the indicator to show the signal of the price going long, short or flat (as you can see in the picture highlighted) the blocks of color are trying to indicate versus what the indicator shows. This indicator is what I have done so far, and you can see that it is not aligned with the signal on the MACD depicted on the bottom. I have also included with the picture the script in a zip file. Again, I'm not a professional programmer but this is what I've done so far. I really appreciate if you could help, please let me know if this idea is possible.

Attached Thumbnails
Click image for larger version

Name:	TEST - Copy.PNG
Views:	113
Size:	171.3 KB
ID:	324858  
Attached Files
Elite Membership required to download: TEST.zip
Elite Membership required to download: TEST.txt
Reply With Quote
  #4 (permalink)
 
Tasker_182's Avatar
 Tasker_182 
Cedar Rapids, iowa
Legendary Market Wizard
 
Experience: Intermediate
Platform: Ninjatrader
Broker: Ninjatrader - Continuum
Posts: 716 since Aug 2009
Thanks Given: 476
Thanks Received: 1,401


Reyesca View Post
hi mike my name is Rey I registered on your website a few weeks ago but I never took the chance to explore around.
I am not a programmer or developer, I am just a trader and still learning and I have watched a couple of tutorials and videos about from your YouTube channel. So I wanted to ask you if there is a possibility to combine the donchian channel indicator with the MACD indicator to create a bias indicator that you can actually see the indicator on the chart?
I have tried several different ways but have always failed in producing results.
I built a strategy on Ninja Trader Strategy Builder and tried to convert it to an indicator but it failed.
I really appreciate it if you could give me an answer if it would be possible, and some tips to help.

Hello,

The standard NinjaTrader Donchian Channel will automatically use High and Low price data series as that is how it is programmed. If you tried to use anything else as an input to the Donchian channel indicator, it would completely ignore and produce the channel based on the price series High and low only. To work around this limitation I have attached a Donchian Channel indicator called DonchianChannelInput that can be added to your system. With this indicator you can (in the User interface panel) change the 'input" from the price series to anything else or specifically for you the MACD indicator. By default it will, like the original, use the price series however if you change the input series to something else, the indicator will detect and use that input. This will allow the Donchian Channel to draw using the MACD values. Note that to display this properly, you will first want to add the MACD to the chart then add the DochianChannelInput with the same MACD settings as the input AND select the same panel as the MACD on the chart (otherwise it will put it in the price panel and scrunch up the display.

In addition the DonchianChannelInput indicator itself, I have shown what it can look like on a chart (when using colors and dash styles to improve the display) along with the settings of the Donchian channel input with the MACD as the input series.


DonchianChannelInput example

Be yourself; everyone else is already taken. Oscar Wilde
Attached Files
Elite Membership required to download: DonchianChannelInput.zip
Reply With Quote
Thanked by:
  #5 (permalink)
 Pablherasgarcia 
Madrid
 
Experience: Intermediate
Platform: Ninjatrader
Broker: Ninjatrader
Trading: CL, ES
Posts: 63 since Jan 2015
Thanks Given: 10
Thanks Received: 57


Tasker_182 View Post
Hello,

The standard NinjaTrader Donchian Channel will automatically use High and Low price data series as that is how it is programmed. If you tried to use anything else as an input to the Donchian channel indicator, it would completely ignore and produce the channel based on the price series High and low only. To work around this limitation I have attached a Donchian Channel indicator called DonchianChannelInput that can be added to your system. With this indicator you can (in the User interface panel) change the 'input" from the price series to anything else or specifically for you the MACD indicator. By default it will, like the original, use the price series however if you change the input series to something else, the indicator will detect and use that input. This will allow the Donchian Channel to draw using the MACD values. Note that to display this properly, you will first want to add the MACD to the chart then add the DochianChannelInput with the same MACD settings as the input AND select the same panel as the MACD on the chart (otherwise it will put it in the price panel and scrunch up the display.

In addition the DonchianChannelInput indicator itself, I have shown what it can look like on a chart (when using colors and dash styles to improve the display) along with the settings of the Donchian channel input with the MACD as the input series.


DonchianChannelInput example

Hi!
Thanks for the indicator!
How do you use it? I just nested to the Macd indicator. Entries when Macd=Donchian bands and exit when separate from then. Backtest from 1st. of March ETH+RTH except some hours in the afternoon.

Reply With Quote
  #6 (permalink)
 
Tasker_182's Avatar
 Tasker_182 
Cedar Rapids, iowa
Legendary Market Wizard
 
Experience: Intermediate
Platform: Ninjatrader
Broker: Ninjatrader - Continuum
Posts: 716 since Aug 2009
Thanks Given: 476
Thanks Received: 1,401

Hello,

You would need to ask the person who was asking for the indicator how they use it.

Be yourself; everyone else is already taken. Oscar Wilde
Reply With Quote




Last Updated on June 7, 2022


© 2024 NexusFi™, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
All information is for educational use only and is not investment advice. There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Privacy Policy - Downloads - Top
no new posts