Watch how to download trading robots for free
Find us on Facebook!
Join our fan page
Join our fan page
You liked the script? Try it in the MetaTrader 5 terminal
- Views:
- 5847
- Rating:
- Published:
- 2014.04.15 16:45
- Updated:
- 2016.11.22 07:32
-
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance
Real author:
EvgeniX
A semaphore signal indicator with a prediction. The newest signal appears on the bar distanced from the current bar. The distance is defined by an input parameter
input uint HowManyBars=5; // number of bars for analysis
Figure 1. The NxBars indicator
Translated from Russian by MetaQuotes Ltd.
Original code: https://www.mql5.com/ru/code/2212

The indicator draws support and resistance lines, which are defined by the maximum and minimum for the last N bars.

Uses the idea of the classical moving average smoothing. The class can be used when you want to smooth out any array of type double without using the standard indicator.

The indicator displays the pivot level, support and resistance levels.

The indicator finds Doji candlesticks and highlights them on a chart using colored arrows.