PROTECTED SOURCE SCRIPT
已更新 Bionic Candlestick Indikator

Bionic Candlestick Indicator for TradingViewOverviewThe Bionic Candlestick Indicator is a customizable Pine Script Version 6 indicator designed for TradingView. It visually highlights key candlestick patterns to identify bullish, bearish, and Doji signals, helping traders analyze market trends and potential reversals. The indicator offers flexible display options, allowing users to plot custom candlesticks or color the chart background based on detected patterns, with optimized performance for large charts.FeaturesCandlestick Patterns:Strong Bullish: Close = High and Close > Open (e.g., strong buying pressure).
Strong Bearish: Close = Low and Close < Open (e.g., strong selling pressure).
Bullish Pullback: Close > Open with a larger High-to-Close distance.
Bearish Pullback: Close < Open with a larger Low-to-Close distance.
Doji Patterns: Bullish Doji, Bearish Doji, Equilibrium Doji (Open = Close with balanced wicks), and Empty Doji (High = Low and Open = Close).
Customizable Colors: Choose colors for each pattern (e.g., yellow/green for bullish, blue/red for bearish, purple for Equilibrium Doji).
Display Options:Plot custom candlesticks over the chart or color the background.
Toggle visibility of specific patterns (bullish, bearish, Doji, Equilibrium).
Performance Optimization: Limits calculations to a user-defined number of bars (max_bars) to reduce lag on large charts.
How to UseAdd the Indicator:Copy the provided Pine Script code into TradingView’s Pine Editor.
Click “Add to Chart” to apply the indicator.
Adjust Visual Order:To ensure the indicator displays correctly, go to the indicator list in TradingView, click the gear icon next to “Bionic Candlestick Indikator,” and select “Visual Order > Bring to Front.”
If “Draw Above Chart” is enabled, hide the chart’s default candlesticks:Go to Chart Settings > Symbol > uncheck “Candles” to avoid overlap.
Configure Settings:Open the indicator’s settings and adjust the following:Bullish/Bearish/Doji/Equilibrium Signals: Enable or disable specific candlestick patterns.
Candlestick Colors: Select colors for each pattern (e.g., yellow, green, blue, red, purple, gray).
Draw Above Chart: Check to plot custom candlesticks; uncheck to color the chart background.
Maximum Bars to Calculate: Set to a value like 2000–5000 to limit calculations and improve performance (set to 0 for no limit).
Save the settings.
Interpretation:Bullish Signals (Yellow/Green): Indicate potential buying opportunities or upward momentum.
Bearish Signals (Blue/Red): Suggest selling pressure or downward momentum.
Doji Patterns (Dark Green/Dark Red/Purple/Gray): Highlight market indecision or potential reversals.
Combine with other indicators (e.g., RSI, moving averages) for confirmation.
Performance Tips:Set “Maximum Bars to Calculate” to a lower value (e.g., 2000) to reduce lag on charts with many bars.
Use TradingView’s Pine Profiler to identify performance bottlenecks.
Test on smaller timeframes or chart ranges to ensure smooth rendering.
NotesVisual Order: If the indicator only appears after clicking the chart, ensure it is set to “Bring to Front” in the visual order, and disable default candlesticks if plotting custom ones.
Performance: Lowering “Maximum Bars to Calculate” reduces computational load but may skip older signals. Adjust based on your chart size and needs.
Compatibility: The indicator uses Pine Script Version 6. If TradingView does not support Version 6, change version=6 to version=5 and retest.
Debugging: If issues persist, check for conflicts with other indicators or chart settings, and ensure the chart is refreshed.
This indicator is ideal for traders looking to visually identify key candlestick patterns with customizable options, optimized for performance on TradingView charts. For support or further customization, refer to TradingView’s documentation or community forums.
Strong Bearish: Close = Low and Close < Open (e.g., strong selling pressure).
Bullish Pullback: Close > Open with a larger High-to-Close distance.
Bearish Pullback: Close < Open with a larger Low-to-Close distance.
Doji Patterns: Bullish Doji, Bearish Doji, Equilibrium Doji (Open = Close with balanced wicks), and Empty Doji (High = Low and Open = Close).
Customizable Colors: Choose colors for each pattern (e.g., yellow/green for bullish, blue/red for bearish, purple for Equilibrium Doji).
Display Options:Plot custom candlesticks over the chart or color the background.
Toggle visibility of specific patterns (bullish, bearish, Doji, Equilibrium).
Performance Optimization: Limits calculations to a user-defined number of bars (max_bars) to reduce lag on large charts.
How to UseAdd the Indicator:Copy the provided Pine Script code into TradingView’s Pine Editor.
Click “Add to Chart” to apply the indicator.
Adjust Visual Order:To ensure the indicator displays correctly, go to the indicator list in TradingView, click the gear icon next to “Bionic Candlestick Indikator,” and select “Visual Order > Bring to Front.”
If “Draw Above Chart” is enabled, hide the chart’s default candlesticks:Go to Chart Settings > Symbol > uncheck “Candles” to avoid overlap.
Configure Settings:Open the indicator’s settings and adjust the following:Bullish/Bearish/Doji/Equilibrium Signals: Enable or disable specific candlestick patterns.
Candlestick Colors: Select colors for each pattern (e.g., yellow, green, blue, red, purple, gray).
Draw Above Chart: Check to plot custom candlesticks; uncheck to color the chart background.
Maximum Bars to Calculate: Set to a value like 2000–5000 to limit calculations and improve performance (set to 0 for no limit).
Save the settings.
Interpretation:Bullish Signals (Yellow/Green): Indicate potential buying opportunities or upward momentum.
Bearish Signals (Blue/Red): Suggest selling pressure or downward momentum.
Doji Patterns (Dark Green/Dark Red/Purple/Gray): Highlight market indecision or potential reversals.
Combine with other indicators (e.g., RSI, moving averages) for confirmation.
Performance Tips:Set “Maximum Bars to Calculate” to a lower value (e.g., 2000) to reduce lag on charts with many bars.
Use TradingView’s Pine Profiler to identify performance bottlenecks.
Test on smaller timeframes or chart ranges to ensure smooth rendering.
NotesVisual Order: If the indicator only appears after clicking the chart, ensure it is set to “Bring to Front” in the visual order, and disable default candlesticks if plotting custom ones.
Performance: Lowering “Maximum Bars to Calculate” reduces computational load but may skip older signals. Adjust based on your chart size and needs.
Compatibility: The indicator uses Pine Script Version 6. If TradingView does not support Version 6, change version=6 to version=5 and retest.
Debugging: If issues persist, check for conflicts with other indicators or chart settings, and ensure the chart is refreshed.
This indicator is ideal for traders looking to visually identify key candlestick patterns with customizable options, optimized for performance on TradingView charts. For support or further customization, refer to TradingView’s documentation or community forums.
版本注释
Impact:The indicator now exclusively plots custom candlesticks with the specified colors, eliminating the background coloring option.To ensure the indicator appears in the foreground, you must manually set it to "Bring to Front" in TradingView’s visual order settings and disable the chart’s default candlesticks in Chart Settings > Symbol > uncheck "Candles".
The removal of draw_above_chart simplifies the code and user interface, as there’s no longer a toggle for switching display modes.
受保护脚本
此脚本以闭源形式发布。 但是,您可以自由使用它,没有任何限制 — 在此处了解更多信息。
免责声明
这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。
受保护脚本
此脚本以闭源形式发布。 但是,您可以自由使用它,没有任何限制 — 在此处了解更多信息。
免责声明
这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。