Diverging Chart Patterns - Ultimate [Trendoscope®]🎲 Presenting the Diverging Chart Patterns Ultimate Indicator
Much like its counterpart, the Converging Chart Patterns Ultimate indicator, this tool is an offshoot of our premium Auto Chart Patterns - Ultimate offering. However, it is exclusively designed to focus on diverging patterns.
🎲 Built on Extensive Research and Open-Source Foundations
Our journey toward creating this indicator has been guided by thorough research and insights gleaned from our previous works on Chart Patterns, which include:
Algorithmic Identification of Chart Patterns
Flag and Pennant Chart Patterns
Trading Diverging Chart Patterns
Drawing from the groundwork established by our publicly available indicators - Auto Chart Patterns and Flags and Pennants - this tool represents the culmination of our efforts to furnish traders with a refined approach to navigating diverging patterns. It not only facilitates the formulation of technical trading strategies but also aids in assessing their efficacy through historical performance analysis. The specific patterns addressed by this indicator encompass:
Rising Wedge (Diverging Type)
Falling Wedge (Diverging Type)
Diverging Triangle
Rising Triangle (Diverging Type)
Falling Triangle (Diverging Type)
🎲 Chart Pattern Scanning Methodology
Identifying diverging chart patterns follows a structured approach comprising several key steps:
Zigzag Examination : Start by analyzing each zigzag, focusing on the last 5 or 6 pivot points to pinpoint potential trend line pairs.
Divergence Verification : Project these trend lines backward and scrutinize for intersections within a specified number of bars prior. This step confirms the presence of divergence.
Pattern Categorization : Once divergence is confirmed, categorize each pattern based on the directional orientation of its trend lines. Refer to our article - Algorithmic Identification of Chart Patterns for detailed categorization guidelines.
🎲 Methodology or Trading for Chart Patterns
While traditional perspectives often prescribe specific trading biases to diverging patterns—for instance, labeling Rising Wedges as bearish and Falling Wedges as bullish, while acknowledging Triangles' versatility—there's limited empirical evidence to fully support these assumptions. Our indicator is crafted to empower users to explore and validate a wide range of trading hypotheses, including unconventional ones. This approach liberates trading strategies from being confined to historical market behaviors.
We offer extensive customization options to facilitate testing of diverse strategies. The initial setup accommodates both long and short trading scenarios for each identified pattern. Users retain the freedom to adjust trading directions and other parameters within the indicator's settings to align with their analytical preferences.
This open approach is grounded in the methodology detailed in - Trading Diverging Chart Patterns . It is exemplified by the following process, which users can customize and enhance using our indicator.
🎲 Insight into Indicator Components
The chart below provides an illustration of the components comprising our indicator:
Pattern Visualization : This functionality dynamically showcases patterns on the chart, emphasizing presently active ones. Historical patterns are omitted to uphold clarity and optimize performance, considering limitations in drawing object capacity.
Trading Annotations : The indicator conveniently denotes open trades directly on the chart, accommodating both long and short positions based on user preferences and the ongoing status of associated trades for each pattern.
Performance Metrics Table : A comprehensive table meticulously presents backtesting outcomes for individual patterns alongside aggregated results. It encompasses vital metrics such as win rates and the profit factor, calculated in alignment with the designated risk-reward ratio. These insights provide users with valuable assessments of potential profitability and trade strategy effectiveness.
🎲 Delving into the Indicator's Customization Features
Our indicator boasts a wealth of settings, empowering users to customize criteria and refine their trading strategies. Each setting comes with detailed tooltips, offering valuable insights into its functionality. Let's explore each category methodically.
🎯 Zigzag Configuration Options
These settings provide users with the flexibility to fine-tune their pattern analysis by adjusting the length and depth of the zigzag:
Length Adjustment : Altering this parameter modifies the scale of detected patterns. Higher values highlight larger formations, while lower ones focus on more compact patterns.
Depth Enhancement : This parameter adjusts the complexity of the recursive zigzag analysis, potentially revealing larger patterns across multiple levels. Users should exercise caution, as excessive depth may strain the indicator's processing capacity.
🎯 Pattern Scanning Settings
This collection of settings refines the pattern scanning process, typically adjusted to achieve precise geometric alignment of detected patterns. While many settings can be left at their default values for regular use, users are encouraged to customize them, particularly the "Last Pivot Direction," to explore different theoretical approaches to pattern trading.
🎯 Trade Configuration Settings
Arguably the most vital for users, these settings provide full control in shaping trading strategies based on diverging chart patterns. This encompasses the freedom to establish entry, stop, and target prices, fine-tune risk-reward ratios, choose historical depth for backtesting, and integrate filters to guide trade direction.
🎯 Pattern Specific Settings
Here, users have the flexibility to customize settings for individual patterns or groups, thereby refining the precision of their strategies. Alongside the option to enable/disable specific patterns and pattern groups, users can also choose pattern-specific settings such as Last Pivot Direction, Trade Direction Filter, and external filters.
🎯 Fully Customizable Alerts
Utilizing the alert() function, these notifications circumvent the usual template within the alert widget. To address this, we've integrated placeholders in the settings for creating comprehensive alert templates.
Available Categories Include
New - Alerts when a new pattern is identified
Entry - Alerts when an entry condition for a configured pattern based trade is met.
Stop - Alerts when a trade that has reached entry gets stopped out without reaching target
Target - Alerts when a trade reaches its target
Invalidation - Alerts when a trade reaches an invalidation point before reaching the entry.
Each alert type can possess its unique template. Tailorable templates are crucial for effectively utilizing alerts within broker or exchange integration.
Here are some of the placeholders that are defined in the indicator.
{type} - Alert type - new/entry/stop/target/invalid
{pid} - Pattern ID of the pattern belonging to trade. Multiple trades can have same pattern id since a pattern can be traded in both long and short directions.
{tid} - Unique Trade ID for the given trade.
{ticker} - Ticker ID on which the indicator is run
{timeframe} - Chart timeframe on which the indicator is run
{basecurrency} - Base currency of the symbol
{quotecurrency} - Quote currency of the symbol
{pivots} - Pivot values of the pattern
{price} - Current price when the alert is triggered.
{pattern} - Name of the pattern on which the alert is triggered.
{direction} - Direction of the trade.
{entrydirection} - Direction of the entry signal. Used for specific bot integration.
{exitdirection} - Direction of the exit signal. Used for specific bot integration.
{entry} - Entry price of the trade
{stop} - Stop price of the trade
{target} - Target price of the trade
{invalidation} - Invalidation price of the trade
🎯 Display and Stats
These settings regulate the display options on the chart. Closed trade statistics are showcased in a table and appear in the bottom-left corner of the chart. These can be tailored using the display settings.
在脚本中搜索"bot"
speed of tradesThis indicator calculates the speed of trades, on other platform that is called speed of tape, but they said you need delta and others for the calculation.
Calculation method
This indicator calculates the number of trades per bar and filter it, if they are above a sma it highlights the column to know that could be a bar where there are more trades than usual.
It's based on an example of pinescript v5 user manual where explain the use of varip
HF Bots filter and common uses
know where there are more trades than usual help you to have an idea that could be HF Bots working on that bar, also if you dont belive on that, can also help you to have an idea of momentum or stoping action.
Why is this indicator original?
The speed of trades indicator give you an counter of number of trades and a filter for bars where there are a lot of trades, so searching speed of tape/trades indicator that don't exist on tradingview, this indicator is original.
How to charge data?
By default it doesn't load historical tick data, this indicator only works on realtime bars.
Advanced Trend Strategy [BITsPIP]The BITsPIP team is super excited to share our latest trading gem with you all. We're all about diving deep and ensuring our strategies can stand the test of time. So, we invite you to join us in exploring the awesome potential of this new strategy and really put it through its pace with some deep backtesting. This isn't just another strategy; it boasts a profit factor hovering around 1.5 across over 1000 trades, which is quite an achievement. Consider integrating it with your trading bots to further enhance your trading efficiency and profit generation. Curious? Ask for trial access or drop by our website for more details.
I. Deep Backtesting
We're all in on transparency and solid results, which is why we didn't stop at 100... or even 500 trades. We went over 1000, making sure this strategy is as robust as they come. No flimsy forecasts or sneaky repainting here. Just good, solid strategy that's ready for the real deal. Curious about the details? Check out our detailed backtesting screenshot for the BINANCE:BTCUSDT in a 5-minute timeframe. It's all about giving you the clear picture.
#No Overfitting
#No Repainting
Backtesting Screenshot
II. Algorithmic Trading
Thinking of trading as a manual game? Think again! Manual trading is a bit like rolling the dice - fun, but kind of risky if you're aiming for consistent wins. Instead, why not lean into the future with algorithmic trading? It's all about trusting the market's rhythm over the long term. By integrating your strategy with a trading bot, you can enjoy peace of mind, rest easy, and keep those emotional trades at bay.
III) Applications
Dive into the Advanced Trend Strategy, your versatile tool for navigating the market's waters. This strategy shines in under an hour timeframes, offering adaptability across stocks, commodities, forex, and cryptocurrencies. Initially fine-tuned for low-volatility cryptos like BINANCE:BTCUSDT , its default settings are a solid starting point.
But here's where your expertise comes into play. Each market beats to its own drum, necessitating nuanced adjustments to stop loss and take profit settings. This customization is key to maximizing the strategy's effectiveness in your chosen arena.
IV) Strategy's Logic
The Advanced Trend Strategy is a powerhouse, blending the precision of Hull Suite, RSI, and our unique trend detector technique. At its core, it’s designed for savvy risk management, aiming to lock in substantial profits while steering clear of minor market ripples. It utilizes stop-loss and take-profit thresholds to form a profit channel, providing a safety net for each trade. This is a trend-following strategy at heart, where these profit channels play a critical role in maximizing returns by securing positions within these "warranty channels."
1. Trend-Following
The market's complexity, influenced by countless factors, makes small movements seem almost chaotic. Yet, the principle of #Trend-Following shines in less volatile markets in long term. The strategy excels by pinpointing the ideal moments to enter the market, coupled with refined risk management to secure profits. It’s tailored for you, the individual trader, enabling you to ride the waves of market trends upwards or downwards.
2. Risk Management
A key facet of the strategy is its emphasis on pragmatic risk management. Traders are empowered to establish practical stop-loss and take-profit levels, tailoring these crucial parameters to the specific market they are engaging in. This customization is instrumental in optimizing long-term profitability, ensuring that the strategy adapts fluidly to the unique characteristics and volatility patterns of different trading environments.
V) Strategy's Input Settings and Default Values
1. Alerts
The strategy comes equipped with a flexible alert system designed to keep you informed and ready to act. Within the settings, you’ll find options to configure order/exit and comment/alert messages to your preference. This feature is particularly useful for staying on top of the strategy’s activities without constant manual oversight.
2. Hull Suite
i. Hull Suite Length: Designed for capturing long-term trends, the Hull Suite Length is configured at 1000. Functioning comparably to moving averages, the Hull Suite features upper and lower bands. Currently, it is set to 1000.
ii. Length Multiplier: It's advisable to maintain a minimal value for the Length Multiplier, prioritizing the optimization of the Hull Suite Length. Presently, it is set to 1.
3. RSI Indicator
i. The RSI is a widely recognized tool in trading. Adapt the oversold and overbought thresholds to better match the specifics of your market for optimal results.
4. StopLoss and TakeProfit
i. StopLoss and TakeProfit Settings: Two distinct approaches are available. Semi-Automatic StopLoss/TakeProfit Setting and Manual StopLoss/TakeProfit Setting. The Semi-Automatic mode streamlines the process by allowing you to input values for a 5-minute timeframe, subsequently auto-adjusting these values across various timeframes, both lower and higher. Conversely, the Manual mode offers full control, enabling you to meticulously define TakeProfit values for each individual timeframe.
ii. TakeProfit Threshold # and TakeProfit Value #: Imagine this mechanism as an ascending staircase. Each step represents a range, with the lower boundary (TakeProfit Value) designed to close the trade upon being reached, and the upper boundary (TakeProfit Threshold) upon being hit, propelling the trade to the next level, and forming a new range. This stair-stepping approach enhances risk management and increases profitability. The pre-set configurations are tailored for $BINANCE:BTCUSDT. It's advisable to devote time to tailoring these settings to your specific market, aiming to achieve optimal results based on backtesting.
iii. StopLoss Value: In line with its name, this value marks the limit of loss you're prepared to accept should the market trend go against your expectations. It's crucial to note that once your asset reaches the first TakeProfit range, the initial StopLoss value becomes obsolete, supplanted by the first TakeProfit Value. The default StopLoss value is pegged at 1.6(%), a figure worth considering in your trading strategy.
VI) Entry Conditions
The primary signal for entry is generated by our custom trend detection mechanism and hull suite values (ascending/descending). This is supported by additional indicators acting as confirmation.
VII) Exit Conditions
The strategy stipulates exit conditions primarily governed by stop loss and take profit parameters. On infrequent occasions, if the trend lacks confirmation post-entry, the strategy mandates an exit upon the issuance of a reverse signal (whether confirmed or unconfirmed) by the strategy itself.
BITsPIP
Converging Chart Patterns - Ultimate [Trendoscope®]🎲 Introducing the Converging Chart Patterns Ultimate Indicator
Derived from the comprehensive capabilities of our premium offering, the Auto Chart Patterns - Ultimate , this new indicator focuses exclusively on converging chart patterns. It marks the beginning of a series that, over time, will encompass the full spectrum of chart pattern analysis, ultimately enhancing and expanding beyond the scope of Auto Chart Patterns.
This strategic separation into more focused indicators is designed to cater to traders seeking precision in specific chart pattern categories.
🎲 Leveraging Research and Open-Source Foundations
Our journey to this indicator has been paved by extensive research and the insights gained from our prior works on Chart Patterns, including:
Algorithmic Identification of Chart Patterns
Flag and Pennant Chart Patterns
Trading Converging Chart Patterns
Drawing upon the foundation laid by our publicly shared indicators - Auto Chart Patterns and Flags and Pennants - this tool is the culmination of our efforts to provide traders with a refined method for strategizing around converging patterns. It not only facilitates the development of technical trading strategies but also aids in evaluating their effectiveness through historical performance analysis. The specific patterns addressed by this indicator include:
Rising Wedge (Converging Type)
Falling Wedge (Converging Type)
Converging Triangle
Rising Triangle (Converging Type)
Falling Triangle (Converging Type)
🎲 Chart Pattern Scanning Methodology
The process of identifying converging chart patterns involves several key steps:
Begin by examining each zigzag for the last 5 or 6 pivot points to identify potential trend line pairs.
Determine if these trend lines are converging by projecting them forwards and checking for an intersection within a specified number of bars ahead.
Upon confirming convergence, categorize each pattern based on the directional orientation of its trend lines, as detailed in our article - Algorithmic Identification of Chart Patterns
🎲 Methodology or Trading for Chart Patterns
While traditional views assign specific trading biases to converging patterns (e.g., Rising Wedges as bearish and Falling Wedges as bullish, with Triangles being more versatile), empirical support for these assumptions is limited. Our indicator is designed to empower users to explore and validate various trading hypotheses, including unconventional ones, thereby not confining trading strategies to past market behaviors.
We enable extensive customization for testing different strategies, with the initial setup allowing for both long and short trading scenarios for each identified pattern. Users have the liberty to adjust trading directions and other parameters within the indicator's settings to suit their analytical needs.
This open approach is rooted in the methodology outlined in - Trading Converging Chart Patterns , exemplified by the following process, which users can adapt and refine through our indicator.
🎲 Overview of Indicator Components
The components of our indicator are illustrated in the chart below
Pattern Visualization : This feature dynamically displays the patterns on the chart, focusing on currently active patterns. To maintain clarity and performance, historical patterns are not shown due to the constraints of drawing objects.
Trading Annotations : The indicator marks open trades directly on the chart, accommodating both long and short positions depending on the user's settings and the current status of trades associated with each pattern.
Performance Metrics Table : A comprehensive table presents the back testing results for individual patterns as well as aggregated outcomes. It includes crucial metrics such as win rates and the profit factor based on the set risk-reward ratio, offering users valuable insights into the potential profitability of their configurations and trade strategies.
🎲 Exploring the Indicator's Customization Options
This indicator is rich in settings, offering users the capability to tailor criteria and adapt their trading rules. Each setting is accompanied by detailed tooltips, providing insights into their use. Let's examine each category systematically.
🎯 Zigzag Configuration Options
These settings enable users to adjust the scope of their pattern analysis by varying the zigzag's length and depth.
Length Adjustment : Modifying this parameter changes the scale of detected patterns, with higher values spotting larger formations and lower ones focusing on more compact patterns.
Depth Enhancement : This alters the intricacy of the recursive zigzag analysis, potentially unveiling larger patterns across several levels. Caution is advised, as excessive depth may lead to the indicator exceeding its processing capacity.
🎯 Pattern Scanning Settings
This suite of settings fine-tunes the pattern scanning process, generally calibrated for precise geometric alignment of identified patterns. While most settings may remain as default for routine use, users are encouraged to tweak them, especially the "Last Pivot Direction," to explore various theoretical approaches to pattern trading.
🎯 Trade Configuration Settings
Arguably the most crucial for users, these settings offer complete autonomy in defining trading strategies around converging chart patterns. This includes the flexibility to set entry, stop, and target prices, adjust risk-reward ratios, select the historical depth for back testing, and incorporate filters to steer trade direction.
🎯 Pattern Specific Settings
Here, users can personalize settings for individual patterns or groups, enhancing the specificity of their strategy. Apart from enabling/disabling individual patterns and pattern groups, users can also select pattern specific Last Pivot Direction, Trade Direction Filter and external filters for each pattern.
🎯 Fully Customizable Alerts
Implemented through the alert() function, these alerts bypass the standard template in the alert widget. To counteract this, we've introduced placeholders within the settings to craft detailed alert templates.
Available Categories Include
New - Alerts when a new pattern is identified
Entry - Alerts when an entry condition for configured pattern based trade is met.
Stop - Alerts when a trade that has reached entry gets stopped out without reaching target
Target - Alerts when a trade reaches its target
Invalidation - Alerts when a trade reaches invalidation point before reaching the entry.
Each alert types can have its own template. Customizable templates are very important in using alerts for broker or exchange integration.
Here are some of the placeholders that are defined in the indicator.
{type} - Alert type - new/entry/stop/target/invalid
{pid} - Pattern ID of the pattern belonging to trade. Multiple trades can have same pattern id since a pattern can be traded in both long and short directions.
{tid} - Unique Trade ID for the given trade.
{ticker} - Ticker ID on which the indicator is run
{timeframe} - Chart timeframe on which the indicator is run
{basecurrency} - Base currency of the symbol
{quotecurrency} - Quote currency of the symbol
{pivots} - Pivot values of the pattern
{price} - Current price when the alert is triggered.
{pattern} - Name of the pattern on which the alert is triggered.
{direction} - Direction of the trade.
{entrydirection} - Direction of the entry signal. Used for specific bot integration.
{exitdirection} - Direction of the exit signal. Used for specific bot integration.
{entry} - Entry price of the trade
{stop} - Stop price of the trade
{target} - Target price of the trade
{invalidation} - Invalidation price of the trade
🎯 Display and Stats
These settings are used to control the display options on the chart. Closed trade stats is displayed in a table and printed in the bottom left corner of the chart. This can be customized by using display settings.
MACD-all in one_Pro[vn]👉 Hello traders.
Introducing the "MACD-All-in-One" indicator including functions:
• Automatically scan MACD-Histogram divergence
• Automatically scan MACD-Histogram divergence-missing right shoulder
• Automatically scan the Engulfing candlestick pattern when the MACD line crosses the Signal line
• Automatically create warnings when there are signals of Regular divergence, missing right shoulder divergence, Engulfing candlestick pattern
Explain:
💥1. Regular divergence
1.1 Bullish divergence
+ The price creates the next bottom lower than the previous bottom
+ The histogram of the next bottom is higher than the previous bottom and is located below the 0 axis (between the two histogram bottoms there must be a histogram located on the 0 axis for clear distinction)(Hình 1)👇👇
1.2 Bearish divergence
+ The price creates a higher peak than the previous peak
+ The histogram of the next bottom is lower than the previous bottom and is above the 0 axis (between the two histogram peaks there must be a histogram below the 0 axis for clear distinction)(Hình 2)👇👇
💥2. Divergence lacking right shoulder
2.1 Bullish divergence missing the right shoulder
+ The price creates the next bottom lower than the previous bottom
+ The histogram of the posterior bottom does not form and the histogram is still above the zero line (only the histogram of the previous bottom is below the zero line)
+ The meaning is that when the price creates a lower bottom but the buying force is already very strong, the histogram of the next bottom does not form and the price will increase(hình 3&4)👇👇
2.2 Bearish divergence missing the right shoulder
+ The price creates a higher peak than the previous peak
+ The histogram of the next peak does not form and the histogram is still below the zero line (only the histogram of the previous peak is on the zero line)
+ The meaning is that when the price creates a higher peak but the buying force has weakened, the histogram of the next bottom does not form and the price will go down.(hình 5 & 6)👇👇
💥3. Engulfing candlestick pattern
When the MACD and Signal lines intersect and there appears a pair of engulfing (completely) candlesticks, that candlestick will be marked as 'E⌃' in green (bullish engulfing) or 'E⌄' in red (Bearish engulfing)(hình 7 & 8)👇👇
💥4. Automatic alerts include 5 levels: Bull, Bear, Bullish Engulfing, Bearish Engulfing, bullish divergence missing the shoulder, bearish divergence missing the shoulder
//-------------------------Extra feature: Impulse System
This indicator also includes the “Impulse System”. The Impulse System is based on two indicators, a 13-day exponential moving average and the MACD-Histogram, and identifies inflection points where a trend speeds up or slows down. The moving average identifies the trend, while the MACD-Histogram measures momentum. This unique indicator combination is color coded into the price bars or macd histogram bars for easy reference.
Calculation:
Green Price Bar: (13-period EMA > previous 13-period EMA) and
(MACD-Histogram > previous period's MACD-Histogram)
Red Price Bar: (13-period EMA < previous 13-period EMA) and
(MACD-Histogram < previous period's MACD-Histogram)
Histogram bars are colored blue when conditions for a Red Histogram Bar or Green Histogram Bar are not met. The MACD-Histogram is based on MACD(12,26,9).
The Impulse System works more like a censorship system. Green histogram bars show that the bulls are in control of both trend and momentum as both the 13-day EMA and MACD-Histogram are rising (you don't have permission to sell). A red histogram bar indicates that the bears have taken control because the 13-day EMA and MACD Histogram are falling (you don't have permission to buy). A blue histogram bar indicates mixed technical signals, with neither buying nor selling pressure predominating (either both buying or selling are permitted).
-------------------------------//
💥5. Additional:
+Shows a pair of EMA12 vs EMA24.
+Shows Keltner Channels (using ATR) are volatility-based envelopes set above and below an exponential moving average.
//-------------------------------------------------------------------------------------------------------------//
✍️Conclude:
From this indicator there are 3 ways to trade:
• Method 1: Enter an order following the automatic Bull or Bear signal when the indicator appears
• Method 2: Enter an order following the automatic signal of the green vertical line (Long) or the red vertical line (Short) when the indicator appears
• Method 3: Enter orders according to the pair of engulfing candles 'E⌃' or 'E⌄' (because this is a combination of the method of engulfing candles and 2 MA lines intersecting each other)
• From this indicator, I created a "bot" that scans for "right shoulder missing divergence" signals for 40 trading pairs at the same time in real time. (hình 9)👇👇👇
//---------------------------------------------------------------------------------------------------------------
👉 Xin chào trader Việt Nam.
Giới thiệu chỉ báo "MACD-Tất cả trong một " bao gồm các chức năng:
• Tự động quét phân kì MACD-Histogram
• Tự động quét phân kì MACD-Histogram-thiếu vai phải
• Tự động quét mô hình nến nhấn chìm(Engulfing) khi đường MACD cắt đường Signal
• Tự động tạo cảnh báo khi có tín hiệu phân kì thường(Regular) , phân kì thiếu vai phải, mô hình nến Engulfing
Diễn giải:
💥1. Phân kì thường
1.1 Phân kì tăng
+ Giá tạo đáy sau thấp hơn đáy trước
+ Histogram của đáy sau cao hơn đáy trước và nằm bên dưới trục số 0(giữa hai đáy histogram phải có histogram nằm trên trục số 0 để phân biệt rõ ràng)(Hình 1 bên trên)☝️☝️
1.2 Phân kì giảm
+ Giá tạo đỉnh sau cao hơn đỉnh trước
+ Histogram của đáy sau thấp hơn đáy trước và nằm trên trên trục số 0(giữa hai đỉnh histogram phải có histogram nằm dưới trục số 0 để phân biệt rõ ràng)(Hình 2 bên trên)☝️☝️
💥2. Phân kì thiếu vai phải
2.1 Phân kì tăng thiếu vai phải
+ Giá tạo đáy sau thấp hơn đáy trước
+ Histogram của đáy sau không hình thành và histogram vẫn nằm bên trên trục số 0(chỉ có histogram của đáy trước dưới trục số 0)
+ Ý nghĩa rằng khi giá tạo đáy sau thấp hơn nhưng lực mua đã rất mạnh làm cho histogram đáy sau không hình thành và giá sẽ tăng lên(Hình 3 vs 4 bên trên)☝️☝️
2.2 Phân kì giảm thiếu vai phải
+ Giá tạo đỉnh sau cao hơn đỉnh trước
+ Histogram của đỉnh sau không hình thành và histogram vẫn nằm bên dưới trục số 0(chỉ có histogram của đỉnh trước trên trục số 0)
+ Ý nghĩa rằng khi giá tạo đỉnh sau cao hơn nhưng lực mua đã yếu dần làm cho histogram đáy sau không hình thành và giá sẽ đi xuống(Hình 5 vs 6 bên trên)☝️☝️
💥3.mô hình nến nhấn chìm
Khi hai đường MACD và Signal cắt nhau mà tại đó xuất hiện cặp nến nhấn chìm (hoàn toàn) thì trên thanh nến đó sẽ đánh dấu là 'E⌃' màu xanh (nhấn chìm tăng) hay 'E⌄' màu đỏ(nhấn chìm giảm)(Hình 7 vs 8 bên trên)☝️☝️
💥4. Cảnh báo tự động bao gồm có 5 mức : Bull, Bear, Bullish Engulfing, Bearish Engulfing, phân kì tăng thiếu vai, phân kì giảm thiếu vai
//--------------------Tính năng bổ sung: Hệ thống Impulse(xung)
Chỉ báo này cũng bao gồm “Hệ thống xung”. Hệ thống Impulse dựa trên hai chỉ báo, đường trung bình động hàm mũ EMA13 và Biểu đồ MACD, đồng thời xác định các điểm uốn trong đó xu hướng tăng tốc hoặc chậm lại. Đường trung bình động xác định xu hướng, trong khi biểu đồ MACD đo động lượng. Sự kết hợp chỉ báo độc đáo này được sơn thanh biểu đồ macd-histogram để dễ tham khảo.
Phép tính:
Thanh giá xanh lá : (EMA13 kỳ > EMA 13 kỳ trước đó) và (histogram sau > histogram trước)
Thanh giá màu đỏ: (EMA13 kỳ < EMA 13 kỳ trước đó) và (histogram sau < histogram trước)
Thanh biểu đồ có màu xanh lam khi các điều kiện cho histogram màu đỏ hoặc histogram màu xanh lá không được đáp ứng. Biểu đồ MACD dựa trên MACD(12,26,9).
Lưu ý: Hệ thống Impulse hoạt động giống một hệ thống kiểm duyệt hơn. Các thanh biểu đồ màu xanh lá cho thấy phe bò đang kiểm soát cả xu hướng và động lượng vì cả EMA13 và MACD-Histogram đều tăng (bạn không được phép bán). Thanh biểu đồ màu đỏ cho biết phe gấu đã nắm quyền kiểm soát vì biểu đồ EMA13 và MACD histogram đang giảm (bạn không được phép mua). Thanh biểu đồ màu xanh lam biểu thị các tín hiệu kỹ thuật hỗn hợp, không có áp lực mua và bán chiếm ưu thế (cho phép cả mua hoặc bán).
-------------------------//
💥5. Bổ sung:
+ Hiển thị một cặp EMA12 vs EMA24.
+ Hiển thị Kênh Keltner (sử dụng ATR) là các đường bao dựa trên mức độ biến động được đặt ở trên và dưới đường trung bình động hàm mũ.
//----------------------------------------------------------------------------------------------------------------//
✍️Kết luận:
Từ chỉ báo này có 3 cách giao dịch:
• Cách 1: Vào lệnh theo tín hiệu tự động Bull hoặc Bear khi chỉ báo hiện ra
• Cách 2: Vào lệnh theo tín hiệu tự động đường dọc xanh(Long) hoặc đường dọc đỏ(Short) khi chỉ báo hiện ra
• Cách 3: Vào lệnh theo cặp nến nhấn chìm 'E⌃' hay 'E⌄'(vì đây là tổng hợp từ phương pháp của nến nhấn chìm và 2 đường MA cắt nhau)
• Từ chỉ báo này tôi có lập nên "con bot" quét tín hiệu "phân kì thiếu vai phải " cùng lúc 40 cặp giao dịch theo thời gian thực. (Hình 9 bên trên)☝️☝️☝️
MACD-Histogram Divergence missing right shoulder_Pro[vn]👉Hello Traders!
Many traders have asked me about MACD's Histogram divergence, how to use it effectively, because the signal occurs a lot, I suddenly remembered the famous book by Dr. Alexander Elder's "Two Roads Diveged" has an introduction and definition of "MACD Histogram divergence lacking the right shoulder". It is an extremely strong signal of reversal divergence and it is difficult to determine, mainly experienced traders discover it.
- From that book, I wrote the code for the indicator "MACD Histogram divergence lacking the right shoulder" so that it automatically scans over 40 trading codes and when a signal appears I can identify it.
- For the MACD-Histogram signal to have bullish divergence (Regular) occur when:
+ The price creates the next bottom lower than the previous bottom
+ The histogram of the next bottom is higher than the previous bottom and is below the 0 axis (between the two histogram bottoms there must be a histogram on the 0 axis for clear distinction)👇👇👇(Hình 1)
- For MACD-Histogram signal to have bearish divergence (Regular) occur when:
+ The price creates a higher peak than the previous peak
+ The histogram of the next bottom is lower than the previous bottom and is on the 0 axis (between the two histogram peaks there must be a histogram below the 0 axis for clear distinction)👇👇👇(Hình 2)
💥 So to go from MACD-Histogram to regularization to right shoulder missing increase divergence is when:
+ The price of creating the following bottom is lower than the previous bottom
+ The histogram of the back bottom does not form and the histogram remains on the zero axis (only the histogram of the previous bottom is below the zero axis)
+ It means that when the price creates a lower bottom but the buying force is very strong, the posterior bottom histogram does not form and the price will increase 👇👇👇(Hình 3)
💥 So to go from MACD-Histogram to regularized divergence to right shoulder deficiency divergence is when:
+ The price creates the following peak higher than the previous peak
+ The histogram of the posterior vertex does not form and the histogram remains below the zero axis (only the histogram of the anterior vertex is above the zero axis)
+ It means that when the price creates a higher peak but the buying force has weakened, the posterior bottom histogram does not form and the price will go down 👇👇👇(Hình 4)
//-------------------------Extra feature: Impulse System
This indicator also includes the “Impulse System”. The Impulse System is based on two indicators, a 13-day exponential moving average and the MACD-Histogram, and identifies inflection points where a trend speeds up or slows down. The moving average identifies the trend, while the MACD-Histogram measures momentum. This unique indicator combination is color coded into the price bars or macd histogram bars for easy reference.
Calculation:
Green Price Bar: (13-period EMA > previous 13-period EMA) and
(MACD-Histogram > previous period's MACD-Histogram)
Red Price Bar: (13-period EMA < previous 13-period EMA) and
(MACD-Histogram < previous period's MACD-Histogram)
Histogram bars are colored blue when conditions for a Red Histogram Bar or Green Histogram Bar are not met. The MACD-Histogram is based on MACD(12,26,9).
The Impulse System works more like a censorship system. Green histogram bars show that the bulls are in control of both trend and momentum as both the 13-day EMA and MACD-Histogram are rising (you don't have permission to sell). A red histogram bar indicates that the bears have taken control because the 13-day EMA and MACD Histogram are falling (you don't have permission to buy). A blue histogram bar indicates mixed technical signals, with neither buying nor selling pressure predominating (either both buying or selling are permitted).
-------------------------------//
- When on the MACD indicator, the Histogram bars of the current price are the color, then the corresponding cell |0| shows that color, because I define |0| as the current candle.
|1| is the candle preceding the current candle |0|
|2| is the candle immediately preceding candle |1|
|3| is the candle immediately preceding candle |2|
from cells |3| |2| |1| |0| so that traders know that the cell colors green, blue, and red correspond to the colors of the histogram bar and when there is a signal to enter a Long order. '🅻', Short '🆂' will display on those cells.
- When the Bot identifies a divergence lacking the right shoulder, the "Result" cell will be displayed corresponding to "Long" - bullish divergence or "Short" - bearish divergence.👇👇👇(Hình 5)
- When the trader hovers over the "Long" or "Short" cell, a tooltip will be displayed indicating the order entry time, order entry price, stoploss point(Stl), stoploss percentage(%Stl), current price (C.price), previous peak and low Histogram counts (Hist +, Hist -) and the number of Histogram bars when entering the order. From there, traders can filter out the best signals to enter orders.👇👇👇(Hình 6)
- When the entry point is in the same trend as the price with a given profit percentage, it will display a profit, and when the above two MACD and Signal lines intersect, it will notify the Trader to take profit '✅', otherwise when entering Orders that go against the price trend will be reported to exit the order early '❌' 👇👇👇(Hình 7)
- When the MACD and Signal lines intersect and there appears a pair of engulfing candles (completely), the box will be marked as 'E⌃' (bullish engulfing) or 'E⌄' (bearish engulfing) plus add % of the engulfing candle body 👇👇👇 (Hình 8)
- There are 6 smart warning functions to find the right target including: 'Long', 'Short', 'Long-Short', 'Take Profit', 'Stoploss', 'All' . Where 'All' includes all 5 preceding warnings
--------------------------------------------------------------------------------------------------------------
✍️ Conclude:
From this indicator there are 2 ways to trade:
+ Method 1: Enter an order following the automatic Long or Short signal when the indicator appears
+ Method 2: Enter orders according to the pair of engulfing candles 'E⌃' or 'E⌄' (because this is a combination of the method of engulfing candles and 2 MA lines intersecting each other)
--------------------------------------------------------------------------------------------------------
Vietnamese
👉 Xin chào các Trader Việt Nam
Rất nhiều nhà giao dịch có hỏi tôi về phân kì Histogram của MACD làm sao để sử dụng hiệu quả, vì tín hiệu xảy ra rất nhiều, tôi chợt nhớ đến cuốn sách nổi tiếng của tiến sĩ Dr. Alexander Elder là " Two Roads Diveged " có giới thiệu và cách xác định về "phân kì MACD Histogram thiếu vai phải". Nó là tín hiệu cực mạnh về phân kì đảo chiều và rất khó để xác định, chủ yếu trader có kinh nghiệm mới phát hiện ra nó.
- Từ sách đó tôi có viết codes về chỉ báo "phân kì MACD Histogram thiếu vai phải" để nó tự động quét trên 40 mã giao dịch và khi có tín hiệu xuất hiện tôi có thể xác định được nó.
- Để tín hiệu MACD-Histogram phân kì tăng (Regular) xảy ra khi:
+ Giá tạo đáy sau thấp hơn đáy trước
+ Histogram của đáy sau cao hơn đáy trước và nằm dưới trục số 0(giữa hai đáy histogram phải có histogram nằm trên trục số 0 để phân biệt rõ ràng) (Hình 1 bên trên)☝️☝️☝️
- Để tín hiệu MACD-Histogram phân kì giảm (Regular) xảy ra khi:
+ Giá tạo đỉnh sau cao hơn đỉnh trước
+ Histogram của đáy sau thấp hơn đáy trước và nằm trên trục số 0(giữa hai đỉnh histogram phải có histogram nằm dưới trục số 0 để phân biệt rõ ràng) (Hình 2 bên trên)☝️☝️☝️
💥 Vậy để từ MACD-Histogram phân kì tăng (pk thường) trở thành phân kì tăng thiếu vai phải là khi :
+ Giá tạo đáy sau thấp hơn đáy trước
+ Histogram của đáy sau không hình thành và histogram vẫn nằm trên trục số 0(chỉ có histogram của đáy trước dưới trục số 0)
+ Ý nghĩa rằng khi giá tạo đáy sau thấp hơn nhưng lực mua đã rất mạnh làm cho histogram đáy sau không hình thành và giá sẽ tăng lên (Hình 3 bên trên) ☝️☝️☝️
💥 Vậy để từ MACD-Histogram phân kì giảm (regular) trở thành phân kì giảm thiếu vai phải là khi :
+ Giá tạo đỉnh sau cao hơn đỉnh trước
+ Histogram của đỉnh sau không hình thành và histogram vẫn nằm dưới trục số 0(chỉ có histogram của đỉnh trước trên trục số 0)
+ Ý nghĩa rằng khi giá tạo đỉnh sau cao hơn nhưng lực mua đã yếu dần làm cho histogram đáy sau không hình thành và giá sẽ đi xuống (Hình 4 bên trên) ☝️☝️☝️
//--------------------Tính năng bổ sung: Hệ thống Impulse(xung)
Chỉ báo này cũng bao gồm “Hệ thống xung”. Hệ thống Impulse dựa trên hai chỉ báo, đường trung bình động hàm mũ EMA13 và Biểu đồ MACD, đồng thời xác định các điểm uốn trong đó xu hướng tăng tốc hoặc chậm lại. Đường trung bình động xác định xu hướng, trong khi biểu đồ MACD đo động lượng. Sự kết hợp chỉ báo độc đáo này được sơn thanh biểu đồ macd-histogram để dễ tham khảo.
Phép tính:
Thanh giá xanh lá : (EMA13 kỳ > EMA 13 kỳ trước đó) và (histogram sau > histogram trước)
Thanh giá màu đỏ: (EMA13 kỳ < EMA 13 kỳ trước đó) và (histogram sau < histogram trước)
Thanh biểu đồ có màu xanh lam khi các điều kiện cho histogram màu đỏ hoặc histogram màu xanh lá không được đáp ứng. Biểu đồ MACD dựa trên MACD(12,26,9).
Lưu ý: Hệ thống Impulse hoạt động giống một hệ thống kiểm duyệt hơn. Các thanh biểu đồ màu xanh lá cho thấy phe bò đang kiểm soát cả xu hướng và động lượng vì cả EMA13 và MACD-Histogram đều tăng (bạn không được phép bán). Thanh biểu đồ màu đỏ cho biết phe gấu đã nắm quyền kiểm soát vì biểu đồ EMA13 và MACD histogram đang giảm (bạn không được phép mua). Thanh biểu đồ màu xanh lam biểu thị các tín hiệu kỹ thuật hỗn hợp, không có áp lực mua và bán chiếm ưu thế (cho phép cả mua hoặc bán).
-------------------------//
- Khi trên chỉ báo MACD những thanh Histogram của giá hiện tại là màu gì thì tại ô(cell) |0| tương ứng thể hiện màu đó, bởi vì tôi định nghĩa |0| là cây nến hiên tại.
|1| là nến đứng trước liền kề nến hiện tại |0|
|2| là nến đứng trước liền kề nến |1|
|3| là nến đứng trước liền kề nến |2|
từ những ô |3| |2| |1| |0| để trader biết rằng màu ô(cell) xanh lá , xanh lam, đỏ tương ứng với những màu của thanh histogram và khi có tín hiệu vào lệnh Long '🅻', Short '🆂' sẽ hiển thị trên những ô đó.
- Khi Bot xác định được phân kì thiếu vai phải thì tại ô(cell) "Result" sẽ hiển thị tương ứng với "Long"- phân kì tăng giá hoặc "Short"- phân kì giảm giá (Hình 5 bên trên) ☝️☝️☝️
- Khi trader di chuột vào tại ô(cell) "Long", hoặc "Short" thì tại đó hiển thị tooltip cho biết thời gian vào lệnh, giá vào lệnh , điểm stoploss(Stl), phần trăm stoploss(%Stl),giá hiện tại(C.price), số đếm Histogram đỉnh đáy trước(Hist +, Hist -) và số thanh Histogram khi vào lệnh.Từ đó trader có thể lọc ra được những tín hiệu đẹp nhất để vào lệnh (Hình 6 bên trên) ☝️☝️☝️
- Khi điểm vào lệnh cùng xu hướng với giá mà đã cho % lời thì nó sẽ hiển thị được lợi nhuận, và đến khi hai đường MACD và Signal trên cắt nhau thì sẽ báo Trader nên chốt lời '✅', ngược lại khi vào lệnh ngược với xu hướng giá thì sẽ báo thoát lệnh sớm '❌' (Hình 7 bên trên) ☝️☝️☝️
- Khi hai đường MACD và Signal cắt nhau mà tại đó xuất hiện cặp nến nhấn chìm (hoàn toàn) thì trên ô đó sẽ đánh dấu là 'E⌃' (nhấn chìm tăng) hay 'E⌄'(nhấn chìm giảm) cộng thêm % của thân nến nhấn chìm (Hình 8 bên trên) ☝️☝️☝️
- Có 6 chức năng cảnh báo thông minh tìm đúng đối tượng bao gồm:'Long', 'Short', 'Long-Short', 'Take Profit', 'Stoploss', 'All'
trong đó 'All' là bao gồm toàn bộ 5 cảnh báo đứng trước đó
---------------------------------------------------------------------------------------------------------------------
✍️ Kết luận:
Từ chỉ báo này có 2 cách giao dịch:
+ cách 1: Vào lệnh theo tín hiệu tự động Long hoặc Short khi chỉ báo đưa ra
+ cách 2: Vào lệnh theo cặp nến nhấn chìm 'E⌃' hay 'E⌄'(vì đây là tổng hợp từ phương pháp của nến nhấn chìm và 2 đường MA cắt nhau)
[Round Numbers] Signal Clean Up Analysis with Backtest (TSO)Round Numbers NEW GEN indicator!
===========================================================================
===========================================================================
This is a full-cycle trading system indicator - it will show and alert each step of the trade from open to close. The algorithm here uses Round Numbers for generating signals, TP (Take Profit) and SL (Stop Loss) levels. Round numbers play big role in trading and can easily become strong support and resistance levels where price can bounce and go the opposite way or go through with a very nice run afterwards.
In addition there is a chained (NOTE: You can select several or ALL of the features, this is not limited to either one) signal cleanup and analysis approach with scheduling and alerting capabilities. Works with most popular timeframes: 1M, 3M, 5M, 15M, 30M, 1H, 4H, D.
NOTE: Every action of the trade is calculated on a confirmed closed candle bar state (barstate.isconfirmed), so the indicator will never repaint!
NOTE: At position open - there will be calculated Take-Profit and Stop-Loss targets, however each target is considered hit, when candle bar closes breaking that target, so Take-Profit and Stop-Loss when hit will slightly differ then what you see at trade/position open.
===========================================================================
===========================================================================
Round Numbers up|down unit setting and overall explanation
---------------------------------------------------------------------------
Round Number up|down unit: is the distance between round numbers on the chart. Since these round number levels are also used by the algorithm to open/close trades, it is important to set this setting to a logical number, which will correspond to an average price movement of the instrument.
Here are some examples for a few popular instruments on what will the default 1 round number unit correspond to and what would be suggested:
BTCUSD > $1 (this won't work for Bitcoin, try at least $100 - 100units)
SPY: > $1 (one of the best settings for SPY or QQQ, 50cents shows good results as well - 0.5units)
FOREX (all major pairs): > 10PIPs (that may be a bit small, unless scalping, try 50PIPs - 5units)
===========================================================================
===========================================================================
Explanation of all the Features | Strategy Configuration Guide | Indicator Settings | Signal Cleanup Analysis
---------------------------------------------------------------------------
>>> Customizable Backtesting for a specific date range, results via TradingView strategy, which includes “Deep Backtesting” for largest amounts of data on trading results.
>>> Trading Schedule with customizable trading daily time range, automatic closing/alert trades before Power Hour or right before market closes or leave it open until next day.
>>> 3 Trading Systems.
>>> Static/Dynamic/Trailing Take-Profit and Stop-Loss setups (HIGHLIGHT: Stop-Loss will be moved to Entry after TP1 is taken or a smart trailing Stop-Loss can be used with Stop-Loss dynamically following the trade to minimize risk).
>>> Single or Multiple profit targets (up to 5).
>>> Take-Profit customizable offset feature (set your Take-Profit targets slightly before everyone is expecting it!).
>>> Candle bar signal analysis (matching candle color, skip opposite structured and/or doji candle uncertain signals).
>>> Additional analysis of VWAP/EMA/ATR/EWO (Elliot Wave Oscillator)/Divergence MACD+RSI/Volume signal confirmation (clean up your chart with indicator showing only the best potential signals!).
>>> Advanced Alerts setup, which can be potentially setup with a trading bot over TradingView Webhook (NOTE: This will require advanced programming knowledge).
===========================================================================
Labels, plots, colors explanations:
---------------------------------------------------------------------------
>>>>> LONG open: green "house" looking arrow below candle bar.
>>>>> SHORT open: red "house" looking arrow above candle bar.
>>>>> LONG/SHORT take-profit target: green/red circles (multi-profit > TP2/3/4/5 smaller circles).
>>>>> LONG/SHORT stop-loss target: green/red + crosses.
>>>>> LONG/SHORT take-profit hits: green/red diamonds.
>>>>> LONG/SHORT stop-loss hits: green/red X-crosses.
>>>>> LONG/SHORT EOD (End of Day | Intraday style) close (profitable trade): green/red squares.
>>>>> LONG/SHORT EOD (End of Day | Intraday style) close (loss trade): green/red PLUS(+)-crosses.
===========================================================================
Date Range and Trading Schedule Settings
---------------------------------------------------------------------------
>>>>> Date Range: Select your start and/or end dates (uncheck “End” for indicator to show results up to the very moment and to use for LIVE trading) for backtesting results, if not using backtesting – uncheck “Start”/“End” to turn it off.
>>>>> Use TradingView “Strategy Tester” to see backtesting results
NOTE: If Strategy Tester does not show any results with Date Ranged fully unchecked, there may be an issue where a script opens a trade, but there is not enough TradingView power to set the Take-Profit and Stop-Loss and somehow an open trade gets stuck and never closes, so there are “no trades present”. In such case you will need to manually check “Start”/“End” dates or use “Depp Backtesting” feature!
>>>>> Trading Schedule: This is where you can setup Intraday Session or any custom session schedule you wish. Turn it ON. Select trading hours. Select EOD (End of Day) setting (NOTE: If it will be OFF, the indicator will assume you are holding your position open until next day!). Please note the EOD trade closure times with the 2 different Intraday close settings when turned on:
At Market Close:
1/3/5min > will close at 15:55pm ET
15min > will close at 15:45pm ET
30min > will close at 15:30pm ET
45min > will close at 15:45pm ET
60min > will close at 15:00pm ET
Before Power Hour:
1/3/5min > will close at 15:00pm ET
15min > will close at 15:00pm ET
30min > will close at 15:00pm ET
45min > will close at 15:00pm ET
60min > will close at 15:00pm ET
>>> Trading Systems: 1) "Open Until Closed by TP or SL": the signal will only open a trade if no trades are currently open/trunning, a trade can only be closed by Take Profit, Stop Loss or End of Day close (if turned on) | 2) "Open Until Closed by TP or SL + OCA": Same as 1), but if there is an opposite signal to the trade which is currently open > it will immediately be closed with new trade open or End of Day close (if turned on) | 3) "OCA (no TP or SL)": There are is Take Profit or Stop Loss, only an opposite signal will close current trade and open an opposite one or End of Day close (if turned on).
>>> Turn On/Off: Current Position SL + Opposite Position Open Signal on the same closing candle bar (If current trade hits Stop-Loss and at that same closing candle bar there is a signal for an opposite direction trade > indicator will close current position as Stop-Loss and immediately open an opposite position). NOTE: With this option turned on, there will be more trades, but not necessarily better results, since after Stop-Loss is hit, it may make sense to wait a little before opening an opposite trade, even if it matches the condition at the same time when Stop-Loss is hit, but sometimes it shows great results, so this setting/feature is included. NOTE: This setting only will work/make sense with TP and SL style/behavior both be set to "Fully Closed Candle"!
>>> Turn On/Off: Turn On/Off: Current Position REGULAR SL | Only the SL + Opposite Position Open will trigger if turned on, IF NOT - THERE WILL BE NO STOP-LOSS AT ALL!!! NOTE: It is very dangerous to trade without Stop-Loss!
>>>>> Signal Candle Bar consuming Take-Profits - position/trade signal candle bar is big enough to "consume"/close ahead the first TP setting > the signal can either be skipped, or all Take-Profit areas pushed ahead using smart formula)
>>>>> MULTIPROFIT | TP (Take-Profit) System: 1) Static – Once the trade is open, all Take-Profit target(s) are immediately calculated and set for the trade > once the target(s) is hit > trade will be partially closed (if candle bar closes beyond several Take-Profit targets > trade will be reduced accordingly to the amount of how many Take-Profit targets were hit) ||| 2) Dynamic – Once the trade is open, only the 1st Take-Profit target is calculated, once the 1st Take-Profit is hit > next Take-Profit distance is calculated based on the distance from trade Entry to where 1st Take-Profit was taken, once 2nd Take-Profit is taken > 3rd Take-Profit is calculated per same logic, these are good for price momentum as with price speeding up – profits increase as well!
>>>>> MULTIPROFIT: SL (stop loss) System | Static: SL is set at position open and remains such; Dynamic: Once ANY TP is taken > SL will be moved to Entry; Trailing: SL will be moved along the position (smart trailing stop-loss), at TP1 taken > SL moves to Entry, at TP2 taken > SL moves to TP1, at TP3 taken > SL moves to TP2 and so on.
>>>>> # of TPs (number of take profit targets): Just like it is named, this is where you select the number of Take-Profit targets for your trading system (NOTE: If "OCA (no TP or SL)" Trading System is selected, this setting won’t do anything, since there are no TP or SLs for that system).
>>>>> TP(s) offset: This is a special feature for all Take-Profit targets, where you can turn on a customizable offset, so that if the price is almost hitting the Take-Profit target, but never actually touches it > you will capture it. This is good to use with HHLL (Highest High Lowest Low), which is pretty much a Support/Resistance as often the price will nearly touch these strong areas and turn around…
===========================================================================
Dynamic/Static/Trailing Take-Profit and Stop-Loss visual examples:
---------------------------------------------------------------------------
1) Fully Static Take-Profit and Stop-Loss
This one is a fully static setup for both Take-Profit and Stop-Loss, you can also observe how trade is closed right before the Power Hour (trade can be closed right before Power Hour or right before Market Closes or left overnight as desired).
2) Static/Dynamic, Static Take-Profit and Dynamic Stop-Loss
You can see a static Take-Profit set at position open, while Stop-Loss moves to Entry once TP1 target is taken.
3) Static/Trailing, Static Take-Profit and Trailing Stop-Loss
In here with each Take-Profit taken, Stop-Loss moves along the trade to previous Take-Profit level, you can notice how stop-loss literally follows the trade and reduces the potential loss.
4) Dynamic/Trailing, Dynamic Take-Profit and Trailing Stop-Loss
See how Take-Profit distances increase with price momentum. Just like in previous example - Trailing Stop-Loss is following the trade and reducing the riks.
===========================================================================
Signal Analysis and Cleanup Settings
---------------------------------------------------------------------------
>>>>> Candle Analysis | Candle Color signal confirmation: If closed candle bar color does not match the signal direction > no trade will be open.
>>>>> Candle Analysis | Skip opposite candle signals: If closed candle bar color will match the signal direction, but candle structure will be opposite (for example: bearish green hammer, long high stick on top of a small green square) > no trade will be open.
>>>>> Candle Analysis | Skip doji candle signals: If closed candle bar will be the uncertain doji > no trade will be open.
>>>>> Divergence/Oscillator Analysis | EWO (Elliot Wave Oscillator) signal confirmation: LONG will only be open if at signal, EWO is green or will be at bullish slope (you can select which setting you desire), SHORT if EWO is red or will be at bearish slope.
>>>>> Divergence/Oscillator Analysis | VWAP signal confirmation: LONG will only be open if at signal, the price will be above VWAP, SHORT if below.
>>>>> Divergence/Oscillator Analysis | Moving Average signal confirmation: LONG will only be open if at signal, the price will be above selected Moving Average, SHORT if below.
>>>>> Divergence/Oscillator Analysis | ATR signal confirmation: LONG will only be open if at signal, the price will be above ATR, SHORT if below.
>>>>> Divergence/Oscillator Analysis | RSI + MACD signal confirmation: LONG will only be open if at signal, RSI + MACD will be bullish, SHORT if RSI + MACD will be bearish.
>>>>> Volume signal confirmation: LONG/SHORT will only be opened with strong Volume matching the signal direction, by default, strong Volume percentage is set to 150% and weak to 50%, but you can change it as you desire.
===========================================================================
||||||||||||||||||||||||||||||||||| *** ||||||||||||||||||||||||||||||||||| *** |||||||||||||||||||||||||||||||||||
||||||||||||||||||||||||||||||||||| *** ||||||||||||||||||||||||||||||||||| *** |||||||||||||||||||||||||||||||||||
TP System - VERY IMPORTANT INFO!
-------------------------------------------------------------------------------------------------------------------
"TP PERCENTAGE" - amount by which current trade/position needs to be reduced/partially closed/sold.
-------------------------------------------------------------------------------------------------------------------
TP System: Dynamic
"TP PERCENTAGE" - will always be the same amount (trade/position size divided by the # of take-profit(TP) targets) and percentage to be closed will always be of the ORIGINAL trade/position.
-------------------------------------------------------------------------------------------------------------------
TP System: Static
"TP PERCENTAGE" - will always be the same amount IF take-profit(TP) targets are hit 1-by-1 (TP1 > TP2 > TP3 > TP4 > TP5), otherwise it will vary and unless it is a 1st take-profit(TP1), the REMAINING trade/position size will always be smaller than original and therefore the percentage to be closed will always be of the REMAINING trade/position and NOT the original one!
-------------------------------------------------------------------------------------------------------------------
"TP PERCENTAGE" CheatSheet (these are the only percentages you may see)
-----------------------------------------------------------------------
TP PERCENTAGE---Close/Sell Amount-------------Example (trade size: 50 stocks)
20%-------------trade size * 0.2--------------50 * 0.2 = 10 stocks
25%-------------trade size * 0.25-------------50 * 0.25 = 12.5(~13) stocks
34%-------------trade size * 0.34-------------50 * 0.34 = 17 stocks
40%-------------trade size * 0.4--------------50 * 0.4 = 20 stocks
50%-------------trade size * 0.5--------------50 * 0.5 = 25 stocks
60%-------------trade size * 0.6--------------50 * 0.6 = 30 stocks
66%-------------trade size * 0.66-------------50 * 0.66 = 33 stocks
75%-------------trade size * 0.75-------------50 * 0.75 = 37.5(~38) stocks
80%-------------trade size * 0.8--------------50 * 0.8 = 40 stocks
100%------------trade size--------------------50 = 50 stocks
-----------------------------------------------------------------------
If for any reason a portion of the current/remaining trade closed at such occurrence was slightly wrong, it is not an issue. Such occurrences are rare and with slight difference in partial TP closed is not significant to overall performance of our algorithms.
||||||||||||||||||||||||||||||||||| *** ||||||||||||||||||||||||||||||||||| *** |||||||||||||||||||||||||||||||||||
||||||||||||||||||||||||||||||||||| *** ||||||||||||||||||||||||||||||||||| *** |||||||||||||||||||||||||||||||||||
Alert Settings (you don’t have to touch this section unless you will be using TradingView alerts through a Webhook to use with trading bot)
---------------------------------------------------------------------------
Here is how a LONG OPEN alert looks like.
NOTE: Each label , , etc. is customizable, you can change the text of it within indicator Input settings.
ALERT >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
COIN: BTCUSD
TIMEFRAME: 15M
LONG: OPEN
ENTRY: 20000
TP1: 20500
TP2: 21000
TP3: 21500
TP4: 22500
TP5: 23500
SL: 19000
Leverage: 0
---------------------------------------------------------------------------
Here is how a TP1 alert will look with 5 TPs breakdown of the trade.
NOTE1: Next to TP1 taken it will show at which price it was triggered.
NOTE2: Next to "TP Percentage" it shows how much of the CURRENT/ACTIVE/REMAINING trade needs to be closed.
NOTE2: If TP2/3/4/5 comes before TP1 - the alert will tell you exactly how many percent of the trade needs to be closed!
ALERT >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
COIN: BTCUSD
TIMEFRAME: 15M
LONG: TP1
TP1: 20500
TP Percentage: 20%
---------------------------------------------------------------------------
Here is how an alert will look for LONG - STOP-LOSS.
ALERT >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
COIN: BTCUSD
TIMEFRAME: 15M
ENTRY: 20000
LONG: SL
SL: 19000
---------------------------------------------------------------------------
Here is how an alert will look for LONG - EOD (End of Day) In Profit close.
ALERT >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
COIN: BTCUSD
TIMEFRAME: 15M
LONG: EOD-Close (profit)
ENTRY: 20000
EOD-Close: 21900
===========================================================================
Adding Alerts in TradngView
---------------------------------------------------------------------------
-Add indicator to chart and make sure the correct strategy is configured (check Backtesting results)
-Right-click anywhere on the TradingView chart
-Click on Add alert
-Condition: Select this indicator by it’s name
-Immediately below, change it to "alert() function calls only", as other wise there will be 2 alerts for every alert!
-Expiration: Open-ended (that may require higher tier TradingView account, otherwise the alert will need to be occasionally re-triggered)
-Alert name: Whatever you desire
-Hit “Create”
-Note: If you change ANY Settings within the indicator – you must DELETE the current alert and create a new one per steps above, otherwise it will continue triggering alerts per old Settings!
===========================================================================
If you have any questions or issues with the indicator, please message me directly via TradingView.
---------------------------------------------------------------------------
Good Luck! (NOTE: Trading is very risky, past performance is not necessarily indicative of future results, so please trade responsibly!)
---------------------------------------------------------------------------
NOTE: There seems to be a strange glitch when strategy is running live, it will show "double-take" take-profits labels on the chart. This is not affecting the script logic and backtesting results, if you simply change the timeframe real quick to something else then back - it will no longer show the duplicate orders... this must be some sort of a glitch as every alert was thoroughly tested to make sure everything is working!
[Camarilla Pivots] Signal Clean Up Analysis with Backtest (TSO)Camarilla Pivots NEW GEN Indicator!
This is a full-cycle trading system indicator, which uses Camarilla Pivots for generating signals using a custom developed algorithm, TP (Take Profit) and SL (Stop Loss) levels. There are 3 SOURCES for signals (each can be used separately or in combination or all 3 can be used at the same time, each signal SOURCE is using Camarilla Pivots levels to open optimal trade direction) with chained (NOTE: There are many potential profitable setups available, by combining clean up features availabe in the indicator settings!) signal cleanup and analysis approach with scheduling and alerting capabilities. Works best with shorter timeframes: 1M, 5M, 15M, 1H.
NOTE: Every calculation is done on a confirmed closed candle bar state, so the indicator will never repaint!
NOTE: At position open - there will be calculated Take-Profit and Stop-Loss targets, however each target is considered hit, when candle bar closes breaking that target, so Take-Profit and Stop-Loss when hit will slightly differ then what you see at position open!
===========================================================================
Explanation of all the Features | Configuration Guide | Indicator Settings | Signal Cleanup Analysis
---------------------------------------------------------------------------
>>> Customizable Backtesting for a specific date range, results via TradingView strategy, which includes “Deep Backtesting” for largest amounts of data on trading results.
>>> Trading Schedule with customizable trading daily time range, automatic closing/alert trades before Power Hour or right before market closes or leave it open until next day.
>>> 3 Trading Systems.
>>> Multiple Signal SOURCEs for opening trades, either SOURCE can be used or both at the same time!
>>> Static/Dynamic Stop-Loss setups (HIGHLIGHT: Stop-Loss will be moved to Entry after TP1 is taken, which minimizes risk).
>>> Single or Multiple profit targets (up to 5).
>>> Take-Profit customizable offset feature (set your Take-Profit targets slightly before everyone is expecting it!).
>>> Candle bar signal analysis (matching candle color, skip opposite structured and/or doji candle uncertain signals).
>>> Additional analysis of VWAP/EMA/ATR/EWO (Elliot Wave Oscillator)/Divergence MACD+RSI/Volume signal confirmation (clean up your chart with indicator showing only the best potential signals!).
>>> Advanced Alerts setup, which can be potentially setup with a trading bot over TradingView Webhook (NOTE: This will require advanced programming knowledge).
===========================================================================
Labels, plots, colors explanations:
---------------------------------------------------------------------------
>>>>> LONG open: green "house" looking arrow below candle bar.
>>>>> SHORT open: red "house" looking arrow above candle bar.
>>>>> LONG/SHORT take-profit target: green/red circles (multi-profit > TP2/3/4/5 smaller circles).
>>>>> LONG/SHORT stop-loss target: green/red + crosses.
>>>>> LONG/SHORT take-profit hits: green/red diamonds.
>>>>> LONG/SHORT stop-loss hits: green/red X-crosses.
>>>>> LONG/SHORT EOD (End of Day | Intraday style) close (profitable trade): green/red squares.
>>>>> LONG/SHORT EOD (End of Day | Intraday style) close (loss trade): green/red PLUS(+)-crosses.
===========================================================================
Date Range and Trading Schedule Settings
---------------------------------------------------------------------------
>>>>> Date Range: Select your start and/or end dates (uncheck “End” for indicator to show results up to the very moment and to use for LIVE trading) for backtesting results, if not using backtesting – uncheck “Start”/“End” to turn it off.
>>>>> Use TradingView “Strategy Tester” to see backtesting results
NOTE: If Strategy Tester does not show any results with Date Ranged fully unchecked, there may be an issue where a script opens a trade, but there is not enough TradingView power to set the Take-Profit and Stop-Loss and somehow an open trade gets stuck and never closes, so there are “no trades present”. In such case you will need to manually check “Start”/“End” dates or use “Depp Backtesting” feature!
>>>>> Trading Schedule: This is where you can setup Intraday Session or any custom session schedule you wish. Turn it ON. Select trading hours. Select EOD (End of Day) setting (NOTE: If it will be OFF, the indicator will assume you are holding your position open until next day!). Please note the EOD trade closure times with the 2 different Intraday close settings when turned on:
At Market Close:
1/3/5min > will close at 15:55pm ET
15min > will close at 15:45pm ET
30min > will close at 15:30pm ET
45min > will close at 15:45pm ET
60min > will close at 15:00pm ET
Before Power Hour:
1/3/5min > will close at 15:00pm ET
15min > will close at 15:00pm ET
30min > will close at 15:00pm ET
45min > will close at 15:00pm ET
60min > will close at 15:00pm ET
>>> Trading Systems: 1) "Open Until Closed by TP or SL": the signal will only open a trade if no trades are currently open/trunning, a trade can only be closed by Take Profit, Stop Loss or End of Day close (if turned on) | 2) "Open Until Closed by TP or SL + OCA": Same as 1), but if there is an opposite signal to the trade which is currently open > it will immediately be closed with new trade open or End of Day close (if turned on) | 3) "OCA (no TP or SL)": There are is Take Profit or Stop Loss, only an opposite signal will close current trade and open an opposite one or End of Day close (if turned on).
>>> Position Open sources:
>>>>> Position Open - SOURCE1 | LONG: S3, SL: S4, TP1: R3, TP2: R4, TP3: R5, TP4/5: Smart Formula | SHORT: R3, SL: R4, TP1: S3, TP2: S4, TP3: S5, TP4/5: Smart Formula
>>>>> Position Open - SOURCE2 | LONG: R4, SL: R3, TP1: R5, TP2/3/4/5: Smart Formula | SHORT: S4, SL: S3, TP1: S5, TP2/3/4/5: Smart Formula
>>>>> Position Open - SOURCE3 | LONG: R5, SL: R4, TP1/2/3/4/5: Smart Formula | SHORT: S5, SL: S4, TP1/2/3/4/5: Smart Formula
>>> Turn On/Off: Current Position SL + Opposite Position Open Signal on the same closing candle bar (If current trade hits Stop-Loss and at that same closing candle bar there is a signal for an opposite direction trade > indicator will close current position as Stop-Loss and immediately open an opposite position). NOTE: With this option turned on, there will be more trades, but not necessarily better results, since after Stop-Loss is hit, it may make sense to wait a little before opening an opposite trade, even if it matches the condition at the same time when Stop-Loss is hit, but sometimes it shows great results, so this setting/feature is included.
>>> Turn On/Off: Turn On/Off: Current Position REGULAR SL | Only the SL + Opposite Position Open will trigger if turned on, IF NOT - THERE WILL BE NO STOP-LOSS AT ALL!!! NOTE: It is very dangerous to trade without Stop-Loss!
>>>>> Signal Candle Bar consuming Take-Profits - position/trade signal candle bar is big enought to "consume"/close ahead the first TP setting > the signal can either be skipped, or all Take-Profit areas pushed ahead using smart formula)
>>>>> MULTIPROFIT | TP (Take-Profit) System: Once the trade is open, all Take-Profit target(s) are immediately calculated and set for the trade > once the target(s) is hit > trade will be partially closed (if candle bar closes beyond several Take-Profit targets > trade will be reduced accordingly to the amount of how many Take-Profit targets were hit)
>>>>> MULTIPROFIT | SL (Stop-Loss) System: 1) Static – Once the trade is open, Stop-Loss is calculated and set for the remaining of the trade ||| 2) Dynamic – At trade open, Stop-Loss is calculated and set the same way, however once 1st Take-Profit is taken > Stop-Loss is moved to Entry, reducing the risk.
>>>>> # of TPs (number of take profit targets): Just like it is named, this is where you select the number of Take-Profit targets for your trading system (NOTE: If "OCA (no TP or SL)" Trading System is selected, this setting won’t do anything, since there are no TP or SLs for that system).
>>>>> TP(s) offset: This is a special feature for all Take-Profit targets, where you can turn on a customizable offset, so that if the price is almost hitting the Take-Profit target, but never actually touches it > you will capture it. This is good to use with HHLL (Highest High Lowest Low), which is pretty much a Support/Resistance as often the price will nearly touch these strong areas and turn around…
===========================================================================
Signal Analysis and Cleanup Settings
---------------------------------------------------------------------------
>>>>> Candle Analysis | Candle Color signal confirmation: If closed candle bar color does not match the signal direction > no trade will be open.
>>>>> Candle Analysis | Skip opposite candle signals: If closed candle bar color will match the signal direction, but candle structure will be opposite (for example: bearish green hammer, long high stick on top of a small green square) > no trade will be open.
>>>>> Candle Analysis | Skip doji candle signals: If closed candle bar will be the uncertain doji > no trade will be open.
>>>>> Divergence/Oscillator Analysis | EWO (Elliot Wave Oscillator) signal confirmation: LONG will only be open if at signal, EWO is green or will be at bullish slope (you can select which setting you desire), SHORT if EWO is red or will be at bearish slope.
>>>>> Divergence/Oscillator Analysis | VWAP signal confirmation: LONG will only be open if at signal, the price will be above VWAP, SHORT if below.
>>>>> Divergence/Oscillator Analysis | Moving Average signal confirmation: LONG will only be open if at signal, the price will be above selected Moving Average, SHORT if below.
>>>>> Divergence/Oscillator Analysis | ATR signal confirmation: LONG will only be open if at signal, the price will be above ATR, SHORT if below.
>>>>> Divergence/Oscillator Analysis | RSI + MACD signal confirmation: LONG will only be open if at signal, RSI + MACD will be bullish, SHORT if RSI + MACD will be bearish.
>>>>> Volume signal confirmation: LONG/SHORT will only be opened with strong Volume matching the signal direction, by default, strong Volume percentage is set to 150% and weak to 50%, but you can change it as you desire.
===========================================================================
||||||||||||||||||||||||||||||||||| *** ||||||||||||||||||||||||||||||||||| *** |||||||||||||||||||||||||||||||||||
||||||||||||||||||||||||||||||||||| *** ||||||||||||||||||||||||||||||||||| *** |||||||||||||||||||||||||||||||||||
TP System - VERY IMPORTANT INFO!
-------------------------------------------------------------------------------------------------------------------
"TP PERCENTAGE" - amount by which current trade/position needs to be reduced/partially closed/sold.
-------------------------------------------------------------------------------------------------------------------
TP System: Dynamic
"TP PERCENTAGE" - will always be the same amount (trade/position size divided by the # of take-profit(TP) targets) and percentage to be closed will always be of the ORIGINAL trade/position.
-------------------------------------------------------------------------------------------------------------------
TP System: Static
"TP PERCENTAGE" - will always be the same amount IF take-profit(TP) targets are hit 1-by-1 (TP1 > TP2 > TP3 > TP4 > TP5), otherwise it will vary and unless it is a 1st take-profit(TP1), the REMAINING trade/position size will always be smaller than original and therefore the percentage to be closed will always be of the REMAINING trade/position and NOT the original one!
-------------------------------------------------------------------------------------------------------------------
"TP PERCENTAGE" CheatSheet (these are the only percentages you may see)
-----------------------------------------------------------------------
TP PERCENTAGE---Close/Sell Amount-------------Example (trade size: 50 stocks)
20%-------------trade size * 0.2--------------50 * 0.2 = 10 stocks
25%-------------trade size * 0.25-------------50 * 0.25 = 12.5(~13) stocks
34%-------------trade size * 0.34-------------50 * 0.34 = 17 stocks
40%-------------trade size * 0.4--------------50 * 0.4 = 20 stocks
50%-------------trade size * 0.5--------------50 * 0.5 = 25 stocks
60%-------------trade size * 0.6--------------50 * 0.6 = 30 stocks
66%-------------trade size * 0.66-------------50 * 0.66 = 33 stocks
75%-------------trade size * 0.75-------------50 * 0.75 = 37.5(~38) stocks
80%-------------trade size * 0.8--------------50 * 0.8 = 40 stocks
100%------------trade size--------------------50 = 50 stocks
-----------------------------------------------------------------------
If for any reason a portion of the current/remaining trade closed at such occurrence was slightly wrong, it is not an issue. Such occurrences are rare and with slight difference in partial TP closed is not significant to overall performance of our algorithms.
||||||||||||||||||||||||||||||||||| *** ||||||||||||||||||||||||||||||||||| *** |||||||||||||||||||||||||||||||||||
||||||||||||||||||||||||||||||||||| *** ||||||||||||||||||||||||||||||||||| *** |||||||||||||||||||||||||||||||||||
Alert Settings (you don’t have to touch this section unless you will be using TradingView alerts through a Webhook to use with trading bot)
---------------------------------------------------------------------------
Here is how a LONG OPEN alert looks like.
NOTE: Each label , , etc. is customizable, you can change the text of it within indicator Input settings.
ALERT >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
COIN: BTCUSD
TIMEFRAME: 15M
LONG: OPEN
ENTRY: 20000
TP1: 20500
TP2: 21000
TP3: 21500
TP4: 22500
TP5: 23500
SL: 19000
Leverage: 0
---------------------------------------------------------------------------
Here is how a TP1 alert will look with 5 TPs breakdown of the trade.
NOTE1: Next to TP1 taken it will show at which price it was triggered.
NOTE2: Next to "TP Percentage" it shows how much of the CURRENT/ACTIVE/REMAINING trade needs to be closed.
NOTE2: If TP2/3/4/5 comes before TP1 - the alert will tell you exactly how many percent of the trade needs to be closed!
ALERT >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
COIN: BTCUSD
TIMEFRAME: 15M
LONG: TP1
TP1: 20500
TP Percentage: 20%
---------------------------------------------------------------------------
Here is how an alert will look for LONG - STOP-LOSS.
ALERT >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
COIN: BTCUSD
TIMEFRAME: 15M
ENTRY: 20000
LONG: SL
SL: 19000
---------------------------------------------------------------------------
Here is how an alert will look for LONG - EOD (End of Day) In Profit close.
ALERT >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
COIN: BTCUSD
TIMEFRAME: 15M
LONG: EOD-Close (profit)
ENTRY: 20000
EOD-Close: 21900
===========================================================================
Adding Alerts in TradngView
---------------------------------------------------------------------------
-Add indicator to chart and make sure it is configured (check back-testing results)
-Right-click anywhere on the TradingView chart
-Click on Add alert
-Condition: Select this indicator by it’s name
-Alert name: Whatever you want
-Hit “Create”
-Note: If you change ANY Settings within the indicator – you must DELETE the current alert and create a new one per steps above, otherwise it will continue triggering alerts per old Settings!
===========================================================================
If you have any questions or issues with the indicator, please message me directly via TradingView.
---------------------------------------------------------------------------
Good Luck! (NOTE: Trading is very risky, past performance is not necessarily indicative of future results, so please trade responsibly!)
---------------------------------------------------------------------------
NOTE: There seems to be a strange glitch when strategy is running live, it will show "double-take" take-profits labels on the chart. This is not affecting the script logic and backtesting results, if you will remove/re-add the script afterwards, it will no longer show the duplicate orders... this must be some sort of a glitch as every alert was thoroughly tested to make sure everything is working!
TTP Alt HedgeAlt hedge is a pine script that allows you to backtest and live hedge trade alt coin pairs.
Once you have selected 20 alt coins and your preferred take profit and a stop loss settings the script will find pairs: one coin that is very overbought and one that is very oversold. It will then long the one in discount and short the premium one.
The script will show you the PNL of the hedge combined position. If together they reach the TP or SL the position will be closed.
Use the "max profit retracement" to target larger TP levels and lock in profits if they retrace more than the chosen ratio. Example: if the TP retraces more than the golden ratio of 0.618 then close the position.
The indicator offers a table of profits with overall PNL and win rate stats.
It can be hooked up to WickHunter bots using alerts and the UUID of the bot.
Debug alerts shows the messages that will be sent for entry/exit deal messages.
Plot PNL shows the cumulative PNL in percentage in the same chart. This function is particularly useful since it shows the performance of the bot.
Each deal in this bot can consist of any pair of coins provided by the user. For example: long ADA + short ETH when ADA is very expensive and ETH is very cheap.
Consider using alt coins that have either strong or vey low correlation, the closer to 1 or -1 in correlation coefficient the better.
Have fun!
[Volume Profile] Signal Clean Up Analysis with Backtest (TSO) This is a full-cycle trading system indicator, which uses Volume Profile for generating signals using a custom developed algorithm, TP (Take Profit) and SL (Stop Loss) levels. There are 2 SOURCES for signals (each can be used separately or both can be used at the same time, each signal SOURCE is using Volume Profile levels to open optimal trade direction) with chained (NOTE: You can select several or ALL of the features, this is not limited to either one) signal cleanup and analysis approach with scheduling and alerting capabilities. Works with most popular timeframes: 1M, 5M, 15M, 1H, 4H, D, great for intraday trading!
NOTE: Every calculation is done on a confirmed closed candle bar state, so the indicator will never repaint!
===========================================================================
Explanation of all the Features | Configuration Guide | Indicator Settings | Signal Cleanup Analysis
---------------------------------------------------------------------------
>>> Customizable Backtesting for a specific date range, results via TradingView strategy, which includes “Deep Backtesting” for largest amounts of data on trading results.
>>> Trading Schedule with customizable trading daily time range, automatic closing/alert trades before Power Hour or right before market closes or leave it open until next day.
>>> 3 Trading Systems.
>>> Multiple Signal SOURCEs for opening trades, either SOURCE can be used or both at the same time!
>>> Static/Dynamic Stop-Loss setups (HIGHLIGHT: Stop-Loss will be moved to Entry after TP1 is taken, which minimizes risk).
>>> Single or Multiple profit targets (up to 3).
>>> Take-Profit customizable offset feature (set your Take-Profit targets slightly before everyone is expecting it!).
>>> Candle bar signal analysis (matching candle color, skip opposite structured and/or doji candle uncertain signals).
>>> Additional analysis of VWAP/EMA/ATR/EWO (Elliot Wave Oscillator)/Divergence MACD+RSI/Volume signal confirmation (clean up your chart with indicator showing only the best potential signals!).
>>> Advanced Alerts setup, which can be potentially setup with a trading bot over TradingView Webhook (NOTE: This will require advanced programming knowledge).
===========================================================================
Labels, plots, colors explanations:
---------------------------------------------------------------------------
>>>>> Signal SOURCE(s): Green/Red arrows, which will be shown unconditionally, outside of trade engine and can be hidden if desired.
>>>>> LONG open: green "house" looking arrow below candle bar.
>>>>> SHORT open: red "house" looking arrow above candle bar.
>>>>> LONG/SHORT take-profit target: green/red circles (multi-profit > TP2/3/4/5 smaller circles).
>>>>> LONG/SHORT take-profit hits: green/red diamonds.
>>>>> LONG/SHORT stop-loss target: green/red + crosses.
>>>>> LONG/SHORT stop-loss hits: green/red X-crosses.
>>>>> LONG/SHORT EOD close (profitable trade): green/red squares.
>>>>> LONG/SHORT EOD close (loss trade): green/red PLUS(+)-crosses.
===========================================================================
Date Range and Trading Schedule Settings
---------------------------------------------------------------------------
>>>>> Date Range: Select your start and/or end dates (uncheck “End” for indicator to show results up to the very moment and to use for LIVE trading) for backtesting results, if not using backtesting – uncheck “Start”/“End” to turn it off.
>>>>> Use TradingView “Strategy Tester” to see backtesting results
NOTE: If Strategy Tester does not show any results with Date Ranged fully unchecked, there may be an issue where a script opens a trade, but there is not enough TradingView power to set the Take-Profit and Stop-Loss and somehow an open trade gets stuck and never closes, so there are “no trades present”. In such case you will need to manually check “Start”/“End” dates or use “Depp Backtesting” feature!
>>>>> Trading Schedule: This is where you can setup Intraday Session or any custom session schedule you wish. Turn it ON. Select trading hours. Select EOD (End of Day) setting (NOTE: If it will be OFF, the indicator will assume you are holding your position open until next day!).
>>> Trading Systems: 1) "Open Until Closed by TP or SL": the signal will only open a trade if no trades are currently open/trunning, a trade can only be closed by Take Profit, Stop Loss or End of Day close (if turned on) | 2) "Open Until Closed by TP or SL + OCA": Same as 1), but if there is an opposite signal to the trade which is currently open > it will immediately be closed with new trade open or End of Day close (if turned on) | 3) "OCA (no TP or SL)": There are is Take Profit or Stop Loss, only an opposite signal will close current trade and open an opposite one or End of Day close (if turned on)
>>>>> MULTIPROFIT | TP (Take-Profit) System: Once the trade is open, all Take-Profit target(s) are immediately calculated and set for the trade > once the target(s) is hit > trade will be partially closed (if candle bar closes beyond several Take-Profit targets > trade will be reduced accordingly to the amount of how many Take-Profit targets were hit)
>>>>> MULTIPROFIT | SL (Stop-Loss) System: 1) Static – Once the trade is open, Stop-Loss is calculated and set for the remaining of the trade ||| 2) Dynamic – At trade open, Stop-Loss is calculated and set the same way, however once 1st Take-Profit is taken > Stop-Loss is moved to Entry, reducing the risk.
>>>>> # of TPs (number of take profit targets): Just like it is named, this is where you select the number of Take-Profit targets for your trading system (NOTE: If "OCA (no TP or SL)" Trading System is selected, this setting won’t do anything, since there are no TP or SLs for that system).
>>>>> TP(s) offset: This is a special feature for all Take-Profit targets, where you can turn on a customizable offset, so that if the price is almost hitting the Take-Profit target, but never actually touches it > you will capture it. This is good to use with HHLL (Highest High Lowest Low), which is pretty much a Support/Resistance as often the price will nearly touch these strong areas and turn around…
===========================================================================
Take-Profit and Stop-Loss visual example:
---------------------------------------------------------------------------
1) A simply nice intraday trading day for SPY (S&P500 ETF TRUST) with a single Take-Profit target on each trade.
See how Take-Profit distances increase with price momentum and how Stop-Loss is following the trade reducing the risk!
2) Same intraday trading day for SPY (S&P500 ETF TRUST) with 3 Take-Profit targets with static Stop-Loss.
3) Same intraday trading day for SPY (S&P500 ETF TRUST) with 3 Take-Profit targets with dynamic Stop-Loss.
You can see how Stop-Loss was moved once TP1 is taken!
===========================================================================
Trade Analysis and Cleanup Settings
---------------------------------------------------------------------------
>>>>> Candle Analysis | Candle Color signal confirmation: If closed candle bar color does not match the signal direction > no trade will be open.
>>>>> Candle Analysis | Skip opposite candle signals: If closed candle bar color will match the signal direction, but candle structure will be opposite (for example: bearish green hammer, long high stick on top of a small green square) > no trade will be open.
>>>>> Candle Analysis | Skip doji candle signals: If closed candle bar will be the uncertain doji > no trade will be open.
>>>>> Divergence/Oscillator Analysis | EWO (Elliot Wave Oscillator) signal confirmation: LONG will only be open if at signal, EWO is green or will be at bullish slope (you can select which setting you desire), SHORT if EWO is red or will be at bearish slope.
>>>>> Divergence/Oscillator Analysis | VWAP signal confirmation: LONG will only be open if at signal, the price will be above VWAP, SHORT if below.
>>>>> Divergence/Oscillator Analysis | Moving Average signal confirmation: LONG will only be open if at signal, the price will be above selected Moving Average, SHORT if below.
>>>>> Divergence/Oscillator Analysis | ATR signal confirmation: LONG will only be open if at signal, the price will be above ATR, SHORT if below.
>>>>> Divergence/Oscillator Analysis | RSI + MACD signal confirmation: LONG will only be open if at signal, RSI + MACD will be bullish, SHORT if RSI + MACD will be bearish.
>>>>> Volume signal confirmation: LONG/SHORT will only be open if closing candle volume is 150% above average Volume based on the Volume Length.
===========================================================================
Alert Settings (you don’t have to touch this section unless you will be using TradingView alerts through a Webhook to use with trading bot)
---------------------------------------------------------------------------
Here is how a LONG OPEN alert looks like (each label is customizable + I can add up more items/labels if needed):
COIN: BTCUSD
TIMEFRAME: 15M
LONG: OPEN
ENTRY: 20000
TP1: 20500
TP2: 21000
TP3: 21500
SL: 19000
Leverage: 0
===========================================================================
Adding Alerts in TradngView
---------------------------------------------------------------------------
-Right-click anywhere on the TradingView chart
-Click on Add alert
-Condition: Select this indicator by it’s name
-Alert name: Whatever you want
-Hit “Create”
-Note: If you change ANY Settings within the indicator – you must DELETE the current alert and create a new one per steps above, otherwise it will continue triggering alerts per old Settings!
===========================================================================
If you have any questions or issues with the indicator, please message me directly via TradingView.
---------------------------------------------------------------------------
Good Luck! (NOTE: Trading is very risky, past performance is not necessarily indicative of future results, so please trade responsibly!)
[DisDev] D-I-Y Gridbot🟩 This script is a “do-it-yourself” Grid Bot Simulator, used for visualizing support and resistance levels. Prices are divided into grids, or trade zones, that will trigger signals each time a new zone is entered. During ranging markets, each transaction is followed by a “take profit.” As the market starts to trend, transactions are stacked (compare to DCA ), until the market consolidates. No signals are triggered above the upper gridline or below the lower gridline. Unlike the previous version, all grids may be adjusted in real-time by dragging the gridlines up and down to the desired support and resistance levels.
When adding the indicator to a new chart, you must choose six grid levels by clicking on the desired support or resistance price. You can change all of these levels at any time directly on the chart.
⚡ OVERVIEW ⚡
The D-I-Y Gridbot is an interactive tool designed for visualizing support and resistance levels. As a continuation of the original Gridbot Simulator , which has received significant recognition on TradingView, earning over 4000 boosts and an Editor's Pick status. This tool serves not only as an evolved version of its predecessor, but also as an open-source template for developing future gridbots. It aims to foster discussions and facilitate innovations around grid-trading strategies.
One of the new features of this gridbot is the real-time adjustability of all gridlines. Users can move these lines up and down to set their desired support and resistance levels in response to changing market conditions. Additionally, the D-I-Y Gridbot is compatible with multiple timeframes and can be used on most TradingView charts.
Drag gridlines up or down to desired price level.
Key Features 🔑
All gridlines are adjustable in real-time, directly on the chart
Signals can be filtered by a customizable moving average or by VWAP
Customizable support and resistance levels
Potentially increases profitability in ranging markets
Benefits 💸
Customizable Support and Resistance Levels : The D-I-Y Gridbot allows users to set their preferred support and resistance levels, which can be changed at any time directly on the chart. This provides users with the ability to customize their trading parameters based on their strategy and risk tolerance.
Various Trading Strategies : The D-I-Y Gridbot supports various trading strategies, including Mean Reversion, Ranging Markets, and Dollar-cost averaging (DCA). This allows users to capitalize on price reversals, execute buy and sell orders at predetermined levels, and buy more of an asset as the price falls, respectively.
Multi-Timeframe and Versatility : The D-I-Y Gridbot is compatible with multiple timeframes and can be used on any TradingView chart.
Experimental and Educational : The D-I-Y Gridbot is considered a proof-of-concept tool that is both experimental and educational. This can provide traders with a deeper understanding of grid trading strategies and the ability to experiment with different trading parameters and strategies.
⚙️ CONFIGURATION & SETTINGS ⚙️
Inputs 🔧
Trigger : Candle location to trigger the signal. "Wick" will use either high or low, depending on the signal direction. "Close" will use the close price. “MA” will use the selected moving average or VWAP.
Confirmation : Market direction to confirm the candle trigger. "Reverse" will confirm the signal when the price crosses back over the trigger. "Breakout" will confirm when the price breaks out of the trigger.
Number of Support/Resistance zones : 1 = Only Top Grid is Support/Only Bottom Grid is Resistance. 2 = Top two grids are Resistance/Bottom two grids are Support. 3 = Top three grids are Resistance/Bottom three grids are Support
MA Type : Exponential Moving Average (EMA), Hull Moving Average (HMA), Simple Moving Average (SMA), Triple Exponential Moving Average (TEMA), Volume Weighted Moving Average (VWMA), Volume Weighted Average Price (VWAP)
MA Filter : Use Moving Average as a reversion filter for signals. When enabled, no buys when above MA, no sells when below. Use in conjunction with S/R zones to reduce false signals.
Allow Repeat Signals . When enabled, signals will reset when nearest gridline is triggered. When disabled, only one signal will be triggered per gridline.
Line/Fill colors
Gridlines . Adjusts gridline prices manually.
Left : Trigger = Wick. Confirm = Breakout. Buys are signaled when LOW breaks below gridline. Sells are triggered when HIGH breaks above gridline.
Right : Trigger = Close. Confirm = Breakout. Buys are signaled when the candle CLOSES below the gridline. Sells are triggered when the candle CLOSES above the gridline.
Left : Confirm=Breakout. Signals on breaking through the next gridline.
Right : Confirm=Reverse. Signals only when crossing back from the gridline.
S/R Zones=1. Upper gridline is Resistance / Lower is Support. Middle 4 are neutral.
S/R Zones = 3. Upper three gridlines are Resistance / Lower three are Support
Notes:
If gridlines are dragged out of order on a live chart, they will auto-sort into the correct order.
Price levels may be entered in settings, or adjusted in real-time directly on the chart.
When changing symbols, remember to adjust the gridlines to accommodate the new symbol.
Alerts 🔔
Users can set alerts based on their chosen parameters for triggers, confirmations, number of support/resistance zones, and smoothing type, enabling precise control over alert conditions.
💡 USAGE & STRATEGY 💡
Trading Strategies 📈
Mean Reversion: The script can be used to capitalize on price reversals back to the mean.
Ranging Markets: The script excels in ranging markets, executing buy and sell orders at predetermined levels.
Dollar-cost averaging (DCA): The script can be used to execute DCA orders, buying more of an asset as the price falls, and lowering the average cost per unit.
Timeframes and Symbols ⌚
Multi-Timeframe: The indicator is compatible with multiple timeframes.
Versatile: Can be used on any crypto trading pair on TradingView.
🤖 DETAILS & METHODOLOGY 🤖
Algorithm and Calculation 🛡️
Grids are set and adjusted when loading the indicator on the chart and may be customized anytime afterward by clicking and dragging the gridlines on the chart.
Gridlines are updated, sorted, and stored in a float array.
Signals are calculated based on candle trigger, market direction, and previous price level.
📚 ADDITIONAL RESOURCES 📚
Chart Examples 📊
S/R Zones = 3: Three Support and Three Resistance. Filter = 50-period Triple Exponential Moving Average (TEMA)
S/R Zones = 1: One Support, One Resistance, and Four Neutral Zones. Support Zones: Buys only. Resistance Zones: Sells only. Neutral Zones: Grid-dependent
When MA filter is enabled, Buys are only triggered below Moving Average, and Sells are only triggered above.
Trigger = Wick. Confirmation = Breakout. Buys are signaled when Low breaks above the next grid level. Sells are signaled when High breaks below the next grid level.
🚀 CONCLUSION 🚀
The D-I-Y Gridbot is a proof-of-concept, emphasizing its experimental and educational nature. In future versions, we will aim to incorporate concepts such as auto-adjusting grids and angled grids for trending markets. The script is designed to evolve through user feedback and suggestions, shaping its future iterations.
Credit: This is a continuation of the Gridbot series by xxattaxx-DisDev . Explicit permission was granted by user xxattaxx-disdev to re-use all Gridbot code and all materials without restrictions.
⚠️ DISCLAIMER ⚠️
This indicator is a proof-of-concept and is considered experimental and educational. When gridlines are drawn in hindsight, signals appear to be predictive and valid. Future results may always vary when the trend direction changes. Comments and suggestions are encouraged.
This indicator is provided as a tool for traders and should not be used as the sole basis for making trading decisions. Always conduct your own research and consider your risk tolerance before entering any trades.
[SMA Cross + HHLL] Signal Clean Up Analysis with Backtest (TSO) This is a DEMO indicator with a simple 2 SMAs cross for signals + HHLL for TP/SL. It mainly demonstrates chained (NOTE: You can select several or ALL of the features, this is not limited to either one) signal cleanup and analysis approach with scheduling and alerting capabilities. Works with most popular timeframes: 1M, 5M, 15M, 1H, 4H, D.
===========================================================================
Here are some pre-set examples with nice Backtesting results (try em out!):
---------------------------------------------------------------------------
>>> Indexes – SPY (INTRADAY SETUP ): Timeframe: 5M | Trading Schedule: ON, 10:00-15:45 ET, EOD: At Market Close | Trading System: Open Until Closed by TP or SL | MULTIPROFIT: TP (take profit) System: Dynamic | MULTIPROFIT: SL (stop loss) System (This is only for “Dynamic” TP System ONLY!!!): Dynamic | # of TPs: 5 | Skip opposite candle types in signals, which are opposite to direction of candle color (for example: bearish green hammer) | Everything else: Default
>>> Bitcoin – BTCUSD (24/7 SETUP): Timeframe: 1H | Trading Schedule: OFF, End of Day (EOD): OFF | Trading System: Open Until Closed by TP or SL | MULTIPROFIT: TP (take profit) System: Dynamic | MULTIPROFIT: SL (stop loss) System (This is only for “Dynamic” TP System ONLY!!!): Dynamic | # of TPs: 3 | TP(s) Offset: on, TP(s) offset amount: 50 | ATR confirmation | Everything else: Default
===========================================================================
Explanation of all the Features | Configuration Guide | Indicator Settings
---------------------------------------------------------------------------
---------------------------------------------------------------------------
Signal cleanup analysis:
---------------------------------------------------------------------------
>>> Customizable Backtesting for a specific date range, results via TradingView strategy, which includes “Deep Backtesting” for largest amounts of data on trading results.
>>> Trading Schedule with customizable trading daily time range, automatic closing/alert trades before Power Hour or right before market closes or leave it open until next day.
>>> 3 Trading Systems.
>>> Static/Dynamic Take-Profit setups (HILIGHT: momentum catch dynamic Take-Profit approach).
>>> Static/Dynamic Stop-Loss setups (HIGHLIGHT: smart trailing Stop-Loss which minimizes risk).
>>> Single or Multiple profit targets (up to 5).
>>> Take-Profit customizable offset feature (set your Take-Profit targets slightly before everyone is expecting it!).
>>> Candle bar signal analysis (skip opposite structured and/or doji candle uncertain signals).
>>> Additional analysis of VWAP/EMA/ATR/EWO (Elliot Wave Oscillator)/Divergence MACD+RSI signal confirmation (clean up your chart with indicator showing only the best potential signals!).
>>> Advanced Alerts setup, which can be potentially setup with a trading bot over TradingView Webhook (NOTE: This will require advanced programming knowledge).
>>> Customize your signal SOURCE and your Take-Profit/Stop-Loss SOURCES as you desire.
===========================================================================
Labels, plots, colors explanations:
---------------------------------------------------------------------------
>>>>> Signal SOURCE: SMA crossings (green and red BIG circles) .
>>>>> Take-profit/Stop-loss SOURCE: HHLL (Highest High Lowest Low) .
>>>>> LONG open: green arrow below candle bar.
>>>>> SHORT open: red arrow above candle bar.
>>>>> LONG/SHORT take-profit target: green/red circles (multi-profit > TP2/3/4/5 smaller circles).
>>>>> LONG/SHORT take-profit hits: green/red diamonds.
>>>>> LONG/SHORT stop-loss target: green/red + crosses.
>>>>> LONG/SHORT stop-loss hits: green/red X-crosses.
>>>>> LONG/SHORT EOD close (profitable trade): green/red squares.
>>>>> LONG/SHORT EOD close (loss trade): green/red PLUS(+)-crosses.
===========================================================================
Date Range and Trading Schedule Settings
---------------------------------------------------------------------------
>>>>> Date Range: Select your start and/or end dates (uncheck “End” for indicator to show results up to the very moment and to use for LIVE trading) for backtesting results, if not using backtesting – uncheck “Start”/“End” to turn it off.
---------------------------------------------------------------------------
>>>>> Use TradingView “Strategy Tester” to see backtesting results
---------------------------------------------------------------------------
NOTE: If Strategy Tester does not show any results with Date Ranged fully unchecked, there may be an issue where a script opens a trade, but there is not enough TradingView power to set the Take-Profit and Stop-Loss and somehow an open trade gets stuck and never closes, so there are “no trades present”. In such case you will need to manually check “Start”/“End” dates or use “Depp Backtesting” feature!
---------------------------------------------------------------------------
>>>>> Trading Schedule: This is where you can setup Intraday Session or any custom session schedule you wish. Turn it ON. Select trading hours. Select EOD (End of Day) setting (NOTE: If it will be OFF, the indicator will assume you are holding your position open until next day!).
>>>>> Trading System: 1) Open Until Closed by TP or SL – once the trade is open, it can only be closed by Take-Profit, Stop-Loss or at EOD (if turned on) ||| 2) OCA – Opposite Trade will Open Closing Current Trade – Same as 1), except that when and if an OPPOSITE signal is received > indicator will close current trade immediately (profit or loss) and open a new one(NOTE: This will only happen with an OPPOSITE direction trade!) ||| 3) Open Until Opposite Signal or EOD (if turned on) – This approach is the simplest one, there are no Take-Profits or Stop-Losses, the trade is open until an OPPOSITE signal is received or until EOD (if turned on).
Take-Profit, Stop-Loss and Multi-Profit Settings
>>>>> MULTIPROFIT | TP (Take-Profit) System: 1) Static – Once the trade is open, all Take-Profit target(s) are immediately calculated and set for the trade > once the target(s) is hit > trade will be partially closed (if candle bar closes beyond several Take-Profit targets > trade will be reduced accordingly to the amount of how many Take-Profit targets were hit) ||| 2) Dynamic – Once the trade is open, only the 1st Take-Profit target is calculated, once the 1st Take-Profit is hit > next Take-Profit distance is calculated based on the distance from trade Entry to where 1st Take-Profit was taken, once 2nd Take-Profit is taken > 3rd Take-Profit is calculated per same logic, these are good for price momentum as with price speeding up – profits increase as well!
NOTE: Below 2 settings, each correspond to only 1 setting of the TP (Take-Profit) System, please pay attention to the above TP system setting before changing SL settings!
>>>>> MULTIPROFIT | SL (Stop-Loss) System : 1) Static – Once the trade is open, Stop-Loss is calculated and set for the remaining of the trade ||| 2) Dynamic – At trade open, Stop-Loss is calculated and set the same way, however once 1st Take-Profit is taken > Stop-Loss is moved to Entry, reducing the risk.
>>>>> MULTIPROFIT | SL (Stop-Loss) System : 1) Static - Once the trade is open, Stop-Loss is calculated and set for the remaining of the trade ||| 2) Dynamic – At trade open, Stop-Loss is calculated and set the same way, however with each Take-Profit taken, Stop-Loss will be moved to previous Take-Profit (TP1 taken > SL:Entry | TP2 taken > SL:TP1 | TP3 taken > SL:TP2 | TP4 taken > SL:TP3 | TP5 taken > trade closed), this is basically a smart Stop-Loss trailing system!
>>>>> # of TPs (number of take profit targets): Just like it is named, this is where you select the number of Take-Profit targets for your trading system (NOTE: If “3) Open Until Opposite Signal or EOD (if turned on)” Trading System is selected, this setting won’t do anything, since there are no TP or SLs for that system).
>>>>> TP(s) offset: This is a special feature for all Take-Profit targets, where you can turn on a customizable offset, so that if the price is almost hitting the Take-Profit target, but never actually touches it > you will capture it. This is good to use with HHLL (Highest High Lowest Low), which is pretty much a Support/Resistance as often the price will nearly touch these strong areas and turn around…
---------------------------------------------------------------------------
Dynamic/Static Take-Profit and Stop-Loss visual examples:
1) Fully Dynamic Take-Profit and Stop-Loss setup for BTCUSD
See how Take-Profit distances increase with price momentum and how Stop-Loss is following the trade reducing the risk!
2) Static/Dynamic, Static Take-Profit and Dynamic Stop-Loss setup for SPY (S&P500 ETF TRUST)
You can see a static Take-Profit set at position open, while Stop-Loss is semi-dynamic adjusting to Entry once TP1 target is taken!
3) Fully Static Take-Profit and Stop-Loss setup for SPY (S&P500 ETF TRUST)
This one is a fully static setup for both Take-Profit and Stop-Loss, you can also observe how trade is closed right before the Power Hour (trade can be closed right before Power Hour or right before Market Closes or left overnight as you desire).
---------------------------------------------------------------------------
Trade Analysis and Cleanup Settings
>>>>> Candle Analysis | Candle Color signal confirmation: If closed candle bar color does not match the signal direction > no trade will be open.
>>>>> Candle Analysis | Skip opposite candle signals: If closed candle bar color will match the signal direction, but candle structure will be opposite (for example: bearish green hammer, long high stick on top of a small green square) > no trade will be open.
>>>>> Candle Analysis | Skip doji candle signals: If closed candle bar will be the uncertain doji > no trade will be open.
>>>>> Divergence/Oscillator Analysis | EWO (Elliot Wave Oscillator) signal confirmation: LONG will only be open if at signal, EWO is green or will be at bullish slope (you can select which setting you desire), SHORT if EWO is red or will be at bearish slope.
>>>>> Divergence/Oscillator Analysis | VWAP signal confirmation: LONG will only be open if at signal, the price will be above VWAP, SHORT if below.
>>>>> Divergence/Oscillator Analysis | Moving Average signal confirmation: LONG will only be open if at signal, the price will be above selected Moving Average, SHORT if below.
>>>>> Divergence/Oscillator Analysis | ATR signal confirmation: LONG will only be open if at signal, the price will be above ATR, SHORT if below.
>>>>> Divergence/Oscillator Analysis | RSI + MACD signal confirmation: LONG will only be open if at signal, RSI + MACD will be bullish, SHORT if RSI + MACD will be bearish.
===========================================================================
Alert Settings (you don’t have to touch this section unless you will be using TradingView alerts through a Webhook to use with trading bot)
---------------------------------------------------------------------------
Here is how a LONG OPEN alert looks like (each label is customizable + I can add up more items/labels if needed):
COIN: BTCUSD
TIMEFRAME: 15M
LONG: OPEN
ENTRY: 20000
TP1: 20500
TP2: 21000
TP3: 21500
SL: 19000
Leverage: 0
===========================================================================
Trade Open Signal SOURCE + Take-Profit/Stop-Loss SOURCE
---------------------------------------------------------------------------
>>> Customize your signal SOURCE, Take-Profit and Stop-Loss SOURCE as desired (NOTE: These are pre-configured and should be usable on majority of markets, however feel free to play around with these settings as there is nearly an infinite amount of setups out there!
===========================================================================
Adding Alerts in TradngView
---------------------------------------------------------------------------
-Right-click anywhere on the TradingView chart
-Click on Add alert
-Condition: Select this indicator by it’s name
-Alert name: Whatever you want
-Hit “Create”
-Note: If you change ANY Settings within the indicator – you must DELETE the current alert and create a new one per steps above, otherwise it will continue triggering alerts per old Settings!
===========================================================================
If you have any questions or issues with the indicator, please message me directly via TradingView.
---------------------------------------------------------------------------
Good Luck! (NOTE: Trading is very risky, so please trade responsibly!)
Keltner Trend V3It's just a simple keltner trend with options added to:
Eradicate repainting
more MAs
Json alerts (useful for bots)
I recommend using "open" option for all sources if you are going to use it with a bot, or if you want to be safe and enter with confirmations. Using the default settings would also show you all the entries without repainting as it uses high and low prices to check breakouts and not solely the close price (which is generally a false representative in historic analysis).
My favorite lengths are 7, 14, and 21. There is no specific reason, they just seem to work well most of the time. You can (and should) optimize it to your purposes.
Thanks to the original author @jaggedsoft this script is just a improved version of theirs.
OKX Perpetual Swap Position Sizer by RainbowLabsI created this tool to simplify the process of setting up trading bots on OKX perpetual swap pairs via Alertatron.
Instead of manually searching for each pair on www.okx.com and calculating the position size from dollar to contract, I developed a Python bot to scrape the necessary data and built an indicator to convert that data into TradingView.
Simply input the desired order amount in USDT, and the indicator will calculate the maximum number of contracts that can be traded without exceeding the user-defined risk amount.
Please note that this indicator only works with OKX perpetual swap pairs and is intended for educational and informational purposes only.
It should not be construed as financial advice, and traders should always perform their own analysis and make their own decisions regarding whether or not to enter a trade.
This indicator requires human updates. As a result, the most recent coins may not be available until a new update is released.
Сoncentrated Market Maker Strategy by oxowlConcentrated Market Maker Strategy by oxowl. This script plots an upper and lower bound for liquidity provision, and checks for rebalancing conditions. It also includes alert conditions for when the price crosses the upper or lower bounds.
Here's an overview of the script:
It defines the input parameters: liquidity range percentage, rebalance frequency in minutes, and minimum trade size in assets.
It calculates the upper and lower bounds for liquidity provision based on the liquidity range percentage.
It initializes variables for the last rebalance time and price.
It defines a rebalance condition based on the frequency and current price within the specified range.
If the rebalance condition is met, it updates the last rebalance time and price.
It plots the upper and lower bounds on the chart as lines and adds price labels for both bounds.
It defines alert conditions for when the price crosses the upper or lower bounds.
Finally, it creates alert conditions with appropriate messages for when the price crosses the upper or lower bounds.
Concentrated liquidity is a concept often used in decentralized finance (DeFi) market-making strategies. It allows liquidity providers (LPs) to focus their liquidity within a specific price range, rather than across the entire price curve. Using an indicator with concentrated liquidity can offer several advantages:
Increased capital efficiency: Concentrated liquidity allows LPs to allocate their capital within a narrower price range. This means that the same amount of capital can generate more significant price impact and potentially higher returns compared to providing liquidity across a broader range.
Customized risk exposure: LPs can choose the price range they feel most comfortable with, allowing them to better manage their risk exposure. By selecting a range based on their market outlook, they can optimize their positions to maximize potential returns.
Adaptive strategies: Indicators that support concentrated liquidity can help traders adapt their strategies based on market conditions. For example, they can choose to provide liquidity around a stable price range during low-volatility periods or adjust their range when market conditions change.
To continue integrating this script into your trading strategy, follow these steps:
Import the script into your TradingView account. Navigate to the Pine editor, paste the code, and save it as a new script.
Apply the indicator to a trading pair chart. You can customize the input parameters (liquidity range percentage, rebalance frequency, and minimum trade size) based on your preferences and risk tolerance.
Set alerts for when the price crosses the upper or lower bounds. This will notify you when it's time to take action, such as adding or removing liquidity, or rebalancing your position.
Monitor the performance of your strategy over time. Adjust the input parameters as needed to optimize your returns and manage risk effectively.
(Optional) Integrate the script with a trading bot or automation platform. If you're using an API-based trading solution, you can incorporate the logic and conditions from the script into your bot's algorithm to automate the process of providing concentrated liquidity and rebalancing your positions.
Remember that no strategy is foolproof, and past performance is not indicative of future results. Always exercise caution when trading and carefully consider your risk tolerance.
Futures/Spot Ratiowhat is Futures /Spot Ratio?
Although futures and spot markets are separate markets, they are correlated. arbitrage bots allow this gap to be closed. But arbitrage bots also have their limits. so there are always slight differences between futures and spot markets. By analyzing these differences, the movements of the players in the market can be interpreted and important information about the price can be obtained. Futures /Spot Ratio is a tool that facilitates this analysis.
what it does?
it compresses the ratio between two selected spot and futures trading pairs between 0 and 100. its purpose is to facilitate use and interpretation. it also passes a regression (Colorful Regression) through the middle of the data for the same purpose.
about Colorful Regression:
how it does it?
it uses this formula:
how to use it?
use it to understand whether the market is priced with spot trades or leveraged positions. A value of 50 is the breakeven point where the ratio of the spot and leveraged markets are equal. Values above 50 indicate excess of long positions in the market, values below 50 indicate excess of short positions. I have explained how to interpret these ratios with examples below.
Simple_RSI+PA+DCA StrategyThis strategy is a result of a study to understand better the workings of functions, for loops and the use of lines to visualize price levels. The strategy is a complete rewrite of the older RSI+PA+DCA Strategy with the goal to make it dynamic and to simplify the strategy settings to the bare minimum.
In case you are not familiar with the older RSI+PA+DCA Strategy, here is a short explanation of the idea behind the strategy:
The idea behind the strategy based on an RSI strategy of buying low. A position is entered when the RSI and moving average conditions are met. The position is closed when it reaches a specified take profit percentage. As soon as the first the position is opened multiple PA (price average) layers are setup based on a specified percentage of price drop. When the price hits the layer another position with the same position size is is opened. This causes the average cost price (the white line) to decrease. If the price drops more, another position is opened with another price average decrease as result. When the price starts rising again the different positions are separately closed when each reaches the specified take profit. The positions can be re-opened when the price drops again. And so on. When the price rises more and crosses over the average price and reached the specified Stop level (the red line) on top of it, it closes all the positions at once and cancels all orders. From that moment on it waits for another price dip before it opens a new position.
This is the old RSI+PA+DCA Strategy:
The reason to completely rewrite the code for this strategy is to create a more automated, adaptable and dynamic system. The old version is static and because of the linear use of code the amount of DCA levels were fixed to max 6 layers. If you want to add more DCA layers you manually need to change the script and add extra code. The big difference in the new version is that you can specify the amount of DCA layers in the strategy settings. The use of 'for loops' in the code gives the possibility to make this very dynamic and adaptable.
The RSI code is adapted, just like the old version, from the RSI Strategy - Buy The Dips by Coinrule and is used for study purpose. Any other low/dip finding indicator can be used as well
The distance between the DCA layers are calculated exponentially in a function. In the settings you can define the exponential scale to create the distance between the layers. The bigger the scale the bigger the distance. This calculation is not working perfectly yet and needs way more experimentation. Feel free to leave a comment if you have a better idea about this.
The idea behind generating DCA layers with a 'for loop' is inspired by the Backtesting 3commas DCA Bot v2 by rouxam .
The ideas for creating a dynamic position count and for opening and closing different positions separately based on a specified take profit are taken from the Simple_Pyramiding strategy I wrote previously.
This code is a result of a study and not intended for use as a full functioning strategy. To make the code understandable for users that are not so much introduced into pine script (like myself), every step in the code is commented to explain what it does. Hopefully it helps.
Enjoy!
libKageMiscLibrary "libKageMisc"
Kage's Miscelaneous library
print(_value)
Print a numerical value in a label at last historical bar.
Parameters:
_value : (float) The value to be printed.
Returns: Nothing.
barsBackToDate(_year, _month, _day)
Get the number of bars we have to go back to get data from a specific date.
Parameters:
_year : (int) Year of the specific date.
_month : (int) Month of the specific date. Optional. Default = 1.
_day : (int) Day of the specific date. Optional. Default = 1.
Returns: (int) Number of bars to go back until reach the specific date.
bodySize(_index)
Calculates the size of the bar's body.
Parameters:
_index : (simple int) The historical index of the bar. Optional. Default = 0.
Returns: (float) The size of the bar's body in price units.
shadowSize(_direction)
Size of the current bar shadow. Either "top" or "bottom".
Parameters:
_direction : (string) Direction of the desired shadow.
Returns: (float) The size of the chosen bar's shadow in price units.
shadowBodyRatio(_direction)
Proportion of current bar shadow to the bar size
Parameters:
_direction : (string) Direction of the desired shadow.
Returns: (float) Ratio of the shadow size per body size.
bodyCloseRatio(_index)
Proportion of chosen bar body size to the close price
Parameters:
_index : (simple int) The historical index of the bar. Optional. Default = 0.()
Returns: (float) Ratio of the body size per close price.
lastDayOfMonth(_month)
Returns the last day of a month.
Parameters:
_month : (int) Month number.
Returns: (int) The number (28, 30 or 31) of the last day of a given month.
nameOfMonth(_month)
Return the short name of a month.
Parameters:
_month : (int) Month number.
Returns: (string) The short name ("Jan", "Feb"...) of a given month.
pl(_initialValue, _finalValue)
Calculate Profit/Loss between two values.
Parameters:
_initialValue : (float) Initial value.
_finalValue : (float) Final value = Initial value + delta.
Returns: (float) Profit/Loss as a percentual change.
gma(_Type, _Source, _Length)
Generalist Moving Average (GMA).
Parameters:
_Type : (string) Type of average to be used. Either "EMA", "HMA", "RMA", "SMA", "SWMA", "WMA" or "VWMA".
_Source : (series float) Series of values to process.
_Length : (simple int) Number of bars (length).
Returns: (float) The value of the chosen moving average.
xFormat(_percentValue, _minXFactor)
Transform a percentual value in a X Factor value.
Parameters:
_percentValue : (float) Percentual value to be transformed.
_minXFactor : (float) Minimum X Factor to that the conversion occurs. Optional. Default = 10.
Returns: (string) A formated string.
isLong()
Check if the open trade direction is long.
Returns: (bool) True if the open position is long.
isShort()
Check if the open trade direction is short.
Returns: (bool) True if the open position is short.
lastPrice()
Returns the entry price of the last openned trade.
Returns: (float) The last entry price.
barsSinceLastEntry()
Returns the number of bars since last trade was oppened.
Returns: (series int)
getBotNameFrosty()
Return the name of the FrostyBot Bot.
Returns: (string) A string containing the name.
getBotNameZig()
Return the name of the FrostyBot Bot.
Returns: (string) A string containing the name.
getTicksValue(_currencyValue)
Converts currency value to ticks
Parameters:
_currencyValue : (float) Value to be converted.
Returns: (float) Value converted to minticks.
getSymbol(_botName, _botCustomSymbol)
Formats the symbol string to be used with a bot
Parameters:
_botName : (string) Bot name constant. Either BOT_NAME_FROSTY or BOT_NAME_ZIG. Optional. Default is empty string.
_botCustomSymbol : (string) Custom string. Optional. Default is empy string.
Returns: (string) A string containing the symbol for the bot. If all arguments are empty, the current symbol is returned in Binance format.
showProfitLossBoard()
Calculates and shows a board of Profit/Loss through the years.
Returns: Nothing.
CryptoGraph Entry BuilderA complete system to generate buy & sell signals, based on multiple indicators, timeframes and assets
═════════════════════════════════════════════════════════════════════════
🟣 How it works
This indicator allows you to create buy & sell signals, based on multiple trigger conditions, placed in one easy to use TradingView indicator to produce alerts, backtest, reduce risk and increase profitability. This script is especially designed to be used with the CryptoGraph Strategizer indicator. Signals produced by this indicator, can be used as external input with the CryptoGraph Strategizer, by adding both indicators to your chart and selecting "External Input" as entry source in the inputs of the Strategizer indicator. From that point on, buy & sell signals generated by the Entry Builder, will be used for backtesting.
Each trigger or filtering condition is selectable and able to be combined using the selection boxes.
Trigger or filter conditions can be used on a different timeframes, and with different assets or coin pairs. Make sure to set higher timeframe filters, to a higher timeframe than your chart timeframe.
🟣 How to use
• Add the indicator to your chart
• Select an indicator you woud like to use for entry analysis. Combine more indicators for more entry filtering
• Configure entry conditions per indicator. It is recommended to add and configure one indicator at a time
• Analyse your buy/sell entries
• Connect to CryptoGraph Strategizer as external input source for backtesting purposes
🟣 Indicator Filters
• ATR :
Average True Range (ATR) is a tool used in technical analysis to measure volatility .
Possible options for ATR entry filtering are an ATR value greater/smaller than your input variable for trade entries, or the ATR crossing your input variable for trade entries.
This enables the possibility to only enter positions when the market has a certain degree of volatility .
• ADX :
The Average Directional Index ( ADX ) helps traders determine the strength of a trend, not its actual direction. It can be used to find out whether the
market is ranging or starting a new trend.
Possible options for ADX entry filtering are an ADX value greater/smaller than your input variable for trade entries, or the ADX crossing your input variable for trade entries.
• OBV :
The On Balance Volume indicator (OBV) is used in technical analysis to measure buying and selling pressure. It is a cumulative indicator meaning that on days where price went up, that day's volume is added to the cumulative OBV total.
Possible options for OBV entry filtering are Regular, Hidden or Regular&Hidden divergences. Divergence is when the price of an asset is moving in the opposite direction of a technical indicator, such as an oscillator, or is moving contrary to other data. Divergence warns that the current price trend may be weakening, and in some cases may lead to the price changing direction.
• Moving Average :
Moving Average (MA) is a price based, lagging (or reactive) indicator that displays the average price of a security over a set period of time. A Moving Average is a good way to gauge momentum as well as to confirm trends, and define areas of support and resistance .
Possible options for MA entry filtering are price being above/below Moving Average 1, price crossing up/down Moving Average 1, Moving Average 1 being above/below Moving Average 2 and Moving Average 1 crossing up/down Moving Average 2.
• Supertrend :
Supertrend (ST) is a trend-following indicator based on Average True Range (ATR). The calculation of its single line combines trend detection and volatility . It can be used to detect changes in trend direction and to position stops.
Possible options for ST entry filtering are Supertrend being in upward/downward direction, or Supertrend changing direction.
• RSI :
The Relative Strength Index ( RSI ) is a well versed momentum based oscillator which is used to measure the speed (velocity) as well as the change (magnitude) of directional price movements.
Possible options for RSI entry filtering are RSI being smaller/greater than your input value, or RSI crossing up/down your input value.
• Stochastic RSI :
The Stochastic RSI indicator ( Stoch RSI ) is essentially an indicator of an indicator. It is used in technical analysis to provide a stochastic calculation to the RSI indicator. This means that it is a measure of RSI relative to its own high/low range over a user defined period of time.
Possible options for Stoch RSI entry filtering are Stoch RSI crossing below or above your input value.
• VWAP Bands :
Volume Weighted Average Price ( VWAP ) is a technical analysis tool used to measure the average price weighted by volume . VWAP is typically used with intraday charts as a way to determine the general direction of intraday prices.
We use standard deviations, determined by user input, to create VWAP bands.
Possible options for VWAP long entry filtering are: price being below the lower VWAP band, price crossing back up the lower VWAP band or price crossing down the lower VWAP band.
Possible options for VWAP short entry filtering are: price being above the upper VWAP band, price crossing back down the upper VWAP band, or price crossing up the upper VWAP band.
• Bollinger Bands :
Bollinger Bands (BB) are a widely popular technical analysis instrument created by John Bollinger in the early 1980’s. Bollinger Bands consist of a band of three lines which are plotted in relation to security prices. The line in the middle is usually a Simple Moving Average ( SMA ) set to a period of 20 days (the type of trend line and period can be changed by the trader; however a 20 day moving average is by far the most popular).
Possible options for BB long entry filtering are: price being below the lower Bollinger band , price crossing back up the lower Bollinger band or price crossing down the lower Bollinger band .
Possible options for BB short entry filtering are: price being above the upper Bollinger band , price crossing back down the upper Bollinger band , or price crossing up the upper Bollinger band .
• WaveTrend :
WaveTrend (WT) is a smoothed momentum oscillator which enables it to detect true reversals in an accurate manner.
Possible options for WT entry filtering are: Green/red dots below or above a certain WaveTrend value, Regular Divergence, Hidden Divergence and Regular&Hidden Divergence.
GRIDBOT Scalper by nnamWhat is this Indicator used for?
Made specifically for GRID Bots
note: before continuing... this indicator works on any timeframe, but it WORKS BEST ON THE 15 MINUTE TIMEFRAME
Straters and Forex Master Pattern Value Line Traders use this to help determine when the price could reverse.
This indicator is a scalping indicator that produces signals when a "potential" reversal in price is indicated. When the price moves UP and a Potential Bearish Reversal Signal occurs, traders can use this signal as a potential SHORT entry signal for their Short Grid Bot. The process is the same in reverse. After a sustained move down, a Potential Bullish Signal can be used by the trader as a potential LONG entry signal for their GridBot.
As shown in the screenshot below, lines develop on the chart (either RED or GREEN) indicating that a sustained move in one direction is currently occurring; however, there is no potential reversal signal plotted (this means that price action is currently moving in one direction only).
As shown in the screenshot below, lines can be used as a stop-loss after entering the GRIDbot. (usually, by this time, the Grid Bot is in Profit as it usually moves in the opposite direction first)
What this Indicator Does
The GRIDBOT Scalper provides information regarding potential reversals in the market after a sustained movement in one direction (either Bullish or Bearish).
The indicator is based on PRICE-ACTION ONLY and does not take into account the current state of the market (Bullish or Bearish).
Once the price moves in a particular direction for at least 14 bars , a line appears as shown in a previous screenshot. Once the price stops moving in that direction and begins moving in the opposite direction - and after a sustained run - a "signal" appears alerting the trader that a "potential" reversal could be on the horizon soon.
If price moves in one direction and plots both a line and a signal and then begins moving back in the other direction in a sustained manner, the original signal will remain even when a NEW line begins forming (the original line will disappear). (see below) This line will continue to move as the price continues to move. Not until a signal plots on the chart is the potential reversal forming. THE LINE DOES NOT SIGNAL A REVERSAL . Some traders, however, use this information to "ride the wave UP or DOWN" and exit their positions once the signal prints.
As shown below, optional input settings allow the trader to set the line at CLOSE or HIGH/LOW of the candle preceding the potential reversal.
It is suggested to use Close instead of High or Low but the setting allows one to use either.
As shown in the screenshot below, it is typical on LOWER TIME FRAMES to see the price pass the signal line. The Indicator works best on the 15 minute timeframe, as it gives the trader time to make the decisions required as the volatility is less on the 15 minute chart vs the 1 minute or 5 minute charts.
If you have any questions or suggestions for this indicator, please join our Discord. We offer free training on this Indicator on our Discord Server.
[E5 Trading] Setups & TrendsE5 Trading Setups & Trends helps traders identify buy and sell opportunities through established trading techniques, including proven trade setups, bullish and bearish trend reversal signals, price strength, stop-loss and take-profit guardrails, a real-time divergences confluence system, local support and resistance levels, and anchored volume-weighted average price features.
These powerful capabilities help traders of all experience levels build confluence to improve the probability of success for each trade.
Trade Setups
Select from one (1) of three (3) trade setups for LONG and SHORT signals: 1. Transition; 2. Momentum; 3. Phase Shift. All trade setups work on all timeframes.
Several factors impact the consistent accuracy of algorithm-based setups over a long duration.
Examples include volatile global markets, liquidity, and an evolving mix of retail and institutional participants in a specific asset.
Therefore, traders must have various trade setup options and signals available to help them identify confluence.
Traders should evaluate the accuracy of each trade setup under existing market conditions and select the best one.
Trade setup signals are just one feature to consider as part of a discretionary trading system and should not be considered as stand-alone buy and sell signals.
They can be used as an effective market screener to help the trader quickly narrow the playing field of tradeable assets based on current market conditions.
Traders should seek confluence among several indicator suite features before entering or exiting a trade.
Use the color selector boxes to change LONG and SHORT label colors.
Color Candles per Setup
Toggle (Color Candles per Setup) to change candle coloring based on LONG and SHORT signals generated by Trade Setups.
All candles after a LONG signal plot with Bull candle coloring until a SHORT signal generates.
All candles after a SHORT signal plot with Bear candle coloring until a LONG Signal generates.
Enabling this feature allows the trader to observe and interpret the price trends of the asset more easily.
Squeeze Filter
The Squeeze Filter eliminates all trade setups inside a low-volatility squeeze where trade setup signals are typically less reliable and where the future trend can be more challenging to determine.
This feature helps traders avoid potentially noisy signals, and instead focus on Squeeze Early Entry and Squeeze Breakout signals generated by the E5 Trading Squeezes and Breakouts indicator.
Disciplined traders who play squeeze breakout price action can perform well with this strategy as long as good risk management is practiced (i.e., responsible position-sizing and use of a stop-loss on every trade).
Toggle Squeeze Filter (On) to eliminate all trade setups inside a low-volatility squeeze.
Trend Reversal Signals
Trend Reversal Signals (R) identify the potential end of a local trend and the beginning of a new one. Default (On). Default drop-down (Potential Reversal).
All reversal signals are deemed POTENTIAL reversals until price action of the next one or two candles after the reversal signal confirms the reversal.
Reversal signals may be CONFIRMED MANUALLY by a simple method described below or CONFIRMED AUTOMATICALLY using the Trend Reversal Signals drop-down menu.
To manually confirm a potential bullish reversal, the close of the 1st or 2nd candle following the reversal candle must be greater than the high (wick) of the reversal candle.
To manually confirm a potential bearish reversal, the close of the 1st or 2nd candle following the reversal candle must be less than the low (wick) of the reversal candle.
To use automated confirmation capabilities, select either "1-Candle Confirmed" or "2-Candle Confirmed" from the drop-down menu.
Selecting "1-Candle Confirmed" will result in any potential reversal signal (R) updating to a faded/transparent reversal signal (R) if not confirmed by the next candle only.
Sometimes there is market indecision (i.e., sideways price action) after a potential reversal signal, requiring the use of a 2nd candle to confirm the reversal.
Selecting "2-Candle Confirmed" will result in any potential reversal signal (R) updating to a faded/transparent reversal signal (R) if not confirmed by the next one or two candles.
"Reversals Sensitivity" drop-down to provide three (3) sensitivity levels for reversal signals.
The available drop-down options are: "Less Signals", "Default", and "More Signals".
"Less Signals" decreases the number of Potential Reversals compared to Default, and "More Signals" increases the number of Potential Reversals compared to Default.
This feature provides more opportunities to play reversals while still helping to eliminate all non-actionable reversal signals using the auto-confirmation capability.
Play the probabilities and avoid fake-outs: IGNORE any reversal signal not confirmed by the above method.
Use the color selector boxes to change the bullish and bearish reversal signal colors.
Price Strength
Price Strength Signals were designed to flag the onset of potentially explosive price moves based on market conditions and price action. Default (Off).
Bull price strength default (large triangles with bull candle coloring).
Bear price strength default (large triangles with bear candle coloring).
Dynamic Stop-Loss (SL) | Take-Profit (TP) Guardrails
This feature helps traders to effectively time trade entries/exits, automate the calculation of stop-loss | take-profit levels, and stay in trades while price action remains inside its calculated normal volatility range.
Due to its dynamic real-time update capability and utility as a trailing stop-loss | take-profit automation tool, this feature can be a powerful addition to both manual and algorithm (i.e., bot-based) trading systems.
Toggle (SL | TP Guardrails) to view dynamic stop-loss | take-profit levels based on user-defined Length and Multiple settings.
Define the Length (default: 14) and Multiple (default: 1.5) to establish the desired dynamic stop-loss | take-profit parameters.
Use the color selector boxes to change the Stop-Loss and Take-Profit guardrail colors.
A simple example trading technique using this feature is to go long when the guardrail transitions from being above price action (i.e., resistance) to below price action (i.e., support). Vice versa for short trades.
Traders monitoring a manual trade can move their stop-loss | take-profit level based on the calculated bull or bear guardrail.
Traders using a 3rd-party bot-trading platform can set up a webhook within a TradingView alert to automate their trade based on price action crossing the dynamic stop-loss | take-profit threshold.
Real-Time Divergences Confluence
Divergences occur when a technical indicator, like an oscillator, moves in the opposite direction of price.
They often serve as an early warning of a trend reversal (via regular divergence signals) or trend continuation (via hidden divergence signals).
Divergences flag in real-time directly on the price chart and provide a strength rating (1 to 6) based on the number of oscillators that simultaneously detect a divergence.
Bullish divergences flag below price action and bearish divergences flag above price action to help traders detect potential trend reversals (regular divergences) or trend continuations (hidden divergences).
This indicator evaluates a total of six (6) oscillators simultaneously to identify divergences compared to price action.
Each divergence is assigned a strength rating (1 to 6) based on the number of oscillators that simultaneously detect a divergence.
The real-time nature of the divergences will cause the divergence line to re-plot with each successive candle until the divergence confirms at the end of the trend.
The divergence strength rating will also continuously update with each successive candle based on the number of divergences detected at that time.
When the divergence confirms, the divergence line and label on the chart will update from a lighter/transparent shade to a darker/opaque shade.
Use the color selector to change label and line colors.
Use line selector to change the line style. Default (solid line).
Toggle (Regular Divergence (Bull)) to display regular bullish divergences. Default (Off).
Toggle (Regular Divergence (Bear)) to display regular bearish divergences. Default (Off).
Toggle (Hidden Divergence (Bull)) to display hidden bullish divergences. Default (Off).
Toggle (Hidden Divergence (Bear)) to display hidden bearish divergences. Default (Off).
Local Support | Resistance
Local Support and Resistance levels are calculated automatically based on price action and represent supply and demand zones to help traders establish buy and sell targets, stop-loss, and take-profit levels.
Awareness of key support and resistance levels is critical for developing a trading plan, trading level-by-level, and avoiding unnecessary risk (e.g., longing into resistance or shorting into support).
Local Support and Resistance levels are especially useful when combined with other indicator suite features to identify confluence.
Toggle (Local Support | Resistance) to display key support and resistance levels. Default (Off).
Anchored Volume-Weighted Average Price (AVWAP)
Anchored Volume-Weighted Average Price (AVWAP) helps traders determine the fair market value of an asset based on the volume-weighted average price over a user-specified period.
This fair market value can establish areas of support and resistance on the chart with the idea that price is attracted back to the fair market value over time. Default (Off).
The AVWAP line then serves as a critical support | resistance level that price action will eventually test.
Select the AVWAP source from the drop-down box. Default (hlc3) which means (High + Low + Close) / 3. Use the color selector box to change the color of the AVWAP line.
AVWAP Start (Option 1): Use the date and time selectors to select the Start position of the AVWAP line.
AVWAP Start (Option 2): Change the AVWAP Start position directly on the chart by moving the vertical line that appears to a specific candle (e.g., pivot high, pivot low, day/week start).
First, click on the AVWAP line, then drag the vertical AVWAP position line on the chart to the desired candle.
Toggle (AVWAP Support | Resistance) to display a horizontal support | resistance zone based on the current Anchored Volume-Weighted Average Price.
When price action is above the AVWAP, the horizontal AVWAP support | resistance zone acts as support with bullish zone coloring.
When price action is below the AVWAP, the horizontal AVWAP support | resistance zone acts as resistance with bearish zone coloring.
Channels Strategy [Dimkud]Channels trading Strategy. Based on "Channels Strategy" by JoseMetal.
To the original strategy added additional options and filters : Static SL/TP in percents (%), time delay between orders, ATR Filter, second Keltner Channel (Multi TimeFrame).
Interface translated to English.
Were good backtest results on many crypto tokens on 15m - 45m - 1h periods.
Mostly with configuration: Keltner Channel (optimise parameters for every token) + Static SL/TP (optimise values for every token) + "Enter Condition" = "Wick out of band".
The better is to optimise paramaters separately for Short and Long trading. And run two separate bots (in settings enable only Long or only Short.)
Tested on real automated trading on few online bot platforms. (3comm, revenuebot, veles).
Later I will make tutorial how to connect strategy to these platforms or contact me if you need help.
Bender Stochastic MTF With Buy & Sell SignalsA stochastic indicator is a technical analysis tool that uses random data points to forecast price changes in a financial security. It compares the closing price of a security to its price range over a set period of time. The indicator is designed to indicate when a security is overbought or oversold by comparing the closing price to the price range over a certain number of periods. A stochastic indicator can be used to identify potential buying or selling opportunities. It is often used in conjunction with other technical analysis tools to provide a more comprehensive analysis of market conditions.
Configurable Indicator Signals
Signal on k & d Stochastic Line Crosses
Invalidate Signal if not in a overbought or oversold pressure zone
Invalidate signal on neutral zone breach
Invalidate signal on reverse cross
Invalidate signal after a user set number of bars
Delay signal until the cross is considered strong by calculating the distance between the stochastic lines the a user set threshold
Please Note:
This indicator is also embedded in the Bender Bot strategy script. Signals and confluence identified by this indicator can be used to autonomously mange strategies. The below settings will not have any effect on this indicator's functionality when used as a stand alone indicator.
Bender Bot Strategy Confluence
Close any open trade on reverse k & d Stochastic line crosses
Require any signal and Stochastic directional confluence before opening any trade
Require any signal and Stochastic pressure to be in confluence before opening any trade
Require any signal to be in directional confluence with the Stochastic signal