MACD with Bollinger bands for IRT - futures io
futures io futures trading



MACD with Bollinger bands for IRT


Discussion in Platforms and Indicators

Updated by LS Chad
      Top Posters
    1. looks_one trendisyourfriend with 5 posts (1 thanks)
    2. looks_two LS Chad with 4 posts (3 thanks)
    3. looks_3 Big Mike with 1 posts (0 thanks)
    4. looks_4 RM99 with 1 posts (0 thanks)
    1. trending_up 7,118 views
    2. thumb_up 6 thanks given
    3. group 5 followers
    1. forum 13 replies
    2. attach_file 3 attachments




Welcome to futures io: the largest futures trading community on the planet, with well over 100,000 members
  • Genuine reviews from real traders, not fake reviews from stealth vendors
  • Quality education from leading professional traders
  • We are a friendly, helpful, and positive community
  • We do not tolerate rude behavior, trolling, or vendors advertising in posts
  • We are here to help, just let us know what you need
You'll need to register in order to view the content of the threads and start contributing to our community.  It's free and simple.

-- Big Mike, Site Administrator

(If you already have an account, login at the top of the page)

 
Search this Thread
 

MACD with Bollinger bands for IRT

(login for full post details)
  #1 (permalink)
Quebec
 
Experience: Intermediate
Platform: NinjaTrader wt Rancho Dinero's profiling tools
Broker: AMP/CQG
Trading: ES, NQ, YM
 
trendisyourfriend's Avatar
 
Posts: 3,878 since Oct 2009
Thanks: 3,507 given, 4,952 received

As this is quite a popular indicator i thought it might be a good idea to recreate such an indicator for IRT.

To this end, i'd like to ask a Ninja coder what is the logic behind the code of the MACD with Bollinger bands then maybe an IRT coder might take the challenge and recreate it.


Reply With Quote

Can you help answer these questions
from other members on futures io?
TOS script
ThinkOrSwim
TOS script help - crossover with alerts - help please?
ThinkOrSwim
TOS Custom Implied Volatility Rank Watchlist/Scanner Column
ThinkOrSwim
Volume Chart Trend Lines
TradeStation
FYI plot bug & workaround: changing color or width is delayed 1 bar
EasyLanguage Programming
 
 
(login for full post details)
  #2 (permalink)
Site Administrator
Manta, Ecuador
 
Experience: Advanced
Platform: My own custom solution
Trading: Emini Futures
 
Big Mike's Avatar
 
Posts: 48,902 since Jun 2009
Thanks: 31,586 given, 94,516 received

If it isn't Elite, then post the C# code for the indicator - that will help.

Mike

We're here to help -- just ask

For the best trading education, watch our webinars
Searching for trading reviews? Review this list

Follow us on Twitter, YouTube, and Facebook

Support our community as an Elite Member:
https://futures.io/elite/
Follow me on Twitter Visit my Facebook Visit my futures io Trade Journal Reply With Quote
 
(login for full post details)
  #3 (permalink)
the coin hunter
virginia
 
Experience: Intermediate
Platform: ninja
Trading: NQ
 
cory's Avatar
 
Posts: 5,998 since Jun 2009
Thanks: 831 given, 7,831 received


FT explains it here

Reply With Quote
The following 2 users say Thank You to cory for this post:
 
(login for full post details)
  #4 (permalink)
Austin, TX
 
Experience: Advanced
Platform: TradeStation
Trading: Futures
 
Posts: 882 since Mar 2011
Thanks: 124 given, 698 received

Take a look at your DOM near BB's and you'll see there's more people camped out there than Wal Mart before Black Friday.

If you're going to use BB's for exits, consider exiting some interval prior to the BB's, because you'll find it's very difficult/stubborn to get fills on limit orders or you'll get a ton of slippage on market orders.

Reply With Quote
 
(login for full post details)
  #5 (permalink)
Quebec
 
Experience: Intermediate
Platform: NinjaTrader wt Rancho Dinero's profiling tools
Broker: AMP/CQG
Trading: ES, NQ, YM
 
trendisyourfriend's Avatar
 
Posts: 3,878 since Oct 2009
Thanks: 3,507 given, 4,952 received


RM99 View Post
Take a look at your DOM near BB's and you'll see there's more people camped out there than Wal Mart before Black Friday.

If you're going to use BB's for exits, consider exiting some interval prior to the BB's, because you'll find it's very difficult/stubborn to get fills on limit orders or you'll get a ton of slippage on market orders.

It has not been a problem for me on the ES, RUSSELL or the Euro although it can happen. Here is how i typically use it on the ES to take advantage of a pullback. I use two instances of the MACDBBlines and use the faster instance to gauge the overbought condition of a pullback in a directional move with momentum (evaluated with the triggerlines). For the pullback conditons, i usually wait for the faster instance of the MACD to cross the zero line opposite to the immediate trend to consider an entry.

Attached Thumbnails
Click image for larger version

Name:	BBMACD_usage.jpg
Views:	211
Size:	86.9 KB
ID:	37960  
Reply With Quote
 
(login for full post details)
  #6 (permalink)
Bala, PA, USA
 
Experience: Intermediate
Platform: NinjaTrader
Broker: Mirus, IB
Trading: SPY, Oil, Euro
 
monpere's Avatar
 
Posts: 1,858 since Jul 2010
Thanks: 300 given, 3,329 received


trendisyourfriend View Post
It has not been a problem for me on the ES, RUSSELL or the Euro although it can happen. Here is how i typically use it on the ES to take advantage of a pullback. I use two instances of the MACDBBlines and use the faster instance to gauge the overbought condition of a pullback in a directional move with momentum (evaluated with the triggerlines). For the pullback conditons, i usually wait for the faster instance of the MACD to cross the zero line opposite to the immediate trend to consider an entry.

I thought you were a trend line break trader. When did you start trading the MACD?

Reply With Quote
 
(login for full post details)
  #7 (permalink)
Quebec
 
Experience: Intermediate
Platform: NinjaTrader wt Rancho Dinero's profiling tools
Broker: AMP/CQG
Trading: ES, NQ, YM
 
trendisyourfriend's Avatar
 
Posts: 3,878 since Oct 2009
Thanks: 3,507 given, 4,952 received


monpere View Post
I thought you were a trend line break trader. When did you start trading the MACD?

When i started trading in 2008, i was using a fast MACD(3,6,3) to enter and fast StockRSI(8,8,3) to exit using a pyramid scheme for the money management. At that time, i was trading the Forex market with MT4. I stopped trading the Forex and switched to the Futures market (S&P 500). All of the things i was used to, did not work on the S&P 500 so as many i started a quest to find a method and found out NexGen. I subscribed to their room for 3-4 months but did not buy it in the end as i found everything i needed here free. Later on, i added Market Profile to replace the Fibonacci stuff i was used to with NexGen. All in all, i have always been using a MACD to gauge certain conditions like divergences and pullbacks. But but but, since reading BigMike's elusive price action thread and using ema's momentum bar type, i use less indicators but i still like to look at the MACD on some of the charts that i use to change the monotony of looking at the same growing grass field.

Reply With Quote
The following user says Thank You to trendisyourfriend for this post:
 
(login for full post details)
  #8 (permalink)
Milton, GA
 
Experience: Intermediate
Platform: Investor/RT, MarketDelta
Broker: DTN IQFeed
Trading: ES
 
LS Chad's Avatar
 
Posts: 165 since Apr 2010
Thanks: 2 given, 142 received

Try importing this chart and see how it looks:

http://www.charthub.com/images/2011/05/11/MACDBB.png

Chad

Follow me on Twitter Reply With Quote
The following user says Thank You to LS Chad for this post:
 
(login for full post details)
  #9 (permalink)
Quebec
 
Experience: Intermediate
Platform: NinjaTrader wt Rancho Dinero's profiling tools
Broker: AMP/CQG
Trading: ES, NQ, YM
 
trendisyourfriend's Avatar
 
Posts: 3,878 since Oct 2009
Thanks: 3,507 given, 4,952 received

Thanks Chad,

I took a screen capture to compare both Ninja version and yours and there seems to be a difference in the way the outside bands are processed.

Here is how the Ninja version is calculated:

Take the raw MACD (not the signal line or the histogram), then

-> calculate an EMA(10) from that MACD
-> calculate the StdDev (10) from that MACD

Typically for Bollinger Bands you calculate the standard deviation from the data points of the EMA, then add and subtract two standard deviations to get the channel lines.

In this case you will not calculate the standard deviation from the EMA, but directly from the raw MACD. Then add and subtract one standard deviation to get the bands.

The dots just represent the raw MACD.

Attached Thumbnails
Click image for larger version

Name:	bbmacd.jpg
Views:	123
Size:	248.1 KB
ID:	38698  
Reply With Quote
 
(login for full post details)
  #10 (permalink)
Milton, GA
 
Experience: Intermediate
Platform: Investor/RT, MarketDelta
Broker: DTN IQFeed
Trading: ES
 
LS Chad's Avatar
 
Posts: 165 since Apr 2010
Thanks: 2 given, 142 received


OK, few questions.

In your chart, the green/red dots are the raw MACD, computed as the difference between and exponential 12 and 26 period MA, correct? I think I'm matching up fine on that part.

The center band then appears to be a 10 period exponential smoothing of the MACD line described above, correct? I seem to be lining up fine there as well...we'll call this the EMA_MACD line.

The bands are now apparently drawn around the EMA_MACD line. Some standard deviation is added to and subtracted from the EMA_MACD line. It appears it could be a 10 period standard deviation of the original MACD.

Take a look at this. I think this may do it.

Images | ChartHub.com

Chad

Follow me on Twitter Reply With Quote


futures io Trading Community Platforms and Indicators > MACD with Bollinger bands for IRT


May 7, 2019


Upcoming Webinars and Events
 

Every journal equals ten meals for the hungry

Now
     



Copyright © 2020 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, +507 833-9432, info@futures.io
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.
no new posts