azullian

Signal Filter / Connectable [Azullian]

azullian מעודכן   
The connectable signal filter is an intricate part of an indicator system designed to help test, visualize and build strategy configurations without coding. Like all connectable indicators, it interacts through the TradingView input source, which serves as a signal connector to link indicators to each other. All connectable indicators send signal weight to the next node in the system until it reaches either a connectable signal monitor, signal filter and/or strategy.

The connectable signal filter's function has several roles in the connectable system:
 • Input hub: Connect indicators or daisy-chained indicators directly to the filter, manage connections in one place
 • Modification: Modify incoming signals by applying smoothing, scaling, or modifiers
 • Filtering: Set the trade direction and conditions a signal must adhere to to be passed through
 • Visualization: When connected, the signal filter visualizes all incoming signal weights

Let's review the separate parts of this indicator.

█ INPUTS

We've provided 3 inputs for connecting indicators or chains (1→, 2→, 3→) which are all set to 'Close' by default.


An input has several controls:
 • Enable disable: Toggle the entire input on or off
 • Input: Connect indicators here, choose indicators with a compatible : Signal connector.
 • G - Gain: Increase or reduce the strength of the incoming signal by a factor.



█ FILTER SIGNALS


The core of the signal filter, determine a signal direction with the signal mode and determine a threshold (TH).

 • ¤ - Trade direction:
    ○ EL: Send Enter Long signals to the strategy
    ○ XL: Send Exit Long signals to the strategy
    ○ ES: Send Enter Short signals to the strategy
    ○ XS: Send Exit Short signals to the strategy
 • TH - Threshold: Define how much weight is needed for a signal to be accepted and passed through to the connectable strategy.


VISUALS


 • ☼: Brightness % : Set the opacity for the signal curves
 • 🡓: ES Color : Set the color for the ES: Entry Short signal
 • ⭳: XS Color : Set the color for the XS: Exit Short signal
 • ⌥: Plot mode : Set the plotting mode
    ○ Signals IN: Show all signals
    ○ Signals OUT: Show only scoring signals
 • 🡑: EL Color : Set the color for the EL: Enter Long signal
 • ⭱: XL Color : Set the color for the XL: Exit Long signal



USAGE OF CONNECTABLE INDICATORS

 ■ Connectable chaining mechanism

Connectable indicators can be connected directly to the signal monitor, signal filter or strategy, or they can be daisy chained to each other while the last indicator in the chain connects to the signal monitor, signal filter or strategy. When using a signal filter you can chain the filter to the strategy input to make your chain complete.


 • Direct chaining: Connect an indicator directly to the signal monitor, signal filter or strategy through the provided inputs (→).
 • Daisy chaining: Connect indicators using the indicator input (→). The first in a daisy chain should have a flow (⌥) set to 'Indicator only'. Subsequent indicators use 'Both' to pass the previous weight. The final indicator connects to the signal monitor, signal filter, or strategy.


 ■ Set up the signal filter with a connectable indicator and strategy

Let's connect the MACD to a connectable signal filter and a strategy:


1. Load all relevant indicators
 • Load MACD / Connectable
 • Load Signal filter / Connectable
 • Load Strategy / Connectable

2. Signal Filter: Connect the MACD to the Signal Filter
 • Open the signal filter settings
 • Choose one of the three input dropdowns (1→, 2→, 3→) and choose : MACD / Connectable: Signal Connector
 • Toggle the enable box before the connected input to enable the incoming signal

3. Signal Filter: Update the filter settings if needed
 • The default filter mode for the trading direction is SWING, and is compatible with the default settings in the strategy and indicators.

4. Signal Filter: Update the weight threshold settings if needed
 • All connectable indicators load by default with a score of 6 for each direction (EL, XL, ES, XS)
 • By default, weight threshold (TH) in the signal filter is set at 5. This allows each occurrence to score, as the default score in each / Connectable indicator is 6 and thus is 1 point above the threshold. Adjust to your liking.

5. Strategy: Connect the strategy to the signal filter in the strategy settings
 • Select a strategy input → and select the Signal filter: Signal connector

6. Strategy: Enable filter compatible directions
 • As the default setting of the signal filter has enabled EL (Enter Long), XL (Exit Long), ES (Enter Short) and XS (Exit short), the connectable strategy will receive all compatible directions.



Now that everything is connected, you'll notice green spikes in the signal filter representing long signals, and red spikes indicating short signals. Trades will also appear on the chart, complemented by a performance overview. Your journey is just beginning: delve into different scoring mechanisms, merge diverse connectable indicators, and craft unique chains. Instantly test your results and discover the potential of your configurations. Dive deep and enjoy the process!



BENEFITS

Adaptable Modular Design: Arrange indicators in diverse structures via direct or daisy chaining, allowing tailored configurations to align with your analysis approach.
Streamlined Backtesting: Simplify the iterative process of testing and adjusting combinations, facilitating a smoother exploration of potential setups.
Intuitive Interface: Navigate TradingView with added ease. Integrate desired indicators, adjust settings, and establish alerts without delving into complex code.
Signal Weight Precision: Leverage granular weight allocation among signals, offering a deeper layer of customization in strategy formulation.
Advanced Signal Filtering: Define entry and exit conditions with more clarity, granting an added layer of strategy precision.
Clear Visual Feedback: Distinct visual signals and cues enhance the readability of charts, promoting informed decision-making.
Standardized Defaults: Indicators are equipped with universally recognized preset settings, ensuring consistency in initial setups across different types like momentum or volatility.
Reliability: Our indicators are meticulously developed to prevent repainting. We strictly adhere to TradingView's coding conventions, ensuring our code is both performant and clean.



COMPATIBLE INDICATORS

Each indicator that incorporates our open-source 'azLibConnector' library and adheres to our conventions can be effortlessly integrated and used as detailed above.
For clarity and recognition within the TradingView platform, we append the suffix ' / Connectable' to every compatible indicator.



COMMON MISTAKES, CLARIFICATIONS AND TIPS

 • Removing an indicator from a chain: Deleting a linked indicator and confirming the "remove study tree" alert will also remove all underlying indicators in the object tree. Before removing one, disconnect the adjacent indicators and move it to the object stack's bottom.
 • Point systems: The azLibConnector provides 500 points for each direction (EL: Enter long, XL: Exit long, ES: Enter short, XS: Exit short) Remember this cap when devising a point structure.
 • Flow misconfiguration: In daisy chains the first indicator should always have a flow (⌥) setting of 'indicator only' while other indicator should have a flow (⌥) setting of 'both'.
 • Hide attributes: As connectable indicators send through quite some information you'll notice all the arguments are taking up some screenwidth and cause some visual clutter. You can disable arguments in Chart Settings / Status line.
 • Layout and abbreviations: To maintain a consistent structure, we use abbreviations for each input. While this may initially seem complex, you'll quickly become familiar with them. Each abbreviation is also explained in the inline tooltips.
 • Inputs: Connecting a connectable indicator directly to the strategy delivers the raw signal without a weight threshold, meaning every signal will trigger a trade.



A NOTE OF GRATITUDE

Through years of exploring TradingView and Pine Script, we've drawn immense inspiration from the community's knowledge and innovation. Thank you for being a constant source of motivation and insight.



RISK DISCLAIMER

Azullian's content, tools, scripts, articles, and educational offerings are presented purely for educational and informational uses. Please be aware that past performance should not be considered a predictor of future results.



הערות שחרור:
- Updated license
הערות שחרור:
- Update 'azLibConnector' version
- Update chart

🔗 Explore and learn about connectable indicators on Azullian: www.azullian.com

🔗 Check out how it works: youtu.be/gPNz0XiZl38
🔗 Strategy plus demo: youtu.be/jRpvt_ZdIOg
🔗 Join our discord: discord.com/invite/vT7AqmE
סקריפט קוד פתוח

ברוח TradingView אמיתית, מחבר הסקריפט הזה פרסם אותו בקוד פתוח, כך שסוחרים יכולים להבין ולאמת אותו. כל הכבוד למחבר! אתה יכול להשתמש בו בחינם, אך שימוש חוזר בקוד זה בפרסום כפוף לכללי הבית. אתה יכול להכניס אותו למועדפים כדי להשתמש בו בגרף.

כתב ויתור

המידע והפרסומים אינם אמורים להיות, ואינם מהווים, עצות פיננסיות, השקעות, מסחר או סוגים אחרים של עצות או המלצות שסופקו או מאושרים על ידי TradingView. קרא עוד בתנאים וההגבלות.

רוצה להשתמש בסקריפ זה בגרף?