NexusFi: Find Your Edge


Home Menu

 





Bill Williams Moving Averages.


Discussion in NinjaTrader

Updated
      Top Posters
    1. looks_one Fat Tails with 5 posts (4 thanks)
    2. looks_two kypa with 4 posts (0 thanks)
    3. looks_3 GridKing with 2 posts (0 thanks)
    4. looks_4 websouth with 1 posts (3 thanks)
    1. trending_up 12,215 views
    2. thumb_up 8 thanks given
    3. group 7 followers
    1. forum 15 posts
    2. attach_file 1 attachments




 
Search this Thread

Bill Williams Moving Averages.

  #1 (permalink)
Rambo1123
white rock
 
Posts: 3 since Feb 2012
Thanks Given: 9
Thanks Received: 0

Has anyone created Bill Williams Moving Averages which are used for the Alligator? If so would you be willing to share them? I used Metastock for almost 20 years and was fairly good at programming but I recently switched to Ninja and their programming making my eyes spin. Cheers.

Reply With Quote

Can you help answer these questions
from other members on NexusFi?
NT7 Indicator Script Troubleshooting - Camarilla Pivots
NinjaTrader
ZombieSqueeze
Platforms and Indicators
Pivot Indicator like the old SwingTemp by Big Mike
NinjaTrader
MC PL editor upgrade
MultiCharts
Exit Strategy
NinjaTrader
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Diary of a simple price action trader
26 thanks
Just another trading journal: PA, Wyckoff & Trends
25 thanks
Tao te Trade: way of the WLD
23 thanks
My NQ Trading Journal
16 thanks
HumbleTraders next chapter
9 thanks
  #2 (permalink)
 
cory's Avatar
 cory 
virginia
 
Experience: Intermediate
Platform: ninja
Trading: NQ
Posts: 6,098 since Jun 2009
Thanks Given: 877
Thanks Received: 8,090


Rambo1123 View Post
Has anyone created Bill Williams Moving Averages which are used for the Alligator? If so would you be willing to share them? I used Metastock for almost 20 years and was fairly good at programming but I recently switched to Ninja and their programming making my eyes spin. Cheers.

you don't have to do anything just go to ma setting set displacement to value you want.

Reply With Quote
Thanked by:
  #3 (permalink)
 
websouth's Avatar
 websouth 
Perdido Beach, AL
Market Wizard
 
Experience: Intermediate
Platform: graph paper
Trading: The shiny stuff
Posts: 1,209 since Jul 2009
Thanks Given: 1,116
Thanks Received: 1,335


Alligator indicator consists of 3 Moving averages:

Alligator’s jaws (blue line) – 13-period Simple Moving Average built from (High+Low)/2, moved into the future by 8 bars

Alligator’s teeth (red line) - 8-period Simple Moving Average built from (High+Low)/2, moved by 5 bars into the future

Alligator’s lips (green line) - 5-period Simple Moving Average built from (High+Low)/2, moved by 3 bars into the future


“Be who you are and say what you feel because those who mind don't matter and those who matter don't mind.” - Dr. Seuss
Visit my NexusFi Trade Journal Reply With Quote
  #4 (permalink)
 
GridKing's Avatar
 GridKing 
San Diego, CA USA
 
Experience: Intermediate
Platform: NinjaTrader
Trading: ES
Posts: 3,630 since May 2011
Thanks Given: 584
Thanks Received: 881

Sorry to add but didn't want to start a new thread, anyone know of a williams pro go indicator or similar for Ninja

used to use it in quotetracker and was very useful imo

Bar charts definition: This indicator has two lines: the Public Buying (green line) at the beginning of the day and the Professional Buying (red line) at the end of the day.

This technique is to create two Advance/Decline lines.

The Public Advance/Decline line is constructed by using the change from yesterday's closes to today's open.
The professional Advance/decline line is constructed by using the change from today's open to today's close.
The lines are calculated by taking a moving average, normally 14-days, of the results

Barchart.com - Classic Chart Indicators and Studies

thanks I didn't see anything here or ninja forum, thought maybe something similar around

"Successful trading is one long journey, not a destination" Peter Borish Former Head of Research for Paul Tudor Jones speaking on conversations with John F. Carter
Visit my NexusFi Trade Journal Reply With Quote
  #5 (permalink)
 
Fat Tails's Avatar
 Fat Tails 
Berlin, Europe
Market Wizard
 
Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker: Interactive Brokers
Trading: Keyboard
Posts: 9,888 since Mar 2010
Thanks Given: 4,242
Thanks Received: 27,102


GridKing View Post
Sorry to add but didn't want to start a new thread, anyone know of a williams pro go indicator or similar for Ninja

used to use it in quotetracker and was very useful imo

Bar charts definition: This indicator has two lines: the Public Buying (green line) at the beginning of the day and the Professional Buying (red line) at the end of the day.

This technique is to create two Advance/Decline lines.

The Public Advance/Decline line is constructed by using the change from yesterday's closes to today's open.
The professional Advance/decline line is constructed by using the change from today's open to today's close.
The lines are calculated by taking a moving average, normally 14-days, of the results

Barchart.com - Classic Chart Indicators and Studies

thanks I didn't see anything here or ninja forum, thought maybe something similar around


The indicator will only give different results from a momentum indicator, if there are significant gaps between the prior bar's close and the current bar's open. It can only be used

- on daily data
- if your daily bars are built from the RTH session (regular session excluding the night session)

If there are no gaps between bars, the indicator becomes a simple momentum indicator.

I do not understand, why Williams qualifies the night session move as public move and the day session move as professional move. The night session is essentially driven by overseas news. Qualifying this as noise and considering the US session as professional trading reflects an attitude which might have worked 30 years ago. Today that reasoning may only be correct for US domestic stocks, but certainly not for FOREX or commodities that are traded round the clock.

I think you can just use the momentum indicator, and that should be fine.

Reply With Quote
Thanked by:
  #6 (permalink)
 
GridKing's Avatar
 GridKing 
San Diego, CA USA
 
Experience: Intermediate
Platform: NinjaTrader
Trading: ES
Posts: 3,630 since May 2011
Thanks Given: 584
Thanks Received: 881

Thanks for replying, I'm not sure how quotetracker calculated it or if standard across the board , I used to use it in combination with synthetic $vix and had interesting results for showing extremes , see if I can remember and dig some more...

thanks for help

.................

edit:

Here's the article they based Vix Fix on https://www.meglioli.biz/xvix.pdf

and I guess pro go is as described

by tying them together in qt ended up with something similar to this https://www.tradepointsoftware.com/postpics/harmonic1a.jpg

just something I remembered and was quite useful...

"Successful trading is one long journey, not a destination" Peter Borish Former Head of Research for Paul Tudor Jones speaking on conversations with John F. Carter
Visit my NexusFi Trade Journal Reply With Quote
  #7 (permalink)
kypa
Bulgaria
 
Posts: 16 since Oct 2013
Thanks Given: 17
Thanks Received: 8


websouth View Post
Alligator indicator consists of 3 Moving averages:

Alligator’s jaws (blue line) – 13-period Simple Moving Average built from (High+Low)/2, moved into the future by 8 bars

Alligator’s teeth (red line) - 8-period Simple Moving Average built from (High+Low)/2, moved by 5 bars into the future

Alligator’s lips (green line) - 5-period Simple Moving Average built from (High+Low)/2, moved by 3 bars into the future

these are smoothed moving averages (also called modified or running) in the alligator, not simple - it is a kind of exponential smoothing

I just found out that in ninjatrader (and everywhere else of course) we can build the alligator with ordinary exponential moving averages - just the periods be 25 for jaws, 15 for teeth and 9 for lips - (orig.Number)x2-1, all else the same

Reply With Quote
  #8 (permalink)
 
Fat Tails's Avatar
 Fat Tails 
Berlin, Europe
Market Wizard
 
Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker: Interactive Brokers
Trading: Keyboard
Posts: 9,888 since Mar 2010
Thanks Given: 4,242
Thanks Received: 27,102


kypa View Post
these are smoothed moving averages (also called modified or running) in the alligator, not simple - it is a kind of exponential smoothing

I just found out that in ninjatrader (and everywhere else of course) we can build the alligator with ordinary exponential moving averages - just the periods be 25 for jaws, 15 for teeth and 9 for lips - (orig.Number)x2-1, all else the same

Bill Williams did indeed use the SMMA (smoothed moving average), but there are two different formulas used for the SMMA. I called them "useless SMMA" (your EMA) and "simple SMMA" in my thread here:



Are you sure that you picked the right SMMA? Could you point me to your source please?

As far as I know the other version of the SMMA is mostly used. The other version is near-identical to the SMA.

Reply With Quote
Thanked by:
  #9 (permalink)
kypa
Bulgaria
 
Posts: 16 since Oct 2013
Thanks Given: 17
Thanks Received: 8


Fat Tails View Post
Bill Williams did indeed use the SMMA (smoothed moving average), but there are two different formulas used for the SMMA. I called them "useless SMMA" (your EMA) and "simple SMMA" in my thread here:


Are you sure that you picked the right SMMA? Could you point me to your source please?

As far as I know the other version of the SMMA is mostly used. The other version is near-identical to the SMA.

ummm... actually that exact thread of yours is where I got the idea - and thank you for that - then I checked Bill Willliams' books - his daughter is reffering to the CQG's formula for smoothed moving average on Trading chaos 2nd edition pages 104-105 (I downloaded it from 4shared for free I think) - cqg.com/Technical-Analysis/Studies/Standard-Studies/Moving-Averages.aspx (I can't post full links), wikipedia got an article about: en.wikipedia.org/wiki/Moving_average, which relates that Smoothed MA to the Exponential
then I checked on platforms with alligator integrated that I have if it really is like that - on metatrader 4 and 5 and tradeinterceptor it was a complete match (as of what can be seen on the chart when both indicators are plotted)
I am not that into coding of ninjatrader so it would be the right thing to do to check once again if the formulas really match

what really matters is why do we need a Smoothed MA
if we want to calculate one more kind of MA - then that formula is indeed useless - it isn't really anything new or better
but if we need it to build the alligator on platforms that don't have it or that smoothed MAs - it saves a lot of time to know this (that was the reason I wrote that comment yesterday) and I thank you once again for pointing it out

I think even if there happens to be some actual difference between the actual values of that two formulas it shouldn't be harmfull since the alligator itself is a simplified "close-enough" representation of much more complicated calculations

Reply With Quote
  #10 (permalink)
 
Fat Tails's Avatar
 Fat Tails 
Berlin, Europe
Market Wizard
 
Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker: Interactive Brokers
Trading: Keyboard
Posts: 9,888 since Mar 2010
Thanks Given: 4,242
Thanks Received: 27,102



kypa View Post
ummm... actually that exact thread of yours is where I got the idea - and thank you for that - then I checked Bill Willliams' books - his daughter is reffering to the CQG's formula for smoothed moving average on Trading chaos 2nd edition pages 104-105 (I downloaded it from 4shared for free I think) - cqg.com/Technical-Analysis/Studies/Standard-Studies/Moving-Averages.aspx (I can't post full links), wikipedia got an article about: en.wikipedia.org/wiki/Moving_average, which relates that Smoothed MA to the Exponential
then I checked on platforms with alligator integrated that I have if it really is like that - on metatrader 4 and 5 and tradeinterceptor it was a complete match (as of what can be seen on the chart when both indicators are plotted)
I am not that into coding of ninjatrader so it would be the right thing to do to check once again if the formulas really match

what really matters is why do we need a Smoothed MA
if we want to calculate one more kind of MA - then that formula is indeed useless - it isn't really anything new or better
but if we need it to build the alligator on platforms that don't have it or that smoothed MAs - it saves a lot of time to know this (that was the reason I wrote that comment yesterday) and I thank you once again for pointing it out

I think even if there happens to be some actual difference between the actual values of that two formulas it shouldn't be harmfull since the alligator itself is a simplified "close-enough" representation of much more complicated calculations

Yes there are two SMMAs. As you pointed out, one of them is an exponential moving average, and the other one comes pretty close to the default SMA. Easiest to build an alligator that can perform calculations based on either a SMA or EMA. It is more the idea that counts.

Reply With Quote
Thanked by:




Last Updated on June 21, 2015


© 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