Welcome to Forex-TSD!, one of the largest Forex forums worldwide, where you will be able to find the most complete and reliable Forex information imaginable.
From the list below, select the forum that you want to visit and register to post, as many times you want. It’s absolutely free. Click here for registering on Forex-TSD.
Exclusive Forum
The Exclusive Forum is the only paid section. Once you subscribe, you will get free access to real cutting-edge Trading Systems (automated and not), Indicators, Signals, Articles, etc., that will help and guide you, in ways that you could only imagine, with your Forex trading.
Elite Section
Get access to private discussions, specialized support, indicators and trading systems reported every week.
Advanced Elite Section
For professional traders, trading system developers and any other member who may need to use and/or convert, the most cutting-edge exclusive indicators and trading systems for MT4 and MT5.
Although there is a wealth of info on this forum, it doesn't make much sense to me because I don't get programming. I suppose I could spend weeks trying to figure it all out, but what I am looking for is so simple.
Each drawn trend line has a unique identifying number and all I want to do is set up a generic program to send an alert to signal me when price touches that trend line. And be able to change the identifying number as the new trend lines are drawn.
The type of trend line I am referring to is not a horizontal price but a line drawn from swing high to swing high or from swing low to swing low.
How can I create a simple adviser that says:
Alert when price (touched, is above, is below, has crossed through, etc…whatever) trendline 57086.
Thank-you for your patience and I deeply appreciate your help.
If you draw TLs manualy on a price chart then you may set up standard MT alerts on correspondent levels and adjust them again by hand.
If you want an automatic TLs drawing then you have to define the way they will appear on the chart. It can be either fractals or DeMark points.
Have no idea how to set alerts on TLs drawn on indicator.
alert on manual TLs that I draw on chart only (no alert on indicators)
Since each TL line has its own unique identifying number, it seems like it should be easy to just say: “alert when price touches TL #xxxx.” As sophisticated as MT is, there has to be a way to program something so simple.
The standard MT alerts are for price only. So the only way to use it would be to set the price where the period line intersects the trend line and reset the price alarm for every period. What a pain, the whole point is to set it up and get some sleep until the next TL bounce/break.
Anyway, thank you very much for your time and interest.
This was taken from the Metaquotes forum. It doesn't give the exact details, but hopefully somebody can take the info and create "something" out of it.
Quote:
QUESTION:
How Can I: alert when price cross a drawn trendline?
Hello
Is it possible to create an alert to jump out when a price cross a previously drawn trend line?
What I mean is: I have a pattern and appropriate trendline already existing on the chart. I'd like to be alerted when this trendline is broken. Is it possible? How or any hints about?
If I get subsequent high/lows to draw a line it won't be streight, but rather zig-zag. I want 1st to drow the streight line and then ti lock for a break. I hope I've explained clear the idea . . .
Thank you
Ivo
RESPONSE:
Martin Cooney
Ivo,
I have an expert which does essentially this. To be able to query the trendline though, I've had to ensure each different trendline has a specific label.
I'll have to dissect the line and figure out how to adapt it to my needs. I guess there is no easy way around learning code but thanks to codersguru it can be done. I was just lazy to spend the time. You have given me a place to start and thats good enough.
Any MT4 indicators similar to Bell Warning Line (BWL)? [for riding the trend]
Hi,
was just reading about Bell Warning Line... I don't think I've tried an indicator like that for exits yet. Can anyone recommend something similar that I can find for MT4 to use?
description of Bell Warning Line here:
Adaptive moving averages are fairly well
known. Two of the most widely known are
Kaufman’s Adaptive Moving Average (KAMA)
and VIDYA, another adaptive moving average
developed by Kushar Chande. Both of these
indicators get faster when the market moves
faster, and get slower when the market moves
slower.
The Bell Warning Line (BWL) works on the
opposite principle. As the market goes into an
extended move, the BWL gets slower, allowing
for wider stops as the trend is drawn out. When
the trend starts to fall apart, however, the BWL
speeds up, tightening the stops and preserving
profits.
I'm really new to coding/scripting in general so i'm going to have lots of noob questions *bear with me please!*
in any case. I was trying to create a simple "indicator". I was trying to write an expert advisor to identify trend line points (you need two points for trend lines)
pls correct me if i'm wrong here:
1. if say i wanted to two highest highs from the last 100 bars. do i assign all the highs from 100 bars and do a sort on the array values?
2. is it possible to keep drawing trend lines from the 2 highest highs (for example). bearing in mind i'm trying to keep only one trend line on the main window at all times. meaning i have to delete the old one. also that means i have to draw a trend line by defining to variables as the 2 defined coordinates, is that even possible?
i will appreciate any help at all on that matter because i've only just picked up mql a couple of weeks ago. so i'm quite sure everyone else is more experienced than me haha.