ucsgears

UCS_TTM_Wave A & B & C

This is a replica of TTM             Wave A B C.

The ABC Waves are comprised of various moving averages and oscillators ( MACD ) used to visualize the overall strength and direction of a given market across multiple time frames.
The “A Wave” measures short term relative strength and direction of a market, the “C Wave” measures longer term strength and the “B Wave” plots the same for a medium time period.

Here is the link to the ACTUAL Indicator - http://members.simpleroptions.com/options-trading-indicators/abcwaves/

Instruction -
Load the Indicator three times, Turn Off the Other two Waves. For eg., Wave A - Check / Wave B - Uncheck / Wave C - Uncheck. = This will plot Wave A.
Remove from Favorite Scripts Add to Favorite Scripts
// Created by UCSGEARS on 8/30/2014
// Updated - 03/22/2014

study(title="UCS_TTM_Wave A & B & C", shorttitle="WAVE-A/B/C", precision = 2)

usewa = input(true, title = "Wave A", type=bool)
usewb = input(true, title = "Wave B", type=bool)
usewc = input(true, title = "Wave C", type=bool)

// WAVE CALC
// Wave A
fastMA1 = usewa ? ema(close, 8) : na
slowMA1 = usewa ? ema(close, 34) : na
macd1 =  usewa ? fastMA1 - slowMA1 : na
signal1 =  usewa ? ema(macd1, 34) : na
hist1 =  usewa ? macd1 - signal1 : na

fastMA2 = usewa ? ema(close, 8) : na
slowMA2 = usewa ? ema(close, 55) : na
macd2 = usewa ? fastMA2 - slowMA2 : na
signal2 = usewa ? ema(macd2, 55) : na
hist2 = usewa ? macd2 - signal2 : na

// Wave B
fastMA3 = usewb ? ema(close, 8) : na
slowMA3 = usewb ? ema(close, 89) : na
macd3 = usewb ? fastMA3 - slowMA3 : na
signal3 = usewb ? ema(macd3, 89) : na
hist3 = usewb ? macd3 - signal3 : na

fastMA4 = usewb ? ema(close, 8) : na
slowMA4 = usewb ? ema(close, 144) : na
macd4 = usewb ? fastMA4 - slowMA4 : na
signal4 = usewb ? ema(macd4, 144) : na
hist4 = usewb ? macd4 - signal4 : na

// Wave C
fastMA5 = usewc ? ema(close, 8) : na
slowMA5 = usewc ? ema(close, 233) : na
macd5 = usewc ? fastMA5 - slowMA5 : na
signal5 = usewc ? ema(macd5, 233) : na
hist5 = usewc ? macd5 - signal5 : na

fastMA6 = usewc ? ema(close, 8) : na
slowMA6 = usewc ? ema(close, 377) : na
macd6 = usewc ? fastMA6 - slowMA6 : na

// PLOTs
plot(macd6, color=#FF0000, style=histogram, title="Wave C1", linewidth=3)
plot(hist5, color=#FF8C00, style=histogram, title="Wave C2", linewidth=3)

plot(hist4, color=#FF00FF, style=histogram, title="Wave B1", linewidth=3)
plot(hist3, color=#0000FF, style=histogram, title="Wave B2", linewidth=3)

plot(hist2, color=#008000, style=histogram, title="Wave A1", linewidth=3)
plot(hist1, color=#DAA520, style=histogram, title="Wave A2", linewidth=3)

hline(0, color=black, title = "Zero Line", linewidth = 2, linestyle = solid)
UCS...Your Freakin BIG TIME...

SKILLZ!!!!!!
+1 Reply
ucsgears PRO ChrisMoody
2 years ago
Thanks
Reply
tradearcher PRO ucsgears
2 years ago
Nice. I was thinking of doing that one as well. But I like your version better. =)
Reply
Joe Pike
2 years ago
I use TOS for trading and they only have the A & C waves as a combined model. I was able to break them into the A and C waves, but that's it. I know Trade Station has all 3 but I don't use Trade Station. Now, with your help UCS, I have access to all 3 waves! Thank you.
Reply
ucsgears PRO Joe Pike
2 years ago
you are welcome
Reply
valeron
2 years ago
privet
Reply
ucsgears PRO
2 years ago
NEW Indicator - Reversion to the Mean. TTM Reversion to the mean with some added Alerts Soon to go live.

snapshot


snapshot
Reply
piferdjPips PRO ucsgears
2 years ago
Excellent!!
Reply
trader_ak PRO
2 years ago
Nice1. Thank you. :)
Reply
jdobbs
9 months ago
Hey, this code comes up with errors in tradestation. Can you fix it so it verifies in ts? Thanks.
Reply
ucsgears PRO jdobbs
9 months ago
This code is not for Tradestation. The script language is different
Reply
TimKutch
9 months ago
What is the difference between 1 and 2 (i.e. A1 v. A1; B1 v. B2; C1 v. C2)? Many thanks for coding this!
Reply
TimKutch TimKutch
9 months ago
nevermind, i see now. just the ema lengths.
Reply
Is it just me or do you have some code missing for Wave 6 (Wave C, Wave #2)... It would be right after line 46, why have you left out the same calculations you did on the first 5 on the 6th? Maybe I am missing something, who knows :p
Reply
Kantardziski PRO Kantardziski
7 months ago
This is what I am thinking should be there...
"
signal6 = usewc ? ema(macd6, 377) : na
hist6 = usewc ? macd6 -signal6 : na

"
Reply
ucsgears PRO Kantardziski
7 months ago
Code for the wave c/2 is there. Try loading the indicator directly from a chart.
Reply
Kantardziski PRO ucsgears
7 months ago
Oh, sounds good then, thanks!
Reply
BKing
16 days ago
Having trouble with adding the script to TOS, any thought?
BKing
Reply
ucsgears PRO BKing
15 days ago
@BKing, It cannot be added directly... Modify the code def and if else statement
Reply
BKing ucsgears
14 days ago
@ucsgears, I'm not someone who can modify code, is there a way to get in touch?
Reply
Ideas Scripts Chart
United States
United Kingdom
India
España
Italia
Brasil
Россия
Türkiye
日本
한국
Home Stock Screener Economic Calendar How It Works Chart Features House Rules Moderators For the WEB Widgets Stock Charting Library Priority Support Feature Request Blog & News FAQ Help & Wiki Twitter
Private Messages Chat Ideas Published Followers Following Priority Support Public Profile Profile Settings Billing Sign Out