Retracement Levels 1.1This indicator automatically draws the 50% retracement of large moves on a chart. The default setting is 200 bars.
Out of all the Fibonacci levels the simplest and the one I find most profitable is the 50% level. Very often price will respect this level and when combined with key Support/Resistance levels, other indicators, and/or price action study it can be a powerful tool for high probability trades.
The default blue dots follow price with a rolling median based on the major high and major low of the bar setting. The multiplier extends this evaluation even higher with grey and red levels that form on much higher timeframe 50% levels.
Look back on a chart to see how often price respects this key level! You'll never trade without knowledge of it once you've seen it!
Pesquisar nos scripts por "profitable"
LuxAlgo® - Price Action Concepts™Price Action Concepts™ is a first of it's kind all-in-one indicator toolkit which includes various features specifically based on pure price action.
Order Blocks w/ volume data, real-time market structure (BOS, CHoCH, EQH/L) w/ 'CHoCH+' being a more confirmed reversal signal, a MTF dashboard, Trend Line Liquidity Zones (real-time), Chart Pattern Liquidity Zones, Liquidity Grabs, and much more detailed customization to get an edge trading price action automatically.
Many traders argue that trading price action is better than using technical indicators due to lag, complexity, and noisy charts. Popular ideas within the trading space that cater towards price action trading include "trading like the banks" or "Smart Money Concepts trading" (SMC), most prominently known within the forex community.
What differentiates price action trading from others forms of technical analysis is that it's main focus is on raw price data opposed to creating values or plots derived from price history.
Mostly all of the features within this script are generated purely from price action, more specifically; swing highs, swing lows, and market structure... which allows users to automate their analysis of price action for any market / timeframe.
🔶 FEATURES
This script includes many features based on Price Action; these are highlighted below:
Market structure (BOS, CHoCH, CHoCH+, EQH/L) (Internal & Swing) multi-timeframe
Volumetric Order Blocks & mitigation methods (bullish & bearish)
Liquidity Concepts
Trend Line Liquidity Zones
Chart Pattern Liquidity
Liquidity Grabs Feature
Imbalance Concepts MTF w/ multiple mitigation methods
Fair Value Gaps
Balanced Price Range
Activity Asymmetry
Strong/Weak Highs & Lows w/ volume percentages
Premium & Discount Zones included
Candle Coloring based on market structure
Previous Highs/Lows (Daily, Monday's, Weekly, Monthly, Quarterly)
Multi-Timeframe Dashboard (15m, 1h, 4h, 1d)
Built-in alert conditions & Any Alert() Function Call Conditions
Advanced Alerts Creator to create step-by-step alerts with various conditions
+ more (see changelog below for current features)
🔶 BASIC DEMONSTRATION
In the image above we can see a demonstration of the market structure labeling within this indicator. The automatic BOS & CHoCH labels on top of dashed lines give clear indications of breakouts & reversals within the internal market structure (short term price action). The "CHoCH+" label is also demonstrated as it triggers only if price has already made a new higher low, or lower high.
We can also see a solid line with a larger BOS label in the middle of the chart. This label demonstrates a break of structure taking into account the swing market structure (longer term price action). All of these labels are generated in real-time.
🔶 USAGE & EXAMPLES
In the image below we can see how a trade setup could be created using Order Blocks w/ volume metrics to find points of interest in the market, swing / internal market structure to get indications of longer & shorter term reversals, and trend line liquidity zones to find more likely impulses & breakouts within trends.
We can see in the next image below that price came down to the highest volume order block marked out previously as our point of interest for an entry used in confluence with the overall market structure being bullish (swing CHoCH). Due to price closing below the middle Order Block at (24.77%), we saw it was mitigated, and then price revisited liquidity above the Trend Line zone above, leading us to the first Order Block as a target.
You will notice the % values adjust as Order Blocks are touched & mitigated, aligning with the correct volume detected when the Order Block was established.
In the image below we can see more features from within Price Action Concepts™ indicator, including Chart Pattern Liquidity, Fair Value Gaps (one of many Imbalance Concepts), Liquidity Grabs, as well as the primary market structures & OBs.
By using multiple features as such, users can develop a greater interpretation of where liquidity rests in the market, which allows them to develop trading plans a lot easier. Liquidity Grabs are highlighted as blue/red boxes on the wicks during specific price action that indicates the market has made an impulse specifically to take out resting buy or sell side orders.
We can notice in the trade demonstrated below (hindsight example) how price often moves to the areas of the most liquidity, even if unexpected according to classical technical analysis performed by retail traders such as chart patterns. Wicks to take out orders above & potentially trap traders are much more noticeable with features such as these.
The Chart Patterns which can be detected include:
Ascending/Descending Wedges (Asc/Desc Wedge)
Ascending/Descending Broadening Wedges (Asc/Desc BW)
Ascending/Descending/Symmetrical Triangles (Asc/Desc/Sym Triangle)
Double Tops/Bottoms (Double Top/Double BTM)
Head & Shoulders (H&S)
Inverted Head & Shoulders (IH&S)
General support & resistance during undetected patterns
In the image below we can see more features from within the indicator, including Balanced Price Range (another imbalance method similar to FVG), Market Structure Candle Coloring, Accumulation & Distribution zones, Premium & Discount zones w/ a percentage on each zone, the MTF dashboard, as well as the Previous Daily Highs & Lows (one of many highs/lows) displayed on the chart automatically.
The colored candles use more specific market structure analysis, specifically allowing users to visualize when trends are considered "normal" or "strong". By utilizing other features alongside this market structure analysis, such as noticing price retesting the PDL level + the Equilibrium as resistance, a Balanced Price Range below price, the discount with a high 72% metric, and the MTF dashboard displaying an overall bearish structure...
...users can instantly gain a deeper interpretation of price action, make highly confluent trading plans while avoiding classical technical indicators, and use traditional retail trading concepts such as chart patterns / trend lines to their advantage in finding logical areas of liquidity & points of interest in the market.
The image below shows the previous chart zoomed in with 2 liquidity concepts re-enabled & used alongside a new range targeting the same Discount zone.
🔶 SETTINGS
Market Structure Internal: Allows the user to select which internal structures to display (BOS, CHoCH, or None).
Market Structure Swing: Allows the user to select which swing structures to display (BOS, CHoCH, or None).
MTF Scanner: See market structure on various timeframes & how many labels are active consecutively.
Equal Highs & Lows: Displays EQH / EQL labels on chart for detecting equal highs & lows.
Color Candles: Plots candles based on the internal & swing structures from within the indicator on the chart.
Order Blocks Internal: Enables Internal Order Blocks & allows the user to select how many most recent Internal Order Blocks appear on the chart as well as select a color.
Order Blocks Swing: Enables Swing Order Blocks & allows the user to select how many most recent Swing Order Blocks appear on the chart as well as select a color.
Mitigation Method: Allows the user to select how the script mitigates an Order Block (close, wick, or average).
Internal Buy/Sell Activity: Allows the user to display buy/sell activity within Order Blocks & decide their color.
Show Metrics: Allows the user to display volume % metrics within the Order Blocks.
Trend Line Liquidity Zones: Allows the user to display Trend Line Zones on the chart, select the number of Trend Lines visible, & their colors.
Chart Pattern Liquidity: Allows the user to display Chart Patterns on the chart, select the significance of the pattern detection, & their colors.
Liquidity Grabs: Allows the user to display Liquidity Grabs on the chart.
Imbalance Concepts: Allows the user to select the type of imbalances to display on the chart as well as the styling, mitigation method, & timeframe.
Auto FVG Threshold: Filter out non-significant fair value gaps.
Premium/ Discount Zones: Allows the user to display Premium, Discount , and Equilibrium zones on the chart
Accumulation / Distribution: Allows the user to display accumulation & distribution consolidation zones with an optional Consolidation Zig-Zag setting included.
Highs/Lows MTF: Displays previous highs & lows as levels on the chart for the previous Day, Monday, Week, Month, or quarter (3M).
General Styling: Provides styling options for market structure labels, market structure theme, and dashboard customization.
Any Alert() Function Call Conditions: Allows the user to select multiple conditions to use within 1 alert.
🔶 CONCLUSION
Price action trading is a widely respected method for its simplicity & realistic approach to understanding the market itself. Price Action Concepts™ is an extremely comprehensive product that opens the possibilities for any trader to automatically display useful metrics for trading price action with enhanced details in each. While this script is useful, it's critical to understand that past performance is not necessarily indicative of future results and there are many more factors that go into being a profitable trader.
🔶 HOW TO GET ACCESS
You can see the Author's instructions below to get instant access to this indicator & our premium suite.
[NLX-L3] Alerts- Introduction: Alert Module -
This alert module is part of my powerful and flexible modular trading framework.
It can be used with any indicator that has a signal plot output (1 = long / -1 = short)
This trading framework is the result of many years experience building indicators and trading strategies.
I couldn’t find a trading framework in Pine Script that would suit my needs and so I started to design my own from scratch. I’m trading with this framework myself so I’ve made sure that it’s flexible and absolutely reliable in a live-trading environment.
- Architecture -
What makes this framework so flexible is the modular architecture, different layers that all serve a very specific purpose.
You will notice that the module names include either L1 - L2 - L3:
- Layer 1 (L1) is the base layer and the foundation. L1 indicators are used to determine the trend, volume profile and filter noise. You would use L1 to see if it’s a good time to trade, what is the direction - or if it's better to trade at all in unfavourable conditions
- Layer 2 (L2) receives the result of L1 and if the market conditions are good the L2 indicator looks for an optimal entry point to go long or short. It is possible to combine several L2 indicators and trigger a long/short signal only if all L2 indicators agree.
- Layer 3 (L3) receives the final signal from L2 and it’s where we can now backtest the result of our trading strategy and trigger trade alerts with help of the alert module.
- Features -
External Input Source (any indicator with signal plot can be used)
Safe Entries Option: Enter a trade only if the position is profitable ad the momentum allows
Pyramid Entries
Partial Take-Profit: %-Step Interval and Quantity per Step
Stop Methods: Trailing Stop, TP/SL with ATR Option, several type of stop bands...
Profit/Loss Label with Fee, Slippage and Leverage Calculation
- Additional Modules -
L3 - Backtest Module
L2 - Noise Filter
L2 - QQE++
L1 - Trend Index
Trend Matrix (Coming soon)
Dynamic Range Breakout (Coming soon)
Breakouts & Pullbacks
- Request Access -
Contact me - see my signature below
ELLIPSE: Bidirectional Swing Trading Strategy (Alert Version)This is the alert version of our original script ELLIPSE: Ultimate Bidirectional Swing Trading Strategy.
This release has the same internal algorithm as the ELLIPSE Strategy script. But instead of showing back test results, this script provides the functionality to add alerts that can notify the user via email / pop-up / sms / app once a signal is given! You must manually add these alerts via TradingView. If you need help setting up these alerts, feel free to ask in the comment box or send us a dm.
***The script is invite-only, message us to get script access***
-------------------------------------------------------------------------------------------------
User Guidelines:
The trading strategy was designed and optimized for trading cryptocurrencies only ; furthermore it works best on established cryptocurrencies that have a clear historical trend such as:
BTCUSD
ETHUSD
LTCUSD
XRPUSD
ADAUSD
The trading strategy is based on swing trading methodology. The script must therefore be used on 4h candles only .
Use USD trading pairs only (e.g. use ETHUSD instead of the ETHBTC) since the individual trend is captured more effectively and therefore gives better results.
The trading strategy is bidirectional , both long and short entries are generated.
-------------------------------------------------------------------------------------------------
Indicators used in this strategy:
Ichimoku Cloud ; acts as the leading indicator.
Volume ; without strong volume , a market move is not valid.
MACD and Vortex ; both being used as confirmation indicators.
Choppiness index ; avoids trading in choppy markets.
Simple and Exponential Moving Averages ; prevents trading against the trend.
The trading strategy is easy to use, bidirectional, trend based and without repainting, meaning once a signal has been made it is permanent and that no future data is used in the decision making. It detects the trend and filters out market noise based on more than 10 technical indicators. ONLY when all indicators align with each other the algorithm prints a LONG or SHORT signal. The trading strategy provides high probability trading signals and minimizes risk! This script aims to capture the profit from short to medium trending moves and by doing so filters out non-substantial trends and avoids the associated risks with these trades.
-------------------------------------------------------------------------------------------------
Features:
NO Repaint once candle is closed.
Stop loss feature ; set your own stop loss to manage your risks.
Customizable Display for the Ichimoku cloud indicator display.
Bidirectional ; both long and short trading positions can be enabled.
Full backtest feature ; Easily generate your own backtest results for each asset (Strategy Version Script).
Alerts ; Get notified via email / pop-up / sms / app once a signal is given! (Alert Version Script).
-------------------------------------------------------------------------------------------------
Backtest results
Below are the back test results. Only well established cryptocurrencies are displayed with a clear historical trend.
Back test results: (long and short trades, signal to signal, order size: 100% of equity, commision fee 0.1%, period: start of chart)
Exchange-----Asset---------Timeframe---Percent Profitable----Profit Factor-----Total Trades----Max Drawdown---Average bars in trade-----Net Profit
Bínance------BTCUSDT---------4H-----------------54.4---------------3.37-------------------57----------------14.9---------------------38------------------1978
Bínance------ETHUSD----------4H-----------------50.9---------------3.48------------------- 57---------------26.8----------------------37------------------3953
Bínance------LTCUSD-----------4H-----------------61.0---------------3.15-------------------59----------------20.9---------------------33------------------3098
Bínance------XRPUSD----------4H-----------------43.1---------------2.44--------------------51---------------22.4----------------------26------------------1226
Bínance------ADAUSD----------4H-----------------57.5---------------3.47--------------------47---------------34.7----------------------35------------------1233
-------------------------------------------------------------------------------------------------
Reminder: Use this trading strategy at your own risk and trade responsibly. We are not responsible for any financial loss using this strategy.
***The script is invite-only, message us to get script access***
Momentum PinballMomentum Pinball, when you get a buy/sell signal, wait for the next day
enter on the high or low of the first hour and place a stop in the low/high
of the first hour. If the day you get filled closes profitable you can decide to close
the trade buy the end of the day or hold overnight and exit the following morning
Future Ichimoku Forecast by AP +3FUTURE ICHIMOKU FORECAST by AP Demo+3
Hi every Ichimoku Users,
Ichimoku is one of my favorite indicators, it helps me define market trends, find entry and follow. But sometime, I must predict how its lines (clouds, tenkan, kijun) will go? by handmade with lot of try and time!
Are you agree with me?
In order to forecast future Ichimoku to help your trade more easy and profitable, I create the FUTURE ICHIMOKU FORECAST by AP Demo+3 indicator free for everyone.
FUTURE ICHIMOKU FORECAST strengths:
- Forecast future +3 candles will make clouds, tenkan, kijun go!
- Help you indentify easy trend when clouds change, kijun go up or down!
- Flexible to change colors, displacement, hide/show lines in its.
- Flexible and good for every timeframe: W, D, 4H, 1H and shorter.
- Flexible and good for every currencies, gold , future and more.
[NLX-L2] QQE++- NLX Modular Trading Framework -
I've written this QQE Indicator from scratch and the functionality is self-explaining.
The Qualitative Quantitative Estimation (QQE) indicator is computed based on a combination of smoothed RSI and the average true range.
- Getting Started -
1. Add this QQE Indicator to your Chart
2. Add the Backtest module to your Chart
3. Select the QQE Indicator in the Backtest Settings
- Alerts for Automated Trading -
This module is coming soon and you will be able to create alerts for the QQE Signals as part of my framework.
See my signature below for more information.
- Note -
The high win-rate in the backtest is the result of taking partial take-profits in between trade entry and exit.
Don't be fooled, it's impossible to achieve 80% profitable trades but due to take-profit orders 80% of the trades at least secure some profit.
Visualizing Behaviors of barstate VariablesThe title pretty much sums up what this script does. It's intended for Pine Script developers, but especially for newcomers to Pine Editor contemplating the use of barstate variables. I would recommend using this on 15 second or 1 minute chart intervals for a quick and obvious analysis of barstate behaviors.
These barstate variables change from TRUE to FALSE or FALSE to TRUE during specific times/conditions of script operation. One unique state you might not ever see change is barstate.isfirst. This is only TRUE when bar_index==0, most easily viewed on the monthly "All" chart on the far left. I provided a label displaying the current bar_index for perspective. I hope this provides an improved grasp of barstate understanding for fellow members, as it did for myself.
When available time provides itself, I will consider your inquiries, thoughts, and concepts presented below in the comments section, should you have any questions or comments regarding this indicator. When my indicators achieve more prevalent use by TV members , I may implement more ideas when they present themselves as worthy additions. Have a profitable future everyone!
Truncated Bandpass Filter and Bandpass Filter - Dr. John EhlersWith the arrival of the blessed gifts of arrays from TV, I now present the REAL "Truncated Bandpass Filter" indicator employing PSv4.0 upon initial release, originally formulated by the magnificent mathemagician Dr. John Ehlers for TASC - July 2020 Traders Tips. Don't be bamboozled by the other incorrect truncated bandpass filters found on TV, those published with an erroneous haste that preceded Pine array availability. More information about these bandpass filters can be acquired with a simple search for this indicator's white paper, entitled "TRUNCATED INDICATORS by John F. Ehlers", on his site in the educational reference section.
This actually contains two indicators, one being the truncated bandpass, the other being a two pole bandpass which is also found in my Voss implementation. The two pole bandpass is primarily for comparison of both types, but as you can see, they share common code within both, one being truncated and the other not. I modified Ehlers' original truncation formulation by allowing the capability to alter the truncation period using two distinct methods. I will explain very briefly that the purpose of a truncated "infinite impulse response" filter is to dampen it's response. Truncation techniques aren't limited to only bandpass filters, "some" other IIR filters, but not all, may benefit from this as well.
Lastly this is a miniature starter lesson by example of how the new native Pine array functions may be used, along with other various methods such as `var` to improve computational efficiency on the cloud servers. Yep, native Pine arrays just doubled the "Power of Pine" by exponential magnitudes of power into the dimension of what I would now term as the "Immense Power of Pine" . The next generation capability of programming extremely advanced indicators has now successfully arrived on mothership Earth, right on TradingView's front lawn. Who would of known?? This is brought to you in part by the devoted voluntary efforts of the most skilled poetic programmers on TV, the likes of which most extraterrestrial alien programmers would fear. Ladies and Gents, YOU KNOW WHO YOU ARE. Wink, wink!
NOTICE: You have absolute freedom to use this source code any way you see fit within your new Pine projects. You don't have to ask for my permission to reuse these functions in your published scripts, simply because I have better things to do than answer requests for the reuse of the tbpf() and bpf() functions. Sufficient accreditation regarding this script and compliance with "TV's House Rules" regarding code reuse, is as easy as copying the functions in their entirety as is. Fair enough? Good!
Features List Includes:
Dark Background - Easily disabled in indicator Settings->Style for "Light" charts or with Pine commenting
AND a few more... Why list them, when you have the source code to explore!
When available time provides itself, I will consider your inquiries, thoughts, and concepts presented below in the comments section, should you have any questions or comments regarding this indicator. When my indicators achieve more prevalent use by TV members, I may implement more ideas when they present themselves as worthy additions. Have a profitable future everyone!
[blackcat] L1 Trading Risk Assessment Indicator Level: 1
Background
Risk assessment is a general term used in many industries to determine the likelihood of losing an asset, loan, or investment. Risk assessment is important in determining how profitable a particular investment is and which techniques are best for risk mitigation. It shows the upward reward versus the risk profile. Risk assessment is important in determining the rate of return an investor would need to earn in order to consider an investment as worth the potential risk.
Function
L1 Trading Risk Assessment Indicator provides a trading risk evaluation mechanism that follows the megatrend. By defining transaction risk as 4 levels: highly risky, risky, safe, and highly safe, the current bar’s evaluation value can be compared with historical bar data to understand the current level of trading risk and the level of trading risk Trend.
Key Signal
h1~h5 --> trading risk level threshold, which can be adjusted according different markets.
currentsafetylevel --> it indicates current bar risk assessment result
Pros and Cons
Pros:
1. according risk level, proper position size can be adjusted
2. know global trend and select propoer time to exit
Cons:
1. no exact long and short entry are disclosed
2. different markets require different thresholds
Remarks
An improved version of KDJ with less satration observed.
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.
[blackcat] L2 KDJ with Whale Pump and OustLevel: 2
Background
One of the biggest differences between cryptocurrency and traditional financial markets is that cryptocurrency is based on blockchain technology. Individual investors can discover the direction of the flow of large funds through on-chain transfers. These large funds are often referred to as Whale. Whale can have a significant impact on the price movements of cryptocurrencies, especially Bitcoin . Therefore, how to monitor Whale trends is of great significance both in terms of fundamentals and technical aspects.
The KDJ oscillator display consists of 3 lines (K, D and J - hence the name of the display) and 2 levels. K and D are the same lines you see when using the stochastic oscillator. The J line in turn represents the deviation of the D value from the K value. The convergence of these lines indicates new trading opportunities. Just like the Stochastic Oscillator, oversold and overbought levels correspond to the times when the trend is likely to reverse.
Function
L2 KDJ with Whale Pump and Oust is a composite indicator that combines both KDJ and Whale Pump and Oust detector. By virtue of this, fake signal of KDJ can be filtered out to some degree.
Key Signal
whalepump --> whale buy behavior will be detected and displayed in green histograms
oust --> after whale buy behavior, there usually a oust action from whale to drive out profitable orders to reduce the selling pressure of subsequent pull ups. This oust will be detected and displayed in red histograms
k --> k value of a stochastic oscillator
d --> d value of a stochastic oscillator
j --> the deviation of the d value from the d value of a stochastic oscillator
Pros and Cons
Pros:
1. filter out KDJ fake signal by introducing whale pump/oust detector
2. J value can be used to detect overbought and oversold regions
Cons:
1. It works better in small time frame and sideways. Extreme long or short conditions may cause KDJ staturate.
2. It can only indicate in current time frame, larger time frame trend info is missing.
Remarks
An improved version of L2 KDJ with Whale Pump Detector by adding oust function. Works fine in 15mins time frame.
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.
Voss Predictor (A Peek Into the Future) - Dr. John EhlersI have been sitting on this for over a year, but I now present this "Voss Predictive Filter" multicator employing PSv4.0 upon initial release, originally formulated by the great and empowering Dr. John Ehlers for TASC - August 2019 Traders Tips. This is a slightly modified version of the original indicator John Ehlers designed. My improved implementation is an all-in-one combination of three indicators, consisting of Ehlers' 2-pole bandpass filter, fed into the Voss predictor, and my Correlation Color. I also purposefully attempted to make this indicator work on both "Light" and "Dark" charts equally well.
You can search for this indicator's white paper, entitled "A PEEK INTO THE FUTURE By John Ehlers", on his site in the educational reference section. It's VERY important that you fully grasp how this indicator works and when it doesn't during trending price movements. According to "TV House Rules", I can't link directly to his white paper on his web site. Technically he's a vendor, even though it has been divulged to me, that he is intending to retire after his last and final wØℾk$#Øp, where he is publicly disseminating the bulk of his unpublished proprietary code that drives his other website VERY SOON.
I love John Ehlers in a respectfully appreciative manner and he is my hero in life! I simply don't revel about pretended celebrities and supposed rock stars. I will never be able to adequately explain to you how much he has influenced me AND this website as it currently exists AND what is in store for the future of the ever evolving "Power of Pine". His inspiring legacy of code poetry shall forever be immortally enshrined here on TV and influence it.
Back to the topic of interest, this script originating from John Ehlers' mind... This indicator helps to anticipate cyclic turning points via negative group delay. It is NOT a predictive crystal ball. Do not become cluelessly disillusioned by it's title. I need to explain.
For example, this indicator could not have anticipated that the bold faced lie of "15 Days to Slow the Spread" of the CHImeravirus "plandemic" in the USA, would turn into our factual reality of multi state mandated orders demanding months of unconstitutional prison cell styled lockdowns with closures and the absurd criminalization of not wearing a mouth mask made from underwear while not being evidently ill, additionally combined with 24/7 black magick mass hypnosis spoon feeding non-scientific fear based psychological propaganda from the world's "finest" epidemiological data analysts and misleaders, eventually decimating the world's markets into zombie economies with abhorrent results of long term massive unemployment and financial hardship on a chart scale never before witnessed. Yep, it's NOT capable of predetermining any of that. I just wanted to make that very clear by example in a metaphorical manner many people can relate to concerning Voss' ability to anticipate.
The indicator consists of a bandpass filter coupled to the Voss predictor. Also, one thing about the Voss predictor, it can catch minute turning points or even false ones as explained in the white paper. So... I included my Correlation Color as a fitting companion to aid you in filtering out false signals during trending price movements. The Voss Predictive Filter should never be used alone, be forewarned!
Features List Includes:
Dark Background - Easily disabled in indicator Settings->Style for "Light" charts or with Pine commenting
AND a few more... Why list them, when you have the source code to explore!
When available time provides itself, I will consider your inquiries, thoughts, and concepts presented below in the comments section, should you have any questions or comments regarding this indicator. When my indicators achieve more prevalent use by TV members , I may implement more ideas when they present themselves as worthy additions. Have a profitable future everyone!
JohnHosana Momentum/Breakout IndicatorThe Johnhosana Momentum/Breakout Indicator is a pure trend-following indicator. It only looks at price data, and doesn't guess where support and resistance areas are. That sounds a bit basic but it's actually a great strength. Since the Johnhosana Momentum/Breakout Indicator follows the trend, it practically guarantees that we're on the right side of important trends.
When prices cross the upper band, open a long position. Sell when they cross the opposite band.
When prices cross the lower band, initiate a short trade. Cover that position once prices cross the other band.
A nice feature of the Johnhosana Momentum/Breakout is that it moves with prices. When there's an uptrend, new highs push the upper band higher. But an uptrend also has higher lows, and that makes the Johnhosana Momentum/Breakout lower band also move up. This way our long exit becomes more favourable the longer the trend continues.
The size of the Johnhosana Momentum/Breakout also tells us something. When the market is in a volatile downtrend, the Johnhosana Momentum/Breakout increases in height. Then when price volatility decreases, the channel becomes smaller as well. (And when the bands become exceptionally narrow, there's even a chance of a volatile breakout.)
The Johnhosana Momentum/Breakout is not always easy to trade, unfortunately. When prices move sideways, the indicator can generate a lot of false signals. And when trends don't last long, there isn't always enough price movement for a profitable exit. In those environments we better use oscillators instead of trend-following indicators.
Multi Time Frame - Trade SetupsMuti Time Frame - Trade Setups
How does it work ? Price movements over range of period is used to compute the range moving forward.
As the option for wider time periods are selected more candles are selected for calculation
The Trend Line is the supporting factor to this logic and SMA20 is used as the basis of the trend line.
To Indicate the strength of the trend line , RSI is computed over multiple timeframes and then used to colour the trend line to show its strength
Once the Range is identified it can be considered as the Breakout/Breakdown zones or as the Potential Reversal Zones (PRZ)
How to Deploy / Use
As part of the Indicator there are four Choices that the user can opt for
Show Intraday Trades - This works for Intraday Trades - when the resolution is kept to less than 1 hour ( Say 3 , 5 , 10 , 15 Mins)
Show Short Term Trades - This works well when the resolution is kept to 1 Day - Good for Swing Trades spanning over a few days
Show Long Term Trades - This works well when the resolution is kept to 1 Day or Week - Good for Investments
Show Trend Line - Will show the user the Simple Moving Average 20 based on the resolution selected , The Trend Line Is a repainted based on the hybrid RSI Logic
The Trend Line would show in three colours
Green : T he Setup is in Up Trend- Try to take the trade as closer to the band as possible and when it continues to be in green ( and recommended when it would have just crossed from Red/Yellow to Green )
Red : The Setup is in Down Trend - Try to take the trade as closer to the band as possible and when it continues to be in red ( and recommended when it would have just crossed from Green/Yellow to Red )
Yellow : The Setup in sideways Trend ( a new trade isnt recommend in this band
Visual Checks - It is always recommended to enter/exit the trade it it touches crosses over the Trend Line from one side to the other
When closer to the support resistance bands , wait for a confirmation candle to determine if you are getting resistance breakout / support or breakdown
Stop Loss - That should be done by following ones risk appetite , Ideally the open/close of the previous candle should be the stop loss for the buy/sell
but everyone has their own Risk Management Strategies based on the capital deployed.
Usage/Markets : Index Trading / Equities and on proper analysis you may use it for Option Trading also. - Doesnt work that well with Commodities and Currencies
Disclaimer : There could be scenarios when the breakout/breakdown candle is rejected , especially when it is long one
so it is always recommended to have a confirmation candle that open-closes above the breakout candle / open-closes below the breakdown candle
If you like it and find it useful or if you find a defect or bug , Please let us know in the comments .. that would encouraging !! for us to develop it further
Thank you and have a beautiful and Profitable trading session !
How to get access
Please click on the link / email in the signature or send me a private message to get access
Feedback
Please click on the link/email in the signature or send me a private message for suggestions/feedbacks
McGinley Dynamic (Improved) - John R. McGinley, Jr.For all the McGinley enthusiasts out there, this is my improved version of the "McGinley Dynamic", originally formulated and publicized in 1990 by John R. McGinley, Jr. Prior to this release, I recently had an encounter with a member request regarding the reliability and stability of the general algorithm. Years ago, I attempted to discover the root of it's inconsistency, but success was not possible until now. Being no stranger to a good old fashioned computational crisis, I revisited it with considerable contemplation.
I discovered a lack of constraints in the formulation that either caused the algorithm to implode to near zero and zero OR it could explosively enlarge to near infinite values during unusual price action volatility conditions, occurring on different time frames. A numeric E-notation in a moving average doesn't mean a stock just shot up in excess of a few quintillion in value from just "10ish" moments ago. Anyone experienced with the usual McGinley Dynamic, has probably encountered this with dynamically dramatic surprises in their chart, destroying it's usability.
Well, I believe I have found an answer to this dilemma of 'susceptibility to miscalculation', to provide what is most likely McGinley's whole hearted intention. It required upgrading the formulation with two constraints applied to it using min/max() functions. Let me explain why below.
When using base numbers with an exponent to the power of four, some miniature numbers smaller than one can numerically collapse to near 0 values, or even 0.0 itself. A denominator of zero will always give any computational device a horribly bad day, not to mention the developer. Let this be an EASY lesson in computational division, I often entertainingly express to others. You have heard the terminology "$#|T happens!🙂" right? In the programming realm, "AnyNumber/0.0 CAN happen!🤪" too, and it happens "A LOT" unexpectedly, even when it's highly improbable. On the other hand, numbers a bit larger than 2 with the power of four can tremendously expand rapidly to the numeric limits of 64-bit processing, generating ginormous spikes on a chart.
The ephemeral presence of one OR both of those potentials now has a combined satisfactory remedy, AND you as TV members now have it, endowed with the ever evolving "Power of Pine". Oh yeah, this one plots from bar_index==0 too. It also has experimental settings tweaks to play with, that may reveal untapped potential of this formulation. This function now has gain of function capabilities, NOT to be confused with viral gain of function enhancements from reckless BSL-4 leaking laboratories that need to be eternally abolished from this planet. Although, I do have hopes this imd() function has the potential to go viral. I believe this improved function may have utility in the future by developers of the TradingView community. You have the source, and use it wisely...
I included an generic ema() plot for a basic comparison, ultimately unveiling some of this algorithm's unique characteristics differing on a variety of time frames. Also another unconstrained function is included to display some the disparities of having no limitations on a divisor in the calculation. I strongly advise against the use of umd() in any published script. There is simply just no reason to even ponder using it. I also included notes in the script to warn against this. It's funny now, but some folks don't always read/understand my advisories... You have been warned!
NOTICE: You have absolute freedom to use this source code any way you see fit within your new Pine projects, and that includes TV themselves. You don't have to ask for my permission to reuse this improved function in your published scripts, simply because I have better things to do than answer requests for the reuse of this simplistic imd() function. Sufficient accreditation regarding this script and compliance with "TV's House Rules" regarding code reuse, is as easy as copying the entire function as is. Fair enough? Good! I have a backlog of "computational crises" to contend with, including another one during the writing of this elaborate description.
When available time provides itself, I will consider your inquiries, thoughts, and concepts presented below in the comments section, should you have any questions or comments regarding this indicator. When my indicators achieve more prevalent use by TV members, I may implement more ideas when they present themselves as worthy additions. Have a profitable future everyone!
3 Leg Short Strangle BandsDraws 3 leg bands along with safe zone(green lines) based on input
1) Input ATR, Week Day, Current Market Close
2) Input ATR - Previous day 1H Max ATR
3) ADX < 25
4) Input Current Market Close
5) Trading Day - Mon/Tue/Wed/Thu/Fri - Bands distance calculated based on day M/Tu/F 2*(Max ATR), W/Th 1.5(ATR)
6) Safe zone green lines - CMPCls +/- (1.5 * Max ATR)
7) Leg 1 Upper Lower Legs - M/Tu/F - CMPCls +/-(2 * Max ATR), W/Th - CMPCls +/-(1.5 * ATR)
8) Leg 2 & 3 Calculates based on Leg 2 = Leg 1 +/- 100 pts distance, Leg 3 = Leg 2 +/- 100 pts distance'
9) All figures rounded to nearest 100's
10) Safe zone broken exit all positions
This is a popular technic used by Profitable traders on sideway markets for Intraday
One can keep 3K as SL per 1 set of 3 legs for better R:R
Mean recursion envelopeFree for public consumption
There is very little original here, the idea is discussed in the underground traders alliance, (google em), and was apparently the basis of what was at one time myfxbooks most profitable strategy.
I can't find the original video that was floating around on youtube, but if i find it again, i'll link it here.
This is bascially just the TV default envelope code copied and modified.
The idea is to have an envelope based on a low length, exponential basis. Then to manually "tune" the percent input so that the envelopes engulf most bars. Whenever price goes outside the envelopes (especially at key levels), look for a change to enter a reversion back to the ema.
This manual tuning when switching between time-frames and symbols of the percentage input, becomes arduous.
Instead this script uses the TV envelope code, but gets a setting based on the average of true range and "autotunes" with this.
Anything that protrudes beyond that level, especially at key levels, is likely to revert back to the ema. Bear in mind, a run away trend will also push past the envelopes and continue running for several (3-5) bars so, use it mindfully and thoughtfully with all the usual cautions about risk management.
MCD_Pro01+ This indicator used for detect banker/institutional and retailer
Green is locked chips (Retailer)
Yellow is floating chips (Hot money)
Red is profitable chips (Banker/Institutional)
With 10 days Banker moving average in purple line
When the Purple line hit the Red bar it mean Banker is starting the upside trend should buy
But if the Purple line is above the Red line it mean Banker is starting downside trend should sell
Buy when=Purple Bar
Sell When=Black Bar
This is how to short-time investing follow banker
Composite Synchronous Sinusoidal Harmonics Waveform GeneratorWait, "Composite Synchronous Sinusoidal Harmonics Waveform Generator", say what?? What on earth is that, and what function does this script perform? Keep reading and discover! It's intended and provided freely to use for any TV member at any skill level, not just at the engineering level. This is also available for anyone becoming fluent with why stocks/markets fluctuated the way that they do.
Don't let the entitled name frighten you, it's actually surprisingly fun to just fiddle with. This is ALSO a ingenious PSv4 tinker toy. Change any input() and see how one subtle settings alteration dramatically changes the entire fractal. You might learn something new about this giant financial game we all are determined to play anyways. Double and triple tops, head and shoulders, bounces, cup/handle, consolidations, and MANY-MANY other things are revealed on how they come to exist and why. Funny thing is, this is occurring in minds of traders psychologically. You, me, everyone! Ponder that.
Initially, I wanted a synthetic signal "generator", where I would know for certain what the specific "composing" frequencies are for testing, spectral analysis, filtering, and pattern recognition purposes. Inherent "harmonics" affect nearly every algorithmic indicator you have seen or that may come to exist. While encountering a plethora of cycles, you may see exactly how well your indicators/filters perform when "sourced" to this script with `src = input(close, "Source", input.source)`. Keep in mind, open, high, low, and volume variables are NOT available, if they are employed in your indicators calculations. Feel free to tether this to TV built-in indicators or create your own in TV's Pine Editor, if a source input() isn't already provided. See what happens...
Educating you informatively further, there are "synchronous" irregular harmonic frequencies just like this that do in fact exist in tickers everywhere. While this script's specific generated "sinusoidals" are completely stationary, the ones you will see in REAL price action are ephemeral, emerging and disappearing at any time unexpectedly. The remarkable thing about my creation is, you may notice patterns in the generated fundamental "waveform" that are eerily similar to actual stock market fractal patterns encountered everyday. On just spontaneous random chance, I found a recognizable pattern on a watch list asset displayed above, without looking for it before publishing this. I did not cherry pick that or tune the settings to it. I just bumped up the chart interval one notch and offset the waveform quickly.
As you can witness looking closer, there are numerous pure sine waves artificially created with different amplitudes and phase shifts to form unique patterns that combine together in most unique ways appearing fractal in nature. The sine waves are not derived from any ticker price/volume that you maybe viewing, and should look similar on any time frame chosen. Don't worry about chart intervals. The combination of these with simple addition results in the most unique of waveforms in white. You will notice "dominant cycles", as Dr. John Ehlers would describe them, are the prevailers in movement. Yet those smaller cycles have enormous influence over more powerful cycles and ultimately our indicators.
One intention not included at initial release is a preset waveforms input() to instantly generate very specific patterns, such as a pseudo-square wave, sawtooth wave, and many others that may have applications in real world pattern matching. If you happen to come across very unique ones, you may inform me privately via TV chat and I will consider your gracious considerations of discovered settings for inclusion. I'm awaiting Pine arrays to arrive for that major revision. Yes, you have read that correctly. They have been in the TV contributor/developer oven for quite some time. This was revealed in a "public" announcement recently, and I decided to provide you with a "Get Ready Notification" in this script's description, wink-wink. Pine Script endowed with arrays may be used to create and test spectral decomposition analytics code, filters, or what ever else your mind can surmise utilizing this nifty generator script. You now have another tool for your TV tool belt, to aid with spawning the future evolution of indicators on TradingView. Let the tinkering commence...
Features List Includes:
Waveform offset
Nyquist noise injection
Sine wave enable/disable for all sine waves
Cycle period for all sine waves
Amplitude for all sine waves
Phase shift for all sine waves
The comments section below is solely just for commenting and other remarks, ideas, compliments, etc... regarding only this indicator, not others. When available time provides itself, I will consider your inquiries, thoughts, and concepts presented below in the comments section if you do have any questions or comments regarding this indicator. When my indicators achieve more prevalent use by TV members , I may implement more ideas when they present themselves as worthy additions. As always, "Like" it if you simply just like it with a proper thumbs up, and also return to my scripts list occasionally for additional postings. Have a profitable future everyone!
RSI Plus v1.0 by WilsonThis is a modified version of my RSI Cloud indicator. I have included the option to plot 2 moving averages. Type of moving averages included in the script are SMA, EMA, WMA, VWMA, Hull MA and ALMA. Option to fill colors and to add alerts are included. I shall be including more options in a future update.
Anyone is free to copy and modify the script. Wishing everyone happy and profitable trading.
RSI+ by WilsonThis is a modified version of my RSI Cloud indicator. You can plot 2 moving averages over RSI. You have the option to plot moving average types like SMA, EMA, WMA, VWMA, HullMA, and ALMA. You also have the option to plot histograms based on any of the moving averages. You can fill colors between RSI and moving averages. Option to add alerts, crossover and crossunder signals are also included. I have also included a band to show the position of RSI using three colors. Green color is shown when RSI is above both the plotted moving averages. Red color is shown when RSI is below both the plotted moving averages. And Yellow color is shown when RSI is between the two plotted moving averages. Anyone is free to use the script. Wishing everyone happy and profitable trading.
HFT Divergence Hunter IndicatorDefault Settings are meant to be used in BTC/USDT chart on 5 min time frame on Binance Futures. If you want to use for another asset on another time frame YOU MUST CHANGE THE SETTINGS
This is a divergence finding indicator developed by HFT Research. It is a highly customizable indicator and provides endless opportunities to find profitable trades in the market.
Use Envelope, this is the main decision maker in this strategy. The idea behind is that you choose the length of the moving average and set an offset % to create an upper and lower band. If you click on “display envelope” you will be able to visually see the band you have created. This way, you get to scalp the market as the price is diverging and moving away from the moving average. As the famous saying goes, moving averages act like magnets and prices always visits them back. Using this ideology, we aim to capitilize on the price swings that move away from the chosen moving average by x%.
STARC Bands;
These are two bands that are applied above and below a simple moving average of an asset’s price. The upper band is created by adding the value of the average true range (ATR) or a multiple of i. The lower band is created by subtracting the value of the ATR from the SMA. The channel can provide traders with ideas on when to buy or sell. During an overall uptrend, buying near the lower band and selling near the top band is favorable. However, from our testing results it does fairly poorly in crypto markets while it does pretty well in traditional markets.
Use RSI;
One of the most commonly used indicators in the trading world. The idea is simple, buy when its oversold and sell when its overbought. You can use RSI as a secondary confirmation of the dips. It can be turned on and off.
Use MFI
MFI stands for Money Flow Index and it is an oscillator like RSI. However, it does track the price in a different fashion than RSI providing a reliable option. It uses the price and volume data for identifying overbought and oversold signals in an asset.
Use Fisher Transform
Even though, it has a funny name, Fisher is actually a very decent and reliable indicator. It converts the prices into a Gaussian normal distribution channel. Therefore, the indicator detects when the prices have moved to an extreme, based on recent price action.
Use VWAP
VWAP stands for volume weighted average price. It is an extremely useful indicator when trading intra-day. It does reset every trading session which is at 00:00 UTC. Instead of looking at x number of candles and providing an average price, it will take into consideration the volume that’s traded at a certain price and weigh it accordingly. It will NOT give entry signals but act as a filter. If the price is above VWAP will filter out the shorts and other way around for longs.
Use ADX
Average directional index is a powerful indicator when one is assessing the strength of a trend as well as measuring the volatility in the market. Unfortunately, the worst market condition for this strategy is sideways market. ADX becomes a useful tool since it can detect trend. If the volatility is low and there is no real price movement, ADX will pick that up and will not let you get in trades during a sideways market. It will allow you to enter trades only when the market is trending.
Use Super trend Filter
The indicator works well in a trending market but can give false signals when a market is trading in a range.
It uses the ATR (average true range) as part of its calculation which takes into account the volatility of the market. The ATR is adjusted using the multiplier setting which determines how sensitive the indicator is.
Use MA Filter
Lookback: It is an option to look back x number of candles to validate the price crossing. If the market is choppy and the price keeps crossing up and down the moving average you have chosen, it will generate a lot of “noisy” signals. This option allows you to confirm the cross by selecting how many candles the price needs to stay above or below the moving average. Setting it 0 will turn it off.
MA Filter Type: There is a selection of moving averages that is available on TradingView currently. You can choose from 14 different moving average types to detect the trend as accurate as possible.
Filter Length: You can select the length of your moving average. Most commonly used length being 50,100 and 200.
Filter Type: This is our propriety smoothing method in order to make the moving averages lag less and influence the way they are calculated slightly. Type 1 being the normal calculation and type 2 being the secret sauce.
Reverse MA Filter: This option allows you to use the moving average in reverse. For example, the strategy will go long when the price is above the moving average. However, if you use the reserve MA Filter, you will go short when the price is above the moving average. This method works best in sideways market where price usually retraces back to the moving average. So, in an anticipation of price reverting back to the moving average, it is a useful piece of option to use during sideway markets.
Use MACD Filter
MACD here will act as a filter rather than an entry signal generator. There are a few different ways to use this MACD filter. You can click on the Use MACD filter and it will use filter out the shorts generated in a bullish territory and longs generated in the bearish territory. It will greatly reduce the number of trades the strategy will trade because MACD is a lagging indicator. By the time MACD turns bullish or bearish, most of the other indicators will have already generated the signals. Therefore, resulting in less trades. You can use MACD filter as MA oscillator meaning that it will only look at the MA lines in MACD to filter out trades. Alternatively, you can use it with the histogram (Signal lines) meaning that it will only look at the histogram whether its below or above the zero line in order to filter out the trades.
TP (%)
Place your desired take profit percentage here. Default is 1.5%
Move SL At Entry x% Profit
This is when the strategy will move your SL to the entry point if the position reaches x% profit. It can also generate a signal which can be automated to adjust the SL on the exchange.
SL (%)
Place your desired stop loss percentage here. Default is 1%
If you want to get access to this indicator please DM me or visit our website.
RSI Cloud by WilsonThis indicator will help you to be on the right side of the trend always. Wishing you a happy and profitable trading experience.
Intraday Long & Short 5MinRules for using this indicator
1. Time Frame - 5 Min (Recommended) or 15 Min
2. Long Entry - when High of signal candle breaks by any Green candle' close.
3. Short Entry - when Low of signal candle breaks by any Red candle' close.
4. Price might reverse after you take entry till Red line or Green Line and as this indicator is based on Higher High and Lower Low Support and Resistance method. Most of time it will reverse after touching the line. You can confirm the Price action from that point. else Exit.
5. Entry in 5 Min timeframe and holding for swingtrade until overbought and oversold indication appears will give extra profits.
6. DYOR
Like,Comment and add this to favorite if you find it useful.
Consider Donating coins only if this indicator turns profitable for you.
Thank you!