[MAD] WaveBuilderThe WaveBuilder indicator is a powerful technical analysis tool that combines wave calculations, channel formation, and smoothing techniques to identify trends, reversals, and potential trading opportunities.
It provides users with customizable settings for different timeframes, smoothing averages, channel levels, and alert conditions, making it a comprehensive and versatile tool for analyzing market dynamics.
----------------------
Wave Settings:
The Wave Settings section in the Multitimeframe WaveTrend indicator allows you to configure parameters related to the wave calculations based on different timeframes and lengths. This section focuses on four different lengths. Here are the details of the Wave Settings (4 Lengths):
Timeframe 1 (TF1): This parameter allows you to select the first timeframe for the wave calculation. You can choose any valid timeframe.
Weight (F1): This setting represents the weight for Timeframe 1. It is a floating-point value that affects the impact of this timeframe in the wave calculation.
Multiplier 2 (TF2): This parameter specifies the multiplier for the second timeframe. It determines the ratio between Timeframe 2 and Timeframe 1.
Weight (F2): This setting represents the weight for Timeframe 2. It determines the influence of Timeframe 2 in the wave calculation.
Multiplier 3 (TF3): This parameter defines the multiplier for the third timeframe. It determines the ratio between Timeframe 3 and Timeframe 1.
Weight (F3): This setting represents the weight for Timeframe 3. It determines the impact of Timeframe 3 in the wave calculation.
Multiplier 4 (TF4): This parameter specifies the multiplier for the fourth timeframe. It determines the ratio between Timeframe 4 and Timeframe 1.
Weight (F4): This setting represents the weight for Timeframe 4. It determines the influence of Timeframe 4 in the wave calculation.
WaveBuilder Fast: This parameter sets the length of the fast wave average. It represents the number of bars considered in the calculation of the fast wave average.
WaveBuilder Slow: This parameter sets the length of the slow wave average. It represents the number of bars considered in the calculation of the slow wave average.
The Wave Settings allow you to configure different timeframes, multipliers, and weights for wave calculations. These settings provide flexibility in customizing the indicator's behavior based on your preferred trading strategy and market conditions.
----------------------
Counter Oscillator:
The Counter Oscillator section in the Multitimeframe WaveTrend indicator enables you to configure parameters related to a counter oscillator. This oscillator helps identify potential reversals or countertrend movements.
Here are the details of the Counter Oscillator settings:
Multiplier Counter (TF5): This parameter allows you to select the multiplier counter timeframe. It determines the ratio between the multiplier counter and the main timeframes.
Weight (F5): This setting represents the weight for the multiplier counter. It determines the influence of the multiplier counter in the counter oscillator calculation.
Length (will_length): This parameter sets the length or period of the counter oscillator. It represents the number of bars considered in the counter oscillator calculation.
The Counter Oscillator settings provide additional insights into the market by analyzing countertrend movements. By adjusting the multiplier counter and length parameters, you can customize the counter oscillator to suit your trading preferences.
----------------------
Wave Smoothing and Mixing:
The Wave Smoothing and Mixing section in the Multitimeframe WaveTrend indicator allows you to configure parameters related to the smoothing and mixing of the wave calculations. Here are the details of the Wave Smoothing and Mixing settings:
Average 1 Type: This parameter allows you to select the type of smoothing average for the first average. You have various options such as WMA, HMA, VWMA, LMA, RMA, SMA, EMA, and more.
Length 1: This setting determines the length or period of the first smoothing average. It represents the number of bars considered in the calculation.
Average 2 Type: This parameter allows you to select the type of smoothing average for the second average.
Length 2: This setting determines the length or period of the second smoothing average.
Mix Factor AVG1-AVG2: This parameter controls the mixing factor between the first and second smoothing averages. It affects the weighting or blending of the two averages.
POW - Factor: This parameter adjusts the power factor, which can compress or expand the resulting values. It allows you to fine-tune the output based on your preferences.
The Wave Smoothing and Mixing settings enable you to smooth the wave calculations and mix different averages to create a more refined and customized output. By selecting the desired smoothing types, adjusting the lengths, and modifying the mix factor and power factor, you can tailor the indicator to your specific trading style.
----------------------
Channel Levels and Alert Mode:
The Channel Levels and Alert Mode section in the Multitimeframe WaveTrend indicator allows you to configure parameters related to the channel levels and the alert mode. Here are the details of the Channel Levels and Alert Mode settings:
Channel Width: This parameter determines the width or range of the channel levels. It represents the distance between the upper and lower channel lines.
Channel Shift Up/Down: This setting allows you to shift the entire channel up or down. It represents the vertical offset of the channel lines.
Alert Mode (Alertmode): This parameter determines the type of alert triggered by the indicator based on the channel levels.
You have options such as Outside, CrossIn, CrossOut, ChangeDir-All, and ChangeDir-Outside.
Channel Levels: The upper and lower channel levels are calculated based on the channel width and offset. They provide visual boundaries for the price movement within the channel.
The Channel Levels and Alert Mode settings help define the channel levels and specify the conditions for generating alert notifications.
By adjusting the channel width, offset, and selecting the appropriate alert mode, you can customize the indicator's behavior according to your trading requirements.
----------------------
Dynamic Channel:
The Dynamic Channel section in the Multitimeframe WaveTrend indicator allows you to configure parameters related to the dynamic channel formation.
This feature helps create channels based on different smoothing averages.
Here are the details of the Dynamic Channel settings:
Channel Average 1 Type: This parameter allows you to select the type of smoothing average for the first channel average.
Length 1: This setting determines the length or period of the first channel average.
Channel Average 2 Type: This parameter allows you to select the type of smoothing average for the second channel average.
Length 2: This setting determines the length or period of the second channel average.
MA 1 / MA 2 Mix Factor: This parameter controls the mixing factor between the first and second channel averages. It affects the weighting or blending of the two averages.
Mixing Off Dynamic in Weight: This parameter allows you to mix off the dynamic in weight.
Smoothing Type: This parameter allows you to select the type of smoothing for the trend within the dynamic channel.
Smoothing Length: This setting determines the length or period of the trend smoothing within the dynamic channel.
The Dynamic Channel settings enable you to create channels based on different smoothing averages and adjust the weighting between them. Additionally, you can apply further smoothing to the trend within the dynamic channel. This feature helps identify trends and potential trade opportunities within the channel.
----------------------
Speed of Change Rate:
The Speed of Change Rate section in the Multitimeframe WaveTrend indicator allows you to configure parameters related to the rate of change in the indicator. Here are the details of the Speed of Change Rate settings:
Plot Speed (plot_speed): This setting determines whether to plot the speed of change on the chart.
Speed Scaling (change_factor): This parameter adjusts the scaling factor for the speed of change.
Speed Smoother (smoothtype_change): This parameter allows you to select the type of smoothing average for the speed of change calculation.
Speed Length (change_length): This setting determines the length or period of the speed of change calculation.
The Speed of Change Rate settings provide insights into the rate at which the indicator values are changing. By visualizing and analyzing the speed of change, you can identify potential acceleration or deceleration in the price movement.
----------------------
Signal Main Configuration:
The Signal Main Configuration section in the Multitimeframe WaveTrend indicator allows you to configure parameters related to the signal input and passthrough. Here are the details of the Signal Main Configuration settings:
Signal Type (inputtype): This parameter determines the type of signal input. You have options such as MultiBit and NoInput.
Select L1 Indicator Signal (inputModule): This parameter allows you to select the source of the L1 indicator signal. You can choose any valid input source, such as the closing price or another indicator.
Signal Passthrough (Passthrough): This setting enables or disables the passthrough of the signal. When enabled, the indicator passes the input signal to the output.
The Signal Main Configuration settings allow you to define the type of signal input and control whether to pass the signal through the indicator or not. This feature provides flexibility in integrating the indicator with other trading strategies or indicators.
----------------------
Multibit Modified Channel:
The Multibit Modified Channel section in the Multitimeframe WaveTrend indicator allows you to configure parameters related to the modified channel based on the multibit input. Here are the details of the Multibit Modified Channel settings:
Input Bull (CH_Trendup_in): This parameter allows you to specify the input channel for bullish signals.
Bull Offset (trendfactorbull): This setting determines the offset for the bullish signals in the modified channel.
Input Bear (CH_Trenddown_in): This parameter allows you to specify the input channel for bearish signals.
Bear Offset (trendfactorbaer): This setting determines the offset for the bearish signals in the modified channel.
The Multibit Modified Channel settings enable you to modify the channel based on the multibit input. By specifying the input channels for bullish and bearish signals and adjusting the respective offsets,
you can customize the channel representation based on your trading strategy.
Multibit Output:
The Multibit Output section in the Multitimeframe WaveBuilder indicator allows you to configure parameters related to the output of the multibit signals and alerts. Here are the details of the Multibit Output settings:
Output Bull (CH_Buy_out): This parameter specifies the output channel for bullish signals.
Output Bear (CH_Sell_out): This parameter specifies the output channel for bearish signals.
Show Alerts (showalerts): This setting determines whether to display alert notifications for the multibit signals.
The Multibit Output settings define the output channels for bullish and bearish signals and control the display of alert notifications. This allows you to visualize and receive alerts for the multibit signals generated by the indicator.
----------------
Here a overview from the settings
--------------------------------
The pipeline of the WaveBuilder can be understood in the following structured manner:
----------
Wave Calculation:
Wave calculation is performed using the input parameters, resulting in wave values.
The wave values are then averaged using Average 1 and Average 2, and the weighted average is obtained.
The weighted average is mixed with other factors to create a mixed value.
----------
Channel Formation:
The mixed value is multiplied by a weight to generate a dynamic part.
The dynamic part is combined with the static channel and the multibit modification to form a base value.
----------
Smoothing and Mixing:
The base value is averaged using Average 1 and Average 2, and the weighted average is calculated.
The mixed2 value is obtained by smoothing the weighted average.
The mixed2 value is further processed using power compression (POW) to refine the output.
----------
Plotting:
The final smoothed and processed values are plotted to visualize the indicator on the chart.
By following this pipeline, the WaveBuilder combines wave calculations, channel formation, smoothing techniques, and power compression to provide valuable insights into market trends and potential trading opportunities.
--------------------------------
Librarys used:
djmad/Signal_transcoder_library
djmad/MAD_MATH
djmad/Mad_Standardparts
Daisychain
[MAD] CurveBuilderThe CurveBuilder is a versatile indicator that constructs channels using selectable input averages weighted together.
It also incorporates scalable and shiftable offsets on the resulting bands.
This indicator allows users to customize various settings to tailor the channel construction according to their trading strategy.
here a example screenshot of 3 different settings overlayed
Key Features:
-------------------
1. Moving Average Timeframe: Select the timeframe for the moving average calculation on the middle line.
-------------------
2. Middleline Settings:
Allow you to customize the parameters related to the middle line of the channel.
The middle line is constructed using two moving averages, which can be selected from the various types available.
Here are the details of the Middleline Settings:
1. MA Type: This setting allows you to choose the type of moving average for the first average. You have the following options:
Weighted Moving Average (WMA), Hull Moving Average (HMA), Volume Weighted Moving Average (VWMA), Linear Moving Average (LMA),
Regular Moving Average (RMA), Simple Moving Average (SMA), Exponential Moving Average (EMA), EMA, Ehlers Gaussian,
Ehlers Smoother, Ehlers Supersmoother, Ehlers Butterworth, ChebyshevI, ChebyshevII
Length (1st MA): This parameter allows you to set the length or period of the first moving average. The length determines the number of bars considered in the calculation of the moving average.
2. MA Type: Similar to the first moving average, this setting lets you choose the type of moving average for the second average.
Length (2nd MA): This parameter sets the length or period of the second moving average. The length determines the number of bars considered in the calculation of the moving average.
3. Weighting:
This option allows you to adjust the weighting factor when merging from the first moving average to the second moving average.
By modifying the weighting, you can control the influence of the first average on the second average.
By selecting different moving average types, adjusting their lengths, and modifying the weighting factor, you can fine-tune the behavior of the middle line in the channel.
This flexibility allows you to customize the indicator to align with your preferred trading strategy and market conditions.
Best results are given when there is a maximum hitrate on retraces to the middleline, and many relevant directionchanges are near that line.
-------------------
3. Averaging Settings:
Offset of Curve in Bars: Shifts the indicator into the future by specifying the number of bars.
-------------------
4. Band Settings:
The Band Settings in the Multitimeframe Channel Builder indicator allow you to configure the parameters related to the construction of the bands around the middle line.
The bands provide an upper and lower boundary that help define the width of the channel. Here are the details of the Band Settings:
Band Mode:
This setting determines the method used to calculate the bands. You have the following options:
Off: Bands are turned off, and no calculations are performed.
True Range: Bands are calculated using the True Range.
Average True Range: Bands are calculated using the Average True Range.
Standard Deviation: Bands are calculated using the Standard Deviation.
Rate of Change: Bands are calculated using the Rate of Change.
Relative Strength Index: Bands are calculated using the Relative Strength Index.
Length (Bands):
This parameter sets the length or period used in the calculation of the bands. The length determines the number of bars considered when calculating the bands.
Band 1-3 Multiplicator:
These parameters allow you to adjust the scaling factor for each band. The multiplicative factor determines the width of the bands relative to the middle line.
Higher values result in wider bands, while lower values result in narrower bands.
Offset in % (Bands):
These parameters enable you to specify the offset percentage for each band. The offset represents the distance between the middle line and the bands.
A positive offset moves the bands further away from the middle line, while a negative offset brings the bands closer to the middle line.
By selecting the desired band mode, adjusting the length parameter, and modifying the multiplicators and offsets,
you can customize the width and positioning of the bands.
This flexibility allows you to adapt the indicator to different market conditions and trading strategies.
Note that if the Band Mode is set to "Off," the bands will not be displayed, regardless of the other band settings.
-------------------
5. Band Final Smooth:
The Band Final Smooth settings in the Multitimeframe Channel Builder indicator enable you to apply a smoothing technique to the constructed bands.
By selecting the desired smoothing type and adjusting the length parameter, you can customize the level of smoothing applied to the bands.
This helps to filter out short-term fluctuations and emphasize the underlying trend, providing a clearer visualization of the price channel.
Smooth Bands: This option allows you to enable or disable the smoothing of the bands. When enabled, the indicator applies the selected smoothing technique to the bands.
Smooth Type: You can choose the type of smoothing to apply to the bands. The available options include:
Weighted Moving Average (WMA), Hull Moving Average (HMA), Volume Weighted Moving Average (VWMA), Linear Moving Average (LMA),
Regular Moving Average (RMA), Simple Moving Average (SMA), Exponential Moving Average (EMA), EMA, Ehlers Gaussian,
Ehlers Smoother, Ehlers Supersmoother, Ehlers Butterworth, ChebyshevI, ChebyshevII
Length (Smooth Bands): This parameter sets the length or period of the smoothing technique applied to the bands.
A longer length will result in a smoother representation of the bands, while a shorter length will provide more responsiveness to price changes.
Final Smooth settings are optional, and you can choose to exclude smoothing if it does not align with your trading strategy or preferences.
-------------------
6. Alert Settings:
The Alert Settings in the Multitimeframe Channel Builder indicator allow you to configure the parameters related to the generation of alert notifications based on specific conditions.
Alerts can help you stay informed about potential trading opportunities. Here are the details of the Alert Settings:
Alert Mode: This setting determines the type of alert triggered by the indicator. You have the following options:
Band-outside: Generates an alert when the price moves outside the constructed channel bands.
Band-crossin: Generates an alert when the price crosses above or below the channel bands.
Band-crossout: Generates an alert when the price crosses back inside the channel bands.
Trend: Generates an alert when there is a significant trend change (over or under the middleline).
Oscillator: Generates an alert based on the behavior of the oscillator, if in Oscillator mode.
Spikedetection: This option allows you to enable or disable spike detection in the alerts. When enabled, the indicator considers spikes or sudden price movements when generating alerts.
By selecting the appropriate Alert Mode and configuring spike detection, you can receive alert notifications that align with your trading strategy and help you identify potential trading opportunities.
It's important to note that alert settings alone do not place trades automatically.
They serve as notifications for you to review and analyze the situation before making trading decisions.
Make sure to have a proper understanding of the selected alert mode and its implications in your trading strategy.
-------------------
7. Operation Mode:
The Multitimeframe Channel Builder indicator offers three operation modes: Channels, Oscillator, and Noplot.
This setting determines how the indicator is displayed on the chart and what type of information it provides.
Channels Mode:
When the indicator is set to channel mode, it will be displayed as an overlay on the chart. It generates channel lines based on the selected moving average types and their lengths.
These channels can help identify support and resistance levels or potential price breakout points. The channel lines are plotted on the chart,
providing a visual representation of the price movements within the channels.
Oscillator Mode: In Oscillator mode, the indicator is presented on a separate plane below or above the main chart, which you need to move manually.
It generates an oscillator based on the configured settings, including the selected moving averages and their lengths.
The oscillator provides insights into the market's momentum and overbought/oversold conditions.
It consists of horizontal lines representing different levels, such as upper and lower boundaries, and a middle line.
Traders can analyze the oscillator's movements and crossovers to identify potential trading signals.
Noplot Mode: Setting the indicator to Noplot mode disables all visual plotting on the chart. However, the indicator still generates alerts based on the configured settings.
This mode is useful if you only want to receive alert notifications for trading opportunities without cluttering the chart with additional visual elements.
Channels mode is ideal for analyzing price movements within defined channels,
Oscillator mode provides insights into market momentum, and
Noplot mode allows for focus on alert notifications without visual distractions on the chart.
-------------------
8. Oscillator Settings (Only applicable in Oscillator mode):
Hline from highest to lowest: Set the values for the highest to lowest horizontal lines.
POW-Compression: Adjust the compression factor for the oscillator.
Multiplier: Set the multiplier for the oscillator.
Oscillator Normalization Lockback: Specify the minimum time for normalization in the oscillator.
Detection Length and Filter Length: Set the lengths for the oscillator detection and filter.
Show Acceleration: Enable or disable the display of acceleration.
-------------------
9. Label Settings:
Decimals for Labels: Choose the number of decimals for label values.
Show Alerts (L1, L2, L3): Toggle the visibility of alerts for each level. Alert 1 is a minor alert, 3 a major
Label Color: Set the color for the labels.
Display Lines: Show or hide the lines on the chart.
Display Prices: Show or hide the price levels on the chart.
-------------------
10. Signal Config:
This Indicator offers a signal transmission configuration section specifically for Multibit implementation.
This feature allows you to transmit signals between multiple instances of the indicator, creating a daisychain effect. Here are the details of the Multibit implementation settings:
Signal Type: This setting determines the type of signal transmission used. You have the following options:
MultiBit: Enables the Multibit signal transmission.
MultiBit_pass: Enables the Multibit signal transmission with infusion.
NoInput: Disables the signal transmission.
Select Incoming Indicator: This parameter allows you to select the incoming indicator for signal transmission. You can choose any valid input source, such as the closing price or another indicator.
Channel configuration:
Channel long signal 1: Specify the channel used to transmit long signals for the first instance in the daisychain. Choose a value from -1 to 15 to represent different channels.
Channel short signal 1: Specify the channel used to transmit short signals for the first instance in the daisychain. Choose a value from -1 to 15 to represent different channels.
Channel long signal 2: Specify the channel used to transmit long signals for the second instance in the daisychain.
Channel short signal 2: Specify the channel used to transmit short signals for the second instance in the daisychain.
Channel long signal 3: Specify the channel used to transmit long signals for the third instance in the daisychain.
Channel short signal 3: Specify the channel used to transmit short signals for the third instance in the daisychain.
Channel Sideways only: Specify the channel used to transmit signals related to sideways movements.
Channel Trend: Specify the channel used to transmit signals related to trend movements.
Here's a overview of the current settings.
-------------------
Librarys used:
djmad/Signal_transcoder_library
djmad/MAD_MATH
djmad/Mad_Standardparts
[MAD] almost RSII continue to add things to the multibit ready indicators:
This is a modified RSI indicator with some useful additions to make it bottrading ready:
Centered around 0, so from +50 to -50.
Short-Triggerline
Long Triggerline
following value mods are possible:
POW factor --> rsi^POW
final smoothings:
SMA smoothing (level 1)
EMA smoothing (level 2)
switch all smoothings on/off
signals on:
Crossout (moves outside the high/low).
Crossin (moves back inside the high/low)
Direction change outside
Direction change inside
Signal filter output
This is a multibit capable indicator, so signal and filter can be exported to a multibit capable daisychain.
More information can be found here:
have fun
[MAD] Multi-MA MTFThis is a simple
3 times
EMA, SMA, WMA, HMA , Timeframe
selector which can send the above below to the multimit system to daisychain trends in
[MAD MBS] Multibit Alert on ChartThis is a basic debugger to display each individual multibit alert directly on the chart and additionally the possibility to create alarms based on this true/falses to use multibit without a Riskmanagement
[MAD] almost Nadaraya-Watson EnvelopeThis is a cloud where I tried to recreate the Nadaraya-Watson Envelope using a different mathematical approach
Clustered standard Ma's with weighting.
Objectives:
No repaints
Alerts
Almost the same output on live play.... (no need to replay history when configuring settings).
the presetup is for LuxAlgo's default settings (thanks for this great indicator).
Features:
Alarms with different modes --- Band 3 is the band that triggers the alarms.
more gradual setting for the curve
visual alerts for band 1 and 2
how to use:
in trend direction act the yellow "in direction" arrows tape 1
against the trend direction: the band 3 signal, DCA or with SL, prefer SL as it is safer
for both trading variants you can adjust the curve and the bands to your risk management
have fun
[Mad] Triple Bollinger Bands MTFThese are classic triple Bollinger bands with different multipliers
You can change the time frame plotted,
for example, you can show a 1-hour chart, but plot 6-hour Bollinger.
Since I haven't found any other OpenSource variant that can plot the 3 bands in a different time frame, here is my script for you
en.wikipedia.org
----
additional you can see in this script, how to move data around with arrays instead of multiple variables.
This way you can cut down security calls to a minimum. (look at the transfer- and bollarray)