High Low Flat Channel – indicator MetaTrader 5

HighLowFlatChannel
Algorithm for calculation: Define the highest and the lowest price value for a period and check if they located within the boundaries of the range specified. If point 1 is claimed, add / subtract padding from the found values and draw the boundaries of the channel. If “Consider previous boundaries” parameter is true, previous channel … Read more

Flat – indicator MetaTrader 5

Figure 1. The Flat indicator
Real author: Pedro Puado The indicator for measuring market volatility. During strong trends colored dots of the indicator turn red, during weak trends dots are gray. Moderate trends are shown in blue. Indicator input parameters: //+———————————————-+ //| Indicator input parameters                  | //+———————————————-+ input uint Smooth=10;                                // Smoothing period input ENUM_MA_METHOD      ma_method=MODE_SMA;        // Type of smoothing input ENUM_APPLIED_PRICE  applied_price=PRICE_CLOSE; … Read more

Flat Trend EA – EA MetaTrader 5

FlatTrend
The author of the idea: Scriptor MQL5 code author: barabashkakvn The EA uses the FlatTrend indicator: The indicator defines the market state: flat or trend. Interpretation of the histogram color buffers when setting “signal timeframe” PERIOD_CURRENT: If Use hour flag is enabled – from Start Hour to End Hour on the bar #Current bar, the FlatTrend is surveyed. If a signal is … Read more

Flat Channel – EA MetaTrader 5

Flat Channel
Idea by JS_Sergey mq5 code author – barabashkakvn The Expert Advisor uses the  Standard Deviation smoothing custom indicator, which is a smoothed Standard Deviation. Determine trend existence based on the indicator values on bars #0, #1, #2, #3 and #4:  (StdDev #0 > StdDev #1)  && (StdDev #1 > StdDev #2)  && (StdDev #2 > StdDev #3)  && (StdDev … Read more