Watch how to download trading robots for free
Find us on Telegram!
Join our fan page
Join our fan page
You liked the script? Try it in the MetaTrader 5 terminal
- Views:
- 42523
- Rating:
- Published:
- 2016.03.07 09:54
- Updated:
- 2016.11.22 07:32
-
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance
The trend indicator, used by the Hammering EA from the Market section.
Input Parameters:
- period = 32 — The indicator period for the subsequent moving average calculations.
- FilterNumber = 2 — Applied filter size.
- ma_method = 3 — Averaging method. Can be any of the Moving Average method values: 0 — SMA (Simple Moving Average), 1 — EMA (Exponential Moving Average), 2 — SMMA (Smoothed Moving Average), 3 — LWMA (Linear-weighted Moving Average).
- applied_price = 0 — Used price. Can be any of price constants: 0 — CLOSE, 1 — OPEN, 2 — HIGH, 3 — LOW, 4 — MEDIAN ((high+low)/2), 5 — TYPICAL ((high+low+close)/3), 6 — WEIGHTED ((high+low+close+close)/4).
Translated from Russian by MetaQuotes Ltd.
Original code: https://www.mql5.com/ru/code/13017

The indicator uses Move Average to draw the level line of up and down.

The indicator shows: the remaining time on each candle, the changing value of the Bid price, tick by tick, the relative price position of the Bid/Ask spread.

This indicator can be useful for arbitrageurs.

The script inserts the FXT-file of any custom chart, synthesized from real tick flow, into the strategy tester folder.