Watch how to download trading robots for free
Find us on Twitter!
Join our fan page
Join our fan page
You liked the script? Try it in the MetaTrader 5 terminal
- Views:
- 3270
- Rating:
- Published:
- 2018.07.13 16:01
-
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance
Indicator AbsolutelyNoLagLwma_Range_Channel with the timeframe selection option available in the input parameters.
input ENUM_TIMEFRAMES TimeFrame=PERIOD_H4; // Indicator chart period (timeframe)
For the indicator to operate, the AbsolutelyNoLagLwma_Range_Channel.ex5 indicator must be added to the <terminal_data_directory>\MQL5\Indicators folder.
Fig 1. Indicator AbsolutelyNoLagLwma_Range_Channel_HTF
Translated from Russian by MetaQuotes Ltd.
Original code: https://www.mql5.com/ru/code/21319

A market state indicator

Difference of two moving averages within the range of one-direction candlesticks