• Home
  • Forums
  • Trades
  • News
  • Calendar
  • Market
  • Brokers
  • Login
  • Join
  • User/Email: Password:
  • 2:58pm
Menu
  • Forums
  • Trades
  • News
  • Calendar
  • Market
  • Brokers
  • Login
  • Join
  • 2:58pm
Sister Sites
  • Metals Mine
  • Energy EXCH
  • Crypto Craft

Options

Bookmark Thread

First Page First Unread Last Page Last Post

Printable Version

Similar Threads

Please code "Parabol trendline" or "Curve trendline" for me 0 replies

Metatrader 4 vs Metatrader 5! 22 replies

Trendline, Trendline and Trendline 4 replies

Metatrader 5 is going to wipe out your Metatrader 4 indicators / systems 13 replies

Short Trendline Metatrader 5 replies

  • Platform Tech
  • /
  • Reply to Thread
  • Subscribe
  • 17
Attachments: Trendline alert for Metatrader
Exit Attachments

Trendline alert for Metatrader

  • Last Post
  •  
  • Page 1 2 3
  • Page 1 2 3
  •  
  • Post #1
  • Quote
  • First Post: Oct 29, 2005 9:56am Oct 29, 2005 9:56am
  •  zackyat
  • | Joined Jul 2004 | Status: Member | 20 Posts
Hi guys
i have been learning how to use trendline
but, do u guys know if there is any trendline alert for metatrader or others
for example, if price 1% or so of that trendline, it will trigger an alert. Thanks.
i dont wanna be 24 hrs in front of the computer...
  • Post #2
  • Quote
  • Oct 29, 2005 10:48am Oct 29, 2005 10:48am
  •  dsvt1
  • | Joined Oct 2005 | Status: Member | 101 Posts
u can make a simple custom indicator to do this. or if you want a simpiler way you can just use the alerts tab of the terminal to set alerts near existing trendlines (manual way)

rgds..
  • Post #3
  • Quote
  • Oct 29, 2005 11:10am Oct 29, 2005 11:10am
  •  zackyat
  • | Joined Jul 2004 | Status: Member | 20 Posts
Thanks.
First, i dont know how to make a custom indicator with this feature.
i found this indicator at metatrader yahoo group but i dont know what to do with this file.it's right here

http://f5.grp.yahoofs.com/v1/cI5jQ7V...cators/TLA.mql

It's under MQL-II Custom Indicator
The name of the file is TLA.mql

second, i dont think it's good idea to put price alert using the terminal. that's because the available alert is only price alert. trendline has slope...
thanks again.


Quoting dsvt1
Disliked
u can make a simple custom indicator to do this. or if you want a simpiler way you can just use the alerts tab of the terminal to set alerts near existing trendlines (manual way)

rgds..
Ignored
  • Post #4
  • Quote
  • Oct 29, 2005 11:23am Oct 29, 2005 11:23am
  •  dsvt1
  • | Joined Oct 2005 | Status: Member | 101 Posts
ok that file is code for mt2 or mt3.. and i dont think those versions are active any longer...MT4 uses a new language - mq4

the group u speak of has a section for mt4 files, maybe someone has already made a translation, or similar..
also u could try mt forum

for installation you will need to save mq4 or ex4 file into the indicators folder of mt4 program (usually under program files) mq4 files are the actual code, when mt4 is started it scans the indicators folder for mq4's and converts them into ex4 files for execution.. u can use ex4 files but cannot view or modify the code, sometimes these are used for distribution when the author wants to protect their work..

hope that helps

rgds..
  • Post #5
  • Quote
  • Oct 29, 2005 4:27pm Oct 29, 2005 4:27pm
  •  zackyat
  • | Joined Jul 2004 | Status: Member | 20 Posts
ok can somebody show me alert that they are using for trendline. trendline has slope, so i can't use price alert. i do think many people out there use trendline as a part of their trading and they must be using some sort of alert when price is close to the trendline. help from anyone please. really need help
rgds..[/quote]
  • Post #6
  • Quote
  • Jun 28, 2006 12:38am Jun 28, 2006 12:38am
  •  amedhussaini
  • | Joined Jun 2006 | Status: Member | 3 Posts
i also use trendlines.. the basic alerts in MT4 work but as the last poster said, trendlines have slope..

anyone find somethin suitable for this?
  • Post #7
  • Quote
  • Jun 28, 2006 4:46am Jun 28, 2006 4:46am
  •  soso_beton
  • | Joined Feb 2006 | Status: Geometric Trader | 322 Posts
I'll try to code one when I have more free time; hope my trigonometric skills are not completely rusted
-soso
  • Post #8
  • Quote
  • Jun 29, 2006 2:20am Jun 29, 2006 2:20am
  •  amedhussaini
  • | Joined Jun 2006 | Status: Member | 3 Posts
hey.. great! i'll be checkin this thread periodically.. good luck.
  • Post #9
  • Quote
  • Jun 29, 2006 6:32am Jun 29, 2006 6:32am
  •  OrangeRoshan
  • Joined Jun 2006 | Status: Member | 770 Posts
Patience is part of Faith!
Change Your Thinking. Change Your Life - JD
  • Post #10
  • Quote
  • Edited at 12:54am Jul 11, 2006 12:37am | Edited at 12:54am
  •  deanz
  • | Joined Nov 2005 | Status: Member | 113 Posts
I too have been looking for a Trendline Alert, and luckily today I just found........ 2 of them.

HLine Alert.mq4 is a Horizontal Line Alert and
TLine Alert.mq4 is a Trend Line Alert [any angle]

One thing I just worked out is you can not have 2 lines with the same name so just make sure that when you load the second Alert you Change the LineName under the Inputs Tab to something else eg: from MyLine1 to MyLine2 or MyLine3 or MyLine4, I'm sure you get the picture.

Have fun,

Dean.

PS: The owner would like people to try it and tell him how to improve it, he is over at this forum
Attached Files
File Type: mq4 TLine Alert.mq4   2 KB | 14,078 downloads
File Type: mq4 HLine Alert.mq4   2 KB | 10,860 downloads
perception is reality
2
  • Post #11
  • Quote
  • Dec 17, 2010 4:26pm Dec 17, 2010 4:26pm
  •  madeinparis
  • | Joined Dec 2010 | Status: Member | 9 Posts
Hi Dean ,

Can you help me please , I found what I needed which was the "TLine Alert" however I need it to use it for the RSI indicator and for the sthocastic indicator but each time I put it , it goes to the price action , can you please let me know what I have to do for it to use it on the indicators , My email is [email protected] ,

Best Regards

Gerard Amsalem
  • Post #12
  • Quote
  • Dec 18, 2010 4:08am Dec 18, 2010 4:08am
  •  deanz
  • | Joined Nov 2005 | Status: Member | 113 Posts
Well I got it to show on an indicator window but then I realised from the code that PRICE need to pass through it to sound the alert, which is never going to happen when it is on and indicator window, so it is beyond me...... sorry.
perception is reality
  • Post #13
  • Quote
  • Dec 18, 2010 7:18pm Dec 18, 2010 7:18pm
  •  madeinparis
  • | Joined Dec 2010 | Status: Member | 9 Posts
Hi Dean ,

It happen the same way to me on the indicator the sound alert doesn't come out it just changes the color, If You have any ideas otherwise , can you please let me know.
Thanks

Gerard
  • Post #14
  • Quote
  • Dec 19, 2010 9:16pm Dec 19, 2010 9:16pm
  •  CockeyedCowboy
  • Joined Apr 2006 | Status: Trader Keit | 286 Posts
madeinparis and deanz

I played with this today and came up with one that works but it has to have the indicator coded within and it is very difficualt to set the trend line with out setting it off before it is were you want it, will have to create an on off switch to turn it off till the trend line is set were you want it.

I also built in a dialog box to show if your not with in hearing distance.

It works nice but just a pain to set the line with out it going off.

will post it tomorrow after building in a switch.

Keit

for now heres a screen shot of the stochastic signal line cross.
Attached Image (click to enlarge)
Click to Enlarge

Name: sub window alerts.jpg
Size: 70 KB
Trader Keit ... Methods Of A Dirt Road Mad Man....
  • Post #15
  • Quote
  • Dec 20, 2010 12:35pm Dec 20, 2010 12:35pm
  •  CockeyedCowboy
  • Joined Apr 2006 | Status: Trader Keit | 286 Posts
Here is a trend line on a stochastic signal line. Any one will a little experance with MQ will fine it easy to change the indicator to what ever any one wants. I explained it some in the documentation at the end of the code.

You can not have a trend line on an indicator if its data is not made available with in the trend line code. That is you can not simply add a trend line to an indicator window that contains the indicator as the data can not be read by the trendline. There are other ways to feed this data into the trendline code but it would still take some other codeing tricks to do.

Read the code before asking questions please. I will not be supporting this code as it was done for personal test purposes. not as a valued indicator.

enjoy

Keit
Attached File
File Type: mq4 Sub-Window TrendLine Alert v100 b01.mq4   37 KB | 4,431 downloads
Trader Keit ... Methods Of A Dirt Road Mad Man....
  • Post #16
  • Quote
  • Dec 20, 2010 1:25pm Dec 20, 2010 1:25pm
  •  madeinparis
  • | Joined Dec 2010 | Status: Member | 9 Posts
Ho CockedCowboy ,

Nice of you to respond but will your trendline will give an alert on the Stochastic Indicator also ?
Thanks
Madeinparis
  • Post #17
  • Quote
  • Dec 20, 2010 3:59pm Dec 20, 2010 3:59pm
  •  CockeyedCowboy
  • Joined Apr 2006 | Status: Trader Keit | 286 Posts
its built around the Stochastic indicator what settings are you useing? This is using the typical 5,3,3 but on a Closing bases with Weighted smoothing just the signal line shows as its what is used to trigger. What settings do you want? and I'll set it up for you.

Keit
Quoting madeinparis
Disliked
Ho CockedCowboy ,

Nice of you to respond but will your trendline will give an alert on the Stochastic Indicator also ?
Thanks
Madeinparis
Ignored
Trader Keit ... Methods Of A Dirt Road Mad Man....
  • Post #18
  • Quote
  • Dec 20, 2010 4:51pm Dec 20, 2010 4:51pm
  •  madeinparis
  • | Joined Dec 2010 | Status: Member | 9 Posts
ok
thank you for that indicator trendline
i am a zero in mql language
if you could please just do it for the stochastic that is included in any MT4 platform, the basic one, where we can put our own parameters that would be awesome
if you can't do it, can anybody else do it please?

thanks in advance


Quoting CockeyedCowboy
Disliked
Here is a trend line on a stochastic signal line. Any one will a little experance with MQ will fine it easy to change the indicator to what ever any one wants. I explained it some in the documentation at the end of the code.

You can not have a trend line on an indicator if its data is not made available with in the trend line code. That is you can not simply add a trend line to an indicator window that contains the indicator as the data can not be read by the trendline. There are other ways to feed this data into the trendline code but it would...
Ignored
  • Post #19
  • Quote
  • Dec 22, 2010 4:14pm Dec 22, 2010 4:14pm
  •  madeinparis
  • | Joined Dec 2010 | Status: Member | 9 Posts
thx cockeyed

i did not see your post

i need the stochastic indicator 12,3,3 and 14,5,5
it is from the basic indicator supported by mt4, not more not less

i really appreciate your help



Quoting CockeyedCowboy
Disliked
its built around the Stochastic indicator what settings are you useing? This is using the typical 5,3,3 but on a Closing bases with Weighted smoothing just the signal line shows as its what is used to trigger. What settings do you want? and I'll set it up for you.

Keit
Ignored
  • Post #20
  • Quote
  • Dec 23, 2010 9:10am Dec 23, 2010 9:10am
  •  CockeyedCowboy
  • Joined Apr 2006 | Status: Trader Keit | 286 Posts
madeinparis

Here are your changes, if your not good with english have some one there translate it to you, all you need to know is in the code itself read it.


Keit



Quoting madeinparis
Disliked
thx cockeyed

i did not see your post

i need the stochastic indicator 12,3,3 and 14,5,5
it is from the basic indicator supported by mt4, not more not less

i really appreciate your help
Ignored
Attached Image (click to enlarge)
Click to Enlarge

Name: Stochastic.jpg
Size: 76 KB
Attached File
File Type: mq4 Sub-Window TrendLine Alert v110 b01.mq4   38 KB | 2,337 downloads
Trader Keit ... Methods Of A Dirt Road Mad Man....
  • Platform Tech
  • /
  • Trendline alert for Metatrader
  • Reply to Thread
    • Page 1 2 3
    • Page 1 2 3
1 trader viewing now
  • More
Top of Page
  • Facebook
  • Twitter
About FF
  • Mission
  • Products
  • User Guide
  • Media Kit
  • Blog
  • Contact
FF Products
  • Forums
  • Trades
  • Calendar
  • News
  • Market
  • Brokers
  • Trade Explorer
FF Website
  • Homepage
  • Search
  • Members
  • Report a Bug
Follow FF
  • Facebook
  • Twitter

FF Sister Sites:

  • Metals Mine
  • Energy EXCH
  • Crypto Craft

Forex Factory® is a brand of Fair Economy, Inc.

Terms of Service / ©2021