Download MetaTrader 5

Watch how to download trading robots for free

Interesting script?
So post a link to it -
let others appraise it

You liked the script? Try it in the MetaTrader 5 terminal

Views:
1029
Rating:
votes: 11
Published:
2015.10.12 14:43
Updated:
2016.11.22 07:32
flat.mq5 (10.61 KB)view
flat_htf.mq5 (9.09 KB)view

The Flat indicator with the timeframe selection option available in the input parameters:

input ENUM_TIMEFRAMES TimeFrame=PERIOD_H4// Indicator chart period (timeframe)

This indicator requires Flat.mq5 indicator file. Place it in <terminal_data_folder>\MQL5\Indicators.

Fig.1. The Flat_HTF indicator

Fig.1. The Flat_HTF indicator

Translated from Russian by MetaQuotes Software Corp.
Original code: https://www.mql5.com/ru/code/13659

Flat-Trend_HTF Flat-Trend_HTF

The Flat-Trend indicator with the timeframe selection option available in the input parameters.

CRect and CCanvas replacement (Standard Library - several bugs fixed) CRect and CCanvas replacement (Standard Library - several bugs fixed)

Bug fixed versions of CRect and CCanvas which are part of the standard library.

ForecastOscilator_HTF ForecastOscilator_HTF

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

JSON Serialization and Deserialization (native MQL) JSON Serialization and Deserialization (native MQL)

Serialization and deserialization of JSON protocol. The code is ported from a high-speed С++ library.