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

Four horizontal lines - indicator for MetaTrader 5

Views:
6878
Rating:
(15)
Published:
2018.06.16 11:09
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance

The indicator plots four horizontal lines: Two basic ones (red by default) above the High and below the Low of the Bar number bar and help lines (green by default) shifted from the basic ones.


Basic lines plotting rule

  • Line HighLowUP is plotted by the High of the Bar number plus Shift;
  • Line HighLowDOWN is plotted by the Low of the Bar number minus Shift.


Help lines plotting rule

  • Line DifferenceUP is plotted by the HighLowUP price PLUS the difference between prices HighLowUP and HighLowDOWN and MINUS Shift.

  • Line DifferenceDOWN is plotted by the HighLowDOWN price MINUS the difference between prices HighLowUP and HighLowDOWN and PLUS Shift.

This indicator is mostly used on large timeframes, starting from H4.

Bar number 2

Fig. 1. Parameter "Bar number" is "2"

Bar number 1

Fig. 2. Parameter "Bar number" is "1"

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

TST TST

The Expert Advisor does not use any indicators. It only uses the current price and the OHLC of zero bar.

EMAVFS_StDev EMAVFS_StDev

The EMAVFS indicator with additional trend strength indication using colored dots based on the standard deviation algorithm.

EMAVFS_StDev_HTF EMAVFS_StDev_HTF

Indicator EMAVFS_StDev with the timeframe selection option available in input parameters.

Exp_2XMA_Ichimoku_Oscillator Exp_2XMA_Ichimoku_Oscillator

A trading system based on the 2XMA_Ichimoku_Oscilator indicator signals.