Download software Tutorial videos
Subscription & data-feed pricing Class schedule


New account application Trading resources
Margin rates Stock & option commissions

Attention: Discussion forums are read-only for extended maintenance until further notice.
Welcome Guest, please sign in to participate in a discussion. Search | Active Topics |

Awesome oscillator by Bill Williams Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
vitorleite
Posted : Sunday, June 24, 2012 11:13:22 AM
Registered User
Joined: 1/10/2008
Posts: 98

 

Good morning

I'm using TC2000 and I'm looking to awesome oscilator as provided by Bill Williams.

 

You have provided the formula somewhere in this forum but there is one problem: you color coded red whem AO < 0 and green when AO >0. However the color scheme of the AOas Bill Williams stated is : red when in the histogram the present bar is less than the previous one and vive-versa for green. Can you help, please?

Bruce_L
Posted : Monday, June 25, 2012 9:10:53 AM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138

When the Awesome Oscillator topic was created, it was not possible and to some extent, this is still true.

Conditional coloring of Custom PCF Indicators is not available in TC2000 version 12.2 with the exception of plotting a different color for negative values when the Histogram Plot Style is used.

The fact that we can now plot two Custom PCF Indicators in the same scale means we could create two Custom PCF Indicators instead of one and plot one of them green and the other one red.

You would probably want to create a green version displaying all of the values so you could click on it to Create Scan Condition or Show Values in WatchList.

To add the Awesome Oscillator, select Add Indicator | Custom PCF Indicator, then click on the Custom PCF Indicator and select Edit.

- Plot Style: Histogram
- Plot Color: Green.
- Negative Value Color: Unchecked.
- Period: 1
- Average Type: Doesn't matter (because the Period is 1).
- Formula: (AVGH5 + AVGL5 - AVGH34 - AVGL34) / 2

To add a red version of the Awesome Oscillator which only plots when AO is down, click on the Custom PCF Indicator and select Plot New Indicator here..., Choose Custom PCF Indicator and select Scale with Formula.

- Plot Style: Histogram
- Plot Color: Red.
- Negative Value Color: Unchecked.
- Period: 1
- Average Type: Doesn't matter (because the Period is 1).
- Formula: (AVGH5 + AVGL5 - AVGH34 - AVGL34) / 2 * ABS(AVGH5 + AVGL5 - AVGH34 - AVGL34 < AVGH5.1 + AVGL5.1 - AVGH34.1 - AVGL34.1)



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
vitorleite
Posted : Monday, June 25, 2012 9:51:00 AM
Registered User
Joined: 1/10/2008
Posts: 98

Thanks Bruce : it works!

 

How can I SAVE these 2 indicatores INTO a new one ?

 

Thanks

vitorleite
Posted : Monday, June 25, 2012 9:53:18 AM
Registered User
Joined: 1/10/2008
Posts: 98

Ok I figured out. Thanks!

vitorleite
Posted : Tuesday, June 26, 2012 5:02:00 AM
Registered User
Joined: 1/10/2008
Posts: 98

Sorry Bruce but I have another question for you

 

The Williams AC formula is (I think) 

AVGH5 + AVGL5 - AVGH34 - AVGL34 - AVG(AVGH5,5) - AVG(AVGL5,5) + AVG(AVGH34,5) + AVG(AVGL34,5)) / 2

 

The method (2nd formula) to put Green bars if the present bar is higher than the previous one and viceversa for Red what would be?

Bruce_L
Posted : Tuesday, June 26, 2012 9:16:07 AM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138

The technique is pretty much the same:

To add the Acceleration/Deceleration (AC), select Add Indicator | Custom PCF Indicator, then click on the Custom PCF Indicator and select Edit.

- Plot Style: Histogram
- Plot Color: Green.
- Negative Value Color: Unchecked.
- Period: 1
- Average Type: Doesn't matter (because the Period is 1).
- Formula: (AVGH5 + AVGL5 - AVGH34 - AVGL34 - AVG(AVGH5,5) - AVG(AVGL5,5) + AVG(AVGH34,5) + AVG(AVGL34,5)) / 2

To add a red version of the Acceleration/Deceleration (AC) which only plots when AC is down, click on the Custom PCF Indicator and select Plot New Indicator here..., Choose Custom PCF Indicator and select Scale with Formula.

- Plot Style: Histogram
- Plot Color: Red.
- Negative Value Color: Unchecked.
- Period: 1
- Average Type: Doesn't matter (because the Period is 1).
- Formula: (AVGH5 + AVGL5 - AVGH34 - AVGL34 - AVG(AVGH5,5) - AVG(AVGL5,5) + AVG(AVGH34,5) + AVG(AVGL34,5)) / 2 * ABS((AVGH5 + AVGL5 - AVGH34 - AVGL34 - AVG(AVGH5,5) - AVG(AVGL5,5) + AVG(AVGH34,5) + AVG(AVGL34,5)) / 2 < (AVGH5.1 + AVGL5.1 - AVGH34.1 - AVGL34.1 - AVG(AVGH5.1,5) - AVG(AVGL5.1,5) + AVG(AVGH34.1,5) + AVG(AVGL34.1,5)) / 2)



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
vitorleite
Posted : Tuesday, June 26, 2012 3:44:15 PM
Registered User
Joined: 1/10/2008
Posts: 98

Thanks!!

guizi
Posted : Thursday, August 21, 2014 4:37:54 PM
Registered User
Joined: 8/28/2010
Posts: 17

Bruce, good afternoon!

The AC(acceleration/deceleration) that you wrote the formulas,using the awesome oscilator=AO. I copied your formulas to PCF frmulas indicators,respectively I called them AC green and AC red.

1- But what to do next? I used the overlay command but am not sure it created the AC

2- How to create a scan saying not to enter market when the colour is red only when it&acute;s green?

Bruce thank you so much indeed.

 

 

 

Bruce_L
Posted : Thursday, August 21, 2014 4:53:31 PM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138

A Condition Formula for AO being green can be written as:

AVGH5 + AVGL5 - AVGH34 - AVGL34 >= AVGH5.1 + AVGL5.1 - AVGH34.1 - AVGL34.1

A Condition Formula for AO being red can be written as:

AVGH5 + AVGL5 - AVGH34 - AVGL34 < AVGH5.1 + AVGL5.1 - AVGH34.1 - AVGL34.1

A Condition Formula for AC being green can be written as:

(AVGH5 + AVGL5 - AVGH34 - AVGL34 - AVG(AVGH5,5) - AVG(AVGL5,5) + AVG(AVGH34,5) + AVG(AVGL34,5)) / 2 >= (AVGH5.1 + AVGL5.1 - AVGH34.1 - AVGL34.1 - AVG(AVGH5.1,5) - AVG(AVGL5.1,5) + AVG(AVGH34.1,5) + AVG(AVGL34.1,5)) / 2

A Condition Formula for AC being red can be written as:

(AVGH5 + AVGL5 - AVGH34 - AVGL34 - AVG(AVGH5,5) - AVG(AVGL5,5) + AVG(AVGH34,5) + AVG(AVGL34,5)) / 2 < (AVGH5.1 + AVGL5.1 - AVGH34.1 - AVGL34.1 - AVG(AVGH5.1,5) - AVG(AVGL5.1,5) + AVG(AVGH34.1,5) + AVG(AVGL34.1,5)) / 2



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
guizi
Posted : Wednesday, August 27, 2014 1:59:30 PM
Registered User
Joined: 8/28/2010
Posts: 17

Dear Bruce:

All bars in your formulas  for AC green and AC red have the same heigh and don&acute;&acute;t flutuate around an axis, as they should. .Please take care of  it

Thank you so much indeed

Guizi

Bruce_L
Posted : Wednesday, August 27, 2014 2:21:38 PM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138

I'm not quite sure what you are describing, which formulas are not returning the desired results or the expected behavior of these formulas compared to the way they actually work.

All of the Indicator Formulas in my Monday, June 25, 2012 9:10:53 AM ET and Tuesday, June 26, 2012 9:16:07 AM ET posts in this topic definitely oscillate around zero and produce histograms with bars which do in fact vary in length (they definitely don't have the same height) when used to create Custom PCF Indicators following the directions in the post.

The Condition Formulas given in my Thursday, August 21, 2014 4:53:31 PM ET post only return either true or false. If you use them as Custom PCF % True Indicators the bars would all be either 0 or 100, but these formulas are not designed to plot AO or AC, but just to return true or false based on if AO or AC is green or red.



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
jpag1
Posted : Saturday, March 19, 2016 11:13:22 AM
Gold Customer Gold Customer

Joined: 3/20/2006
Posts: 161

I used the PDFs from June 25 2012 and scaled wirh formula, but the zero line is off when I go from chart to chart. How do I get both zero lines the same?

Thanks

Bruce_L
Posted : Monday, March 21, 2016 1:23:09 PM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138

Click on one of the indicators and select Scaling.... 

Then choose the other indicator indicator in the Scale with section. They just need to be in the scale in order for the zero lines to be the same.

You could also set the Scale method of the indicators to Center on 0 to get the zero lines to match, but unless the indicators are scaled with each others, the indicators will still not be scaled correctly together.



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
jpag1
Posted : Monday, March 21, 2016 8:08:32 PM
Gold Customer Gold Customer

Joined: 3/20/2006
Posts: 161

Thanks Bruce

Bruce_L
Posted : Tuesday, March 22, 2016 10:17:11 AM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138

You're welcome.



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
Users browsing this topic
Guest-1

Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.