Predict Trend [Cometreon]Predict Trend is an advanced indicator designed to analyze the current trend and compare it with similar historical patterns, providing forecasts based on subsequent results of these patterns. This innovative tool uses advanced algorithms to continuously analyze market data, identifying and comparing relevant historical patterns. Predict Trend offers traders a detailed view of the possible future market trend, optimizing trading decisions.
Key Features:
Historical Pattern Analysis: The indicator identifies and compares the current trend with similar historical patterns, providing predictions based on concrete and historical data.
Customizable Precision: Offers the ability to adjust various parameters such as distance and percentage variation between levels, improving the accuracy of pattern search.
Historical Average-Based Predictions: Displays the predicted movement based on the average of all historical patterns found, allowing for informed trading decisions.
Specific Pattern Search: In addition to automatic search based on the active trend, Predict allows searching for specific patterns by manually entering the necessary data for analysis.
Forecast Visualization: Provides a detailed table with all values found and a line representing the average of results, offering a clear view of predictions based on historical data.
Technical Details and Customizable Inputs:
Predict Trend offers a range of customizable settings that allow adapting the indicator to specific needs:
Precision Parameters: Allows adjusting the length of levels, pattern precision, and the number of subsequent values to obtain after identifying historical patterns.
Specific Pattern Search: Allows manual data entry to search for specific patterns, offering greater flexibility in analysis.
Timeframe: Predict works on any timeframe, with greater precision on higher timeframes.
Chart Compatibility: It is compatible with all chart types, allowing analysis and comparison of historical patterns regardless of the chart type used.
Level 1: First correlation level for patterns. "Last Bar to Check" allows choosing the number of Pivots to check for searching patterns in the past with the same values (e.g., HH, LL, LH, and HL).
Level 2: Checks the candle distance between each level. "Error Value Up-Down" allows adding a margin value between distances.
Level 3: Verifies the percentage distance between levels. "Error Percent" allows adding an error margin to the percentage distance.
Bar to Have: Determines how many values after each pattern to display in the table.
Timezone: Enter the chart's time zone to display the precise start time of the pattern.
Manual search: Allows searching for specific patterns by manually entering up to 8 values, including special values such as:
- High Value: "HH" (Higher High) or "LH" (Lower High)
- Low Value: "LL" (Lower Low) or "HL" (Higher Low)
- Top / Bottom: "HH" (Higher High) or "LL" (Lower Low)
- Mid Level: "LH" (Lower High) or "HL" (Higher Low)
Approximate trend: Shows a trend based on the average of values for each pattern in each section. Allows customizing up to 4 colors, line thickness, and style.
Pattern table: Shows the values of identified patterns. You can customize the number of patterns to show, display order, position, size, and table style.
Displayed elements: Customize elements shown on the table, such as Number, Date, or subsequent Swing values.
Style Label: Modify the visual appearance of labels by selecting colors for background and text.
These options allow optimizing the indicator for different trading styles and market conditions, ensuring accurate and customized technical analysis.
How to Use Predict Trend:
Past Movement Analysis: Use the patterns found to compare past movements with the current trend, gaining a clear vision of possible future directions.
Using Value Averages: Analyze the average of values from found patterns to get a more direct and synthetic view of past market behavior.
Specific Pattern Search: In addition to automatic search based on the active trend, Predict allows searching for specific patterns by entering the necessary data for targeted analysis.
With Predict Trend, you can simplify your market analysis, saving time and improving the accuracy of your decisions with predictions based on concrete and verifiable historical data.
Don't waste any more time and take advantage of the precision of historical pattern analysis to gain a competitive edge in the market.
Lowerlow
Absolute ZigZagThis ZigZag Indicator is a bit unique in it's kind.
It uses my own Absolute ZigZag Lib to calculate the pivots:
Instead of using percentages or looking more than 1 bar left or right, this Zigzag library calculates pivots by just looking at the current bar highs and lows and the ones of one bar earlier. This is a very fast and accurate way of calculating pivots.
The library also features a solution for bars that have both a higher high and a higher low like seen below.
You can also use your own colors for the labels and the lines:
You can also quickly select a one-colored theme without changing all colors at once:
RSI + FIB HH LL StopLoss Finder/Contrarian TradesThis indicator is a multi-timeframe indicator that works in any timeframe.
It takes a price reading of the highest or lowest bar in the past based on Fibonacci numbers and plots it.
In addition, the RSI smoothed by a 5-day moving average can be used to detect signs that previous highs or lows will be reached in advance.
This gives insight into determining stop-loss values or entering the market in a contrarian manner.
This is an example of BTCUSDT 4Hour Chart
Here is BTCUSDT 1Hour Chart
For scalpers BTCUSDT 15min Chart Example
Fibonacci Number is 1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, 144, 233, 377, 610, 987, 1597, ...
FIbonacci Ratio is 0.236, 0.382, 0.5, 0.618, 1, 1.618, 2.618, 4.236, ...
Broadening Formations [QuantVue]Broadening formations are common chart patterns observed by technical traders. A broadening formation is formed when the volatility of an asset increases, thus expanding the range of its price resulting in higher highs and lower lows.
The Broadening Trendline indicator, works by looking for pivot points where a higher high or lower low is made compared to the previous pivot point. If a top and bottom line are detected a broadening formation is formed.
Indicator includes alerts, custom colors and styles, the ability to see previous trendlines, and notifications when a trendline is crossed.
Don't hesitate to reach out with any questions or concerns.
We hope you enjoy!
Cheers.
MarketStructureLibrary "MarketStructure"
This library contains functions for identifying Lows and Highs in a rule-based way, and deriving useful information from them.
f_simpleLowHigh()
This function finds Local Lows and Highs, but NOT in order. A Local High is any candle that has its Low taken out on close by a subsequent candle (and vice-versa for Local Lows).
The Local High does NOT have to be the candle with the highest High out of recent candles. It does NOT have to be a Williams High. It is not necessarily a swing high or a reversal or anything else.
It doesn't have to be "the" high, so don't be confused.
By the rules, Local Lows and Highs must alternate. In this function they do not, so I'm calling them Simple Lows and Highs.
Simple Highs and Lows, by the above definition, can be useful for entries and stops. Because I intend to use them for stops, I want them all, not just the ones that alternate in strict order.
@param - there are no parameters. The function uses the chart OHLC.
@returns boolean values for whether this bar confirms a Simple Low/High, and ints for the bar_index of that Low/High.
f_localLowHigh()
This function finds Local Lows and Highs, in order. A Local High is any candle that has its Low taken out on close by a subsequent candle (and vice-versa for Local Lows).
The Local High does NOT have to be the candle with the highest High out of recent candles. It does NOT have to be a Williams High. It is not necessarily a swing high or a reversal or anything else.
By the rules, Local Lows and Highs must alternate, and in this function they do.
@param - there are no parameters. The function uses the chart OHLC.
@returns boolean values for whether this bar confirms a Local Low/High, and ints for the bar_index of that Low/High.
f_enhancedSimpleLowHigh()
This function finds Local Lows and Highs, but NOT in order. A Local High is any candle that has its Low taken out on close by a subsequent candle (and vice-versa for Local Lows).
The Local High does NOT have to be the candle with the highest High out of recent candles. It does NOT have to be a Williams High. It is not necessarily a swing high or a reversal or anything else.
By the rules, Local Lows and Highs must alternate. In this function they do not, so I'm calling them Simple Lows and Highs.
Simple Highs and Lows, by the above definition, can be useful for entries and stops. Because I intend to use them for trailing stops, I want them all, not just the ones that alternate in strict order.
The difference between this function and f_simpleLowHigh() is that it also tracks the lowest/highest recent level. This level can be useful for trailing stops.
In effect, these are like more "normal" highs and lows that you would pick by eye, but confirmed faster in many cases than by waiting for the low/high of that particular candle to be taken out on close,
because they are instead confirmed by ANY subsequent candle having its low/high exceeded. Hence, I call these Enhanced Simple Lows/Highs.
The levels are taken from the extreme highs/lows, but the bar indexes are given for the candles that were actually used to confirm the Low/High.
This is by design, because it might be misleading to label the extreme, since we didn't use that candle to confirm the Low/High..
@param - there are no parameters. The function uses the chart OHLC.
@returns - boolean values for whether this bar confirms an Enhanced Simple Low/High
ints for the bar_index of that Low/High
floats for the values of the recent high/low levels
floats for the trailing high/low levels (for debug/post-processing)
bools for market structure bias
f_trueLowHigh()
This function finds True Lows and Highs.
A True High is the candle with the highest recent high, which then has its low taken out on close by a subsequent candle (and vice-versa for True Lows).
The difference between this and an Enhanced High is that confirmation requires not just any Simple High, but confirmation of the very candle that has the highest high.
Because of this, confirmation is often later, and multiple Simple Highs and Lows can develop within ranges formed by a single big candle without any of them being confirmed. This is by design.
A True High looks like the intuitive "real high" when you look at the chart. True Lows and Highs must alternate.
@param - there are no parameters. The function uses the chart OHLC.
@returns - boolean values for whether this bar confirms an Enhanced Simple Low/High
ints for the bar_index of that Low/High
floats for the values of the recent high/low levels
floats for the trailing high/low levels (for debug/post-processing)
bools for market structure bias
1 Minute Scalping IndicatorThis is a 1 Minute Scalping Indicator based purely on price action of the current candle compared to the previous candle so there is no lag from using other indicators. It works great on all timeframes, but is designed for getting in and out of positions quickly using the 1 minute chart. The candles will paint according to the direction the price is currently moving in, which is a great way to help reduce anxiety while watching the candles bounce back and forth.
HOW TO USE
It has Scalp Mode and Swing Mode. Both modes use the exact same price action parameters for signals, but Swing Mode will only give signals when the price action parameters are met AND the close is higher than the previous high for bull signals or when the close is lower than the previous low for bear signals.
This scalping indicator will show green up arrows when it detects bullish price action and red down arrows when it detects bearish price action. It will show a yellow arrow if the bullish/bearish price action conditions are met, but it detects a candle pattern that may be a weak signal such as small candle body, large wicks, etc. When this happens, make sure to wait for the next candle to show confirming price action before following the signal. You can also turn the signals off and use only the candle coloring if you prefer cleaner charts.
You can change the candle colors it uses within the input settings, as well as the color of the signal arrows to suit your preferences. You can also turn off the candle coloring if you prefer normal candles. If you are using the indicator’s candle coloring, make sure you go to your chart settings(gear icon top right) and in the symbol tab, turn off body, borders and wick for this to show up properly.
This scalper also includes alerts for bull and bear signals that can be set to alert you on any market and timeframe.
SCANNER
We also made a higher timeframe scanner that uses this same price action formula and shows you if higher timeframes are currently bullish or bearish in real time. It’s titled Higher Timeframe Price Action Scanner and can be found on our profile. I strongly recommend using both of these together to get an idea of the overall trend on longer timeframes. You can also use two of the scanners and set them to two tickers that move together or opposite of each other(like SQQQ and TQQQ) for even more market insight on your ticker's immediate direction.
MARKETS
This 1 Minute Scalping Indicator works well on any market such as stocks, crypto, forex, futures, etc.
TIMEFRAMES
This indicator is designed for scalping on the 1 Minute timeframe, but it works well on all timeframes, since it is using price action to give signals.
TIPS FOR BEST RESULTS
We recommend pairing this indicator with another support & resistance or moving average combo to find great entry areas and use the price action signals as confirmation when price bounces off of those areas. We also recommend using the Higher Timeframe Price Action Scanner with this so you can see the overall trend of higher timeframes on your chart and trade in the direction of the trend.
Scalp Mode
Swing Mode
Candle Coloring Only - No Signals - Scalp Mode
Candle Coloring Only - No Signals - Swing Mode
Close zig-zag labelThis indicator is a beta and is created to indicate the valid high and low close pattern, this isn't a stand alone strategy or reader of the market but can help to read the trend direction.
!ATTENCTION!
this indicator have repainting, don't thrust it until a candle close
some labels have more transparency than other, this is beacause they are lower high or higher low , the duller are the trend extention (friendly reminder, I can find the exact higher or lower close after a pullback, not running)
I don't know if I would implement other stuff in this indicator or if I'm going to remake it better, but for now I have this
Dow Theory Trend Direction VisualizerJapanese below / 日本語説明は下記
Overview
What is difficult for beginner traders is to identify trend occurrence, continuation and reversal.
This indicator visualizes market direction by changing background colors based on Dow Theory so that traders can visually grasp trends.
Sample chart
Functions
1.MTF Higher High/Lower High/Higher Low/Lower Low(HH/LH/HL/LL)
Indicator shows HH/LH/HL/LL of an upper timeframe(MTF) and those of chart’s timeframe at the same time.
As usual, HH/LH/HL/LL of chart’s timeframe can be used to identify trend continuation based on Dow Theory while MTF HH/LH/HL/LL can be used as support/resistance.
Auto and manual mode for MTF
When you select “Auto” mode, then an upper timeframe will be automatically determined as MTF based on chart’s timeframe. If “Manual “ mode selected, then you need to specify MTF timeframe.
MTF HH/LH/HL/LL are displayed only below the selected MTF timeframe so it will not disturb when you open higher timeframe.
For instance, if you select daily timeframe as MTF, then HH/LH/HL/LL of daily timeframe will be shown on 4 hour or below timeframes.
Auto and manual mode for MTF
When you select “Auto” mode, then an upper timeframe will be automatically determined as MTF based on chart’s timeframe. If “Manual “ mode selected, then you need to specify MTF timeframe.
MTF HH/LH/HL/LL are displayed only below the selected MTF timeframe so it will not disturb when you open higher timeframe.
For instance, if you select daily timeframe as MTF, then HH/LH/HL/LL of daily timeframe will be shown on 4 hour or below timeframes.
Sample chart (AUDJPY 4H + Daily timeframe HH/LH/HL/LL )
In this chart, you can see two different timeframe’s trend.
In 4hour timeframe, a new high recorded as HH and in daily timeframe, lows going up from LL to HL and high going up from LH to HH hence daily chart is uptrend.
Also, you can predict that Daily HH would be respected as resistance line.
2.Visualize trends direction with colors based on HH/LH/HL/LL.
Background color will change based on break up/down of HH/LH/HL/LL.
———————
トレードを習得する上で多くの人が苦手意識を持つ「目線付け」。
この目線付けをダウ理論を元に訓練するためのインジケーターを開発しました。
高値·安値の更新状況に応じて相場の方向性を色で可視化するため、視覚的に目線付けをすることが可能です。
サンプルチャート
ダウ理論による目線付けの二つの方法
これは僕の持論ですが、ダウ理論による目線付けの方法には、「トレンドは明確なシグナルが出るまで継続する」という原則を共通の拠り所とする二つの方法があると考えています。
一つは日本人投資家/トレーダーにも良く知られている押し安値·戻り高値を基準とする方法。そしてもう一つは高値·安値の切り上げ·切り下げのみを基準とする方法です。
このインジケーターは後者の方法で目線を可視化します。
(もちろん押し安値·戻り高値と併用した目線判断にも活用可能です。)
機能
1.上位足とチャートの時間軸両方のHigher High/Lower High/Higher Low/Lower Low(HH/LH/HL/LL)の表示(MTF機能)
上位足タイムフレームのHH/LH/HL/LLとチャートタイムフレームのHH/LH/HL/LLを同時に表示することができます。
チャートタイムフレームのHH/LH/HL/LLはダウ理論に基づくトレンドの継続・反転の判断用に、上位足のHH/LH/HL/LLは上位足での高値・安値の切り上げ/切り下げ判断及びレジスタンス・サポートとして使うことができます。
上位足の選択には自動モードとマニュアルモードが選択可能です。自動モードを選択した場合、チャートのタイムフレームに応じて上位足が自動的に決定されます。マニュアルモードの場合は選択した時間軸が上位足タイムフレームとして適用されます。
上位足のHH/LH/HL/LLは選択したタイムフレーム未満でのみ表示されます。例えば上位足のタイムフレームとして日足を選択した場合、日足のHH/LH/HL/LLは日足未満でのみ表示されます。
サンプルチャート (AUDJPY 4H に日足のHH/LH/HL/LL を表示)
このチャートでは二つの異なるタイムフレームの高値・安値更新状況を一度に把握することができます。
4Hでは高値の切り上げが発生しているため、安値を更新しなければ上昇トレンド確定です。一方日足では安値がLLからHLへ(赤の矢印)、高値がLHからHHへと切り上がり(緑の矢印)、上昇トレンドであることがわかります。
また、この場面では上位足のHHがレジスタンスとして機能する可能性も予測できます。
2.目線の方向を色で可視化
HH/LH/HL/LLの更新状況から目線を判断し、背景色とともに可視化します。
Higher High/Lower High/Higher Low/Lower Lowとは何か?
日本人投資家/トレーダーの中にはあまり馴染みのない方もいるかと思いますので、定義を記載します。
Higher High(HH)
切り上がった高値を意味します。当インジケーターでは一つ前の高値(HH/LH)から切り上がった場合にHHとしています。
Lower High(LH)
切り下がった高値を意味します。Lower Highなのでより低い方の高値という意味です。当インジケーターでは一つ前の高値(HH/LH)から切り下がった場合にLHとしています。
Higher Low(HL)
切り上がった安値を意味します。Higher Lowなのでより高い方の安値という意味です。当インジケーターでは一つ前の安値(HL/LL)から切り上がった場合にHLとしています。
Lower Low(LL)
切り下がった安値を意味します。当インジケーターでは一つ前の安値(HL/LL)から切り下がった場合にLLとしています。
使い方
高値·安値の切り上げ·切り下げの判断及びトレンド継続·転換の判断に活用
Up & Down Trend following trading strategy for BTC/USDT 3hThis strategy is based on multi time frame technical indicators such as;
1. RSI (10,50,100)
2. MFI (10,50,100)
3. RVI (10,50,100)
4. BOP (10,50,100)
5. Super Trend
6. SAR indicator
7. Higher highs and lower lows
8. SMA (9,500)
9. EMA (9,200)
After evaluating different parameters provided by those indicators, script is in a possition to determine optimul positions to enter in to market as well as exit from the market. In some cases stratergy will exit fully or partially depends on the situation. Other than that, this strategy is in a possition to calculate and specify the quantity you need to buy or sell depending on market situation. You can specify amount available for investment and how many times you are going to average (if downtrend). Parameters are optimised to BTC/USDT, 3h standerd candlestic chart.
goodluck
VWAP Bands - Event Based [LuxAlgo]This indicator returns VWAP bands with a degree of smoothness resetting based on various user-selected events. The bands are constructed using a VWAP based naive standard deviation.
The indicator can be anchored or start from the first bar and can be used as trailing support/resistance, in a moving average crossover system, or as source for external indicators.
Settings
Start: VWAP anchor point
Start At First Bar: Display the VWAP from the first bar instead of a specified anchor point
VWAP
Length: Controls certain characteristics of the user-selected event
Mult: Multiplicative factor for the VWAP standard deviation
Source: Price source of the indicator
Event
Event: Determines the event resetting the degree of smoothness of the VWAP
External Cross/Event: Input source used for external crosses/events
Further details about the available events are given below.
Details
Various event conditions are available to the users. When the selected event occurs, the VWAP equals the current closing price.
By default, the event is periodic, that is the VWAP resets periodically, with a period determined by the Length setting.
The Higher High event resets the VWAP when a new higher high occurs.
The Lower Low event resets the VWAP when a new lower low occurs.
The Trend Change event is similar however resets the VWAP only once a higher high or lower low occurs. Higher highs and lower lows are given by Donchian channels with a period determined by the Length setting.
The Start event reset the VWAP at the selected anchor point (or first bar if the "Start At First Bar" setting is selected). This can be useful if one only needs a regular anchored VWAP band indicator.
The External Cross event resets the VWAP when the Source price crosses the series selected in the External Cross/Event setting. In the image above the VWAP resets when the price crosses the volatility stop indicator.
The External Event resets the indicator when a series selected in the External Cross/Event setting is not equal to 0. This allows using a custom event in order to reset the VWAP. In the above example the VWAP is reset during a new session due to the External Session indicator.
SequenceSee the highs and lows easily!
Up sequence:
The close of each candle is higher from the low of the previous candle.
* The reference will always be to the low of the highest candle in the up sequence
Down sequence:
The close of each candle is lower from the high of the previous candle.
* The reference will always be to the high of the lowest candle in the down sequence
LocalLimitLibrary "LocalLimit"
Calculates the local upper or local lower limit for a given series. Applying multiple passes produces what appears like support or resistance levels.
See Local Limits for more detail.
upper(src) Produces the recent local upper limit for a given series.
Parameters:
src : The source series to derive from.
lower(src) Produces the recent local lower limit for a given series.
Parameters:
src : The source series to derive from.
Tripple super Trend + EMA + RSI StrategyGreetings!
Here I show you the Tripple Super Trend Strategy.
I discovered the strategy on a YouTube channel and tried to transfer it as a strategy into a script.
Tested with the currency pair EUR/USD in the one hour chart.
Period: beginning of 2020 until today.
The strategy should also work with cryptocurrencies. But then the settings have to be adjusted.
There is the possibility to activate only long or only short position.
The EMA can be used in a time different from the chart.
-----------------------------------------------------------------------------------
How does the strategy work?
For long positions, the candle must be above the EMA .
The candle must be closed above at least two of the supertrend lines.
The stochastic RSI must show oversold and the k line must cross over the D line.
For short positions, the candle must be below the EMA .
The candle must be closed below at least two of the supertrend lines.
The stochastic RSI must indicate overbought and the K line must cross below the D line.
The stop loss is determined with the "lowest low/highest high lookback".
The profit factor is multiplied by the value of the lowest low/highest high lookback.
The results of the strategy are without commissions and levers.
If you have any questions or feedback, please let me know in the comments.
In the future I will add other types of stop loss / take profits. (ATR; %; eg.)
If you need more information about the strategy and want to know exactly how to apply it, check out my profile.
I wish you good luck with the strategy!
TradiKator 09 HH HL LH LL & Linear Regression
TradiKator 09 HH HL LH LL & Linear Regression indicates whether current price movement exceed the trend or not.
Here, we use Higher High,Higher low, Lower High, Lower Low to identify a possible change of trend.
Also we use 2 Linear Regression Channels (short term & long term) to identify a price trend.
I hope this indicator can help traders to estimate trend change in the essential trading behavior.
1)Higher High,Higher low, Lower High, Lower Low
Higher High and Higher Low indicates a Bull trend
Lower High and Lower Low indicates a Bear trend
Those high low pivot points is a verg good mark to judge if current trend keeps going on or not.
Setting :
Left pivot length
Right pivot length
The longer pivot length is , the less sensetive and more delay you signal will be, especially the right privot
2)Linear Regression Channels
Linear Regression Line – is a line drawn according to the least-squares statistical method which produces a best fit line
The resulting can be used to predict price trend from the same system.
Setting :
Count ---> the length of the Linear Regression, remember more data in interest = less accuracy and bigger sigma
The End bar of Linear Regression ---> If you don't want latest K bar in the Linear Regression interest (they are not in the same trend), then you can move the Linear Regression to earlier bar
This indicator is inspired by GDT who is a great coder.
Known issue:
Not yet.
LH-LL/HL-HH Confirmation Trend LineBased on Dow Theory, a series of successive higher highs (HH) and higher lows (HL) is the sign of an uptrend (bull trend) and a series of successive lower highs (LH) and lower lows (LL) is the sign of a downtrend (bear trend).
So this script indicates the trends using the concept and draws corresponding trend lines.
It took some effort to make it possible for users to see as many trend lines as they wish. Eventually the user could set the number alongside some other options in the indicator settings.
Use the script and send me your thoughts!
Local LimitsDisplays recent higher highs, lower highs, lower lows, and higher lows as a collection of local limit indicators.
In its simplicity is a lot more powerful than might appear at first glance.
Does not rely on volatility calculation.
Can be linked together to create an objective view of recent support and resistance levels.
Makes current trends more visible.
Excellent for use as a trailing stop algorithm.
Parameters
Single Bar Sensitivity: True (default) reacts to individual bars. False only responds to the alignment of 2 bars.
Margin (1-5): Adds extra distance from higher lows and lower highs to reduce the sensitivity of broken trends.
Single indicators with configurable sources:
Local Limit Higher
Local Limit Lower
Higher vs Lower Pivots overlayA simple script that I made that draws lines between the high and low pivots. The color of the line define if the pivot is higher or lower than the previous pivot. The main thing to tune is the pivot look back vs look ahead, which are the same params used by the tradingview pivot indicator. There are several other params you can tweaks to get the look you want.
Trend Regularity Adaptive Moving Average [LuxAlgo]The following moving average adapt to the average number of highest high/lowest low made over a specific period, thus adapting to trend strength. Interesting results can be obtained when using the moving average in a MA crossover system or as a trailing support/resistance.
Settings
Length : Period of the indicator, with higher values returning smoother results.
Src : Source input of the indicator.
Usage
The trend regularity adaptive moving average (TRAMA) can be used like most moving averages, with the advantage of being smoother during ranging markets.
Notice how the moving closer to the price the longer a trend last, such effect can be practical to have early entry points when using the moving average in a MA crossover system, such effect is due to the increasing number of average highest high/lowest low made during longer trends. Note that in the case of a significant uptrend followed by a downtrend, the moving average might penalize the start of the downtrend (and vice versa).
The moving average can also act as an interesting trailing support/resistance.
Details
The moving average is calculated using exponential averaging, using as smoothing factor the squared simple moving average of the number of highest high/lowest low previously made, highest high/lowest low are calculated using rolling maximums/minimums.
Using higher values of length will return fewer highest high/lowest low which explains why the moving average is smoother for higher length values. Squaring allows the moving average to penalize lower values, thus appearing more stationary during ranging markets, it also allows to have some consistency regarding the length setting.
🧙 this moving average would not be possible without the existence of corn syrup 🦎
Counting Support & Resistance LevelsA script I am working on to count higher highs and lower lows of levels. Still in progress...
Once it's working it will add a shape or a new colored line when a target number of higher highs has been achieved.
Double Zig Zag with HHLLHello Traders,
Here Double Zig Zag with HHLL script is with you. it calculates 2 Zig Zag simultaneously and draws them, and also it calculates and puts Higher High, Lower Low, Higher Low, Lower High labels. All these are done dynamically, it means last HH/HL/LL/LH can change. if price continues to go up then HL can turn to LL or if price continues to go down then LH can turn to HH. This script can be used for different purposes such trend analysis, support/resistance levels, breakouts etc.
I tried to make many things optional:
You can set Periods for Zig Zags as you wish
You can set different colors for both Zig Zag Up/Down lines
You have option to show both Zig Zag, one of them or none them
You have option to show both HHLL, one of them or none them
You can set Zig Zag 1 line style as Dashed or Dotted
You can set Line Widths for Zig Zags
Some examples:
Enjoy!
L1 Moving Average Fingerprint for Long EntryLevel: 1
Background
This script combines moving average processing with highest high and lowest low to disclose the "fingerprint" of a specific trading pair to describe its unique behavior.
Function
Moving Average Fingerprint for Long Entry is a Level 1 pine script. It utilize several moving average of inherent highest high and lowest low and combine them with customized fingerprint coefficients to depict the unique behavior of a specific trading pair across multiple markets for long entry point identification.
Key Signal
FingerPrint1~6 are basic-level fingerprints with moving average of highest high and lowest low.
FingerPrint7~8 are composite fingerprint definitions with coefficients/weights,where coefficients/weights need to be tuned to discover the inherent "fingerprint" of a specific trading pair.
FingerPrint10~12 are composite fingerprint calculation for long entry alerts
ReadytoLong is a long entry filter where long entry point may happen within it. By using crossover() function to a customized threshold value, you can define accurate long entries.
Pros and Cons
Pros:
1. Combine moving average and extreme points to disclose a trading pair behavior.
2. Smart to tune specific set of parameters to obtain unique fingerprints of trading pairs.
3. Smart position sizing scheme by adjusting the threshold values.
Cons:
1. Require tune input parameters for each trading pair in a specific period and time frame.
2. Only long entry was studied, no short entry and re-entry are available yet to form as a trading system.
3. "ReadytoLong" is an inaccurate range where multiple long entries may happen at improper points in chop market.
4. Complex input parameters to obtain a unique fingerprint set.
Remarks
Although I wrote pine script for more than two years, this is the first script published in the community. I will publish more with my works in this platform.
Hope the community can improve this concept and make it as a trading system.
Readme
In real life, I am a prolific inventor. I have successfully applied for more than 60 international and regional patents in the past 12 years. But in the past two years or so, I have tried to transfer my creativity to the development of trading strategies. Tradingview is the ideal platform for me. I am selecting and contributing some of the hundreds of scripts to publish in Tradingview community. Welcome everyone to interact with me to discuss these interesting pine scripts.
The scripts posted are categorized into 5 levels according to my efforts or manhours put into these works.
Level 1 : interesting script snippets or distinctive improvement from classic indicators or strategy. Level 1 scripts can usually appear in more complex indicators as a function module or element.
Level 2 : composite indicator/strategy. By selecting or combining several independent or dependent functions or sub indicators in proper way, the composite script exhibits a resonance phenomenon which can filter out noise or fake trading signal to enhance trading confidence level.
Level 3 : comprehensive indicator/strategy. They are simple trading systems based on my strategies. They are commonly containing several or all of entry signal, close signal, stop loss, take profit, re-entry, risk management, and position sizing techniques. Even some interesting fundamental and mass psychological aspects are incorporated.
Level 4 : script snippets or functions that do not disclose source code. Interesting element that can reveal market laws and work as raw material for indicators and strategies. If you find Level 1~2 scripts are helpful, Level 4 is a private version that took me far more efforts to develop.
Level 5 : indicator/strategy that do not disclose source code. private version of Level 3 script with my accumulated script processing skills or a large number of custom functions. I had a private function library built in past two years. Level 5 scripts use many of them to achieve private trading strategy.
Previous Candle High and LowThis Indicator add's a label over and below the previous candle which show's it's high and low values.
Stock Breakout Algo by Technicaltrader615This is a Breakout Algo Suited for trading Stocks in NSE ( India) . The code looks for breakout above yesterday high and low with respect to the pivot R1 and S1. The order pings as Bracket order with 2R as target and 1R as risk. Time frame to be used is 5 mins.
We need to feed stocks with narrow range prior day for better performance.
You need to define risk in the Bridge for Each of the Stock. Lets say the stop loss is 10 points and Risk is 1000. The bridge will ping 1000/10 = 100 Shares to buy/ sell with 2R as target. the Target can be set to 3R also . This some times get rejected as Indian Stock exchange has upper circuit limit set. So we can go for 2R for ill-liquid stoks and 3R for liquid Stocks.
Similarly if 1000 Rs risk and 50 points sl , the bridge will place 1000/50 = 20 Share qty.
Breakout / Breakdown candles are Denoted by Colour change in the chart for visual purpose.
For more Details you can contact thru trading view chat window. You can also scroll down for my signature. This is only for the Students of Mine.