Registered User Joined: 6/30/2017 Posts: 1,227
|
Hi Bruce, welcome back!
Barbara Star wrote another article about mashing-up the ADX and MACD indicators into something she's now calling the "CAM indicator". Other folks call it an "ADX pinch" or "Squeeze".
Source: The CAM Indicator For Trends And Countertrends by Barbara Star, PhD, Stocks & Commodities V. 3601 (8-13).
The cool part is she included code this time (albiet from another charting package) for scanning for the four patterns (up, pullback, down, countertrend rally)...
What's the best/easiest way to set up the conditions and scan for this in v18? I know another TC2000 user who uses this as her primary setup, and she eyeballs charts a lot. Scanning automagically would help streamline her workflow.
Thanks!
|
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
My guess would be the following.
CAM-UP
ADX10.10 >= ADX10.10.1 AND MACD12.26 > MACD12.26.1
CAM-PB
ADX10.10 <= ADX10.10.1 AND MACD12.26 < MACD12.26.1
CAM-DN
ADX10.10 >= ADX10.10.1 AND MACD12.26 < MACD12.26.1
CAM-CT
ADX10.10 <= ADX10.10.1 AND MACD12.26 > MACD12.26.1
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
|
Registered User Joined: 6/30/2017 Posts: 1,227
|
Cool. I'll give it a shot.
While I was waiting, I sent you an email with the PDF article attached (via support@TC2000). It's a good (and short) read. Feel free to toss it if it's not your thing. :)
|
|
Registered User Joined: 6/30/2017 Posts: 1,227
|
Just had a thought.
In the article, Barbara Star actually color codes (using four different colors) a bar chart with the four patterns, which got me thinking...
Using the same technique you used to implement Elder's Impulse color scheme, can you do the same for this? I use these four patterns a lot myself, though I prefer the PPO instead of the MACD since the PPO is based on percentages.
I know you're just back from vacation, so there's no rush, but ... when you have time, if you could whip up a workspace with the ADX, PPO, and a bar/faux candle chart with four unique colors, and TCMail it to me, that would be awesome.
|
|
Registered User Joined: 6/30/2017 Posts: 1,227
|
Sweet. Thanks!!
|
|
Registered User Joined: 9/17/2010 Posts: 484
|
Bruce, may I have a copy as well?
Thanks
|
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
I have sent you a TCMail with a chart containing my interpretation of the CAM Indicator implemented as a sort of OHLC Bar with a colored body like a candle.
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
|
Registered User Joined: 6/30/2017 Posts: 1,227
|
Bruce, if I wanted to replace the MACD with the PPO, is it as simple as editing the PCFs and replacing all occurrences of "MACD" with "PPO"?
|
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
No, the exponential MACD 12, 26 is wirtten as follows in the chart.
MACD12.26
With the previous bar being:
MACD12.26.1
While the exponential PPO 12, 26 would be the following.
100 * (XAVGC12 / XAVGC26 - 1)
With the previous bar being:
100 * (XAVGC12.1 / XAVGC26.1 - 1)
You can probably get away with not changing the formulas and just replacing the MACD indicator on the chart with the PPO indicator however. If there are instances where the colors wouldn't match, it would be very rare (it may not even be possible, I haven't subjected the premise to any sort of rigorous proof).
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
|
Registered User Joined: 6/30/2017 Posts: 1,227
|
Thanks!
I'll wait until I've had my first cup of coffee, then I'll duplicate the workspace you sent me and do a little code cutting & pasting ... my TC2000 colleague really prefers PPO so I want to do her a favor.
|
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
I really prefer PPO as well. I am not sure what the point of MACD might be as long as PPO exists. It seems better in every way to me personally. The article seems to use MACD however, and I generally try to match those things when I create something unless specifically requested otherwise.
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
|
Registered User Joined: 6/30/2017 Posts: 1,227
|
Once again, great minds...
QUOTE (Bruce_L) I really prefer PPO as well.
I'm not a history geek, but I think just as bar charts preceded candlesticks (at least in the West) I think Gerald Appel created the MACD first, then the PPO came along later. Don't quote me on it.
I run into lots of foks who swear by the MACD and never even heard of the PPO. Personally I believe ignorance is more expensive than education. Even though Dr. Elder is one of my main influences, I pretty much always replace his use of the MACD with a PPO. He's also old school in the use of bar charts, and readily admits he doesn't use candlesticks because he learned how to trade with bar charts. Ain't broke, don't fix it, I guess.
Got the coffee, got the barista's phone number ... time to cut & paste.
|
|
Registered User Joined: 6/30/2017 Posts: 1,227
|
Bruce, got your TCMail. Thank you sir!! Looks great - much better than me cutting & pasting. Now I can spend more time with that barista. ;)
Have a great week. I've got Michael's trip to Chicago next month circled on my calendar. Can't wait!!
|
|
Registered User Joined: 6/30/2017 Posts: 1,227
|
Bruce, this is AWESOME!
I'm still rereading Barbara Star's article. There are a few subtle tweaks she makes based on an EMA and/or a CCI, but before I ask you to make some improvements I'm going to look at several charts. Don't want to waste your time.
Stay tuned.
|
|
Registered User Joined: 6/30/2017 Posts: 1,227
|
The more I think about it, the more I realize this is just another implementation of Elder's Impulse coloring scheme. Or something pretty close.
Elder uses only three colors, but if you're familiar with Elder's indicator "seasons" analogy (which he borrowed from someone else who's name escapes me) ... you can think of Green as "Summer", Blue following Green as "Fall", Red as "Winter", and Blue after Red as "Spring". The differentiator is whether the oscillator of choice is above or below its centerline.
Let me mull this over some more. The more indicators I play with, the more I realize it's all about price. :)
Personally, if you're trying to combine trend strength and direction (as Barbara Star's article is attempting to do) I would just use Linear Regression Slope and R-Squared. ADX and MACD/PPO work too, but I prefer Linear Regression. Just makes more sense (to me).
For now, I'm going to stick to Elder's Impulse. If I can come up with a reason to tinker with Star's "CAM" indicator, we'll revisit this.
After Michael comes to Chicago in mid-May, I might ask your help with some Linear Regression Slope & R-Squared PCFs. The idea is to use Elder's Impulse on two timeframes for scanning to find potential trades, and Linear Regression values to sort the list if the scan returns too many candidates to trade.
Thanks for all the help.
|
|
Registered User Joined: 5/11/2013 Posts: 17
|
Bruce, pls send me copy of your interpretation of Cam Indicator. Tks
|
|
Registered User Joined: 6/30/2017 Posts: 1,227
|
raynd,
Since Bruce is off enjoying the weekend sailing on his yacht. and I had a free minute, I took the liberty of sending you the CAM Indicator Bruce sent me.
You'll see two emails: one for the original MACD and another using the PPO.
Enjoy, and good luck!
|
|
Registered User Joined: 3/30/2015 Posts: 10
|
Hi Bruce can you send me this as well on the CAM indicator. Thanks so much!
|
|
Registered User Joined: 12/7/2017 Posts: 11
|
Me too please.
|
|
Registered User Joined: 5/11/2013 Posts: 17
|
Bruce, pls snd copy, Tks
|
|
Registered User Joined: 1/11/2019 Posts: 28
|
Can I please get the indicator setup in tc mail?
Thank you.
|
|
Registered User Joined: 1/11/2019 Posts: 28
|
Hello Bruce, I deleted the TC mail by mistake. Can you please send the mail one time?
Thank you
Priya
|
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
I have sent you a TCMail with a chart containing my interpretation of the CAM Indicator implemented as a sort of OHLC Bar with a colored body like a candle.
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
|
Registered User Joined: 1/11/2019 Posts: 28
|
Thank you Bruce.
|
|
Registered User Joined: 6/30/2017 Posts: 1,227
|
If I had a nickel for every time Bruce TCMailed a chart he developed based on one of my ideas ... lol. :)
|
|
Guest-1 |