ucsgears

UCS_Cycle

This indicator was designed to remove trend from price and make it easier to identify cycles.
Although this indicator has similarities to MACD . It is better used to identify the cycle of High and Lows based on the Statistical Data (Default is set to 25).

**** DO NOT USE THIS AS A MOMENTUM INDICATOR ****

As a word of caution the read this - http://bit.ly/1Arjoqp. This is a rip off, if you choose to pay a penny.
Remove from Favorite Scripts Add to Favorite Scripts
// Created by UCSgears 
// Version 1 - Setting for the Power cycle is not determined yet. This is the concept. 
// Larry Gaines version of Cycle uses Linear Regression

study(title="UCS_Cycle_V1", shorttitle="UCS-Cycle", overlay=false)

// Classic Cycle Indicator uses SMA
UseLinearRegression = input(true)
PlotSignal = input(false)

// The Source can be Based on OHLC4 or HL2
src = (ohlc4)
len = input(25, title="Cycle Length")
smooth = input (8, title = "Signal")
basis = UseLinearRegression ? linreg(src, len, 0) : sma(src,len)

cycle = close - basis
cyclesig = PlotSignal ? ema(cycle,smooth) : 0

plot_color1 = cycle > 0 ? green : red

plot(cycle, color = plot_color1, title = "Linear Regression Curve", style = columns, linewidth = 4)
plot(cyclesig, color = gray, title = "Signal")

//END
// Version 2 will have all the settings for the 3 Power Cycle Bands with Options to Plot them all.
Would be possible to colour the bars green/red depending on if they are above or below the zero line?
Reply
ucsgears PRO TheYangGuizi
add the below code after the plot statements

barcolor (plot_color1)
+1 Reply
Thanks :)
Reply
snapshot


Not bad :)
Reply
Hi guys...when will Version 2 come out? Great script!
Reply
Yes, Do you have any suggestions?
Reply
For me, I need scripts that are a no-brainer and you follow "these rules" and 80% of the time it'll win. Combined with another one of your scripts looks very interesting for the daily chart for Forex that I included here. When it gets to shorter timeframes there is so much whipsaw that it knocks off inexperienced chaps like myself or we're so confused we crawl up in the fetal position and chant "I'm in my happy place". Coondawg has great stuff and that's still a little over my head but perhaps a way to smooth out the bars and perhaps your thoughts on if it's something that is stand alone or works well in combination with another script/indicator and certain timeframes. I hope this is a worthwhile suggestion.
Reply
snapshot
+1 Reply
Currently, we do not have a full capability to do such scripting strategies in TV. I am waiting for TV to release it. It will be sooner, based on information i got. To answer you question on Steve Primo S4. It is set up for daily and weekly chart. He has about 8 strategies based on someone who told me. This was the only one I could find. I kinda know what others look like. But do not have the full set of rules.
Reply
BTW, to answer your question on Smoothing these cycle would defeat its purpose. Adding a few more lagging indicators will slow this down. I can add as an option on the next release.
Reply
United States
United Kingdom
India
Deutschland
España
France
Italia
Polska
Brasil
Россия
Türkiye
Indonesia
Malaysia
日本
한국
简体
繁體
Home Stock Screener Forex Signal Finder Cryptocurrency Signal Finder Economic Calendar How It Works Chart Features House Rules Moderators Website & Broker Solutions Widgets Stock Charting Library Priority Support Feature Request Blog & News FAQ Help & Wiki Twitter
Profile Profile Settings Account and Billing Priority Support Ideas Published Followers Following Private Messages Chat Sign Out