Double Top/Bottom V2This is an enhanced version of Double Top/Bottom detector.
Initial basic version can be found here:
Concept of deriving pattern is similar but there are few major changes.
Double Top:
Get the highest pivot high from last X pivot highs ( DTHigh1 )
Look for next top most pivot high which happened after DTHigh1 ( DTHigh2 )
Look for lowest pivot low between DTHigh1 and DTHigh2 ( DTLow )
Double Bottom:
Get the lowest pivot low from last X pivot lows ( DBLow1 )
Look for next lowest pivot low which happened after DBLow1 ( DBLow2 )
Look for highest pivot high between DBLow1 and DBLow2 ( DbHigh )
Other Key parameters:
checkForAbsolutePeaks and absolutePeakLoopback work together. When selected, double top and double bottom is formed only if DTHigh1 / DBLow1 are highest/lowest points from last absolutePeakLoopback bars back.
considerPivotDistance will make sure distance between Highs(in double top) and lows(in double bottom) are below 2 ( MaxAtrDistanceBase ) times ATR. And distance between average Highs/Lows to Low/High forming triangle is less than 6 ( MaxAtrDistanceHighLow ) times ATR. This will avoid showing steep triangles as double top/bottoms.
showLastLevels option allows users to display dashed lines on double top/bottom confirmation and invalidation levels for last formed double bottom and tops. These can be treated as strong support and resistence. Dashed lines are permanently formed on double top/bottom setups when an invalidation or confirmation occurs by price crossing either lowest or highest points of double top/bottom triangles.
Alerts:
Probable double top/bottom - when double top or bottom triangles formed.
Double top/bottom confirmation - when double top or bottom is confirmed.
Double top/bottom invalidation - when double top or bottom is invalidated.
Few important points about adjusting parameters:
Lower pivot lengths will generate more signals. But, too frequent signals may not be desirable as well.
higher absolutePeakLoopback will reduce number of signals while strengthening them.
Unchecking consider pivot distance or reducing MaxAtrDistanceBase/MaxAtrDistanceHighLow may considerably increase the number of pivots specially when pivot lengths are lower side. This may result in reduced quality of signals as well.
Moving average condition which is part of basic script is not included in this. We can add Hull Suite or moving average crossover on the chart as confirmation of strong signal.
Komut dosyalarını "moving average crossover" için ara
unRekt - The MachineThis is a combined script of Welcome to the Machine and Kiss Cross. A moving average crossover was added with the golden cross '50 n 200' being most noticeable.
Up to 5 editable moving averages can be selected on their own or all displayed with varying type of your choice SMA, EMA, WMA, VWMA and LSMA.
Bollinger bands can be disabled to just show the moving average.
Image of bollinger bands off:
RSI EMA CrossOver RameshThe RSI is one of the most popular technical indicators. The RSI measures the internal strength of the security. The RSI indicator oscillates between oversold and over bought levels, where a trader is advised to look for buying opportunities when the stock is in over sold region and selling opportunities when the stock is in over bought region.
The RSI with EMA strategy signals a trade when EMA of 7 period RSI crosses over the EMA of a 14 period RSI.
Buy: when 10 EMA of 7 period RSI crossing up 10 EMA of a 14 period RSI
Sell: when 10 EMA of 7 period RSI crossing down 10 EMA of a 14 period RSI
EMA = Exponential Moving Average
Crossover = Simple crossover between current RSI values and its 10 day EMA
Trend Persistence Rate Indicator [CC]The Trend Persistence Rate Indicator was created by Richard Poster (Stocks and Commodities Feb 2021 pg 12) and this indicator is a good trend strength indicator similar to ADX. A good strategy with this indicator according to the author is to combine this with a moving average crossover strategy and a volatility indicator. Buy when the price crosses over the moving average and when the volatility and this indicator are over a selected minimum. I think 30-40 as a minimum for this indicator works well. Exit that position when this indicator peaks and starts to go down and it should be very profitable for you. I have included general buy and sell signals with this indicator as well.
Let me know if there are any other indicators you would like to see me publish!
Smoothed Relative Volatility Index W/2 EMAThis script is a reboot of the relative volatility index that adds a smoothing factor to the indicator which eliminates a significant amount of the noise/signal ratio.
The relative volatility index is defined as the following from tradingism.com:
"Relative Volatility Index Definition
The relative volatility index (RVI) was developed by Donald Dorsey, who truly understood that an indicator is not the holy grail of trading. The RVI is identical to the relative strength index , except it measures the standard deviation of high and low prices over a defined range of periods. The RVI can range from 0 to 100 and unlike many indicators that measure price movement, the RVI does an exceptional job of measuring market strength.
Purpose of Relative Volatility Index
The relative volatility index was designed not as a standalone indicator, but as a confirmation for trading signals. The RVI is most widely used in conjunction with moving average crossover signals."
The rules of the RVI are to sell below the 50 line and buy above the 50 line. The 2 EMA's I added act as a "dynamic" 50 line and also provide crossover signals.
The smoothed relative volatility index included, is accompanied by the original relative volatility index as an option with its own EMA's.
The smoothing factor provides divergence signals and/or an added layer of confirmation from other indicators.
On the chart above is the smoothed relative volatility index above the original set to the same time period for comparison.
Buying vs Selling PowerThis is a simple script that can help identify buying and selling pressure over a period of time.
This is a great addition to any strategy to help confirm direction and strength. You can accompany this indicator with something as simple as a moving average crossover or MACD crossover to help with confirmation of the signal as you want to trade in the direction of volume.
Volume Brakeout v1Volume Brakout indicator is used to help determine trend direction strictly based on Negative and Positive volume data.
How to Read:
- Moving Average crossovers are used to help determine a possible trend change or retracement.
- The area cloud on the bottom is calculated by the difference of the moving averages. This could be used to help determine the trending volume strength.
- Bright colored volume bars are large volume spikes calculated by the x factor in the options.
Other changes:
- Volume Depth is going open source with numerous of its indicators. This is only one of many!
- Volume is now displayed without being altered for calculations.
LT Pro-Divergence 2.0This indicator can visually show the divergences on the chart – i.e. a divergence between price action and the momentum. So for example, when price makes a new low and the momentum does not make a new low, this is often a “bullish” divergence – indicating that the force of the downtrend could be weakening. Similarly, when the price makes a new high but the momentum does not make a new high, this is often a “bearish” divergence – indicating that the force of the uptrend could be weakening. Typically, trend reversals are often preceded by a divergence (although it is possible for price to change trend without a prior divergence). We can use divergence as an advance warning of when price may potentially change direction – whether a change in the trend direction or just a correction (or pullback).
It is possible for a divergence to be “negated” – which happens when price continues to move in its direction (i.e. in the direction of the major trend) despite a divergence. So often price can negate a divergence (e.g. a bullish or bearish divergence). This can happen quite a lot in strong trends with momentum.
Due to the numerous divergences that can occur on charts (often with many false signals or whipsaws) – it can be better to use divergence in combination with other technical analysis methods to increase the probabilities. For example, combining divergence with other trend reversal chart techniques such as: trendline breaks, moving average crossovers, break of support or resistance, or oscillators like MACD or RSI etc.
The red divergence colour can indicate a potential bullish divergence, blue divergence colour can indicate a potential bearish divergence. The indicator can also warn of potential divergences developing – so a magenta warning can indicate a potential bullish divergence and a yellow/orange warning of a potential bearish divergence.
The pro divergence indicator incorporates green and blue dots to show when RSI and stochastics is oversold or overbought. The RSI overbought/oversold is shown as dark blue dots – and the stochastics overbought/oversold is shown as green dots. This is added as an extra feature to add further information to the divergence signal. The momentum used in the indicator is the MACD.
The indicator can be used on the charts of the majority of markets (e.g. stocks, indices, ETFs, currencies, cryptocurrencies, precious metals, commodities etc.) and any timeframe. It should be noted that the degree of noise and randomness increases significantly on lower timeframes. So the lower the timeframe that is chosen (e.g. 15-min or lower) the greater the degree of noise and randomness and therefore the higher the frequency of false signals or whipsaws.
Chartists should be aware of the probabilistic and uncertain nature of price action and the markets, and therefore prepare to limit and control any potential risks.
If you would like access, please send me a PM on Tradingview.
LT Pro-Divergence 2.0 ChartThis indicator can visually show the divergences on the chart – i.e. a divergence between price action and the momentum. So for example, when price makes a new low and the momentum does not make a new low, this is often a “bullish” divergence – indicating that the force of the downtrend could be weakening. Similarly, when the price makes a new high but the momentum does not make a new high, this is often a “bearish” divergence – indicating that the force of the uptrend could be weakening. Typically, trend reversals are often preceded by a divergence (although it is possible for price to change trend without a prior divergence). We can use divergence as an advance warning of when price may potentially change direction – whether a change in the trend direction or just a correction (or pullback).
It is possible for a divergence to be “negated” – which happens when price continues to move in its direction (i.e. in the direction of the major trend) despite a divergence. So often price can negate a divergence (e.g. a bullish or bearish divergence). This can happen quite a lot in strong trends with momentum.
Due to the numerous divergences that can occur on charts (often with many false signals or whipsaws) – it can be better to use divergence in combination with other technical analysis methods to increase the probabilities. For example, combining divergence with other trend reversal chart techniques such as: trendline breaks, moving average crossovers, break of support or resistance, or oscillators like MACD or RSI etc.
The red divergence colour can indicate a potential bullish divergence, blue divergence colour can indicate a potential bearish divergence. The indicator can also warn of potential divergences developing – so a magenta warning can indicate a potential bullish divergence and a yellow/orange warning of a potential bearish divergence.
The pro divergence indicator incorporates green and blue dots to show when RSI and stochastics is oversold or overbought. The RSI overbought/oversold is shown as dark blue dots – and the stochastics overbought/oversold is shown as green dots. This is added as an extra feature to add further information to the divergence signal. The momentum used in the indicator is the MACD.
The indicator can be used on the charts of the majority of markets (e.g. stocks, indices, ETFs, currencies, cryptocurrencies, precious metals, commodities etc.) and any timeframe. It should be noted that the degree of noise and randomness increases significantly on lower timeframes. So the lower the timeframe that is chosen (e.g. 15-min or lower) the greater the degree of noise and randomness and therefore the higher the frequency of false signals or whipsaws.
Chartists should be aware of the probabilistic and uncertain nature of price action and the markets, and therefore prepare to limit and control any potential risks.
If you would like access, please send me a PM on Tradingview.
SPX-VIX Intraday DivergenceAs a long-term buyer/short-seller, you will always find different ways to enter the market , moving average crossovers, breakouts , overbought/oversold conditions being some of the classy methods. However, they are decreasingly effective... 😢
Recently I have realized that analysis beyond the technical indicators will bring trading to the next level because I will be able to confirm my trading signals without relying too much on basic price actions and patterns which are easily manipulated by big banks and institutions. 👍
Today I will introduce you to my divergence indicator making use of SPX and VIX. Unlike MacD or RSI divegence , which would involve normative judgement , it will take account of the unusual move by SPX alongwith the VIX , to the exploit chances that options market, where most experienced investors participated in has a preceding insight into the equity market about the upcoming moves.
I have divided signals into two groups.
Bullish divergence - SPX Down , VIX also Down 👇
Bearish divergence - SPX Up , VIX also Up 👆
I hope this script will enable us to take advantage of the options market activities , to provide a REAL divergence signal, and be used coupled with our own chart patterns or other price signals, and more importantly to score more and more winning trades!!!
If you want more useful scripts from me, please like and share my posts. And don't forget to follow my account to grab the latest ideas and tools! 😘
Lowkey System (Study)View strategy version
A long-only strategy that aim to detect the beginning of new bullish trends and their ends.
For entering a new position this script is waiting for a moving average crossover then wait for a volume increase relative to the current volatility.
For closing a position it's simply waiting for a crossunder of whether the MA or if enabled the stop loss.
This strategy is already configured to run on BTCUSD in a 4h timeframe but you can customize the moving average and the stop loss parameters to suit your needs.
I've worked a lot to write this script so I'm not giving it for free but you can try it for 10 days.
Contact me for more details.
Have fun!
PS: I'm french so please excuse me if I've made some grammar errors ;)
JM Momentum Moving Average CrossoverReuploaded.
Some people complained about noisy signals from previous gainzy inspired intraday indicator so have designed this one to be more robust. Is pretty good at capturing early trend changes in momentum. Have not backtested yet. Recommended for lower time frames, 1 hour and under, I like 45m.
How it works?
____________
Using custom fast and slow momentum factors it is simply a crossover of the two.
How to use?
____________
Wait for closing bar, if BUY signal is printed, momentum is trending upwards so longs are favoured. If SELL signal is printed, shorts are favored.
Volume Flow v3DepthHouse Volume Flow indicator is used to help determine trend direction strictly based on Negative and Positive volume data.
How to Read:
- Moving Average crossovers are used to help determine a possible trend change or retracement.
- The area cloud on the bottom is calculated by the difference of the moving averages. This could be used to help determine the trending volume strength.
- Bright colored volume bars are large volume spikes calculated by the x factor in the options.
Other changes:
- DepthHouse is going open source with numerous of its indicators. This is only one of many!
- Volume is now displayed without being altered for calculations.
SSL [dasanc]The SSL is a fair entry condition and good exit indicator. It works best when combined with a trend indicator and multiple confirmations.
In essence, the SSL is a moving average crossover, which immediately down-grades it to a 2nd or 3rd level of confluence in my opinion.
It was recently featured in an episode of VP's "No Nonsense FX", which drove me to recreate the original MT4 indicator in PineScript.
I have two ideas on how to improve it -
Use a much faster moving average calculation method (check out my Ehlers scripts)
Use a longer period MA on lower timeframes
If you enjoy/use this script, drop me a follow and please note me in your code!
I'm *almost* always available for collabs and questions
(JS) Moving Average Secuirty OscillatorThis is kind of like the Moving Average Crossover Oscillator - except this measures in % the distance between the security you're charting and the MA you have entered in.
The goal is to see when the price pulls too far from the MA.
Hope you like it!
Triple Moving Average Crossover IndicatorGo Long as the fastMA crosses above the slowMA (All Green Fill)
Go Short as the fastMA crosses below and other MA (Red)
Prep for next movement when the fill colours are mixed together.
Back this up with volume and momentum indicators.
I'm currently working on turning this into a strategy.
Please let me know what you think, as this is my first indicator.
TUX CandlesThis indicator has a lot of information. This is the first version so stay tuned for updates, and please let me know of any bugs.
Candlestick Indicators:
Doji
Shooting Star
Evening Star
Hammer
Hanging Man
Candlestick Formations
Tri-star
Bearish Harami
Bullish Harami
Bearish Harami Cross
Bullish Harami Cross
Bullish Engulfing
Bearish Engulfing
Rising Three
Falling Three
Bearish Abandoned Baby
Bullish Abandoned Baby
Three Black Crows
Three White Soldiers
Technical Indicators:
(You can set you MA periods)
Moving Average Cross
Move Average Crossover
Stop Loss & Take Profit For Overlay Indicators[LePasha] Stop Loss & Take Profit For Overlay Indicators
This indicator helps traders easily visualize Stop Loss (SL) and Take Profit (TP) levels based on custom buy and sell signals from any overlay indicators or price-based sources.
Key Features:
Accepts buy and sell signals from any indicator or price source on your chart.
Automatically calculates SL and TP levels using ATR-based volatility for dynamic risk management.
Allows customization of capital, risk percentage per trade, and reward-to-risk ratio.
Displays clear colored boxes on the chart showing potential profit and loss zones.
Calculates position size and required leverage based on your risk settings.
Designed to work with your preferred strategies by simply connecting signal inputs.
Helps you visually manage trades with precise risk control and reward targets.
How to Use:
Connect your buy and sell signals (e.g., from Moving Average crossovers, custom scripts, or price levels) to the indicator’s inputs.
Adjust risk settings to fit your trading style (capital, risk %, reward ratio).
Watch as the indicator draws TP and SL zones on your chart when signals occur.
Use this information to set stops and targets in your trades confidently.
Perfect for traders who want simple, clear, and reliable trade management visuals based on their own strategy signals.
InspireHER Dynamic EMA RR Positioning IndicatorDynamic EMA and RR Positioning Indicator
This indicator is designed to provide traders with highly customizable buy and sell signals based on EMA (Exponential Moving Average) crossovers and Risk-to-Reward (RR) ratios. It works on any timeframe and allows users to toggle price data and additional position boxes for visualizing trade setups. Additionally, traders can choose between displaying dots or labeled signals for buy/sell indicators, making this tool versatile and user-friendly for different preferences and strategies.
What Makes This Indicator Unique
Customizable Parameters: The script offers extensive options for tailoring the indicator to your preferred trading style and strategy:
EMA: Configurable through settings (default is a 21-period EMA).
Risk-to-Reward Ratio (RR): Adjustable to meet your desired RR levels (default is 1:2.5).
Lookback Period: Visualizes buy/sell signals over the last six months.
Position Boxes for Trade Visualization: The indicator can "draw" position boxes on the chart, showing potential entry points, stop-loss (SL), and take-profit (TP) levels based on the selected RR. These visual aids simplify decision-making and help evaluate trade opportunities directly on the chart.
Price Data Toggle: Traders can choose to view or hide price data related to trade signals, including TP, SL, and RR values. By default, this is turned off to maintain a clean chart but can be activated when needed.
Flexible Signal Display Options:
Dots Mode: Displays buy signals as green dots and sell signals as red dots on the chart.
Label Mode: Displays buy signals as labels with the word "Buy" in green and sell signals as labels with the word "Sell" in red.
This toggle allows traders to customize how signals are displayed for a more personalized trading experience.
Simple Signal View: A toggle option provides a cleaner chart by enabling or disabling additional visual elements like circles or labels.
How It Works
Buy Signal: Triggered when the price crosses the EMA and closes above it.
Entry: Top of the candle.
Stop-Loss: Bottom of the candle.
Take-Profit: Calculated based on the selected RR.
Sell Signal: Triggered when the price crosses the EMA and closes below it.
Entry: Bottom of the candle.
Stop-Loss: Top of the candle.
Take-Profit: Calculated based on the selected RR.
Default Settings
EMA: 21-period.
Risk-to-Reward Ratio: 1:2.5.
Price Data: Off (can be toggled on in settings).
Position Boxes: Off (can be toggled on in settings).
Signal Display: Labels mode with "Buy" (green) and "Sell" (red) enabled by default; can be toggled to Dots mode.
Timeframe: Any timeframe supported.
How to Use
Add the Indicator to Your Chart: Once applied, the EMA line and buy/sell signals will appear by default.
Customize Settings: Navigate to the indicator's settings to adjust EMA, RR, or enable/disable Price Data, Position Boxes, or switch between Dots and Label modes.
Trade with Confidence: Use the visual aids and signals to assess trade opportunities based on your strategy and timeframe.
This indicator combines the reliability of EMA-based signals with the flexibility of configurable RR, visual trade setups, and multiple signal display options, making it a powerful tool for all types of traders. Happy Trading!!
Indian Market Sessions for BacktestingThis indicator is designed to increase the quality of your backtesting in the Indian Market.
NSE & BSE run from 9:15 am IST to 3:30 pm IST.
Naturally different times have different kinds of volatility.
On your chart you will find premarked -
Saffron - 9:15 am to 10:30 am - Opening Session - High Volatility Observed Historically
White - 10:35 am to 2:25 pm - Middle Session - Lower Volatility Observed Historically
Green - 2:30 pm to 3:30 pm - Closing Session - Medium to High Volatility Observed Historically
You will also find the start of each session marked with an arrow.
Feel free to change the times from the input settings and the color and visibility from the style settings.
_______________
Usage:
When you backtest any strategies, say moving average crossovers, also mark the sessions in your sheet which will help you further increase accuracy.
Feel free to drop your doubts in the comments.
Algo Trading (Nifty & BankNifty)What is Algo Trading ( Nifty & Bank Nifty ) Indicator?
There are many 9 to 5 working professionals who have some spare money to invest each month but they can not do active trading because they are busy with their full time job.
So they wish to have an automated system which could take and close trades for them with a proven back-tested strategy, proper money management, ability to trade within particular timings, pre-defined maximum loss they can bear and so on.
This indicator facilities all such needs of working professionals.
How this indicator generates signals?
This indicator generates signals in 3 ways:
(a) Pricing action validated by Jump in Volume
(b) Moving Average Crossovers
(c) Zeta Force Signals as generated by our proprietary formula for Bank Nifty & Nifty
Once a threshold value is crossed, the Buy/Sell signal (LE & SE) appears on the chart and algo keeps track of the current state. Then this state is remembered for the loss or profit the trade is generating and position is closed either when loss crosses the set limit or when profitable trade starts receding.
What are the various features of this indicator?
(a) You can define your session timing i.e. the time period when you want your trades to be taken. For example: between 1000 hrs to 1330 hrs or so on.
(b) You can choose to close all positions by EOD . ( EOD is defined by the user. For example, if you set the session timing between 9:30 to 11:00 am, then indicator will not take any trades outside
this range).
(c) You can define the total loss you can bear during a particular day. For example, if total loss is 5% for the day, the algo stops taking further trades.
(d) You can set up either manual alerts for each event, for example Buy, Sell, Buy Close, Sell Close where you can customize the message you want to display or you can select the 'Any Alert()
function call' option which will generate pop up messages in TradeTron or Algoji friendly format. These signals can be routed to 3rd party platforms for execution. If you have TradeTron or
Algoji Account, you can enter your API key in algo settings, and after that the messages generated will contain your API Key by default.
What are the limitations of this indicator?
You can not make money with any indicator or algo if market is narrow range bound.
For you to make money, there must be a trend or mini-trend. Sometimes, price starts trending for a while and then reverses back. In such cases, multiple Stop Loss Hits might occur.
Can I use this for Option Trading also?
Deep in the money options behave like Futures only. So yes, you can use this algo for Options Trading by buying Deep in the money options.
Can I use this for trading in stocks or any other instrument?
No. The code has been hard-wired for Bank Nifty & Nifty (Indian Indices) only. A different, generic version of this algo is in the pipeline which can be used for Forex or Commodity and Stocks.