Simple_RSI+PA+DCA StrategyThis strategy is a result of a study to understand better the workings of functions, for loops and the use of lines to visualize price levels. The strategy is a complete rewrite of the older RSI+PA+DCA Strategy with the goal to make it dynamic and to simplify the strategy settings to the bare minimum.
In case you are not familiar with the older RSI+PA+DCA Strategy, here is a short explanation of the idea behind the strategy:
The idea behind the strategy based on an RSI strategy of buying low. A position is entered when the RSI and moving average conditions are met. The position is closed when it reaches a specified take profit percentage. As soon as the first the position is opened multiple PA (price average) layers are setup based on a specified percentage of price drop. When the price hits the layer another position with the same position size is is opened. This causes the average cost price (the white line) to decrease. If the price drops more, another position is opened with another price average decrease as result. When the price starts rising again the different positions are separately closed when each reaches the specified take profit. The positions can be re-opened when the price drops again. And so on. When the price rises more and crosses over the average price and reached the specified Stop level (the red line) on top of it, it closes all the positions at once and cancels all orders. From that moment on it waits for another price dip before it opens a new position.
This is the old RSI+PA+DCA Strategy:
The reason to completely rewrite the code for this strategy is to create a more automated, adaptable and dynamic system. The old version is static and because of the linear use of code the amount of DCA levels were fixed to max 6 layers. If you want to add more DCA layers you manually need to change the script and add extra code. The big difference in the new version is that you can specify the amount of DCA layers in the strategy settings. The use of 'for loops' in the code gives the possibility to make this very dynamic and adaptable.
The RSI code is adapted, just like the old version, from the RSI Strategy - Buy The Dips by Coinrule and is used for study purpose. Any other low/dip finding indicator can be used as well
The distance between the DCA layers are calculated exponentially in a function. In the settings you can define the exponential scale to create the distance between the layers. The bigger the scale the bigger the distance. This calculation is not working perfectly yet and needs way more experimentation. Feel free to leave a comment if you have a better idea about this.
The idea behind generating DCA layers with a 'for loop' is inspired by the Backtesting 3commas DCA Bot v2 by rouxam .
The ideas for creating a dynamic position count and for opening and closing different positions separately based on a specified take profit are taken from the Simple_Pyramiding strategy I wrote previously.
This code is a result of a study and not intended for use as a full functioning strategy. To make the code understandable for users that are not so much introduced into pine script (like myself), every step in the code is commented to explain what it does. Hopefully it helps.
Enjoy!
Осцилляторы
Leavitt Convolution Acceleration [CC]The Leavitt Convolution Slope indicator was created by Jay Leavitt (Stocks and Commodities Oct 2019, page 11), who is most well-known for creating the Volume-Weighted Average Price indicator. This indicator didn't have a good explanation or description so I custom-coded most of it. The way it works is it will give trend spikes in the direction of the underlying trend. If you don't see a spike then it means that the stock isn't trending at the moment. One possible avenue to explore with this indicator is judging the size of the trend spike before you open a position in that direction (or the opposite direction if you are shorting). I added a normalization function using code from a good friend @loxx that I recommend leaving on but feel free to experiment with it. I have color coded the lines to turn light green for a standard buy signal or dark green for a strong buy signal and light red for a standard sell signal, and dark red for a strong sell signal.
This is another indicator in a series that I'm publishing to fulfill a special request from @ashok1961 so let me know if you ever have any special requests for me.
[blackcat] L1 Ehlers Every Little Bit HelpsLevel 1
Background
Inspired by "Averaging The Open And Close To Reduce Noise" on March 2023 by John F. Ehlers’ article in the March issue, “Every Little Bit Helps”, I further smooth it because noise was still large and “Every Little Bit Does Not Helps Much”.
Function
In John F. Ehlers' 03/2023 article, "Every Little Bit Helps," he suggests that noise can be reduced by simply averaging the open and close prices of a bar, rather than just using the close price. The data sampling example presented in this article compares the traditional RSI using close data to an RSI calculated using the average of the open and close.
Compared to RSI, I used my customized RMI version which is more suitable for moment smoothing. For example, the price entry of the 1st RMI can be changed from Close to (Close + Open) / 2. In fact, the RMI indicator itself has a price input that can be changed in a similar way. You can change the input parameter "m" to "More Help", which is 5 by default.
Remarks
Feedbacks are appreciated.
CBDE OscillatorWhat makes The Universe grow at an accelerating pace?
Dark Energy.
What makes The Economy grow at an accelerating pace?
Debt.
Debt is the Dark Energy of The Economy.
The Central Bank Dark Energy Oscillator (CBDEO) is a companion to the popular CBDET (Central Bank Dark Energy Tracer) script.
CBDEO is an oscillator that shows up in a separate TradingView pane in order to provide a relative change signal. It uses the same equations to aggregate central bank liquidity that are used in CBDET, and adds unique analysis tools that provide rate of change data.
There are 2 signals in the chart. First is the change/delta on a per bar basis, based on the chart time frame. The default style for this plot is "columns". This style parameter can be changed in the settings, along with each plot's visibility.
The second plot is a divergence signal that tests the change vs a simple moving average of the CBDET signal (central bank liquidity). The SMA length is customizable in the Input tab within the settings for the indicator. The SMA is based on the chart's current time frame.
The changes in liquidity on various time frames, and calculated as divergence against the liquidity signal SMA can be useful in determining the rate of change in liquidity, and therefore potential thrust in market price action.
Negroni MA & RSI Strategy, plus trade entry and SL/TP optionsI will start with the context, and some things to think about when using a strategy tool to back-test ideas.
CONTEXT
FIRST: This is derived from other people's work, but I honestly hadn't found a mixed indicator MA strategy tool that does what this now does. If it is out there, apologies!!
This tool can help back-test various MA trends (SMA, EMA, HMA, VWMA); as well as factoring in RSI levels (or not); and can factor in a fixed HTF MA (or not). You can apply a 'retest entry' or a 'breakout entry', and you can also apply various risk mgt for SL/TP orders: 1) No SL/TP; or 2) a fixed %, or 3) dynamic ATR multipliers.
Find below, some details explaining what this tool is attempting to do.
Thank you, tack, salute!
THINGS TO REVIEW (it is not just about 'profitability'!!)
Whilst discretion is always highly encouraged as a trader, and a 100% indicator-driven strategy is VERY unlikely to yield sustainable results going forward, at the very least back-testing your strategies can help provide some guidance, not just on win rate Vs profit factor, but other things including:
a) Trade frequency: if a strategy has an 75% win rate and profit factor of 4, with all your parameters and confluence checks, but only triggers 3 trades every 5 years, is that realistically implementable to your trading situation if you have a $10,000 account?
b) Trade entry type: is it consistently better to wait for a retest of an 'MA zone', or is it better to market buy/sell on breakout of the 'MA zone'?
c) Risk management (SL/TP): is it consistently better to have a fixed static % for SL/TP ("I always place my stops 2% away, whether it is EURUSD or BTCUSDT"), or would you be better placed to try using an ATR multiplier of the respective assets?
d) Moving average type: is your old faithful 100 EMA really serving you well, or is the classic SMA more reliable, or how about the HMA, or the VWMA? Is the 100/200 cross holding up, or do you need something more sensitive? Is there any significant difference between a 10 EMA/20 EMA trend zone compared to a 13 EMA /25 EMA zone?
e) Confluence: Do added confluence checks (RSI, higher timeframe MA) actually improve profitability? But even if they do, is at the cost of cutting too many trades?
INPUTS AND PARAMETERS
Choice 1) Entry Strategy: Retest or Breakout - You can select both!
[ ]:
a) RETEST entry strat: price crosses UNDER FastMA INTO the 'MA trend zone'.
b) BREAKOUT entry strat: price crosses OVER FastMA OUT the 'MA trend zone'.
Choice 2) Risk Management (SL and TP) - You can select more than 1 strategy!
a) No SL/TP: Long trades are closed when the LOW crosses back UNDER the fastMA again, and shorts are closed when the HIGH crosses back OVER the fastMA again.
b) Static % SL/TP: Your SL/TP will be a fixed % away from avg. position price... WARNING: You should change this for various asset classes; FX vol is not the same as crypto altcoin vol!
c) Dynamic ATR SL/TP: Your SL/TP is a multiple of your selected ATR range (default is 50, see 'info' when you select ATR range). ATR accounts for the change in vol of different asset classes somewhat, HOWEVER... you should probably still not have the same multiplier trading S&P500 as you would trading crypto altcoins!
Then select your preferred parameters: EMA, SMA, HMA, VWMA, etc. You can mix and match, and most options have a info/tooltip guide.
RSI note: If you don't care for RSI levels, then set buy signal at 1... i.e always buys! Similarly set sell signal at 99.
ATR note: standard ATR length is usually 14, however... your SL/TP will move POST entry, and can tighten or widen your initial SL/TP... for better AND usually for worse! Go find a trade (strat 3) on the chart, look at the SL/TP lines, now change the number to 5, you'll see.
Fixed HTF MA note: If you don't care for HTF MA confluence, just change the timeframe/options to match the 'Slow MA' options you've chosen.
Short Term Bubble RiskThis risk indicator uses the extension of the closing price to the 20W SMA and displays a color-coded risk oscillator. The higher the oscillator is, the greater the short-term risk and vice-versa. This indicator has historically worked well for estimating the short-term risk of Bitcoin and Ethereum on a weekly timeframe.
Divergence for Many [Dimkud - v5]Strategy is based on "Divergence for Many Indicators v4 ST" strategy by CannyTolany01
which is based on "Divergence for Many Indicator" indicator by LonesomeTheBlue
This strategy is searching for divergences on 18 indicators which you can select and optimise one by one.
Additionally you can connect any other External Indicator value. (just add this indicator the the chart and select option in settings)
To the original indicator/strategy I have added 9 additional indicators:
( Money Flow Index, Williams_Vix, Stochastic RSI , SMI Ergodic Oscillator, Volume Weighted MACD , Bull Bear Power, Balance of Power , Relative Volatility Index , Logistic Settings).
Converted strategy to v5 of Pine Script.
Added Static SL/TP in percents (%).
Added filters to filter enters:
1. Volume Weighted MACD - Multi-TimeFrame Filter
(It checks for histogram to falling or rising for a set periods of bars)
2. Money Flow Index - Multi-TimeFrame Filter
(It checks if MFI Oscillator is in the set diapason.
Also It checks if MFI is falling or rising for a set periods of bars )
3. ATR filter
(check changes in fast ATR to slow ATR )
Strategy shows good backtest results on many crypto tokens on 45m - 1h periods. (with parameters optimisation for every indicator)
To find best parameters - you can enable indicators one-by one, and optimise best parameters for each of them.
Then enable all indicators with successful results.
Optimise SL/TP.
Then try to enable and optimise filters (channels etc.)
The better is to optimise parameters separately for Short and Long trading. And run two separate bots (in settings enable only Long or only Short.)
Updates:
- Added visualisation for open trades (SL/TP)
- Added Volatility filter by ATR with many options for tests.
- Fixed some small bugs.
- Added second RSI filter (you can use two RSIs with different TF or settings)
- Updated ATR volatility and MFI filter. Removed non-effective options
- Added CCI filter
- Added option to Enable/Disable visualisation of TP/SL on chart
- Fixed one small quick bug. ("ATR filter short" was not working)
- Added Super Trend filter
- Added Momentum filter
- Added Volume Filter
- All "request.security" MultiTimeFrame calls changed to 100% non-repait function "f_security()"
Rsi strategy for BTC with (Rsi SPX)
I hope this strategy is just an idea and a starting point, I use the correlation of the Sp500 with the Btc, this does not mean that this correlation will exist forever!. I love Trading view and I'm learning to program, I find correlations very interesting and here is a simple strategy.
This is a trading strategy script written in Pine Script language for use in TradingView. Here is a brief overview of the strategy:
The script uses the RSI (Relative Strength Index) technical indicator with a period of 14 on two securities: the S&P 500 (SPX) and the symbol corresponding to the current chart (presumably Bitcoin, based on the variable name "Btc_1h_fixed"). The RSI is plotted on the chart for both securities.
The script then sets up two trading conditions using the RSI values:
A long entry condition: when the RSI for the current symbol crosses above the RSI for the S&P 500, a long trade is opened using the "strategy.entry" function.
A short entry condition: when the RSI for the current symbol crosses below the RSI for the S&P 500, a short trade is opened using the "strategy.entry" function.
The script also includes a take profit input parameter that allows the user to set a percentage profit target for closing the trade. The take profit is set using the "strategy.exit" function.
Overall, the strategy aims to take advantage of divergences in RSI values between the current symbol and the S&P 500 by opening long or short trades accordingly. The take profit parameter allows the user to set a specific profit target for each trade. However, the script does not include any stop loss or risk management features, which should be considered when implementing the strategy in a real trading scenario.
"The Stocashi" - Stochastic RSI + Heikin-AshiWhat up guys and welcome to the coffee shop. I have a special little tool for you today to throw in your toolbox. This one is a freebie.
This is the Stochastic RS-Heiken-Ashi "The Stocashi"
This is the stochastic RSI built to look like Heikin-Ashi candles.
a lot of people have trouble using the stochastic indicator because of its ability to look very choppy at its edges instead of having nice curves or arcs to its form when you use it on scalping time frames it ends up being very pointed and you can't really tell when the bands turn over if you're using a stochastic Ribbon or you can't tell when it's actually moving in a particular direction if you're just using the K and the D line.
This new format of Presentation seeks to get you to have a better visual representation of what the stochastic is actually doing.
It's long been noted that Heikin-Ashi do a very good job of representing momentum in a price so using it on something that is erratic as the stochastic indicator seems like a plausible idea.
The strategy is simple because you use it exactly the same way you've always used the stochastic indicator except now you can look for the full color of the candle.
this one uses a gradient color setup for the candle so when the candle is fully red then you have a confirmed downtrend and when the candle is fully green you have a confirmed up trend of the stochastic however if, you a combination of the two colors inside of one candle then you do not have a confirmed direction of the stochastic.
the strategy is simple for the stochastic and that you need to know your overall trend. if you are in an uptrend you are waiting for the stochastic to reach bottom and start curving up.
if you are in a downtrend you are waiting for the stochastic to reach its top or its peak and curve down.
In an uptrend you want to make sure that the stochastic is making consistently higher lows just like price should be. if at any moment it makes a lower low then you know you have a problem with your Trend and you should consider exiting.
The opposite is true for a downtrend. In a downtrend you want to make sure you have lower highs. if at any given moment you end up with a higher high than you know you have a problem with your Trend and it's probably ending so you should consider exiting.
The stochastic indicator done as he can actually candles also does a very good job of telling you when there is a change of character. In that moment when the change of character shows up you simply wait until your trend and your price start to match up.
You can also use the stochastic indicator in this format to find divergences the same way you would on the relative strength index against your price highs and price lows so Divergence trading is visually a little bit easier with this tool.
The settings for the K percent D percent RSI length and stochastic length can be adjusted at will so be sure to study the history of the stochastic and find the good settings for your trading strategy.
MVRV Z Score and MVRV Free Float Z-ScoreIMPORTANT: This script needs as much historic data as possible. Please run it on INDEX:BTCUSD , BNC:BLX or another chart of sufficient length.
MVRV
The MVRV (Market Value to Realised Value Ratio) simply divides bitcoins market cap by bitcoins realized market cap. This was previously impossible on Tradingview but has now been made possible thanks to Coinmetrics providing us with the realized market cap data.
In the free float version, the free float market cap is used instead of the regular market cap.
Z-Score
The MVRV Z-score divides the difference between Market cap and realized market cap by the historic standard deviation of the market cap.
Historically, this has been insanely accurate at detecting bitcoin tops and bottoms:
A Z-Score above 7 means bitcoin is vastly overpriced and at a local top.
A Z-Score below 0.1 means bitcoin is underpriced and at a local bottom.
In the free float version, the free float market cap is used instead of the regular market cap.
The Z-Score, also known as the standard score is hugely popular in a wide range of mathematical and statistical fields and is usually used to measure the number of standard deviations by which the value of a raw score is above or below the mean value of what is being observed or measured.
Credits
MVRV Z Score initially created by aweandwonder
MVRV initially created by Murad Mahmudov and David Puell
PA-Adaptive T3 Loxxer [Loxx]PA-Adaptive T3 Loxxer is a Loxxer indicator that is Phase Accumulation Cycle adaptive and uses T3 moving average for smoothing instead of the typical SMA or EMA . this allows for smoother signals by reducing noise.
What is Loxxer?
The Loxxer indicator is a technical analysis tool that compares the most recent maximum and minimum prices to the previous period's equivalent price to measure the demand of the underlying asset.
What is the Phase Accumulation Cycle?
The phase accumulation method of computing the dominant cycle is perhaps the easiest to comprehend. In this technique, we measure the phase at each sample by taking the arctangent of the ratio of the quadrature component to the in-phase component. A delta phase is generated by taking the difference of the phase between successive samples. At each sample we can then look backwards, adding up the delta phases.When the sum of the delta phases reaches 360 degrees, we must have passed through one full cycle, on average.The process is repeated for each new sample.
The phase accumulation method of cycle measurement always uses one full cycle’s worth of historical data.This is both an advantage and a disadvantage.The advantage is the lag in obtaining the answer scales directly with the cycle period.That is, the measurement of a short cycle period has less lag than the measurement of a longer cycle period. However, the number of samples used in making the measurement means the averaging period is variable with cycle period. longer averaging reduces the noise level compared to the signal.Therefore, shorter cycle periods necessarily have a higher out- put signal-to-noise ratio.
Included
Bar coloring
Signals
Alerts
Loxx's Expanded Source Types
Divergences
Super 6x: RSI, MACD, Stoch, Loxxer, CCI, & Velocity [Loxx]Super 6x: RSI , MACD , Stoch , Loxxer, CCI , & Velocity is a combination of 6 indicators into one histogram. This includes the option to allow repainting.
What is MACD?
Moving average convergence divergence ( MACD ) is a trend-following momentum indicator that shows the relationship between two moving averages of a security’s price. The MACD is calculated by subtracting the 26-period exponential moving average ( EMA ) from the 12-period EMA .
What is CCI?
The Commodity Channel Index ( CCI ) measures the current price level relative to an average price level over a given period of time. CCI is relatively high when prices are far above their average. CCI is relatively low when prices are far below their average. Using this method, CCI can be used to identify overbought and oversold levels.
What is RSI?
The relative strength index is a technical indicator used in the analysis of financial markets. It is intended to chart the current and historical strength or weakness of a stock or market based on the closing prices of a recent trading period. The indicator should not be confused with relative strength .
What is Stochastic?
The stochastic oscillator, also known as stochastic indicator, is a popular trading indicator that is useful for predicting trend reversals. It also focuses on price momentum and can be used to identify overbought and oversold levels in shares, indices, currencies and many other investment assets.
What is Loxxer?
The Loxxer indicator is a technical analysis tool that compares the most recent maximum and minimum prices to the previous period's equivalent price to measure the demand of the underlying asset.
What is Velocity?
In simple words, velocity is the speed at which something moves in a particular direction. For example as the speed of a car travelling north on a highway, or the speed a rocket travels after launching.
How to use
Long signal: All 4 indicators turn green
Short signal: All 4 indicators turn red
Included
Bar coloring
Alerts
Return Abnormality Score [SpiritualHealer117]The Return Abnormality Score indicator is designed to help traders identify potential reversals in price by detecting abnormal daily returns beyond a certain significance level. The indicator uses a normal cumulative distribution function to calculate the probability of the daily return and flags it when it exceeds the specified significance level.
Traders can use this indicator by monitoring the abnormality score. If the daily return is negative, the probability is multiplied by a negative number. Therefore, if the abnormality score goes above the positive threshold, it suggests that the price is oversold, while if it goes below the negative threshold, it indicates that the price is overbought. It can also be helpful for spotting bear or bull traps due to their irregular behavior.
Depending on the trader's preference, the indicator can be smoothed or unsmoothed.
This indicator should be paired with other technical analysis tools like SSL Hybrid for trend confirmation, and proper risk management strategies.
Easy RSI by nnamWhat Does this Indicator Do?
The Easy RSI Indicator color codes candles based on their RSI Value vs. Open / Close (Red / Green). It plots the current price and current RSI value on the chart in real-time. Additionally, when the RSI Value is in an oversold or overbought condition, it plots that signal on the chart in real-time.
The initial candle color is the standard Red / Green Tradingview color, but a Gradient is added to the color which either darkens or lightens the color based on the RSI Value.
As seen in the screenshot below, the higher the RSI Value, the brighter the Green Color is. The lower the RSI Value, the brighter the Red Color is.
The current Price and current RSI Value are both plotted on the chart by default, but can be optionally switched off by the trader.
As seen in the screenshot below, the prices and RSI Values are easily seen while visually tracking the price in real-time.
RSI Overbought Values are plotted when the Overbought condition is triggered. The Default is RED for Overbought and GREEN for Oversold.
As seen in the screenshot below, with all three labels turned on under the input settings (these are ON by default) you can see the overbought condition, the current RSI Value, and current price all in one centralized area. Oversold Values are also plotted when turned on under the input settings.
As shown in the screenshot below, the candle is GREEN (as evident by the green candle outline) but the RSI Value is low and shows lower than average relative strength. This turns the bar color ORANGE vs, GREEN showing that the relative strength of the move is subpar.
As shown on the screenshot below, if the trader has the standard Tradingview Price label switched on (in the Tradingview Chart Settings), the color of the bar is also translated to the price are for an easy to recognize RSI Value just by looking at the price. Even if the current candle is RED, when the RSI is higher than lower, the color will be green / greenish and even if the current candle is GREEN, when the RSI Value is lower than higher, the color will be red-ish / orange in color giving the user a quick view of RSI Value.
If you have any questions or feature requests for this Indicator please do not hesitate to reach out and ask.
GOOD LUCK trading!!
~nnamdert
Ehlers Detrending Filter [CC]The Detrending Filter was created by John Ehlers and this is a complementary indicator to one of my previous scripts:
This indicator builds upon his previous work by attempting to detrend the underlying source data that is used to calculate the final result. He was able to create a leading indicator by removing the trend data and by using his previous calculations to turn the source data into a leading indicator.
There are two ways to understand this indicator. First if the indicator is below the midline then it is in a mid to longterm downtrend and if it is above the midline then it is in a mid to longterm uptrend. Also this indicator shows great promise in predicting future trends so because of that aspect, it may give some false signals from time to time.
I have color coded everything to account for both strong signals and normal signals. Strong signals are darker in color and normal signals are lighter in color. Buy when the line turns green and sell when it turns red.
Let me know if there are any other scripts you would like to see me publish!
Stochastic MACD - Slow and FastStochastic MACD - Slow and Fast
The "Stochastic MACD - Slow and Fast" indicator combines two popular technical indicators, the Stochastic Oscillator and the Moving Average Convergence Divergence ( MACD ).
The Stochastic Oscillator is a momentum indicator that measures the current closing position of an asset relative to its recent price range. This indicator helps traders identify possible turning points in an asset's trend, it is used to identify if the market is overbought or oversold.
On the other hand, the MACD is an indicator used to identify the trend and strength of the market and shows the difference between two exponential moving averages ( EMA ) of different periods. The MACD is commonly used to determine the direction of an asset's price trend.
The combination of both indicators can help traders identify market entry and exit opportunities. This indicator has two parts: a slow part and a fast part. The slow part uses input values for the lengths of the moving averages and the length of the signal for the MACD indicator. The fast part uses different input values for the lengths of the moving averages. Also, each part has its own set of line colors and histogram colors for easy visualization.
In general, the "Stochastic MACD - Slow and Fast" indicator is used to identify possible turning points in the trend of an asset. Traders can use the indicator to determine when to enter or exit a position based on the signals generated by the indicator. The stochastic MACD is a variation of the regular MACD that incorporates a stochastic oscillator to provide additional signals.
In summary, this indicator can be useful for those looking for a combination of two popular indicators to help identify trading opportunities.
In addition, parameters were defined to activate or deactivate the graphic signal.
When the Stochastic MACD Slow Line Crosses the Stochastic MACD Slow Signal Line:
Long or Buy = ↑ // The Entry is more Effective if it is made when the signal is below the Zero Trend Line .
Short or Sell = ↓ // The Entry is more Effective if it is made when the signal is above the Zero Trend Line .
When the Fast Stochastic MACD Line Crosses the Slow Stochastic MACD Line:
Long or Buy = ▲ // The Entry is more Effective if it is made when the signal is below the Zero Trend Line .
Short or Sell = ▼ // The Entry is more Effective if it is made when the signal is above the Zero Trend Line .
Taking into account the above, alerts were also defined for possible Purchases or Sales or entries in Long or Short.
COPOSITION AND USE OF THE INDICATOR
This script is an implementation of the Stochastic MACD indicator with two variations - Slow and Fast. It uses a combination of the Stochastic Oscillator and the Moving Average Convergence Divergence (MACD) indicator to identify trend reversals and momentum shifts in the price of an asset.
The Slow version of the Stochastic MACD is built using three inputs - fastLength, slowLength, and signalLength. The fastLength and slowLength are used to calculate two exponential moving averages (EMAs), while the signalLength is used to calculate a signal line as an EMA of the difference between the two EMAs. The Stochastic Oscillator is then applied to the difference between the two EMAs, and the resulting values are plotted on the chart.
The Fast version of the Stochastic MACD is built using the same inputs as the Slow version, but with different values. It uses a shorter fastLength value and a longer slowLength value to generate the two EMAs, and the resulting values are plotted on the chart.
The script also includes inputs for choosing the type of moving average to use (SMA, EMA, etc.), the source of price data (open, close, etc.), the lookback period, and the colors for the lines and histogram bars.
This script can be used in different markets such as forex, indices, and cryptocurrencies for analysis and trading. However, it is important to note that no trading strategy is guaranteed to be profitable, and traders should always conduct their own research and risk management.
Implied Correlation Divergence OscillatorImplied Correlation Divergence Oscillator (ICDO)
ICDO uses an SMA calculation as a low-pass filter to determine divergences from trend. This can be useful for multiple strategies, including detecting overbought or oversold trends, and finding dispersion opportunities, including zero delta straddle plays using options for indices and single assets within the S&P 500 Index.
The aim of the oscillator is to provide a unique perspective on the existing signals provided by the CBOE (Chicago Board Options Exchange)
First choose from a variety of Implied Correlation symbols including: COR1M, COR3M, COR6M, COR9M, COR1Y, COR10D, COR30D, COR70D, COR90D
Then once an IC signal is chosen, configure the moving average (MA) as a customized low-pass filter that will determine the sensitivity of the divergence signal.
The resulting signal is an oscillator around the zero bound, which is color coded for bullish (green), or (bearish) signals.
Faytterro Oscillatorwhat is Faytterro oscillator?
An oscillator that perfectly identifies overbought and oversold zones.
what it does?
this places the price between 0 and 100 perfectly but with a little delay. To eliminate this delay, it predicts the price to come, and the indicator becomes clearer as the probability of its prediction increases.
how it does it?
This indicator is obtained with "faytterro bands", another indicator I designed. For more information about faytterro bands:
A kind of stochastic function is applied to the faytterro bands indicator, and then another transformation formula that I have designed and explained in detail in the link above is applied. These formulas are also applied again to calculate the prediction parts.
how to use it?
Use this indicator to see past overbought and oversold zones and to see future ones.
The input named source is used to change the source of the indicator.
The length serves to change the signal frequency of the indicator.
[blackcat] L2 Aroon13Level 2
Background
The Aroon indicator developed by Tushar Chanand indicates whether there is a trend price or is located in a trading area.
Function
Classical Aroon can also show the beginning of a new trend, its strength and expectation of changes from trade areas to trends. This is a traditional aroon indicator with length == 13, which exhibit good performance.
Remarks
Feedbacks are appreciated.
Price & Percentage Change LabelFairly straightforward script that allows you to plot the current price and % either above the last candle and/or to the right of it. There's also 2 price "follow" lines that you can turn off and on, much like the bid/ask line that's built in to TV.
You can also choose to enable a specific % above/below current price to give you an idea on where price would be with a move north or south by X % amount from current price.
Consumption OscillatorOVERVIEW
The Consumption Oscillator combines Core Consumer Price Index (USCCPI) and Personal Consumption Expenditure (USPCEPI). It can be a useful tool for understanding inflationary and deflationary pressure in the economy.
CONCEPTS
Defining some thresholds may aid in interpreting the oscillator but interpretation needs context. Also, the thresholds may need adjusting. Overall, using this oscillator in combination with other economic indicators may provide some insights into macroeconomic conditions.
Strong positive signal: If the oscillator rises above a threshold value of +2, it may be considered a strong positive signal. This could suggest that the CCPI is growing faster than the PCE, indicating stronger inflationary pressure and potentially higher levels of economic growth.
Weak positive signal: If the oscillator rises above a threshold value of +1, it may be considered a weak positive signal. This could suggest that the CCPI is growing slightly faster than the PCE, which may still indicate some level of inflationary pressure and moderate economic growth.
No signal: If the oscillator is between -1 and +1, it may be considered a neutral signal. This indicates that the CCPI and PCE are growing at roughly the same rate, and there may be no significant inflationary or deflationary pressure in the economy.
Weak negative signal: If the oscillator falls below a threshold value of -1, it may be considered a weak negative signal. This could suggest that the PCE is growing slightly faster than the CCPI, which may indicate some level of deflationary pressure and slower economic growth.
Strong negative signal: If the oscillator falls below a threshold value of -2, it may be considered a strong negative signal. This could suggest that the PCE is growing much faster than the CCPI, indicating stronger deflationary pressure and potentially lower levels of economic growth
Flat Market and Low ADX Indicator [CHE]Why use the Flat Market and Low ADX Indicator ?
Flat markets, where prices remain within a narrow range for an extended period, can be both critical and dangerous for traders. In a flat market, the price action becomes less predictable, and traders may struggle to find profitable trading opportunities. As a result, many traders may decide to take a break from the market until a clear trend emerges.
However, flat markets can also be dangerous for traders who continue to trade despite the lack of clear trends. In the absence of a clear direction, traders may be tempted to take larger risks or make impulsive trades in an attempt to capture small profits. Such behavior can quickly lead to significant losses, especially if the market suddenly breaks out of its flat range, causing traders to experience large drawdowns.
Therefore, it is essential to approach flat markets with caution and to have a clear trading plan that incorporates strategies for both trending and flat markets. Traders may also use technical indicators, such as the Flat Market and Low ADX Indicator, to help identify flat markets and determine when it is appropriate to enter or exit a position.
The confluence between flat markets and low ADX readings can further increase the risk of trading during these periods. The ADX (Average Directional Index) is a technical indicator used to measure the strength of a trend. A low ADX reading indicates that the market is in a consolidation phase, which can coincide with a flat market. When a flat market occurs during a period of low ADX, traders should be even more cautious, as there is little to no directional bias in the market. In this situation, traders may want to consider waiting for a clear trend to emerge or using range-bound trading strategies to avoid taking excessive risks.
Introduction:
Pine Script is a programming language used for developing custom technical analysis indicators and trading strategies in TradingView. This particular script is an indicator designed to identify flat markets and low ADX conditions. In this description, we will delve deeper into the functionality of this script and how it can be used to improve trading decisions.
Description:
The first input in the script is the length of the moving average used for calculating the center line. This moving average is used to define the high and low range of the market. The script then calculates the middle value of the range by taking the double exponential moving average (EMA) of the high, low, and close prices.
The script then determines whether the market is flat by comparing the middle value of the range with the high and low values. If the middle value is greater than the high value or less than the low value, the market is not flat. If the middle value is within the high and low range, the script considers the market to be flat. The script also uses RSI filter settings to further confirm if the market is flat or not. If the RSI value is between the RSI min and max values, then the market is considered flat. If the RSI value is outside this range, the market is not considered flat.
The script also calculates the ADX (Average Directional Index) to determine whether it's in a low area. ADX is a technical indicator used to measure the strength of a trend. The script uses the ADX filter settings to define the ADX threshold value. If the ADX value is below the threshold value, the script considers the market to be in a low ADX area.
The script provides various input options to customize the display settings, including the option to show the flat market and low ADX areas. Users can choose their preferred colors for the flat market and low ADX areas and adjust the transparency levels to suit their needs.
Conclusion:
In conclusion, this Pine Script indicator is designed to identify flat market and low ADX conditions, which can help traders make informed trading decisions. The script uses a range of inputs and calculations to determine the market direction, RSI filter, and ADX filter. By customizing the display settings, users can adjust the indicator to suit their preferences and improve their trading strategies. Overall, this script can be a valuable tool for traders looking to gain an edge in the markets.
Acknowledgments:
Thanks to the Pine Script™ v5 User Manual www.tradingview.com
Ehlers Reflex Indicator [CC]The Reflex Indicator was created by John Ehlers (Stocks and Commodities Feb 2020) and this is a zero lag indicator that works similar to an overbought/oversold indicator but with the current stock cycle data. I find that this indicator works well as a leading indicator as well as a divergence indicator. Generally speaking, this indicator indicates a medium to long term downtrend when the indicator is below the line and a medium to long term uptrend when the indicator is above the line. Ehlers has created a few complementary indicators that I will release in the next few days but just keep in mind that this indicator focuses on the underlying cycle component while removing as much noise with no lag. I have color coded the lines to show strong signals with the darker colors and normal signals with the lighter colors. Buy when the line turns green and sell when it turns red.
Let me know if there are any other scripts you would like to see me publish!