Join our fan page
- Views:
- 6524
- Rating:
- Published:
- 2017.08.10 09:49
- Updated:
- 2023.03.29 13:47
-
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance
Two histograms in one window, showing the maximum average price deviation in points from the initial value. The upper green histogram is the averaged difference between High and Open of a price series. The lower histogram shows the average difference between Low and Open of a price series. A bright color of the upper histogram indicates the growth of the candlestick High. Brighter color of the lower histogram means the decrease of the candlestick Low. Dark colors indicate the opposite.
The indicator uses the SmoothAlgorithms.mqh library classes (copy it to <terminal_data_folder>\MQL5\Include). The detailed description of the classes is available in the article Averaging Price Series for Intermediate Calculations Without Using Additional Buffers.
Fig. 1. The CandleRange indicator
Translated from Russian by MetaQuotes Ltd.
Original code: https://www.mql5.com/ru/code/18308

The EA waits for a TP or SL to trigger, and then opens a position in the opposite direction. It checks if there is enough money before sending a trade request. OnTradeTransaction.

Stripped Laguerre of double smoothed stochastic.

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

Signals are generated by the iBands, Bollinger Bands indicator. When a signal is received, opposite positions are closed.