Price Volume Trend Crosses This script is a modified version of the Price Volume Trend ( PVT ) that uses a moving average of the PVT as a signal ( sig ) line.
The length of the signal line can be adjusted as needed by changing the "PVTC Signal Length" value inside the indicator settings menu.
"PVTC Signal Type" allows you to pick between EMA and SMA as the signal line.
Logic behind this script:
If PVT > sig it indicates an bullish environment and gets coloured with the UP color.
If PVT < sig it indicates a bearish environment and get coloured with the DOWN color.
Colors can be modified in the indicator settings menu.
Crosses can be highlighted by ticking the "Highlight Crosses" box in the indicator settings menu.
"Fill Gaps" fills the gap between PVT and sig with the prevailing trends color.
PVTC should not be used on its own but in conjunction with other indicators!
Moving Averages
[ADOL_]Trend_Oscillators_MTF
ENG) Trend_Oscillator_MTF
introduction)
This is a trend analyzer implemented in the form of an oscillator.
An oscillator is a technical analysis tool that identifies the direction of market trends and determines the time period. Making it an oscillator means creating range. By setting the upper and lower limits like this, the unlimited expansion area that can appear on the chart is limited. As a limited area is created, we can identify oversold and overbought areas, which is good for checking momentum.
Through oscillatorization, you can find overbought, oversold, and current trend areas.
It adopts MTF and is a simple but functional indicator.
To use multiple time frames, use the timeframe.multiplier function.
A table was created using the table.new function, and various information windows were installed on the right side of the chart.
I hope this can be a destination for many travelers looking for good landmarks.
- 8 types of moving averages can be selected (in addition to independently developed moving averages), trend area display, signal display, up to 3 multi-time chart overlapping functions, information table display, volatility and whipsaw search, and alerts are possible.
- You can set various time zones in Timeframe. With three timeframes, you can check the conditions overlapping time at a glance.
principle)
Set up two moving averages with different speeds and make the relative difference.
Create the speed difference between the two moving averages using methods such as over = crossover(fast, slow) and under = crossunder(fast, slow).
The point at which the difference in relative speed decreases is where the possibility of inflection is high. Through the cross code, you can find out when the speed difference becomes 0.
Simply crossing the moving average is easy. To fine-tune the speed difference, it is necessary to re-establish the relationship between functions.
Painting the green and red areas is designed to be painted when the three time frames overlap.
Using the code of fill(fast, slow, color = fast>= slow? color.green: color.red, transp = 80, title = "fillcolor")
You can color and distinguish areas.
MA: You can select the MA_type. This is a necessary option because the profit/loss ratio for each item varies depending on the type of moving average.
Start: The starting value to set the oscillator range.
End: This is the last value to set the oscillator range.
Lenght: This is the number of candles used to calculate the calculation formula in the oscillator.
Timeframe: Set the time to overlap with up to 3 time frames.
repaint: You can choose whether to apply repaint. The default is OFF.
The coding for repaint settings for the indicator was written using the recommended method recommended by TradingView.
reference :
security(syminfo.tickerid, tf, src)
Trading method)
With the Multi-Time-Frame (MTF) function, the time zone set in the indicator is displayed the same in any chart time zone.
The repaint problem that occurred when using MTF was resolved by referring to TradingView's recommended code.
User can decide whether to repaint or not. The default is OFF.
- signal
Buy and Sell signals are displayed when there are 3 stacks. Even if there is no triple overlap, you can decide to buy or sell at the point where the short-term line and long-term line intersect.
Entry is determined through Buy and Sell signals, and exit is determined through BL (BuyLoss) and SL (SellLoss).
BL and SL can also be applied as entry.
You can judge overlap by the color of the lines. When two conditions overlap, it is orange, and when one condition overlaps, it is blue.
- Divergence
Divergence is a signal that arises from a discrepancy between the oscillator and the actual price.
Divergence can be identified because the range is set with conditions that have upper and lower limits.
- trend line
As shown in the picture, draw a downward trend line connecting the high points in the same area.
As shown in the picture, an upward trend line is drawn connecting the low points in the same area.
It can be used to view trend line breakout points that candles cannot display.
- Find a property for sale by amplitude
When the low point in the red area and the high point in the green area occur, the difference is regarded as one amplitude and the range is set.
Here, one amplitude becomes a pattern value that can go up or down, and this pattern value acts as support/resistance. It was developed in a unique way that is different from traditional methods and has a high standard of accuracy. This works best when using that indicator. Use 1, 2, 3, or 4 multiples of the amplitude range.
A multiple of 2 is a position with a high probability of a retracement.
- Whipsaw & volatility search section
Whipsaw refers to a trick that causes frequent trading in a convergence zone or confuses the trend in the opposite direction before it occurs. Whip saws are usually seen as having technical limitations that are difficult to overcome.
To overcome this problem, the indicator was created to define a section where whipsaw and volatility can appear. If a whipsaw & volatility indicator section occurs, a big move may occur later.
Alert)
Buy, Sell, BuyLoss, SellLoss, Whipsaw alert
Disclaimer)
Scripts are for informational and educational purposes only. Use of the script does not constitute professional and/or financial advice. You are solely responsible for evaluating the risks associated with your script output and use of the script.
KOR) 트렌드_오실레이터_MTF
소개)
이것은 오실레이터 형태로 구현된 트렌드 분석기 입니다.
오실레이터는 시장의 추세방향을 확인하고 기간을 결정하는 기술적 분석 도구입니다. 오실레이터로 만드는 것은 범위가 생기는 것을 의미합니다. 이렇게 상한과 하한을 정함으로써, 차트에서 나타날 수 있는 무제한적인 확장영역이 제한됩니다. 제한된 영역이 만들어짐에 따라 우리는 과매도와 과매수 구간을 식별할 수 있게 되며, 모멘텀을 확인하기 좋습니다.
오실레이터화를 통해, 과매수와 과매도, 현재의 트렌드 영역을 잘 찾을 수 있습니다.
MTF를 채택했으며, 단순하지만, 기능적으로 훌륭한 지표입니다.
멀티타임프레임을 사용하기 위해 timeframe.multiplier 함수를 사용합니다.
table.new 함수를 사용하여 table을 만들고, 차트 우측에 여러가지 정보창을 갖췄습니다.
좋은 지표를 찾는 많은 여행자들에게 이곳이 종착지가 될 수 있기를 바랍니다.
- 이평선 종류 8종 선택(독자적으로 개발한 이평선 추가), 추세영역표시, 시그널 표기, 최대 3개 멀티타임차트 중첩기능, 정보테이블 표시, 변동성과 휩쏘찾기, 얼러트가 가능합니다.
- Timeframe에서 다양한 시간대를 설정할 수 있습니다. 3개의 Timeframe을 통해 시간을 중첩한 조건을 한눈에 확인할 수 있습니다.
원리)
속도가 다른 두 개의 이평선을 설정하고 상대적인 차이를 만듭니다.
over = crossover(fast, slow) , under = crossunder(fast, slow) 와 같은 방법으로 두개의 이평선의 속도차이를 만듭니다.
상대적 속도의 차이가 줄어드는 시점은 변곡의 가능성이 높은 자리입니다. cross code를 통해 속도차가 0이 되는 시점을 알 수 있습니다.
단순히 이평선을 교차하는 것은 쉽습니다. 세밀하게 속도차이를 조정하는데 함수간의 관계를 다시 설정할 필요가 있습니다.
초록색과 빨간색의 영역을 칠하는 것은 3가지 타임프레임이 중첩될 때 칠하도록 만들어졌습니다.
fill(fast, slow, color = fast>= slow? color.green: color.red, transp = 80, title = "fillcolor") 의 코드를 사용하여
영역을 색칠하고 구분할 수 있습니다.
MA : MA_유형을 선택할 수 있습니다. 이평선의 종류에 따라 종목당 손익비가 달라지므로 꼭 필요한 옵션입니다.
Start : 오실레이터 범위를 설정할 시작값입니다.
End : 오실레이터 범위를 설정할 마지막값입니다.
Lenght : 오실레이터에서 계산식을 산출하기 위한 캔들의 개수입니다.
Timeframe : 최대 3개의 타임프레임으로 중첩할 시간을 설정합니다.
repaint : 리페인팅을 적용할지 선택할 수 있습니다. 기본값은 OFF 입니다.
해당 지표의 리페인트 설정에 관한 코딩은 트레이딩뷰에서 권장하는 추천 방법으로 작성되었습니다.
참고 :
security(syminfo.tickerid, tf, src)
매매방법)
Multi-Time-Frame(MTF) 기능으로 지표에서 설정한 시간대가 어느 차트 시간대에서나 동일하게 표시됩니다.
MTF 사용시 발생하는 리페인트 문제는 트레이딩뷰의 권장코드를 참고하여 해결했습니다.
사용자가 리페인트 여부를 결정할 수 있습니다. 기본값은 OFF 입니다.
- 시그널
시그널의 Buy와 Sell은 3중첩일 경우 표시됩니다. 3중첩이 아니라도 단기선과 장기선이 교차되는 시점에서 매매를 결정할 수 있습니다.
Buy와 Sell 시그널에서 진입을 결정하고 BL(BuyLoss)와 SL(SellLoss) 에서 exit를 결정합니다.
BL과 SL을 진입으로 응용할 수도 있습니다.
라인의 컬러로 중첩을 판단할 수 있습니다. 2개의 조건이 중첩되면 오렌지, 1개의 조건이 중첩되면 블루컬러입니다.
- 다이버전스
다이버전스는 오실레이터와 실제 가격의 불일치에서 발생하는 신호입니다.
상한과 하한이 있는 조건으로 범위를 설정하였기 때문에 다이버전스를 식별가능합니다.
- 추세선
그림과 같이 같은 영역의 고점을 이어 하락추세선을 긋습니다.
그림과 같이 같은 영역의 저점을 이어 상승추세선을 긋습니다.
캔들이 표시할 수 없는 추세선돌파 지점을 볼 수 있게 활용가능합니다.
- 진폭으로 매물대 찾기
빨간색 영역의 저점과 초록색 영역의 고점이 발생할 때, 그 차이를 하나의 진폭으로 보고 범위를 설정합니다.
여기서 하나의 진폭은 위나 아래로 갈 수 있는 패턴값이 되며, 이 패턴값은 지지/저항으로 작용합니다. 전통적인 방식에 없는 독창적인 방식으로 개발된 것으로 정확성 높은 기준입니다. 이것은 해당 지표를 사용할 때 가장 잘 맞습니다. 진폭 범위의 1배수,2배수,3배수,4배수 자리를 사용합니다.
2배수 자리는 다시 돌아오는 되돌림 확률이 높은 위치입니다.
- 휩쏘&변동성 찾기 구간
휩쏘는 수렴구간에서 잦은 매매를 유발하거나, 추세가 발생하기 전에 반대방향으로 혼란을 주는 속임수를 의미합니다. 휩쏘는 보통 극복하기 어려운 기술적 한계로 여겨집니다.
해당지표에서는 이를 극복하기 위해 휩쏘와 변동성이 나타날 수 있는 구간을 정의하도록 만들었습니다. 휩쏘&변동성 표시 구간이 발생하면 이후 큰 움직임이 발생할 수 있습니다.
얼러트)
Buy, Sell, BuyLoss, SellLoss, Whipsaw alert
면책조항)
스크립트는 정보 제공 및 교육 목적으로만 사용됩니다. 스크립트의 사용은 전문적 및/또는 재정적 조언으로 간주되지 않습니다. 스크립트 출력 및 스크립트 사용과 관련된 위험을 평가하는 책임은 전적으로 귀하에게 있습니다.
Auto trend overlayThis uses a custom moving average where the front half of the measured length is weighted as 2x of the back half. This makes the cma act like a combo of an ma and ema. It can also measure the rate of change of the cma using a varible derivation length to remove noise. When the cma rate of change is positive it can overlay green candles and vice versa when negative.
Regularized EMA/RMA/FEMA Cross [Loxx]Regularized EMA/RMA/FEMA Cross calculates two types of moving averages, Fast REMA and Slow REMA, and uses their crossovers and crossunders to generate buy (Long) and sell (Short) signals for a trading strategy. You have the option of choosing EMA, RMA, or FEMA (Fast Exponential Moving Average) for both the fast and slow REMA separately.
█ Understanding the Regularized Moving Average
The Regularized Moving Average, as conceptualized by Chris Satchwell, offers a more responsive interpretation compared to traditional moving averages. By incorporating a smoothing mechanism using "Lambda", this approach reduces lag without compromising the data's integrity.
In the realm of technical analysis, many regard it as a preferred alternative to the standard Moving Average and Exponential Moving Average.
█ How Does It Stand Out from Other Moving Averages?
While analysts traditionally shorten an indicator's length or period to minimize lag, the Regularized Moving Average uses a unique approach. By embedding "Regularization" within its computation, this method introduces Lambda (often symbolized as λ-calculus). This mathematical factor tames the moving average's undue fluctuations, offering more stability through its Lambda adjustments.
Pro Tip: For those analyzing smaller intraday timeframes, consider ramping up the Lambda setting to 6.0 or even higher. When tweaking these settings, always remember to backtest and observe how it impacts signal accuracy and noise filtering.
█ Extras
-Alerts
-Signals
Anchored Moving Average By Market Mindset - Zero To EndlessAnchored Moving Average?
An anchored moving average (AMA) is created when you select a point on the chart and start calculating the moving average from there. Thus the moving average’s denominator is not fixed but cumulative and dynamic.
In this indicator, I've provided three different types of Anchored Moving Averages, viz., WMA, SMA and VWAP.
WMA is relevant if big moves are there.
SMA is relevant if volume data is not to be considered or if it is not available.
VWAP is the standard anchored MA, which is most commontly used. Is consider the volume data along with the price move.
In this indicator, Auto anchor is time based anchor. A trader can opt for Pivot Type Anchor or Volume Type Anchor or some higher resolution based anchor too. The length of the pivot lookback can also be changed by the user.
It can be used for intraday, swing trading and even for technical based investment purpose.
Xeeder - US Government Bonds AnalysisXeeder - US Government Bonds Analysis (USBA)
The "Xeeder - US Government Bonds Analysis" (USBA) is a comprehensive tool designed to assist traders in analyzing the spread, historical volatility, and correlation between two different U.S. Government Bonds. This indicator is crucial for understanding the relative performance and risk factors between two bond assets.
Details of the Indicator:
Bond Input Settings: This feature allows traders to select two different U.S. Government Bonds from a dropdown list. The bonds range from 1-month to 30-year maturities.
Timeframe Settings: Traders can choose the timeframe for the analysis, such as Daily, Weekly, etc.
Moving Average (MA) Settings: The indicator offers various types of moving averages like SMA, EMA, WMA, etc., for calculating the spread's moving average. Traders can also specify the length of the moving average.
Spread Calculation: The indicator calculates the spread between the selected bonds and plots it on the chart.
Historical Volatility: The indicator calculates and plots the historical volatility of the spread, which is useful for risk assessment.
Correlation Coefficient: This feature calculates the correlation between the two selected bonds over a specified period.
How to Use the Indicator:
Select Bonds: Choose two U.S. Government Bonds from the dropdown list that you are interested in analyzing.
Choose Timeframe: Select the timeframe that aligns with your trading or investment strategy.
Configure MA Settings: Adjust the type and length of the moving average according to your needs.
Analyze Plots: Observe the plotted spread, its moving average, historical volatility, and correlation coefficient to gain insights into the bonds' relative performance and risk factors.
Interpret Data: Use the plotted data to make informed decisions about bond trading or hedging strategies.
Example of Usage:
As a trader focused on swing trading and strategy development, you can use the USBA indicator to:
Select Bonds: Choose bonds that you believe will show significant spread changes based on your macroeconomic and geopolitical analysis.
Adjust Settings: Configure the MA settings to suit your trading strategy.
Analysis and Comparison: Examine the spread, historical volatility, and correlation to identify potential trading opportunities or hedging strategies.
Content Creation: Use the insights gained to write compelling articles on bond market trends, risks, and opportunities, enriching your financial journalism portfolio.
Remember, the USBA indicator is a versatile tool that provides a multi-faceted analysis of U.S. Government Bonds. Always consider your broader trading strategy and market conditions when using this tool.
VWAP with CharacterizationThis indicator is a visual representation of the VWAP (Volume Weighted Average Price), it calculates the weighted average price based on trading volume. Essentially, it provides a measure of the average price at which an asset has traded during a given period, but with a particular focus on trading volume. In our case, the indicator calculates the VWAP for the current trading symbol, using a predefined simple moving average (SMA) with a period of 14. This volume-weighted moving average offers a clearer view of the behavior of the VWAP and, of consequence of market dynamics.
One of the distinctive features of this indicator is its ability to provide a more "linear" representation of the data. This means that the data is "smoothed" to remove noise, allowing you to more easily identify the direction of the market trend. This smoother representation is especially useful because the financial market can be subject to significant fluctuations and volatility, and this indicator can help get a more stable view of the trend.
The indicator also offers a visualization of the market trend in a very intuitive way. Using an evaluation of the highs and lows of the last 10 days, determine whether the market is in an uptrend, downtrend, or no trend at all. To make this evaluation even clearer and more immediate, the indicator line is colored dynamically. When the trend is bullish, the line is blue, while in case of a bearish trend, it takes on a distinctive color, such as pink. If the trend is not defined, the line will be colored differently, for example light yellow. This coloration gives traders an immediate visual indication of the prevailing trend, allowing them to make more informed decisions regarding trading operations.
One potential strategy involves watching candles when they cross the VWAP line strongly. If, for example, a candlestick breaks above the VWAP line, we may look for retest areas near key support levels to gauge a potential long entry. In other words, we would consider that the price may have the potential to rise further after breaking above the VWAP line, and we would look to enter a long position to take advantage of this opportunity.
On the other hand, if a candlestick crosses below the VWAP line, we might consider looking for retest areas near the VWAP line itself, which now serves as potential resistance. This could indicate a possible short entry opportunity, as the price may struggle to break above the resistance represented by the VWAP line after breaking it down. In this case, we would look to take advantage of the expected continuation of the downtrend.
In both cases, the idea is to exploit significant movements across the VWAP line as signals of potential reversal or continuation of the trend. This strategy can help identify key entry points based on price behavior relative to the VWAP line.
Multi Timeframe Moving AveragesThe Multi Timeframe Moving Averages indicator is a powerful tool for technical analysis that allows traders to visualize and analyze moving averages from multiple timeframes on a single chart. This can be helpful for identifying trends, support and resistance levels, and potential entry and exit points.
The indicator is highly customizable, allowing traders to choose the number of moving averages to plot, the timeframe for each moving average, and the color and style of each line. Traders can also choose to plot the moving averages as solid lines, dashed lines, or filled bands.
The indicator also includes a number of additional features, such as:
The ability to plot standard deviations around the moving averages
The ability to display a table of all the moving averages on the chart
The ability to draw arrows on the chart to indicate when prices cross the moving averages
The Multi Timeframe Moving Averages indicator can be used by traders of all experience levels and is a valuable tool for any technical trader's arsenal.
EXAMPLE USAGE
One way to use the Multi Timeframe Moving Averages indicator is to identify trends. If the moving averages on all timeframes are sloping in the same direction, then the market is likely trending in that direction. For example, if the 50-day, 100-day, and 200-day moving averages are all sloping upwards, then the market is likely in a bullish trend.
Another way to use the Multi Timeframe Moving Averages indicator is to identify support and resistance levels. Moving averages can act as both support and resistance levels, depending on the direction of the trend. For example, if the market is in a bullish trend, then the 50-day moving average can act as a support level. If the market price falls below the 50-day moving average, it could signal a potential reversal of the trend.
The Multi Timeframe Moving Averages indicator can also be used to identify potential entry and exit points. For example, a trader could enter a long position when the price crosses above the 50-day moving average and exit the position when the price crosses below the 200-day moving average.
BOLLINGER BANDS SIGNAL
For every available timeframe, if prices bounce off the lower band and cross above their moving average, the upper band becomes the upper price target. A crossing below the moving average would identify the lower band as the downside target. In a strong uptrend, prices will usually fluctuate between the upper band and the average. In that case, a crossing below the average warns of a trend reversal to the downside.
USER INPUT SETTINGS
The elements below reflect the indicator’s settings menu structure:
Near Hit % : Reduce/increase target distance by setting them closer/further away from the band. This is a percentage of the distance between the moving average and its bands.
Gradient (Size & Style) : if on, plots a customizable gradient of colors instead of lines to represent standard deviations. Each color can be changed in the Moving Average Settings” section of the settings menu
Arrows (width & Shift) : if on, will display arrow-shaped lines at the right of the real-time bar. After an MA crossover/crossunder, the arrow starts at the moving average and ends at the corresponding band until the target gets hit.
Backtest Table (Location & Size) : if on, shows a timeframe screener table. Use “Small” as a Size for better mobile screen displays. This table allows you to see active targets and their directions across every timeframe. The table also displays the weighted average (%) of Hit targets signals, from the chart's timeframe point of view to all other timeframes.
St. Dev. (length & Mult.) : Bollinger Bands / Standard deviation lookback period & multiplier
Trade Labels : off by default, highlight crossovers, crossunders, and target hit with a label numbered with its corresponding moving average from the settings menu: MA01, MA02, etc.
Moving Averages : Show/hide plotted Moving Averages Lines
Moving Average Settings (plotted)
These are the 5 moving averages and corresponding bands that can be plotted on the chart. For each of those, you can customize their timeframes, types (SMA, EMA, etc.), and lookback periods
Other Moving Averages (no plots)
Similar to the above, these moving averages will reflect on the vertical arrows and inside the table
CONCLUSION
The Multi Timeframe Moving Averages indicator is a powerful tool for technical analysis that can be used to identify trends, support and resistance levels, and potential entry and exit points. The indicator is highly customizable and includes a number of additional features, such as the ability to plot standard deviations and display a table of all the moving averages on the chart. The Multi Timeframe Moving Averages indicator is a valuable tool for any technical trader's arsenal.
Weighted Momentum Forecast
The Weighted Momentum Forecast (EWMF) is a predictive indicator designed to forecast the potential direction and magnitude of the next candle's close. It combines the principles of momentum, trend confirmation, and volatility adjustment to make its predictions.
**Components:**
1. **Rate of Change (ROC)**: Measures the momentum of the market.
2. **Average True Range (ATR)**: Represents the market's recent volatility.
3. **Moving Average Convergence Divergence (MACD)**: Used to confirm the momentum's direction.
4. **Trend Moving Average**: A longer-term moving average to confirm the general trend.
5. **Bollinger Bands**: Adjusts the forecast to account for extreme predictions.
**Logic:**
1. **Momentum Bias**: The crossover and crossunder of the MACD line and its signal line are used to determine the momentum's bias. A crossover indicates a bullish bias, while a crossunder indicates a bearish bias.
2. **Trend Confirmation**: If the current close is above the trend moving average, the indicator has a bullish bias, and vice versa.
3. **Forecast Calculation**: The forecast for the next candle's close is calculated based on the current close, the rate of change, the momentum's bias, and the trend's bias. This value is then adjusted for volatility using the ATR.
4. **Volatility Adjustment**: If the forecasted value is beyond the Bollinger Bands, it's adjusted to be within the bands to account for extreme predictions.
**Usage:**
The EWMF plots a purple line representing the forecasted value of the next candle's close. This forecasted value provides traders with a visual representation of where the price might head in the next period, based on recent momentum, trend, and volatility.
**Note**: This is a heuristic approach and is not guaranteed to be accurate. It's essential to use this indicator in conjunction with other tools, backtest on historical data, and use proper risk management techniques. Always be aware of the inherent risks involved in trading and never risk more than you're willing to lose.
Bunch of WillyThe indicator allows you to track overbought/oversold conditions using the Williams indicator on several higher timeframes of the same ticker on one chart. Based on the relative position of the lines of different timeframes and their position relative to the exponential moving average, you can track the occurrence of situations of simultaneous overbought/oversold of several timeframes, which is a cleaner reversal signal than overbought/oversold on just one chart timeframe. So far the script itself does not indicate these points, but perhaps in one of the next updates I will fix this.
In addition, the exponential moving average can be used to determine the direction of the trend.
Индикатор позволяет на одном графике отслеживать перекупленность/перепроданость по индикатору Вильямса на нескольких более высоких таймфреймах того же тикера. Основываясь на взаимном положении линий разных таймфреймов и их положении относительно экспоненциальной скользящей средней можно отслеживать возникновение ситуаций одновременной перекупленности/перепроданности нескольких таймфреймов что является более чистым разворотным сигналом чем перекупленность/перепроданность на одном лишь таймфрейме графика. Пока скрипт сам не обозначает эти моменты, но возможно в одном из следующих обновлений я это исправлю.
Кроме того по экспоненциальной скользящей средней можно определять направление тренда.
Division with other simbolI choose a symbol, and a source
It returns the division between the new symbol in that source with the current timeframe, and the current symbol with the selected source and the current timeframe
DIV = New symbol / Base symbol
----------------------------------
Elijo un simbolo, y un source
Me devuelve la division entre el nuevo simbolo en ese source con el timeframe actual, y el simbolo actual con el source seleccionado y el timeframe actual
DIV = Nuevo simbolo / Simbolo base
TMA MTFThis indicator plots three different Triple Moving Averages (TMAs) for two different time frames on a price chart:
Middle TMA Line: This is the main TMA line, calculated based on a user-defined number of past bars. It's represented by a solid line on the chart.
Upper TMA Line: This line is calculated by adding a certain multiple of the Average True Range (ATR) to the main TMA line. It helps identify potential resistance levels and is plotted as a solid line.
Lower TMA Line: Similar to the upper line, this line is calculated by subtracting a multiple of the ATR from the main TMA line. It helps identify potential support levels and is also plotted as a solid line.
Additionally, you have the option to overlay these TMA lines on a higher timeframe (HTF) if desired. When you enable this feature, it plots the same three TMA lines but calculated using data from a higher timeframe, which can provide additional context for your trading decisions.
The indicator uses different colors for the TMA lines based on their relationships:
Green: The middle TMA line is above the higher timeframe middle TMA line, suggesting a potential bullish (upward) trend.
Red: The middle TMA line is below the higher timeframe middle TMA line, suggesting a potential bearish (downward) trend.
In addition, it plots the upper and lower TMA lines in shades of purple and maroon, respectively, on the higher timeframe for reference.
Overall, this indicator helps traders identify potential areas of support and resistance and assess the trend direction by comparing the TMA lines of different timeframes.
Variable:
TMA_Period:
This input variable allows you to specify the number of past bars that are used to calculate the main Triple Moving Average (TMA) line. A larger value will result in a smoother TMA line, while a smaller value will make it more responsive to recent price changes.
ATR_Period:
This input variable determines the number of past bars used to calculate the Average True Range (ATR). The ATR is a measure of price volatility. A longer ATR period considers a broader range of price movement, while a shorter period reacts more quickly to recent volatility.
ATR_Multiplier:
This input allows you to set a multiplier for the ATR on the current timeframe. The ATR value is multiplied by this factor to calculate the upper and lower TMA lines. A higher multiplier will result in wider TMA bands, while a lower multiplier will make them narrower.
ATR_Multiplier_HTF:
Similar to ATR_Multiplier, this input sets a multiplier for the ATR on a higher timeframe (HTF). It affects the width of the HTF TMA bands.
TF_1:
This input variable lets you choose the desired higher timeframe (HTF) for the indicator. You can select from various timeframes, including 1 minute, 5 minutes, 15 minutes, 30 minutes, 60 minutes, 240 minutes (4 hours), daily (D), weekly (W), monthly (M), or choose "Auto" to let the script automatically determine the HTF based on the current timeframe.
src:
This input allows you to choose the price source used for calculations. By default, it's set to 'close,' which means the closing prices of each bar are used. You can change this to other price sources like 'open,' 'high,' 'low,' or 'ohlc4' (a combination of open, high, low, and close prices).
ma_type:
This input lets you select the type of moving average used in the calculations. You have three options: Weighted Moving Average (WMA), Double Weighted Moving Average (DWMA), and Triple Weighted Moving Average (TWMA).
Plot_TMA_HTF_Midline:
If set to 'true,' it will plot the middle TMA line of the higher timeframe (HTF) on the chart. If set to 'false,' the HTF middle TMA line will not be displayed.
Test - Symbiotic Exiton Measure Enthropic Nexus indicatorThe Symbiotic Exiton Measure Enthropic Nexus (SEMEN) Indicator is a technical analysis tool used in trading and investing. It's name might sound complex, but its function is quite simple - to help traders make informed decisions about buying or selling stocks by predicting market trends.
The SEMEN indicator uses a combination of various factors such as volume, price action, moving averages, and other indicators to generate a single numerical value that represents the overall health of the market. A high reading indicates a strong uptrend, while a low one suggests a downtrend.
Traders can use this information to enter or exit positions with confidence.
In essence, the SEMEN indicator provides a comprehensive view of the market's sentiment and direction, making it an essential tool for any trader or investor looking to make profitable decisions in today's volatile stock markets.
~description generated with Airoboros7b
- The indicator is experimental so use at your own discretion..
Geometrical Mean Moving AverageThe geometric moving average is a type of moving average that calculates the geometric mean of the previous n-periods of the price time series. Unlike the simple moving average that uses the arithmetic mean to continuously calculate the moving average as new price data comes in, the geometric moving average uses the geometric mean formula to get the moving average of the price data as new ones come in.
Why use a geometric moving average?
The geometric moving average differs from the simple moving average in how it is calculated. Most importantly, the geometric mean takes into account the compounding that occurs from period to period.
How can you use a geometric mean moving average?
You can use the GMMA just as you would use any other moving average indicator. You can use it to identify the direction of the trend, and in this case, it can also serve as a support level during an uptrend or a resistance level during a downtrend.
Drawbacks with a geometric moving average
Just like other moving average indicators, the GMA has limitations. Some of them are as follows:
It lags because it uses past price data.
It is pretty useless when the price action is choppy or moving predominantly sideways. During such periods, it can give multiple false signals.
Credit Spreads Trend Trading Indicator
This is a credit spreads trend following indicator designed to assist credit spreads traders in identifying trends and exploring trade ideas.
High Level Overview
It is based on a 200 period moving average line and incorporates calculations related to expected moves, which are derived from the stock's historical volatility. These calculations generate bands that may suggest possible ranges and trends. For example, the green band is one standard deviation based on historical volatility above the 200 period moving average while the red band is one standard based on historical volatility below the 200 period moving average. The grey line on the chart is the 200 period moving average. Historical volatility in this instance is calculated by looking at the last 252 candles.
How You Can Use It
You can use these bands to assist in trend analysis. For instance, if the stock is above the green line, the stock typically appears to be bullish. If the stock is below the red line, the stock typically appears to be bearish. When the market is between the red line and green, the stock trends to be sideways. With this information on the trend, it can assist you in coming up with credit spread trade ideas (put credit spread = bullish and call credit spread = bearish). The credit spread trade ideas table on the chart will show case a potential trade idea based on the percentage out of the money you want to place the trade (this is set in your settings).
This indicator has taken me 6 years to build, so I hope you enjoy it :)
Algorithm breakdown
Above the green line: bullish trend
Below the red line: bearish trend
Between the red and green line: sideways market
Above the top yellow line (optional): overbought market
Below the bottom yellow line (optional): oversold market
Understand The Settings
Plot breakout arrows?: shows arrows when the stock crossed one of the major lines
Show standard deviation high and low: shows where the market will top out and bottom out (mathematically)
SMA length: the length of the midline which is a simple moving average indicator
Show credit spreads recommendation: gives you trade ideas based on the stock's trend
Percentage out of the money: how far the recommended trade idea is out of the money
Keep in mind, this indicator may serve as a tool for potential trend identification and generating credit spread trade concepts, but it's essential to conduct your research and exercise due diligence beforehand.
GKD-C STD-Filtered, REMA EMA/RMA [Loxx]The Giga Kaleidoscope GKD-C STD-Filtered, REMA EMA/RMA is a confirmation module included in Loxx's "Giga Kaleidoscope Modularized Trading System."
█ GKD-C STD-Filtered, REMA EMA/RMA
STD-Filtered, Regularized EMA/RMA calculates and visualizes a standard deviation (STD) filtered, regularized version of the Exponential Moving Average (EMA) or Regular Moving Average (RMA) on a trading chart.
Understanding the Regularized Moving Average
The Regularized Moving Average, as conceptualized by Chris Satchwell, offers a more responsive interpretation compared to traditional moving averages. By incorporating a smoothing mechanism using "Lambda", this approach reduces lag without compromising the data's integrity.
In the realm of technical analysis, many regard it as a preferred alternative to the standard Moving Average and Exponential Moving Average.
How Does It Stand Out from Other Moving Averages?
While analysts traditionally shorten an indicator's length or period to minimize lag, the Regularized Moving Average uses a unique approach. By embedding "Regularization" within its computation, this method introduces Lambda (often symbolized as λ-calculus). This mathematical factor tames the moving average's undue fluctuations, offering more stability through its Lambda adjustments.
Pro Tip: For those analyzing smaller intraday timeframes, consider ramping up the Lambda setting to 6.0 or even higher. When tweaking these settings, always remember to backtest and observe how it impacts signal accuracy and noise filtering.
Standard Deviation Filtering:
This filtering mechanism is designed to smoothen price data by eliminating minor fluctuations that might be considered "noise". Here's how the process works:
For every data point, the standard deviation of prices over a specified period is calculated.
This standard deviation is then multiplied by a user-defined value to determine a threshold. This threshold defines the magnitude of change required in the price for it to be considered significant.
For each price, if the absolute difference between its current and previous value is less than this threshold, the price is kept unchanged (considered insignificant and thus filtered). If the difference exceeds the threshold, the price is considered significant and remains as is.
By applying this filter, minor price variations within the threshold are disregarded, resulting in a smoother representation of the price data.
Moving Average Calculation:
The script provides an option to calculate either a regularized Exponential Moving Average (EMA) or a Regular Moving Average (RMA). Here's how these are approached:
If the EMA option is selected: A weighted formula is used where more recent prices have a higher influence on the average than older prices. This is achieved by applying a fraction that's inversely related to the chosen period. The outcome is an average that reacts more quickly to recent price changes.
If the RMA option is selected: The average is computed by giving equal weight to all prices within the chosen period.
Both these averages then undergo a regularization process. Regularization, in this context, refers to adjusting the moving average using a factor to make it potentially more sensitive or responsive to price changes.
This regularized moving average can offer a refined perspective on price trends by being more adaptive to recent changes, potentially highlighting turning points or trend continuations more effectively.
█ Giga Kaleidoscope Modularized Trading System
Core components of an NNFX algorithmic trading strategy
The NNFX algorithm is built on the principles of trend, momentum, and volatility. There are six core components in the NNFX trading algorithm:
1. Volatility - price volatility; e.g., Average True Range, True Range Double, Close-to-Close, etc.
2. Baseline - a moving average to identify price trend
3. Confirmation 1 - a technical indicator used to identify trends
4. Confirmation 2 - a technical indicator used to identify trends
5. Continuation - a technical indicator used to identify trends
6. Volatility/Volume - a technical indicator used to identify volatility/volume breakouts/breakdown
7. Exit - a technical indicator used to determine when a trend is exhausted
8. Metamorphosis - a technical indicator that produces a compound signal from the combination of other GKD indicators*
*(not part of the NNFX algorithm)
What is Volatility in the NNFX trading system?
In the NNFX (No Nonsense Forex) trading system, ATR (Average True Range) is typically used to measure the volatility of an asset. It is used as a part of the system to help determine the appropriate stop loss and take profit levels for a trade. ATR is calculated by taking the average of the true range values over a specified period.
True range is calculated as the maximum of the following values:
-Current high minus the current low
-Absolute value of the current high minus the previous close
-Absolute value of the current low minus the previous close
ATR is a dynamic indicator that changes with changes in volatility. As volatility increases, the value of ATR increases, and as volatility decreases, the value of ATR decreases. By using ATR in NNFX system, traders can adjust their stop loss and take profit levels according to the volatility of the asset being traded. This helps to ensure that the trade is given enough room to move, while also minimizing potential losses.
Other types of volatility include True Range Double (TRD), Close-to-Close, and Garman-Klass
What is a Baseline indicator?
The baseline is essentially a moving average, and is used to determine the overall direction of the market.
The baseline in the NNFX system is used to filter out trades that are not in line with the long-term trend of the market. The baseline is plotted on the chart along with other indicators, such as the Moving Average (MA), the Relative Strength Index (RSI), and the Average True Range (ATR).
Trades are only taken when the price is in the same direction as the baseline. For example, if the baseline is sloping upwards, only long trades are taken, and if the baseline is sloping downwards, only short trades are taken. This approach helps to ensure that trades are in line with the overall trend of the market, and reduces the risk of entering trades that are likely to fail.
By using a baseline in the NNFX system, traders can have a clear reference point for determining the overall trend of the market, and can make more informed trading decisions. The baseline helps to filter out noise and false signals, and ensures that trades are taken in the direction of the long-term trend.
What is a Confirmation indicator?
Confirmation indicators are technical indicators that are used to confirm the signals generated by primary indicators. Primary indicators are the core indicators used in the NNFX system, such as the Average True Range (ATR), the Moving Average (MA), and the Relative Strength Index (RSI).
The purpose of the confirmation indicators is to reduce false signals and improve the accuracy of the trading system. They are designed to confirm the signals generated by the primary indicators by providing additional information about the strength and direction of the trend.
Some examples of confirmation indicators that may be used in the NNFX system include the Bollinger Bands, the MACD (Moving Average Convergence Divergence), and the MACD Oscillator. These indicators can provide information about the volatility, momentum, and trend strength of the market, and can be used to confirm the signals generated by the primary indicators.
In the NNFX system, confirmation indicators are used in combination with primary indicators and other filters to create a trading system that is robust and reliable. By using multiple indicators to confirm trading signals, the system aims to reduce the risk of false signals and improve the overall profitability of the trades.
What is a Continuation indicator?
In the NNFX (No Nonsense Forex) trading system, a continuation indicator is a technical indicator that is used to confirm a current trend and predict that the trend is likely to continue in the same direction. A continuation indicator is typically used in conjunction with other indicators in the system, such as a baseline indicator, to provide a comprehensive trading strategy.
What is a Volatility/Volume indicator?
Volume indicators, such as the On Balance Volume (OBV), the Chaikin Money Flow (CMF), or the Volume Price Trend (VPT), are used to measure the amount of buying and selling activity in a market. They are based on the trading volume of the market, and can provide information about the strength of the trend. In the NNFX system, volume indicators are used to confirm trading signals generated by the Moving Average and the Relative Strength Index. Volatility indicators include Average Direction Index, Waddah Attar, and Volatility Ratio. In the NNFX trading system, volatility is a proxy for volume and vice versa.
By using volume indicators as confirmation tools, the NNFX trading system aims to reduce the risk of false signals and improve the overall profitability of trades. These indicators can provide additional information about the market that is not captured by the primary indicators, and can help traders to make more informed trading decisions. In addition, volume indicators can be used to identify potential changes in market trends and to confirm the strength of price movements.
What is an Exit indicator?
The exit indicator is used in conjunction with other indicators in the system, such as the Moving Average (MA), the Relative Strength Index (RSI), and the Average True Range (ATR), to provide a comprehensive trading strategy.
The exit indicator in the NNFX system can be any technical indicator that is deemed effective at identifying optimal exit points. Examples of exit indicators that are commonly used include the Parabolic SAR, the Average Directional Index (ADX), and the Chandelier Exit.
The purpose of the exit indicator is to identify when a trend is likely to reverse or when the market conditions have changed, signaling the need to exit a trade. By using an exit indicator, traders can manage their risk and prevent significant losses.
In the NNFX system, the exit indicator is used in conjunction with a stop loss and a take profit order to maximize profits and minimize losses. The stop loss order is used to limit the amount of loss that can be incurred if the trade goes against the trader, while the take profit order is used to lock in profits when the trade is moving in the trader's favor.
Overall, the use of an exit indicator in the NNFX trading system is an important component of a comprehensive trading strategy. It allows traders to manage their risk effectively and improve the profitability of their trades by exiting at the right time.
What is an Metamorphosis indicator?
The concept of a metamorphosis indicator involves the integration of two or more GKD indicators to generate a compound signal. This is achieved by evaluating the accuracy of each indicator and selecting the signal from the indicator with the highest accuracy. As an illustration, let's consider a scenario where we calculate the accuracy of 10 indicators and choose the signal from the indicator that demonstrates the highest accuracy.
The resulting output from the metamorphosis indicator can then be utilized in a GKD-BT backtest by occupying a slot that aligns with the purpose of the metamorphosis indicator. The slot can be a GKD-B, GKD-C, or GKD-E slot, depending on the specific requirements and objectives of the indicator. This allows for seamless integration and utilization of the compound signal within the GKD-BT framework.
How does Loxx's GKD (Giga Kaleidoscope Modularized Trading System) implement the NNFX algorithm outlined above?
Loxx's GKD v2.0 system has five types of modules (indicators/strategies). These modules are:
1. GKD-BT - Backtesting module (Volatility, Number 1 in the NNFX algorithm)
2. GKD-B - Baseline module (Baseline and Volatility/Volume, Numbers 1 and 2 in the NNFX algorithm)
3. GKD-C - Confirmation 1/2 and Continuation module (Confirmation 1/2 and Continuation, Numbers 3, 4, and 5 in the NNFX algorithm)
4. GKD-V - Volatility/Volume module (Confirmation 1/2, Number 6 in the NNFX algorithm)
5. GKD-E - Exit module (Exit, Number 7 in the NNFX algorithm)
6. GKD-M - Metamorphosis module (Metamorphosis, Number 8 in the NNFX algorithm, but not part of the NNFX algorithm)
(additional module types will added in future releases)
Each module interacts with every module by passing data to A backtest module wherein the various components of the GKD system are combined to create a trading signal.
That is, the Baseline indicator passes its data to Volatility/Volume. The Volatility/Volume indicator passes its values to the Confirmation 1 indicator. The Confirmation 1 indicator passes its values to the Confirmation 2 indicator. The Confirmation 2 indicator passes its values to the Continuation indicator. The Continuation indicator passes its values to the Exit indicator, and finally, the Exit indicator passes its values to the Backtest strategy.
This chaining of indicators requires that each module conform to Loxx's GKD protocol, therefore allowing for the testing of every possible combination of technical indicators that make up the six components of the NNFX algorithm.
What does the application of the GKD trading system look like?
Example trading system:
Backtest: Multi-Ticker CC Backtest
Baseline: Hull Moving Average
Volatility/Volume: Hurst Exponent
Confirmation 1: Advance Trend Pressure as shown on the chart above
Confirmation 2: uf2018
Continuation: Coppock Curve
Exit: Rex Oscillator
Metamorphosis: Baseline Optimizer
Each GKD indicator is denoted with a module identifier of either: GKD-BT, GKD-B, GKD-C, GKD-V, GKD-M, or GKD-E. This allows traders to understand to which module each indicator belongs and where each indicator fits into the GKD system.
█ Giga Kaleidoscope Modularized Trading System Signals
Standard Entry
1. GKD-C Confirmation gives signal
2. Baseline agrees
3. Price inside Goldie Locks Zone Minimum
4. Price inside Goldie Locks Zone Maximum
5. Confirmation 2 agrees
6. Volatility/Volume agrees
1-Candle Standard Entry
1a. GKD-C Confirmation gives signal
2a. Baseline agrees
3a. Price inside Goldie Locks Zone Minimum
4a. Price inside Goldie Locks Zone Maximum
Next Candle
1b. Price retraced
2b. Baseline agrees
3b. Confirmation 1 agrees
4b. Confirmation 2 agrees
5b. Volatility/Volume agrees
Baseline Entry
1. GKD-B Baseline gives signal
2. Confirmation 1 agrees
3. Price inside Goldie Locks Zone Minimum
4. Price inside Goldie Locks Zone Maximum
5. Confirmation 2 agrees
6. Volatility/Volume agrees
7. Confirmation 1 signal was less than 'Maximum Allowable PSBC Bars Back' prior
1-Candle Baseline Entry
1a. GKD-B Baseline gives signal
2a. Confirmation 1 agrees
3a. Price inside Goldie Locks Zone Minimum
4a. Price inside Goldie Locks Zone Maximum
5a. Confirmation 1 signal was less than 'Maximum Allowable PSBC Bars Back' prior
Next Candle
1b. Price retraced
2b. Baseline agrees
3b. Confirmation 1 agrees
4b. Confirmation 2 agrees
5b. Volatility/Volume agrees
Volatility/Volume Entry
1. GKD-V Volatility/Volume gives signal
2. Confirmation 1 agrees
3. Price inside Goldie Locks Zone Minimum
4. Price inside Goldie Locks Zone Maximum
5. Confirmation 2 agrees
6. Baseline agrees
7. Confirmation 1 signal was less than 7 candles prior
1-Candle Volatility/Volume Entry
1a. GKD-V Volatility/Volume gives signal
2a. Confirmation 1 agrees
3a. Price inside Goldie Locks Zone Minimum
4a. Price inside Goldie Locks Zone Maximum
5a. Confirmation 1 signal was less than 'Maximum Allowable PSVVC Bars Back' prior
Next Candle
1b. Price retraced
2b. Volatility/Volume agrees
3b. Confirmation 1 agrees
4b. Confirmation 2 agrees
5b. Baseline agrees
Confirmation 2 Entry
1. GKD-C Confirmation 2 gives signal
2. Confirmation 1 agrees
3. Price inside Goldie Locks Zone Minimum
4. Price inside Goldie Locks Zone Maximum
5. Volatility/Volume agrees
6. Baseline agrees
7. Confirmation 1 signal was less than 7 candles prior
1-Candle Confirmation 2 Entry
1a. GKD-C Confirmation 2 gives signal
2a. Confirmation 1 agrees
3a. Price inside Goldie Locks Zone Minimum
4a. Price inside Goldie Locks Zone Maximum
5a. Confirmation 1 signal was less than 'Maximum Allowable PSC2C Bars Back' prior
Next Candle
1b. Price retraced
2b. Confirmation 2 agrees
3b. Confirmation 1 agrees
4b. Volatility/Volume agrees
5b. Baseline agrees
PullBack Entry
1a. GKD-B Baseline gives signal
2a. Confirmation 1 agrees
3a. Price is beyond 1.0x Volatility of Baseline
Next Candle
1b. Price inside Goldie Locks Zone Minimum
2b. Price inside Goldie Locks Zone Maximum
3b. Confirmation 1 agrees
4b. Confirmation 2 agrees
5b. Volatility/Volume agrees
Continuation Entry
1. Standard Entry, 1-Candle Standard Entry, Baseline Entry, 1-Candle Baseline Entry, Volatility/Volume Entry, 1-Candle Volatility/Volume Entry, Confirmation 2 Entry, 1-Candle Confirmation 2 Entry, or Pullback entry triggered previously
2. Baseline hasn't crossed since entry signal trigger
4. Confirmation 1 agrees
5. Baseline agrees
6. Confirmation 2 agrees
STD-Filtered, Regularized EMA/RMA [Loxx]STD-Filtered, Regularized EMA/RMA calculates and visualizes a standard deviation (STD) filtered, regularized version of the Exponential Moving Average (EMA) or Regular Moving Average (RMA) on a trading chart.
█ Understanding the Regularized Moving Average
The Regularized Moving Average, as conceptualized by Chris Satchwell, offers a more responsive interpretation compared to traditional moving averages. By incorporating a smoothing mechanism using "Lambda", this approach reduces lag without compromising the data's integrity.
In the realm of technical analysis, many regard it as a preferred alternative to the standard Moving Average and Exponential Moving Average.
█ How Does It Stand Out from Other Moving Averages?
While analysts traditionally shorten an indicator's length or period to minimize lag, the Regularized Moving Average uses a unique approach. By embedding "Regularization" within its computation, this method introduces Lambda (often symbolized as λ-calculus). This mathematical factor tames the moving average's undue fluctuations, offering more stability through its Lambda adjustments.
Pro Tip: For those analyzing smaller intraday timeframes, consider ramping up the Lambda setting to 6.0 or even higher. When tweaking these settings, always remember to backtest and observe how it impacts signal accuracy and noise filtering.
█ Standard Deviation Filtering:
This filtering mechanism is designed to smoothen price data by eliminating minor fluctuations that might be considered "noise". Here's how the process works:
For every data point, the standard deviation of prices over a specified period is calculated.
This standard deviation is then multiplied by a user-defined value to determine a threshold. This threshold defines the magnitude of change required in the price for it to be considered significant.
For each price, if the absolute difference between its current and previous value is less than this threshold, the price is kept unchanged (considered insignificant and thus filtered). If the difference exceeds the threshold, the price is considered significant and remains as is.
By applying this filter, minor price variations within the threshold are disregarded, resulting in a smoother representation of the price data.
█ Moving Average Calculation:
The script provides an option to calculate either a regularized Exponential Moving Average (EMA) or a Regular Moving Average (RMA). Here's how these are approached:
If the EMA option is selected: A weighted formula is used where more recent prices have a higher influence on the average than older prices. This is achieved by applying a fraction that's inversely related to the chosen period. The outcome is an average that reacts more quickly to recent price changes.
If the RMA option is selected: The average is computed by giving equal weight to all prices within the chosen period.
Both these averages then undergo a regularization process. Regularization, in this context, refers to adjusting the moving average using a factor to make it potentially more sensitive or responsive to price changes.
This regularized moving average can offer a refined perspective on price trends by being more adaptive to recent changes, potentially highlighting turning points or trend continuations more effectively.
█ Extras
Signals
Alerts
Bar coloring
Weighted Oscillator Convergence DivergenceThe Weighted Oscillator Convergence Divergence (WOCD) aims to help traders identify potential trend reversals or momentum shifts in financial markets by calculating and visualizing the difference between a smoothed oscillator (WMA) value and its exponential moving average (EMA) and simple moving average (SMA) counterparts. This indicator is particularly useful for traders who want an alternative perspective on price momentum and divergence.
Key Features:
Inputs:
Length: The user can specify the number of bars to consider for calculations (default is 9).
Smoothing 1: Defines the smoothing factor for the first smoothed value (default is 5).
Smoothing 2: Specifies the smoothing factor for the second smoothed value (default is 7).
Ma Type: There are three types of moving averages you can choose (Wilder, non-lag, Weighted is by default).
Color Settings: Users can customize the indicator's colors for various elements, such as length, smoothing values, and different sections of the histogram.
Calculation:
WOCD calculates the raw oscillator value by subtracting the close price from a 3-period High, Low, Close (HLC3) moving average.
It then applies smoothing to this raw oscillator value using two different methods: exponential moving average (EMA) and simple moving average (SMA) with user-defined smoothing periods.
Histogram Plot:
The indicator plots a histogram based on the difference between the smoothed oscillator and the first smoothed value.
When the histogram is above zero and rising, it is colored according to the "Above Grow" color setting. When it's above zero and falling, it uses the "Fall" color for visualization.
Similarly, when the histogram is below zero and rising, it is colored according to the "Below Grow" color setting, and when it's below zero and falling, it uses the "Fall" color.
Oscillator and Smoothed Values:
The indicator also plots the smoothed oscillator, smoothed value 1 (EMA-based), and smoothed value 2 (SMA-based) on the chart.
Zero Line:
A horizontal line at zero is drawn on the chart for reference.
How to Use the WOCD Indicator:
Trend Identification: Observe the histogram's direction and color. A rising histogram above zero may indicate bullish momentum, while a falling histogram below zero could signal bearish momentum.
Divergence: Look for divergences between price action and the histogram. When the histogram and price move in opposite directions, it can be a potential reversal signal.
Crossovers: Pay attention to crossovers between the smoothed oscillator and its smoothed counterparts (EMA and SMA). These crossovers can indicate changes in trend strength or direction.
Zero Line: The zero line can act as a reference point. Positive histogram values suggest bullish sentiment, while negative values indicate bearish sentiment.
Comparison to MACD Indicator:
The WOCD indicator shares some similarities with the Moving Average Convergence Divergence (MACD) indicator but also has distinct differences:
Similarities:
Both WOCD and MACD are momentum oscillators designed to identify potential trend reversals and divergences.
They use moving averages (EMA in the case of MACD) to smooth the raw oscillator values.
Both indicators provide histogram representations of the difference between the oscillator and its smoothed counterpart.
Differences:
WOCD uses a 3-period High, Low, Close (HLC3) moving average to calculate the raw oscillator value, whereas MACD uses the difference between two exponential moving averages (usually 12-period and 26-period EMAs).
The smoothing in WOCD employs both EMA and SMA, while MACD exclusively uses EMA.
WOCD allows users to customize colors for various elements, enhancing visual clarity.
Daily TrendDescription:
The "Daily Trend" script is a powerful technical analysis tool designed for TradingView. This indicator helps traders identify key support and resistance levels based on daily price data. It offers a visual representation of these levels, along with other technical indicators like Exponential Moving Averages (EMA), Supertrend, and Parabolic SAR.
Features:
Past Candle Price Levels: This script calculates and displays past daily candle price levels, including R1, R2, R3, R4, S1, S2, S3, and S4. These levels are vital for identifying potential reversals and breakout points.
Exponential Moving Average (EMA): The script includes an EMA indicator with a customizable period to help traders spot the trend direction and potential crossovers.
Supertrend Indicator: The Supertrend indicator is used to identify trend changes. It plots the Supertrend line and highlights the trend direction with color-coded regions.
Parabolic SAR: The Parabolic SAR indicator is integrated into the script to assist traders in identifying potential entry and exit points in the market.
Customizable Alerts: Traders can customize the indicator by choosing which past candle price levels and other features to display on the chart.
How to Use:
Apply the "Daily Trend" script to your TradingView chart.
Customize the indicator by enabling or disabling specific features, such as past candle price levels and EMA.
Pay attention to the color-coded regions for Supertrend and Parabolic SAR to determine the current trend direction.
Look for potential reversal or bounce signals based on the indicator's signals and the price action.
Consider using this script in conjunction with your trading strategy for enhanced technical analysis.
Risk Warning: Trading involves significant risk, and past performance is not indicative of future results. Always practice proper risk management and consider the broader context of the market before making trading decisions.
YinYang Fear and Greed Index (FGI)Overview:
YinYang Fear and Greed Index is used for seeing how people are feeling towards the current price. It works similar to an RSI, but fluctuates differently. Essentially you want to be Greedy when the Index displays Fear and Fearful when it displays Greed. Our Indicator displays a Green Circle (Greed Signal) on the YinYang Fear and Greed Index when there is a large amount of Greed at this price point. It displays a Red Circle (Fear Signal) when there is a large amount of Fear. The Fear and Greed Signals can happen at any Fear and Greed Index but generally they correlate with the Index level. The Fear and Greed Signals are much more important at dictating a swing in momentum than the actual Index itself. The Index is more of a guide and is useful for seeing when the Index level crosses the Ma (the yellow line) as you can see a shift in momentum. However for large swings in momentum, the Fear and Greed Signals should be used. Do NOT Ignore these signals, they are quite powerful at predicting momentum swings.
Tutorial:
As you can see, the Fear and Greed Index looks somewhat similar to an RSI, but it has the ability to gain drastic momentum when there are strong changes in Fear and Greed.
When it comes to identifying buy/sell locations you generally want to ensure 2 things:
For a buy, the Fear and Greed Index (FGI) is less than 30.
For a sell, the FGI is greater than 70.
A signal has occurred. For buy that is the red circle and for sell that is the green circle.
The reason we generally want to ensure these 2 rules is to ensure you have the highest chance of being right with the lowest risk of being wrong. The way you want to use this indicator is; Be Fearful when others are Greedy and Greedy when others are Fearful.
There will be times when a fear or greed signal appears when the index is between 30-70. When these occur, they are still generally strong signal locations that represent a high chance of momentum in the direction they signal, however they face a higher risk of being wrong and therefore shouldn’t be used on its own to make a trade.
In the photo above we can see that the FGI’s color changed from Red to Orange in the candle after the Fear Signal. This happened because there was high price movement right after it (which is normal) and caused the Fear level to drop.
The color the FGI displays is based not off the FGI but by the STATE it is currently in. When the color is Green it is in a state of HIGH GREED, when the color is Red it is in a state of HIGH FEAR. When the color is Teal it is in a state of SLIGHT GREED, when the color is Orange it is in a state of SLIGHT FEAR. These colors hold true for the Information Tables as well.
As we can also see from the example above, it is 100% possible to have a state of HIGH GREED when the FGI is low. For instance look at the Fear (BUY) signals circled. Right before the Fear Signals happened, it was in a state of HIGH GREED (Green). The opposite is also true with Fear. We can have a high state of Fear when the FGI is high. However, please do remember, the lowest risk and best time to make trades is still:
FGI is higher than 70 and there is a Greed Signal = SELL
FGI is lower than 30 and there is a Fear Signal = BUY
You may notice there are sometimes occurrences that we call ‘Oddballs’. These oddballs are quite rare but they do happen and when they do they’re generally in clusters (close together). These Oddballs are when a Greed Signal occurs when the FGI is very low or when a Fear Signal occurs when the FGI is very high. Basically, they are occurring in the opposite location that they are supposed to. These may not seem like they matter but they matter a lot. As you can see based on where the blue vertical lines are, the price moved in the direction the signal identified shortly after the signal.
You may be wondering, are Oddball’s stronger price influencers than the regular signal? The issue with Oddballs is they sometimes CAN BE. But generally they aren’t. They generally do signal price movement will occur in the direction they are influencing, but generally not as much movement as if it occurred properly (Fear signal under 30 or Greed signal above 70).
The takeaway from Oddballs is to acknowledge their existence and potentially use them as markers for smaller purchases or DCA locations. We don’t recommend treating them as a legitimate purchase signal as they generally are weaker and less predictable, but nevertheless don’t dismiss them.
Our Information Tables are there to show you the FGI on 6 different Time Frames at the same time. This can be very useful for knowing how the other Time Frames are fairing while you are trading without needing to constantly change the Time Frame you are on.
For example, you see a Fear Signal on the 1 Day Time Frame, you then swap to the 15 minute Time Frame to find your entry location. Well, once you’re locked into that trade, you’ll likely be fixated on the 15 minute Time Frame. There’s a chance while you’re still waiting for your exit that levels and states of the FGI could change on higher Time Frames. This could drastically influence when and where your exit on the lower Time Frame should be.
This concludes our Tutorial on how to use YinYang Fear and Greed Index (FGI). However, continue reading for a description and better understanding of the Settings available to you for customization within this Indicator.
Settings:
1. Information Tables:
1.1. Show Information Tables:
Our Information Tables display 6 different Time Frames (resolutions) so that you can see the current level of Fear and Greed (FGI) that is prevalent on each Time Frame. There are 4 different states the FGI can be in:
Fear (Red)
Minor Fear (Orange)
Greed (Green)
Minor Greed (Teal)
The color of each Time Frame Cell (on Oscillator and in the table) is based on the following:
Red: Red represents that it is currently in a state of Fear. When it is in a state of fear it means traders are being overly bearish and selling when they likely shouldn’t. While it is in a state of Fear, there is a high chance of BULLISH price movement occurring. Remember, Be Fearful when others are Greedy and Greedy when others are Fearful.
Orange: Orange represents that it is currently in a state of Minor Fear. Minor Fear means that the FGI is less than 50, but it’s not currently in a state of Fear or Greed. While it is in this state, there is a better chance for BULLISH price action than there is bearish but it's nowhere near as likely as when in a state of Fear.
Green: Green represents that it is currently in a state of Greed. When it is in a state of Greed, it means traders are being overly bullish and buying when they shouldn’t. While it is in a state of Greed, there is a high chance of BEARISH price movement occurring.
Teal: Teal represents that it is currently in a state of Minor Greed. Minor Greed means that the FGI is greater than 50, but it’s not currently in a state of Fear or Greed. While it is in this state, there is a better chance for BEARISH price actions than there is bullish; but it’s nowhere near as likely as when its in a state of Greed.
2. Res1 / Res2/ Res3 / Res4 / Res5 / Res6:
These represent the different resolutions (Time Frames) being used in your information tables and can be modified to display whatever resolution works best for your trading style. By default they are:
Res1: Current Timeframe
Res2: 15 Minute
Res3: 1 Hour
Res4: 4 Hour
Res5: 1 Day
Res6: 1 Week
Backup Res (not changeable): 5 Minute (this is only used if your Current Timeframe in Res1 is a duplicate of one of the other resolutions)
Our Fear and Greed Index can be very useful for understanding how people are feeling in the market and when large price swings will occur. Remember, Be Greedy when others are Fearful and Fearful when others are Greedy!
If you have any Questions or Concerns, don’t hesitate to contact us.
HAPPY TRADING!
Tribute to David PaulI made this indicator as a tribute to the late David Paul .
He mentioned quite a lot about 89 periods moving average (especially on 4h), also the 21 and 55.
I put up some entries when three ma are crossed by price in the same direction, bull/bear backgrounds and a color code for candles because who doesn't love the feeling of a lasting trend.
To be more specific :
The indicator plots sma21, sma55, sma89 and AMA = (sma21+sma55+sma89)/3
When the closing price crosses the highest of the 3 sma, it is considered a bullish confirmation.
At this moment two lines appear, one on the bottom of the candle that crossed, one on the crossing point.
The lowest line can be used as the stop loss value of a long.
The highest line can be used as an entry point for a long.
When the closing price crosses the lowest of the 3 sma, it is considered a bearish confirmation.
At this moment two lines appear, one on the top of the candle that crossed, one on the crossing point.
The highest line can be used as the stop loss value of a short.
The lowest line can be used as an entry point for shorts.
When the closing price is above AMA, it is considered a bullish confirmation.
At this time a blue background appears at the crossing point.
The highest line can be used as the stop loss value for a long.
The starting point of the background can be used as the entry point for a long.
When the closing price is below AMA, it is considered a bearish confirmation.
At this time a red background appears at the crossing point.
The highest line can be used as the stop loss value for a short.
The starting point of the background can be used as the entry point for a short.
When the price is above 3 sma the candles turn blue. Signifying an upward trend.
When the price is below 3 sma the candles turn red. Signifying a bearish trend.
When the price is neither simultaneously above nor below the 3 sma, the candles are gray and the background linked to AMA becomes less vivid. Meaning a loss of vitality of the current trend or an absence of a clear trend.
Ideally, you should take a position towards "Real Long/Short Entry", set your stop loss towards "Ideal Long/Short Entry", and close the trade either when the background ends (riskier but more potential), or when the candles become gray (more conservative but noisier).
In the inputs, you can modify the display rules (explained in the tooltips), by default everything is displayed.
MA Support & Resistance SignalThis indicator is to show MA Support/Resistance and trend of a stock.
It contains three (3) Moving Averages that can be set to SMA or EMA:
1. Upper Line : SMA 5 (default)
2. Lower Line : SMA 20 (default)
3. Support/Resistance Line : SMA 10 (default)
Other signals:
1. Bull and Blue Dotted Line signal: Upper Line (SMA 5) crossover with Lower Line (SMA 20).
2. Bear and Red Dotted Line signal: Lower Line (SMA 20) crossover with Upper Line (SMA 5).
3. Red Triangle signal: Price closes below Support/Resistance Line (SMA 10).
4. Green Bar signal: Price breaks Support/Resistance Line (SMA 10).
The way how I use it:
- Since I don't like my chart to be crowded with a lot of moving averages, I will disable SMA 5 and SMA 10 and will only leave SMA 20 as my final support line.
- Entry when only:
1. Bull signal appeared.
2. Green bar appeared, or;
3. Price rebound on SMA 20.
I let the script open so that you guys can custom it based on your own preferences. Hope you guys enjoy it.
Moving Average Cross trade PLAbstract
This script evaluates the potential trading proceeding and loss of the moving average cross strategy and plot it as a chart.
We can use it as a reference to whether we follow the original trading signals or not.
Introduction
Moving average cross is a popular trading strategy.
The strategy suggests traders buy when the short term moving average is above the long term moving average and sell when the short term moving average is below the long term moving average.
However, just like the most technical indicators, the signals are not always accurate.
This problem causes traders don't have sufficient confidence to trade with these signals.
On the other hand, the natural risk management suggests us only invest after major risks are past.
Therefore, we wait until many counterexamples of trading signals are past.
What will happen if we imagine that following a specific trading signal is a fund?
We can evaluate the potential trading proceeding and loss and plot it as a chart.
And then, we can measure how much loss may encounter in many worst cases and regard it as a reference to whether we follow the original trading signals or not.
How it works
1. Determine the instruments and time frames we are interested in.
2. Determine the long term moving average and the short term moving average.
3. The strategy suggests traders buy when the short term moving average is above the long term moving average and sell when the short term moving average is below the long term moving average.
4. The potential trading proceeding and loss is plotted as a chart.
5. There are two colors in the chart. One is when the short term moving average is above the long term moving average and the other is when the short term moving average is below the long term moving average.
6. We can observe the local maximum and the local minimum or apply other indicators we are interested in on the numbers it provides.
Parameters
x_type1 = How to compute the short term moving average. The option diff means the price several days ago.
x_src1 = How to summarize the price of a trading day. It depends on the open, high, low or close prices.
x_ma1 = How many days included in the short term moving average. When it is 1, the signal becomes when the price is above or below a single moving average.
x_type2 = How to compute the long term moving average
x_src2 = How to summarize the price of a trading day. It depends on the open, high, low or close prices.
x_ma2 = How many days included in the long term moving average
Conclusion
This indicator can quantize the potential trading proceeding and loss and can imply when following the original trading signals is good or not.
Combining the instruments which are long term investible and use this indicator to avoid potential risks, we can make proceeding better than holding the major stock markets.