Join our fan page
- Views:
- 5893
- Rating:
- Published:
- 2017.03.02 11:39
-
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance
The Linear_Price_Bar indicator with the timeframe selection option available in the input parameters.
input ENUM_TIMEFRAMES TimeFrame=PERIOD_H4; // Indicator chart period (timeframe)
To provide correct operation of the indicator, place the compiled Linear_Price_Bar.mq5 indicator file in terminal_data_folder\MQL5\Indicators.
Fig1. The Linear_Price_Bar_HTF indicator
Translated from Russian by MetaQuotes Ltd.
Original code: https://www.mql5.com/ru/code/17410

The indicator draws i-OneThird indicator candlesticks of a higher timeframe as color filled rectangles using DRAW_FILLING buffers.

The strategy is based on Moving Averages with the periods of 5/20/40/60.

The Expert Advisor synchronizes the local computer time in the interval from 9:50 to 9:59 (before the beginning of the morning session) with the MetaTrader 5 FORTS server time.

The SnakeInBorders indicator with the timeframe selection option available in the input parameters.