WillyCycle Oscillator&DoubleMa/ErkOzi/"This code creates a technical analysis indicator used to calculate and visualize the WillyCycle oscillator and double moving average indicators on the price of a financial asset. The functionality can be summarized as follows:
*Calculate the WillyCycle oscillator: The WillyCycle is an oscillator calculated based on the highest and lowest values of an asset. This oscillator is used to measure overbought or oversold conditions of the asset.
*Calculate the double moving average: The double moving average helps determine trends by calculating the short-term and long-term moving averages of asset prices.
*Use the WillyCycle oscillator and double moving average indicators together: The WillyCycle oscillator is combined with the double moving averages to provide a clearer indication of overbought and oversold conditions.
*Visualize the indicator with color coding: The indicator is color-coded to show overbought and oversold conditions. Additionally, line and background colors are changed to make the indicator more readable.
Many parameters can be adjusted on the indicator: The indicator can be customized and modified by the user. For example, the period of the WillyCycle oscillator and the lengths of the double moving averages can be adjusted."
The strategy is based on two indicators - the WillyCycle oscillator and the double moving average. The WillyCycle oscillator measures overbought and oversold conditions of the asset based on its highest and lowest values. The double moving average calculates short-term and long-term moving averages of the asset's price, which can help identify trends.
The WillyCycle oscillator and the double moving average are combined in this strategy to provide a clearer indication of overbought and oversold conditions. When the WillyCycle oscillator indicates that the asset is oversold and the short-term moving average crosses above the long-term moving average, it may signal a buy opportunity. Conversely, when the WillyCycle oscillator indicates that the asset is overbought and the short-term moving average crosses below the long-term moving average, it may signal a sell opportunity.
To make it easier for traders to read and interpret the indicator, color-coding is used to indicate overbought and oversold conditions. The user can also customize the indicator by adjusting parameters such as the period of the WillyCycle oscillator and the lengths of the double moving averages.
*ıt provides successful buy and sell signals for price reversals.
*You can open counter trades in overbought and oversold areas by following the averages.
Willy
Williams % Range overlay mini plotPlots Williams Percent Range over bought/oversold indicator as a small overlay in top right corner.
De-clutter chart when all you're interested in is the real-time W%R to 'give permission' to enter a trade.
i.e. to remove the Williams %R lower pane from the above chart completely.
~~User Inputs~~
~W%R length
~Number of bars to show (default is last 6 bars)
~Plot offset (horizontal position of the plot; can be negative)
~Line color and thickness
~Show/hide plot title
~~tips~~
~in line 26, edit the multiplier (3*), to compress/expand the vertical size of the plot
Godmode 4.0.1 [Correlator]First off, a huge thank you to the following people:
@LEGION:
@LazyBear: www.tradingview.com
@xSilas: www.tradingview.com
@Ni6HTH4awK: www.tradingview.com
@sco77m4r7and:
@SNOW_CITY: www.tradingview.com
@oh92: www.tradingview.com
@alexgrover: www.tradingview.com
@cI8DH: www.tradingview.com
@DonovanWall: www.tradingview.com
This is my second iteration of Godmode. This time I allowed the possibility to correlate two benchmarks against one another, thereby giving you twice the signals (once there's a strong correlation between the two, inverse or otherwise). That aside, there are no changes to this indicator that the first iteration doesn't have:
There are still more iterations planned, but if you guys have any ideas or wishes regarding what direction I go, then please let me know.
Want to Learn?
If you'd like the opportunity to learn Pine but you have difficulty finding resources to guide you, take a look at this rudimentary list: docs.google.com
The list will be updated in the future as more people share the resources that have helped, or continue to help, them. Follow me on Twitter to keep up-to-date with the growing list of resources as well as any other scripts I publish.
Suggestions or Questions?
Don't even kinda hesitate to forward them to me. My (metaphorical) door is always open.
Godmode 4.0.0 [Oscillator]First off, a huge thank you to the following people:
LEGION:
LazyBear: www.tradingview.com
xSilas: www.tradingview.com
Ni6HTH4awK: www.tradingview.com
sco77m4r7and:
SNOW_CITY: www.tradingview.com
oh92: www.tradingview.com
alexgrover: www.tradingview.com
cI8DH: www.tradingview.com
DonovanWall: www.tradingview.com
Since I've been on TradingView I've become somewhat enthralled by Godmode and the collective work that goes in to it, so I decided to publish my own iteration, building off the ideas already present. (This is a great way to get familiar with Pine by the way, just in case there are any beginners reading this)
Changes
The first change I made was to allow the user to select whatever tickerid they wanted as a benchmark. If trading XBTUSD on BitMEX for example, the indicator will react to exchange-specific activity, which means it will respond to all the little whipsaws, whipsaws that can be especially present on a futures exchange. By typing CRYPTOCAP:BTC or CRYPTOCAP:TOTAL we endeavor to remove noise. It can also signal earlier. Less noise and less lag. Another idea would be to choose a benchmark that has a strong inverse relationship with the asset you're trading: try CRYPTOCAP:USDT as the benchmark against BTC to see what I mean.
I also added the ability to smooth the plot, yet again removing noise but adding considerable lag.
The linear regression of the wave-trend is calculated in place of the EMA. This is plotted as columns with the midline (50) as the base. This is just calculating the slope of the wave-trend and can signal a weakening trend before a reversal takes place.
Using cI8DH's True RSI script () as inspiration, I added a function for calculating the True TSI in an attempt to remove any bullish bias. Funnily enough, when I tried to do the same with the RSI I had some problems. I'll try to resolve this in the coming weeks.
Made slight changes to the aesthetics. Tried to bring the two main plots alive by making their bold, opaque colors stand off the subtle tones in the background.
To Do List
1. I would like to sort out the issue with the True RSI.
2. When the plots are smoothed, there's an issue with the green 'Caution!' dots appearing in the lower half of the indicator.
3. I'd like to adjust the code so that if the 'Benchmark' box is empty, that it will automatically register the current tickerid as the 'Benchmark'.
If anyone has any suggestions on other fixes or how to apply the fixes mentioned by me, please don't hesitate to reach out to me here or through other media platforms.
Want to Learn?
If you'd like the opportunity to learn Pine but you have difficulty finding resources to guide you, take a look at this rudimentary list: docs.google.com
The list will be updated in the future as more people share the resources that have helped, or continue to help, them. Follow me on Twitter to keep up-to-date with the growing list of resources.
Suggestions or Questions?
Don't even kinda hesitate to forward them to me. My (metaphorical) door is always open.
BITMEX:XBTUSD
CRYPTOCAP:BTC
CRYPTOCAP:TOTAL
CRYPTOCAP:USDT.D
Willams %R with 13 EMA - TRIBased on alexpunct's work.
I simply added a second Willy plot and EMA which allows you to plot Willy and its EMA for a second time frame on the same chart.
The idea is that you will only enter a trade if there is confluence on the two time frames i.e. Willy is stupidly oversold/overbought on both the 4h and 12h or 1h and 4h time frames.
I will be testing this and will adapt
Willams %R with 13 EMA and middle pointWillams %R with 13 EMA and middle point. It also uses the textbook formula instead of the Tradingview one.
Dav-o meter (public)I decided to make this formerly invite only script public (you can find the invite only version here
If you are part of the invite only you don't need to change scripts. I will push improvements first on the invite only script but in time it will come to this version as well.
I would love to know your ideas and thoughts on how this indicator can be improved, so feel free to give any feedback.
Remember to give it a thumbs up if you like it.
MAGNUS™A CHANGE of background color indicates a trade opportunity :
Cyan background = BUY
Purple background = SELL
The bullish signals seem to be better than the bearish ones.
Based on the "Willy" indicator.
Don't change the parameters unless you fully understand the consequences.
Use with brains and caution :)