Watch how to download trading robots for free
Find us on Telegram!
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
Indicators

LineBreakOnChart - indicator for MetaTrader 5

Views:
9617
Rating:
(27)
Published:
2012.12.14 14:16
Updated:
2016.11.22 07:32
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance

It is written by Steve Nison book "Beyond Candlesticks". Despite of the standard charts of the linear reversal it is drawn not on the separate but the main window over the current pair of the chart and considering timeframe. Besides, the extra parameter of the minimum size of the box (not considering reversal boxes) is added that makes this indicator similar but not identical to renko-charts.

Since the boxes are drawn without using the indicator buffers, but are objects, in order not to overload the terminal the parameter of starting date for calculation of the indicator is added (the minimum date is 2001.01.01).

Another detail is the added SeriesBuffer indicator buffer that holds the number of boxes on each bar in order to receive the given value in the Expert Advisors. When up trend the buffer value will be positive, when down trend it will be negative.

  1. Number of reversal lines = 3, the minimum box size = 0.

LineBreakOnChart, Lines = 3, MinBoxSize = 0

     2.  Number of reversal lines = 2, the minimum box size = 200 (pips).

LineBreakOnChart, Lines = 2, MinBoxSize = 200


Recommendations:

  • When using on М1 do not set the starting date for calculations to too early (optimum is a few months), when using on Н1 and higher timeframes, you can set the starting date for calculations to the minimum date value of the this indicator, i.e. start from 2001.

Translated from Russian by MetaQuotes Ltd.
Original code: https://www.mql5.com/ru/code/1239

Exp_UltraWPR Exp_UltraWPR

The Expert Advisor using the UltraWPR indicator.

UltraFatl_HTF UltraFatl_HTF

The variant of the UltraFatl indicator which can be placed by fixing timeframe of the indicator on a value different from the chart timeframe.

SumXMA SumXMA

The averaging amount of the different period Moving Averages.

SumRSI SumRSI

The averaging amount of the RSI different period oscillators