The indicator builds dynamic support and resistance levels based on smoothed price data using Gaussian filter.
Three lines: resistance (DRAW_LINE), median (DRAW_LINE), support (DRAW_LINE).
Algorithm:
Applies Gaussian smoothing to high/low prices
Finds extrema for the specified period
Builds a channel based on the smoothed values
Customisable parameters:
Calculation period (InpPeriod)
Line colours and styles for each level
Initialisation: calculates Gaussian filter weights for smoothing
Smoothing: applies the filter to high and low prices
Definition of levels:
Resistance = maximum of smoothed high for the period
Support = minimum of smoothed low for the period
Median = average between support and resistance
Uses indicator buffers for three levels
Gaussian filter with 5 bars window
Optimised recalculation of new bars only
Supports various timeframes
The indicator is useful for identifying dynamic support/resistance levels and defining price channels in the market.
Translated from Russian by MetaQuotes Ltd.
Original code: /ru/code/65370
RSI MA Signal Indicator
A simple signal indicator based on RSI and Moving Average. Draws Buy/Sell arrows when RSI is above/below 50 and Price is above/below MA.
Comment
A simple comment.
Positions Summary Info byPairs
Script for displaying updating data on open positions.
Tillson T3
Tillson T3 with EMA calculations done without auxiliary indicator buffers.