MQL4 - automated forex trading   /  

Code Base

Code Base  Indicators  MTrendLine alert To post a new code, please log in or register

Download MetaTrader 5 and visit MQL5.community Code Base
and Trade on the Go!
Prepare for the Championship
Couldn't find the right code? Order it in the Jobs section

This library is for
MetaTrader 4
Download MT 4 - 455 Kb

and Trade on the Go!

Name:
MTrendLine alert [ ru ]
Author: Nikita-Kiev (2009.01.20 08:06)
Downloaded: 4754
Download:
 MTrendLine alert.mq4 (6.6 Kb) View

I propose you the MTrendLine alert indicator. It is a part of the code of the MTrendLine v2.2 EA, http://codebase.mql4.com/5052, you can use it either as an indicator or for working with the MTrendLine EA.

It is a simple indicator that consists of four trend lines that show the distance between the trend line and the price via the numbers and that give the signals when the price goes for the specified number of points.

The indicator consists of independent blocks and there is always a possibility to insert any block into another indicator or EA. And to change only the numbers (if you look through the differences in the blocks you'll understand) to make them not to hinder each other.

How to use. If the TrendLine_1 or another TrendLine is set to Тrue, then the indicator itself will always display them on the chart. Permanently.

If it is set to False then you need to put the trend line on the chart by yourself, enter the properties of the Trendline and change the numbers in its name (Trendline 3444567) to 1 (or 2, 3, 4) so it should look like Trendline 1 and that's all. This variant is more habitual and convenient for many traders.

I do not pretend on the authorship and innovation. I wouldn't come out but some long time ago I wanted to have the indicator like this. I congratulate the traders with the coming holidays. Good luck!

2 comments  To post a new comment, please log in or register
DaRAGE wrote:

so for instance what is this trend line good for? I'm a newbie i must admit.

IF the trend line is going down and eventually hits the blue line, then what? Or if it's going up and hits the red line, then what? It will add a line permanently to your chart with a number?

than you go 4 a beer

(it will tel you when)

2. permanently

23.01.2009 00:56 fxxx

so for instance what is this trend line good for? I'm a newbie i must admit.

IF the trend line is going down and eventually hits the blue line, then what? Or if it's going up and hits the red line, then what? It will add a line permanently to your chart with a number?

21.01.2009 02:41 DaRAGE