PSAR-Support ResistanceParabolic Support Resistance -PSAR SR is based on the Dynamic Reversal Points of Price. This indicator eliminates the false signals of regular Parabolic SAR (Stop and Reverse). The Price of previous SAR Reversal point is plotted as Support and Resistance. The idea is to trade only after the previous reversal point is crossed and a new candle formation above / below the support resistance lines.
Price moves sideways in between the S/R Lines mostly.
Buy and Sell Signals are based on normal P-SAR settings however this S/R must be considered. Please be aware that the indicator cannot be used as a stand alone. Please make required confirmations before going into action.
Disclaimer: Please use it at your own Risk.
Supertrend
Strategy Myth-Busting #12 - OSGFC+SuperTrend - [MYN]This is part of a new series we are calling "Strategy Myth-Busting" where we take open public manual trading strategies and automate them. The goal is to not only validate the authenticity of the claims but to provide an automated version for traders who wish to trade autonomously.
Our 12th one is an automated version of the "The Most Powerful Tradingview Buy Sell Signal Indicator " strategy from "Power of Trading" who doesn't make any official claims but watching how he trades with this, it on the surface looked promising. The strategy author uses this on the 15 min strategy on mostly FOREX. Unfortunately as indicated by the backtest results below, we were not able to substantiate any good positive trading metrics from this, be it Profit, Markdown, Num Of Trades etc. This does seem to do okay with some entries but perhaps adding another indicator to this to filter out more noise might make it better. At least how this strategy is presented now, this is not something I recommend anyone use.
This strategy uses a combination of 2 open-source public indicators:
SuperTrend by TradingView Internal
One-Sided Gaussian Filter w/ Channels By Loxx
The SuperTrend indicator and the One-Sided Gaussian Filter complement each other by providing a more complete and accurate picture of market trends. The SuperTrend indicator is used to identify trends. It does this by calculating a moving average of the underlying securities price and then comparing the current price to the moving average. When the current price is above the moving average, the trend is considered bullish, and when it is below, the trend is considered bearish.
The One-Sided Gaussian Filter is a mathematical tool that is used to smooth out fluctuations in financial data. It does this by removing random noise from the data, making it easier to identify patterns and trends.
When the SuperTrend indicator is used in conjunction with the One-Sided Gaussian Filter, the smoothed price data generated by the filter is used as the input for the SuperTrend calculation. This provides a more accurate representation of market trends and helps to eliminate false signals generated by short-term price movements. As a result, the SuperTrend indicator is able to more accurately identify the underlying trend in the market and provide traders with a cleaner and more reliable signal to act upon.
In summary, the SuperTrend indicator and the One-Sided Gaussian Filter complement each other by providing a more accurate and reliable representation of market trends, resulting in improved performance for traders.
If you know of or have a strategy you want to see myth-busted or just have an idea for one, please feel free to message me.
Trading Rules
15 min candles
FOREX or Crypto
Stop loss at swing high/low | 1.5 risk/ratio
Long Condition
SuperTrend and OSGFC generate buy signal
Close Buy on Gaussian generating a sell signal
Short Condition
SuperTrend and OSGFC generate sell signal
Close Buy on Gaussian generating a buy signal
Trail Blaze - (Multi Function Trailing Stop Loss) - [mutantdog]Shorter version:
As the title states, this is a 'Trailing Stop' type indicator, albeit one with a whole bunch of additional functionality, making it far more versatile and customisable than a standard trailing stop.
The main set of features includes:
Three independent trailing types each with their own +/- multipliers:
- Standard % change
- ATR (aka Supertrend)
- IQR (inter-quartile range)
These can be used in isolation or summed together. A subsequent pair of direction specific multipliers are also included.
Two separate custom source inputs are available, both feature the standard options alongside a selection of 'weighted inputs' and the option to use another indicator (selected via 'AUX'):
- 'Centre' determines the value about which the trailing sum will be added to define the stop level.
- 'Trigger' determines the value used for crossing of stops, initiating trend changes and triggering alerts.
A selection of optional filters and moving averages are available for both.
Furthermore there are various useful visualisation options available, including the underlying bands that govern the stop levels. Preset alerts for trend reversals are also included.
This is not really an 'out-of-the-box' indicator. Depending upon the market and timeframe some adjustments will be necessary for it to function in a useful manner, these can be as simple or complex as the feature-set allows. Basic settings are easy to dial in however and the default state is intended as a good starting point. Alternatively with some experimentation, a plethora of unique and creative configurations are possible, making this a great tool for tweaking. Below is a more detailed overview followed by a bunch of simple example settings.
------------------------
Lengthy Version :
DESIGN & CONCEPT
Before we start breaking this down, a little background. This started off as an attempt to improve upon the ever-popular Supertrend indicator. Of course there are many excellent user created variants available utilising some interesting methods to overcome the drawbacks of the basic version. To that end, rather than copying the work of others, the direction here shifted towards a hybrid trailing stop loss with a bunch of additional user customisation options. At some point, a completely different project involving IQR got morphed into this one. After sitting through months of sideways chop (where this proved to be of limited use), at the time of publication the market has began to form some near term trend direction and it appears to be performing well in many different timeframes.
And so with that out of the way...
INPUTS
The standard Supertrend (and most other variants) includes a single source input, as default set to 'hl2' (candle mid-range). This is the centre around which the atr bands are added/subtracted to govern the stop levels. This is not however the value which is used to trigger the trend reversal, that is usually hard-coded to 'close'. For this version both source values are adjustable: labelled 'centre' and 'trigger' respectively.
Each has custom input selectors including the usual options, a selection of 'weighted inputs' and the option to use another indicator (selected from the Aux input). The 'weighted inputs' are those introduced in Weight Gain 4000, for more details please refer to that listing. These should be treated as experimental, however may prove useful in certain configurations. In this case 'hl-oc2' can be considered an estimate of the candle median and may be a good alternative to the default 'centre' setting of 'hl2', in contrast 'cc-ohlc4' can tend to favour the extremes in the trend direction so could be useful as a faster 'trigger' than the default 'close'.
To cap them off both come with a selection of moving average filters (SMA, EMA, WMA, RMA, HMA, VWMA and a simple VWEMA - note: not elastic) aswell as median and mid-range. 'Centre' can also be set to the output of 'trigger' post-filter which can be useful if working with fast/slow crosses as the basis.
DYNAMICS
This is the main section, comprised of three separate factors: 'TSL', 'ATR' and 'IQR'. The first two should be fairly obvious, 'TSL' (trailing stop loss) is simply a percentage of the 'centre' value while 'ATR' (average true range) is the standard RMA-based version as used in Supertrend, Volatility Stop etc.
The third factor is less common however: 'IQR' (inter-quartile range). In case you are unfamiliar the principle here is, for a given dataset, the greatest 25% and smallest 25% of samples are removed. The remainder is then treated as a set and the range is calculated by highest - lowest. This is a commonly used method in statistical analysis, by removing the extremes it is less prone to influence by outliers and gives a good representation of the main dispersion around the median. In practise i have found it can be a good alternative to ATR, translating better across multiple time-frames due to it representing a fraction of the total range rather than an average of per-candle range like ATR. Used in combination with the others it can also add a factor more representative of longer-term/higher-timeframe trend. By discarding outliers it also benefits from not being impacted by brief pumps/volatility, instead responding only to more sustained changes in trend, such as rallies and parabolic moves. In order to give an accurate result the IQR is calculated using a dataset of high, low and hlcc4 values for all bars within the lookback length. Once calculated this value is then halved which, strictly speaking, makes it a semi-interquartile range.
All three of these components can be used individually or summed together to create a hybrid dynamics factor. Furthermore each multiplier can be set to both positive and negative values allowing for some interesting and creative possibilities. An optional smoothing filter can be applied to the sum, this is a basic SWMA-4 which is can reduce the impact of sudden changes but does incur a noticeable lag. Finally, a basic limiter condition has been hard-coded here to prevent the sum total from ever going below zero.
Capping off this section is a pair of direction multipliers. These simply take the prior dynamics sum and allow for further multiplication applied only to one side (uptrend/lo-stop and downtrend/hi-stop). To see why this is useful consider that markets often behave differently in each direction, we've all seen prices steadily climb over several weeks and then abruptly dump in the process of a day or two, shorter time frames are no stranger to this either. A lack of downside liquidity, a panicked market, aggressive shorts. All these things contribute to significant differences in downward price action. This function allows for tighter stops in one direction compared to the other to reflect this imbalance.
VISUALISATIONS
With all of these options and possibilities, some visual aids are useful. Beneath the dynamics' section are several visual options including both sources post-filter and the actual 'bands' created by the dynamics. These are what govern the stop levels and seeing them in full can help to better understand what our various configurations actually do. We can even hide the stop levels altogether and just use the bands, making this a kind of expanded Keltner Channel. Here we can also find colour and opacity settings for everything we've discussed.
EXAMPLES
The obvious first example here is the standard %-change trailing stop loss which, from my experience, tends to be the best suited for lower time frames. Filtering should probably minimal here. In both charts here we use the default config for source inputs, the top is a standard bi-directional setup with 1.5% tsl while the bottom uses a 2.5% tsl with the histop multiplier reduced to 0 resulting in an uptrend only stoploss.
Shown here in grey is the standard Supertrend which uses 'hl2' as centre and 'close' as trigger, ATR(10) multiplied by 3. On top we have the default filtered source config with ATR(8) multiplied by 2 which gives a different yet functionally similar result, below is the same source config instead using IQR(12) multiplied by 2. Notice here the more 'stepped' response from IQR following the central rally, holding back for a while before closing in on price and ultimately initiating reversal much sooner. Unlike ATR, the length parameter for IQR is absolute and can more significantly affect its responsiveness.
Next we focus on the visualisation options, on top we have the default source config with ATR(8) multiplied by 2 and IQR(12) multiplied by 1. Here we have activated the switch to show 'bands', from this we can see the actual summed dynamics and how it influences the stop levels. Below that we have an altogether different config utilising the included filters which are now visible. In this example we have created a basic 8/21 EMA cross and set a 1% TSL, notice the brief fakeout in the middle which ordinarily might indicate a buy signal. Here the TSL functions as an additional requirement which in this case is not met and thus no buy signal is given.
Finally we have a couple of more 'experimental' examples. On top we have Lazybear's 'Variable Moving Average' in white which has been assigned via 'aux' as the centre with no additional filtering, the default config for trigger is used here and a basic TSL of 1.5% added. It's a simple example but it shows how this can be applied to other indicators. At the bottom we return to the default source config, combining a TSL of 8% with IQR(24) multiplied by -2. Note here the negative IQR with greater length which causes the stop to close in on price following significant deviations while otherwise remaining fairly wide. Combining positive and negative multiples of each factor can yield mixed results, some more useful than others depending upon suitable market conditions.
Since this has been quite lengthy, i shall leave it there. Suffice to say that there are plenty more ways to use this besides these examples. Please feel free to share any of your own ideas in the comments below. Enjoy.
Profitable Supertrend v0.1 - AlphaThis a script to try detect the best combination of supertrend parameters in a space of time. Sadly the script is slow. Evaluate all possibilities params is hard for a pinescript and my knowledge too. In some cases, when you want evaluate many time could be the script fails for timeout. Perhaps with time I could enhance. For this problem of speed the calculate of combinatios it's not complete: In factor use a increment of 0.2 in each param (0.1, 0.3, 0.5 ...) in period the increment for each value is 3. The range for factor it's from 3.0 to 12.0. The range of period it's from 10 to 43
My knowledge don't let me go more far. Perhaps with time I can enhance the script.
HSupertrendLibrary "HSupertrend"
Supertrend implementation based on harmonic patterns
hsupertrend(zProperties, pProperties, errorPercent, showPatterns, patternColor)
derives supertrend based on harmonic patterns
Parameters:
zProperties : ZigzagProperties containing Zigzag length and source array
pProperties : PatternProperties used for calculation
errorPercent : Error threshold for scanning patterns
showPatterns : Draw identified patterns structure on chart
patternColor : Color of the pattern lines to be drawn
Returns:
ZigzagProperties
ZigzagProperties contains values required for zigzag calculation
Fields:
length : Zigzag length
source : Array containing custom OHLC. If not set, array.from(high, low) is used
PatternProperties
PatternProperties are essential pattern parameters used for calculation of bullish and bearish zones
Fields:
base : Base for calculating entry and stop of pattern. Can be CD, minmax or correction. Default is CD
entryPercent : Distance from D in terms of percent of Base in the direction of pattern
stopPercent : Distance from D in terms of percent of Base in the opposite direction of pattern
useClosePrices : When set uses close price for calculation of supertrend breakout
Harmonic Patterns Based SupertrendExtending the earlier implemented concept of Harmonic-Patterns-Based-Trend-Follower , in this script, lets make it work as supertrend so that it is more easier to operate.
🎲 Process
🎯 Derive Zigzag and scan harmonic patterns for last 5 confirmed pivots
🎯 If a pattern is found, bullish and bearish zones are calculated based on parameter Base
🎯 These bullish and bearish zones act as supertrend based on current trade in progress.
🎯 When in bullish mode, bearish zone will only go up irrespective of new pattern forming new low. Similarly when in bearish mode, bullish zones will only come down - this is done to imitate the standard supertrend behaviour.
🎲 Note
Patterns are not created on latest pivot as last pivot will be unconfirmed and moving. Due to this, patterns appear after certain delay - patterns will not be real time. But, this is expected and does not impact the overall process.
Here are few chart captures to demonstrate how it works.
🎲 Settings
Settings are explained in the screenshot below.
Trendly
╭━━━━╮╱╱╱╱╱╱╱╱╭┳╮
┃╭╮╭╮┃╱╱╱╱╱╱╱╱┃┃┃
╰╯┃┃┣┻┳━━┳━╮╭━╯┃┃╭╮╱╭╮
╱╱┃┃┃╭┫┃━┫╭╮┫╭╮┃┃┃┃╱┃┃
╱╱┃┃┃┃┃┃━┫┃┃┃╰╯┃╰┫╰━╯┃
╱╱╰╯╰╯╰━━┻╯╰┻━━┻━┻━╮╭╯
╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╭━╯┃
╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╰━━╯
About the script:
This script is an easy-to-use trend indicator, which is based on another popular indicator called "Supertrend" . The basic idea is very simple, i.e. to compute Average True Range(ATR) and use that as the basis for trend detection. The key difference lies in a custom trend detection method, that computes trends across different timeframes and projects them in a table view. The script also tries to improve the behaviour of the existing indicator by highlighting flat regions on the chart, indicating sideways market or potential trend reversals.
How to use it:
You can use it just like any other indicator, add it to your chart and start analysing market trends. Results can be interpreted as follows.
Indicator output is currently made up of two main components:
>> Trend Table:
Appears at the bottom right of your screen
Contains trend indicator for 9 different timeframes
Timeframes can be adjusted using indicator settings panel
Green Up Arrow --> Up Trend
Red Down Arrow --> Down Trend
>> Enhanced Supertrend:
Shows up as a line plot on the chart
Green line indicates up trend
Red line indicates down trend
White regions indicates slow moving markets or a potential trend reversal
Indicator can be used on any timeframe, it provides a view of current and historical market trend
Can be used as an indicator for entering/exiting trades
Can be used to build custom trading strategies
Heikin Ashi SupertrendAbout this Strategy
This supertrend strategy uses the Heikin Ashi candles to generate the supertrend but enters and exits trades using normal candle close prices. If you use the standard built in Supertrend indicator on Heikin Ashi candles, it will produce very unrealistic backtesting results because it uses the Heikin Ashi prices instead of the real prices. However, by signaling the supertrend reversals using Heikin Ashi while using standard candle close prices for the entries and exits, it corrects the backtesting errors and gives you a more realistic equity curve. You should set the chart to use standard candles and then hide them (the strategy creates the candles).
This strategy includes:
Plotting of Heikin Ashi candles
Heikin Ashi Supertrend
Long and Short Entry Signals
Move stop loss after trade is X% in profit
Profit Target
Stop Loss
Built in Alertatron automation
Alertatron Trade Automation Integration
For Alertatron integration, be sure to configure the strategy settings and "Enable Webhook Messages" before creating an alert with {{strategy.order.alert_message}} in the body of your alert message. Be sure to enable webhooks and point it to your Incoming Alertatron webhook URL.
Notes
While this strategy does pretty well during trending markets, It's worth noting that the Buy and Hold ROI is much better during peak times of the bull market
Not financial advice. Do not risk more than you can afford to lose.
[Sniper] SuperTrend + SSL Hybrid + QQE MODHi. I’m DuDu95.
**********************************************************************************
This is the script for the series called "Sniper".
*** What is "Sniper" Series? ***
"Sniper" series is the project that I’m going to start.
In "Sniper" Series, I’m going to "snipe and shoot" the youtuber’s strategy: to find out whether the youtuber’s video about strategy is "true or false".
Specifically, I’m going to do the things below.
1. Implement "Youtuber’s strategy" into pinescript code.
2. Then I will "backtest" and prove whether "the strategy really works" in the specific ticker (e.g. BTCUSDT) for the specific timeframe (e.g. 5m).
3. Based on the backtest result, I will rate and judge whether the youtube video is "true" or "false", and then rate the validity, reliability, robustness, of the strategy. (like a lie detector)
*** What is the purpose of this series? ***
1. To notify whether the strategy really works for the people who watched the youtube video.
2. To find and build my own scalping / day trading strategy that really works.
**********************************************************************************
*** Strategy Description ***
This strategy is from " QQE MOD + supertrend + ssl hybrid" by korean youtuber "코인투데이".
"코인투데이" claimed that this strategy will make you a lot of money in any crypto ticker in 15 minute timeframe.
### Entry Logic
1. Long Entry Logic
- Super Trend Short -> Long
- close > SSL Hybrid baseline upper k
- QQE MOD should be blue
2. Short Entry Logic
- Super Trend Long -> Short
- close < SSL Hybrid baseline lower k
- QQE MOD should be red
### Exit Logic
1. Long Exit Logic
- Super Trend Long -> Short
2. Short Entry Logic
- Super Trend Short -> Long
### StopLoss
1. Can Choose Stop Loss Type: Percent, ATR, Previous Low / High.
2. Can Chosse inputs of each Stop Loss Type.
### Take Profit
1. Can set Risk Reward Ratio for Take Profit.
- To simplify backtest, I erased all other options except RR Ratio.
- You can add Take Profit Logic by adding options in the code.
2. Can set Take Profit Quantity.
### Risk Manangement
1. Can choose whether to use Risk Manangement Logic.
- This controls the Quantity of the Entry.
- e.g. If you want to take 3% risk per trade and stop loss price is 6% below the long entry price,
then 50% of your equity will be used for trade.
2. Can choose How much risk you would take per trade.
### Plot
1. Added Labels to check the data of entry / exit positions.
2. Changed and Added color different from the original one. (green: #02732A, red: #D92332, yellow: #F2E313)
3. SuperTrend and SSL Hybrid Baseline is by default drawn on the chart.
4. If you check EMA filter, EMA would be drawn on the chart.
5. Should add QQE MOD indicator manually if you want to see QQE MOD.
**********************************************************************************
*** Rating: True or False?
### Rating:
→ 3.5 / 5 (0 = Trash, 1 = Bad, 2 = Not Good, 3 = Good, 4 = Great, 5 = Excellent)
### True or False?
→ True but not a 'perfect true'.
→ It did made a small profit on 15 minute timeframe. But it made a profit so it's true.
→ It worked well in longer timeframe. I think super trend works well so I will work on this further.
### Better Option?
→ Use this for Day trading or Swing Trading, not for Scalping. (Bigger Timeframe)
→ Although the result was not good at 15 minute timeframe, it was quite profitable in 1h, 2h, 4h, 8h, 1d timeframe.
→ Crypto like BTC, ETH was ok.
→ The result was better when I use EMA filter.
### Robust?
→ Yes. Although result was super bad in 5m timeframe, backtest result was "consistently" profitable on longer timeframe (when timeframe was bigger than 15m, it was profitable).
→ Also, MDD was good under risk management option on.
**********************************************************************************
*** Conclusion?
→ I recommend you not to use this on short timeframe as the youtuber first mentioned.
→ In my opinion, I can use on longer timeframe like 2h or bigger with EMA filter, stoploss and risk management.
Auto SuperTrend+Based upon SuperTrend+ , this variation measures the volatility in order to determine the range of the trend.
Notes:
Upward volatility is measured separately from downward.
WMA is used for averaging to provide a recency bias.
Changing time-frames should display similar results as the settings are based upon time and not bars.
Bearish Market Indicator V2Definition
Have you ever wonder whether if the stock/index/market is "bearish" ? A Bearish Market Indicator (B.M.I) is not a new concept, the definition is simply 20% lower from the recent (term: short-term, recent: usually within a year, a.k.a 1 year) highs (closing price with in the recent period or within in a year or simply a 52-Week High). It is called “bearish” by definition when the closing price is below 20% from the highest price within the year (52-Week high: Green Line). To visualize the “20%” below the recent highs, there is a plot (line: light yellow color in the middle) called a Bearish Market By Definition Value. For example, the SPX 500 has been in a bearish market which is why there is a purple color highlight over the 52-Week High (green line) since September 21, 2022 because the closing price is below the Bearish Market By Definition Value (light yellow color) or “20% below the recent highs”. Finally, there is a red line under in the graph and it is the lowest price within a year. So when you hear, “this ticker is at a 52-Week Low”, you know what it means.
Line Summary:
Green Color Line = 52-Week High
Yellow Color Line = 20% away from the 52-Week High or Bearish Market By Definition Value
Red Color Line = 52-Week Low
Color Summary:
Red Color = Bad
Saturated Red Color = Very Bad
Purple Color = Bearish (It may look pink: red + purple)
White Color = Less Bad (That’s because there is no certainty only probability)
Green Color = Not too Bad (That’s because there is no certainty only probability)
Now to more complicated Metrics
>> If you do not like the technical indicators, go to the indicator settings, uncheck the tables. Otherwise, please continue reading. <<
Pre-requisites
+ Understand that the indicators are lagging indicators.
+ Using it under “D” or “Day” interval
+ Already Understand: Moving Averages, Stochastic-RSI, RSI, Super Trend and MACD.
+ Please be aware that this might not be compatible with traders!
Indicators
This B.M.I is fused (comprised, combined) with multiple indicators:
- Moving Averages
I would not rely just on the Moving Averages (MA) since it is a lagging indicator. The values are derived by finding the differences with respect to the MAs (between the closing price and with the respect MA).
- Stochastic-RSI
Stochastic and RSI combo with RSI-Color coating. The first value is the rsi-stochastic-k followed by the rsi-stochastic-d both are compartmentalized with “|”.
Parameter:
Numbers > 80 Not Good
Numbers < 20 Is it time? (You can manually verify the lines (k, d) or the values from them)
- Relative Strength Index (RSI)
The first value is the rsi followed by the rsi-ma both are compartmentalized with “|”. It is also coated with RSI-color.
Parameter:
Numbers > 70 Overbought | Color Red
If the RSI > RSI’s MA = Green
If the RSI < RSI’s MA = Red
Numbers < 30 Oversold | Color Red
- Moving Averages Convergence Divergence (MACD)
The first value is the MACD-line followed by the signal-line both are compartmentalized with “|”.
Macd-line > signal line = green
Macd-line < signal line = red
- Supertrend (please look up from the documentation; i can not embed the link)
Think of this way, you’re riding a wave. If the wave is climbing, expect the price to follow.
Direction < 0 = Green
Direction > 0 = Red
- Other Trend similar to supertrend
This is similar to the Super Trend according the some. Imagine you’re drawing a trend line manually within 6 months.
Within the period, the line gets smoothed over and over til the n=9.
> If the closing is less than the 9th value, it implies the trend is slowing down.
Usage
Adjustments
+ Since there are different holidays from different countries, you can change the BMI-Period from the indicator settings “BMI-4khansolo”.
+ You can hide Technical Indicator Tables, it is also under the settings (see above).
> This will show red over the 52-Week high if it tests for positive .
Purpose
Do you like eating the same food over and over? No! I love different food! I also love a variety of indicators. Especially, I love having MULTIPLE indicators presented in one canvas at the same time (personalized).
After spending a lot of time, I want to share my “FOOD” which is made of different ingredients (indicators) with someone who appreciates food! This Makes me a chef isn't it? Yes! Chef!
Questions?
If you have questions or spotted errors, please comment them below so that I can improve.
Sources
All the materials (i.e., functions like ta.rsi, etc...) used in here are available in the platform.
All the references or sources materials are commented with the code since the I am not allowed to put them here.
Double RSI TrendThis is my Double RSI Trend Indicator. It issues Buy and Sell signals based on the Supertrend and a double RSI . The RSIs cross near or at the same time as the Supertrend fires. It has the ability to change if you want signals based on the RSI cross on the same candle, one candle before, and two candles before. I find this one extremely good at catching reversals as long as you filter out some of the signals based on trend.
Orion:Supertrend HybridSupertrend Hybrid
This indicator is a combination of the Supertrend and Donchian Channels.
The original Supertrend indicator shades the area from the mean (hl2) of the bar/candle to the Supertrend line.
This Hybrid uses the mid section of the Donchian channel to the Supertrend line as the area to be shaded.
This provides a visual of when prices are getting close to potentially reversing the trend.
Values:
Length = Length of the Donchian Channels (Default: 12)
ATR Length = Lookback length of the ATR calculation (Default: 10)
Factor = Multiply the ATR by this value to get a trend reversal value (Default: 3.0)
Prices cross above the red line indicating a bullish trend is in play
Prices cross below the green line indicating a bearish trend is in play
Yellow line represents the mid-section of the Donchian Channel.
Suggested usage:
Add a Stochastic and set the Stochastic %K Length to the same value as the Donchian Length.
When below trend (red line dominate) and prices cross into the shaded area, if stochastic crosses above 70, prices may challenge/cross the red trend line.
When above trend (green line dominate) and prices cross into the shaded area, if stochastic crosses below 30, prices may challenge/cross the green trend line.
IF in an up trend (green line dominate) and stochastic crosses/remains above 70, potential higher price movement exists.
IF in an down trend (red line dominate) and stochastic crosses/remains below 30, potential lower price movement exists.
Supertrend, MA 44|6, EMA FIBS 13|21|34I have this indicator based on my strategy. This indicator is based on existing functions available in the system. I haven't added anything new. This indicator uses Supertrend, MA44|6, EMA fibs 13|21|34 combining to find a profitable trade.
- Supertrend : Indicator uses supertrend strategy with default ATR period of 10 and Factor value 3. These values can be customized based on your preferences. Uptrend is denoted by green color and downtrend by red color. You can change the colors based on your preferences.
- MA 44|6: Indicator plots moving averages of 44 and 6. These values can be customized based on your preferences. Although it is highly recommended to keep 44 as is. Value 6 can be adjusted based on your preference. Default color for uptrend is green and for downtrend is red. You can change the colors based on your preferences.
- FIBS EMA 13|21|34: Indicator plots EMA of fibbonacci numbers 13, 21,34 to identify consolidation and breakout. The periods can be adjusted but it is highly recommended not to do so. Default colors for 13,21 and 34 is Aqua, Blue and Navy respectively. You can change the colors based on your preferences.
When to take trade?
To take a trade all conditions needs to be fulfilled.
Supertrend : Always take a trade in the direction of Supertrend. It is always advisable to take trade if the trend is changing or price is taking support of resistance.
MA 44|6: Moving average 44 indicates average price of 44 last candles and 6 for last 6 candles. Price crossing MA 44 indicates change in trend. It is advisable to take trade at crossing the line above or below. If many candles closing near MA 44 then it indicates consolidation. The more far the candle closes from MA44 the better. MA 6 is used to identify when to enter or exit the trade. If candle closes away from MA 6 then you can wait for candle to start near the MA 6 line. If candle closes above/below MA 6 you can exit your trade.
Fibonacci 13|21|34: When all lines are closed it indicates consolidation. When price breakouts to either direction you can take a trade in that direction with following conditions.
Bullish Trade:
When to enter?
If candle closed above MA 44, Supertrend is uptrend and EMA Fibs are moving away and are above MA 44. The price is near to MA 6 line then you can enter into bullish trade. If price is away from MA 6 then you should wait until the price/line comes near to avoid loss.
When to exit?
Price moving in opposite direction:
You should set a stop loss when you enter the trade. The stop loss can be set below the low of the previous candle or any other strategy you have. But it is really important to set the stop loss. If price moves in opposite direction then your stop loss will hit and you will be out of the trade.
Price moving in same direction:
Once you enter the trade you can exit based on two conditions whichever suits you.
1. Exit the trade if candle closes below MA6. The drawback is you may exit too early. You can also adjust the period based on your preferences.
2. Exit the trade if candle closed below low of previous candle. The drawback is you may book less profit but you can capture the movement very well.
Bearish Trade:
When to enter?
If candle closed below MA 44, Supertrend is downtrend and EMA Fibs are moving away and are below MA 44. The price is near to MA 6 line then you can enter into bearish trade. If price is away from MA 6 then you should wait until the price/line comes near to avoid loss.
When to exit?
Price moving in opposite direction:
You should set a stop loss when you enter the trade. The stop loss can be set below the low of the previous candle or any other strategy you have. But it is really important to set the stop loss. If price moves in opposite direction then your stop loss will hit and you will be out of the trade.
Price moving in same direction:
Once you enter the trade you can exit based on two conditions whichever suits you.
1. Exit the trade if candle closes below MA6. The drawback is you may exit too early. You can also adjust the period based on your preferences.
2. Exit the trade if candle closed below low of previous candle. The drawback is you may book less profit but you can capture the movement very well.
When not to take trade?
1. If MA 44 is completely horizontal and EMA Fibs are very close to each other. This indicates that the market is consolidated and if you enter the trade you may hit stop loss very often.
Note: Please note that I am not expert and I don't take any responsibility of your profits or losses. I have created this indicator based on my knowledge and it is for study purpose. Use of this indicator is totally your responsibility. Use all your knowledge and expertise and don't totally depend on the indicator. Don't forget to use stop loss and do money management.
Happy Trading!
Trend SuggestionsThis brings together a number of variables to produce trend predictions that could be utilized as decision-making tools.
Uses the aforementioned price and volume derivatives
- A moving average and three weighted moving averages (WMA1, WMA2, WMA3)
- Super Trend Line (ST)
- Opening Range Breakout on Five Minutes, Resistance Bands Pocket pivots, support, and price volume
he Direction is determined by the High and Low Bands of WMAs and the Supertrend Line, which are used to determine the Upper and Lower Lines around the Price. When the price passes below the lower boundary of the band, a downtrend is said to have begun.
Similarly, for an uptrend, this continues until the price passes over the upper edge of the band. Teal for an uptrend and fuchsia for a downturn area shared by the band to identify the trend.
The first five minutes of the breakout lines have a tiny buffer augmentation of 11% applied to them.
Based on what has been observed, support and resistance zones have been somewhat changed from the figures that are often utilized (might work other markets as well)
The markings that may be seen are as follows:
- Blue Triangle indicates a pocket pivot with an upward bias;
- Maroon Triangle indicates a pocket pivot with a downward bias;
- Teal colored Diamonds indicate price upthrusts and potential trend confirmation locations, depending on success or failure.
- Similar backdrop color changes that look as vertical shading are also used to identify them.
- Fuchsia-colored diamonds indicate price declines and a potential trend, depending on whether it persists or fails.
- Dark green and maroon square boxes indicate potential price reversals in the support and resistance bands, respectively.
It goes without saying that this work is derived from numerous other open-source community initiatives.
Feel free to adjust anything you'd like, and we appreciate any feedback.
Range Detector Indicator [Misu]█ This indicator shows an upper and lower band based on Highs and Lows.
Depending on this, the indicator interprets a ranging market, an uptrend or a downtrend.
█ Usages:
The purpose of this indicator is to identify when the price is ranging.
It's also used to identify changes in trends, breaking points, and trend reversals.
But it can also be used to show resistance or support levels.
█ Features:
> Price Action Change Alerts
> Price Action Change Labels
> Color Bars
> Show Bands
█ Parameters:
Deviation: A parameter used to calculate pivots.
Depth: A parameter used to calculate pivots.
Activate Range Detection: Check the box to activate range detection.
Band% Offset: A factor that is used to vary the bands offset.
CPR with MAs, Super Trend & VWAP by MackraniThis script will allow to add CPR with Standard Pivots and 4 Indicators.
Standard Pivot has 9 levels of support and 9 levels of resistance lines. It has CPR , 3 levels of Day-wise pivots , 3 levels of Weekly pivots and 3 Levels of Monthly Pivots .
In Addition to the CPR and Pivot , this script will allow user to Add 4 more Indicators - SMA , EMA , VWAP and SuperTrend as well.
All the Support and resistance levels can be enabled / disabled from settings. It will allow to select multiple combinations of support and resistance levels across 3 levels at any of the 3 time-frames individually and combined.
All 4 Indicators can be can be enabled / disabled from settings. This will allow the indicators to be plotted individually and combined along with any combination of CPR & Pivots .
These number of combinations will allow user to visualize the charts with desired indicators, pivot support & resistance levels on all or any of the 3 time frames.
For Ease of access, listed few points on how the script works..
- CPR and day-wise level 1 & 2 (S1 & R1) enabled by default and can be changed from settings
- Day-wise Level 2 & 3 (S2, R2, S3 & L3) can be enabled from settings
- Weekly 3 levels and Monthly 3 levels can be enabled from settings
- CPR & pivot levels colored in blue lines
- All support levels colored in Green
- All resistance levels Colored in Red
- Day-wise pivot , support & resistance are straight lines
- Weekly pivot , support & resistance are cross (+) lines
- Weekly pivot , support & resistance are circle (o) lines
- SMA , EMA , VWAP and SuperTrend Enabled by Default
- SMA Colored in Orange
- EMA Colored in Red
- EMA Colored in Teal
- SuperTrend Colored in standard Red & Green with triangle arrows
- Any combinations can be selected from settings-> Inputs & style
Supertrend - Long & Short -Sachin Ughadethis indicator for super trend strategy with buy and sell signals
supertrend advanceHELLO FRIENDS ...............THIS IS SUPERTREND ADVANCE WITH HENKIASHI CANDLE ...I got so many request on supertrend with henkiashi. This is for all of them ..I am making it open for all so you can change its coding according to your need
SOME IMPONTENT UPDATE IN THIS SUPERTRNED
1) You Can Use It for option trading ...you can do algo option trading using this strategy
2) YOU CAN USE CUSTOME SYNTAX TO ALGO TRADE IN STOCK,FOREX,COMMODITY AND CRYPTO
3) YO CAN USE IT IN INTRADAY TIME PERIOD ALSO U CAN SET ITS ENTRY AND EXIT TIME
4) YOU CAN USE HENKIASHI SUPERTREND ON NORMAL CANDLE STICK CHART
5) YOU CAN USE ITS QUNTITY FEATURE .BY THIS WAY U CAN DOUBLE YOUR QUNTITY SIZE ON LOSSING TRADE AND WHEN PROIFT TRADE OCCUR ITS QUNTITY AGAIN AUTOMATICALLY SHIFTED TO NORMAL QUNTITY ....THIS FEATURE ONLY HELP TRADER WITH MORE MARGIN....USE THIS FEATURE PROPERLY.THIS FEATURE BEST WORK ON ONE SIDE MEANS ONLY BUY SIDE TRADE OR SELL SIDE TRADE
6)YOU CAN SET YOUR TARGET AND STOPLOSS IN POINTS AND IN PERCENTAGE
7) YOU CAN CHOSE ONE SIDE TO TRADE ONLY BUY SIDE OR SELL SIDE
HOPE THIS FEARTURES HELPS EVERY ONE
ALL THE BEST FOR SUCESSFULL TRADING
SuperTrend Momentum TableMy goal creating this indicator : Provide a way to see the Past and Current Momentum of multiple different timeframes without using multiple charts.
The Underlying Concept / What is Momentum?
The Momentum shown is derived from a Mathematical Formula, SUPERTREND. When price closes above Supertrend Its bullish Momentum when its below Supertrend its Bearish Momentum.This indicator scans for bullish & bearish Momentum on the Timeframes selected by the user and when there is a shift in momentum on any of those time frames (price closes below or above SUPERTREND ) it notifies the trader with a color change on the Momentum Table.
Back Testing: This indicator will be key for back testing with the SuperTrend-Support-Resistance indicator
since the SuperTrend Momentum Table shows you the visual shift in momentum. Giving the Trader a Clear visual on how Each Support and Resistance Level was made .
Technical Inputs
- If you want to optimize the rate of signals to better fit your trading plan you would change the Factor input and ATR Length input. Increase factor and ATR Length to decrease the frequency of signals and decrease the Factor and ATR Length to increase the frequency of signals.
Quick TIP! : You can Sync all VFX SuperTrend Indicators together! All VFX SuperTrend indicators display unique information but its all derived from that same Momentum Formula. Keep the Factor input and ATR Length the same on other VFX SuperTrend indicators to have them operating on the same data.
Timeframe Inputs
- The indicator has 7 Time frame Displays where you can choose which Time Frames you would like to monitor.
- You can limit the amount of time frames being displayed by changing the Time Frame Amount
Display Inputs
- The trader can specify the bullish and bearish color of all 7 Timeframes
- You can toggle (on or off) the Momentum Switch if you want to highlight the exact candle where momentum switched from bullish to bearish and from bearish to bullish .
How it can be Used ? Check the momentum of other Timeframes and use that information as a variable to structure your trading plan.
- Use Momentum information to track the trend
- Plan and limit trades based on the current Momentum of multiple timeframes
- See if you have higher momentum to fuel your trades
- See breakouts on Multiple Time Frames
6 Multi-Timeframe Supertrend with Heikin Ashi as Source
This is a multiple multi-timeframe version of famous supertrernd only with Heikin Ashi as source. Atr which stands in the heart of supertrend is calculated based on heikin-ashi bars which omits a great deal of noises.
with 6 multiplication of the supertrend, its simply much easier to spot trend direction or use it as trailing stop with several levels available.
this is a great tool to assess and manage your risk and calculate your position volume if you use the heikin ashi supertrend as your stoploss.
SuperTrend Support & Resistance(My goal creating this indicator) : Provide a way to categorize and label key structures on multiple time frames so I can create a plan based on those observable facts.
The Underlying Concept / What is Momentum?
The Momentum shown is derived from a Mathematical Formula, SUPERTREND. When price closes above Supertrend Its bullish Momentum when its below Supertrend its Bearish Momentum. On the first bar bearish momentum is detected a resistance Level is made at the highest point of the previous bullish condition. On the first bar bullish momentum is detected a support Level is made at the lowest point of the previous bearish condition. As I become a better analyst I will find better techniques and this source code may become open-source, but as of now it remains protected. This indicator scans for bullish & bearish Momentum on the Timeframes selected by the user and when there is a shift in momentum on any of those time frames (price closes below or above SUPERTREND ) it notifies the trader with a Supply or Demand level with a unique color and Size to signify the severity of said level.
What is Severity?
Severity is How we differentiate the importance of different Highs and Lows. If Momentum is detected on a higher timeframe the Supply or Demand Level is updated. The Color and Size representing that higher timeframe will be shown. Demand and Supply Levels made by higher Timeframes are more SEVERE then a demand level made by a lower Timeframe.
Technical Inputs
- If you want to optimize the rate of signals to better fit your trading plan you would change the Factor input and ATR Length input. Increase factor and ATR Length to decrease the frequency of signals and decrease the Factor and ATR Length to increase the frequency of signals.
- to ensure the correct calculation of Support and Resistance levels change BAR_INDEX. BAR_INDEX creates a buffer at the start of the chart. For example: If you set BAR_INDEX to 300. The script will wait for 300 bars to elapse on the current chart before running. This allows the script more time to gather data. Which is needed in order for our dynamic lookback length to never return an error(Dynamic lookback length cant be negative or zero). The lower the timeframe the greater the amount of bars need. For Example if I open up a 30 sec chart I would enter 5000 as my BAR_INDEX since that will provide enough data to ensure the correct calculation of Support and Resistance levels.
Time Frame Inputs
- The indicator has 3 Time Frame Displays where you can choose how SEVERE You want the Supply and Demand Levels. For Example: 1min, 3min, 5min, 15 min Levels, 60 min levels Weekly Levels, etc.....The higher the Timeframe Selected the more SEVERE the Level.
- Use the Amount of time Frames input to increase or limit the amount of time frames that will be displayed onto the chart.
Display Inputs
- The toggle (Trend or Basic) option Lets the trend determine the colors of the Support and Resistance Levels or Basic where the color is strictly based on if its a high or a low ( Trend = HH,HL,LL,LH)
- Toggle options (Close) and (High & Low) creates Support and Resistance Levels using the Lowest close and Highest close or using the Lowest low and Highest high.
Toggle on both or toggle off both in order to use both these values when determining the trend of your chart. For Example this would mean (Price has to close higher then the highest high. Not only make a higher high or a
higher close) and the inverse (Price has to close lower then the lowest low. Not only make a lower low or a lower close)
How Trend Is being Determined ?
(Previous Supply Level > Current Supply Level ) if this statement is true then its s LH so the trend is bearish if this statement is false then its a HH so the trend is bullish
(Previous Demand Level > Current Demand Level ) if this statement is true then its a LL so the trend is bearish if this statement is false then its a HL so the trend is bullish
(Close > Current Supply Level ) if this statement is true technically price made a HH so the trend is bullish
(Close < Current Demand Level ) if this statement is true technically price made a LL so the trend is bearish
- Fully customize how you display and label Market Structure in specific timeframes. Line Length, Line Width, Line Style, Label Distance, Label Size, Label Background Size, and Background Color can all be customized.
- Lastly Is the Trend Chart. To Easily verify the current trend of any timeframes displayed by this indicator toggle on Chart On/Off . You also get the option to change the Chart Position and the size of the Trend Chart
*****The Current charts timeframe has to lower then a month to ensure correct calculation of Supply and Demand Levels*****
How it can be used ?
(Examples of Different ways you can use this indicator) : Easily categorize the severity of each and every Supply or Demand Level in the market (The higher the time frame the stronger the level)
: Quickly Determine the trend of any Timeframe
: Get a consistent view of a market and how different time frames are behaving but just use one chart.
: Take the discretion from hand drawing support and resistance lines out of your trading
: Find and categorize strong levels for potential breakouts
: Trend Analysis, Use multiple time frames to create a narrative based on observable facts from these time frames
: Different Targets to take money off the table
: Use labels to differentiate between different trend line setups
: Find Great places to move your stop loss too.
FDI-Adaptive Supertrend w/ Floating Levels [Loxx]FDI-Adaptive Supertrend w/ Floating Levels is a Fractal Dimension Index adaptive Supertrend indicator. This allows Supertrend to better adaptive to volatility of the market. This also includes floating levels that act as support and resistance, stop loss or take profit, or indication of market reversal. Additional signal types will be added in the future based on these floating levels.
What is the Fractal Dimension Index?
The goal of the fractal dimension index is to determine whether the market is trending or in a trading range. It does not measure the direction of the trend. A value less than 1.5 indicates that the price series is persistent or that the market is trending. Lower values of the FDI indicate a stronger trend. A value greater than 1.5 indicates that the market is in a trading range and is acting in a more random fashion.
What is the Supertrend?
Supertrend indicator was created by Olivier Seban to work on different time frames. It works for futures , forex, and equities. It is used in 15 minutes, hourly, weekly, and daily charts . Based on the parameters of multiplier and period, the indicator normally uses 3 for multiplier and 7 for the ATR period as default values. Average True Range is represented by the number of days while the multiplier is the value by which the range is multiplied.
Included:
Bar coloring
Alerts
Signals