Watch how to download trading robots for free
Find us on Facebook!
Join our fan page
Interesting script?
So post a link to it -
let others appraise it
You liked the script? Try it in the MetaTrader 5 terminal
Views:
3129
Rating:
(14)
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
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance

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 Ltd.
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.