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

Options

Bookmark Thread

First Page First Unread Last Page Last Post

Print Thread

Similar Threads

Need Indicator To Draw Horizontal Lines/Sound Alert 3 replies

Need help with indicator on sound/arrow alert 3 replies

Need help with email and sound alert... 3 replies

I'm looking for coder [need a sound alert to indicator I already have] 0 replies

Need programming help with alert() + sound() 1 reply

  • Platform Tech
  • /
  • Reply to Thread
  • Subscribe
  • 2
Attachments: Trendline Break Alert Indicator. Need help changing sound
Exit Attachments
Tags: Trendline Break Alert Indicator. Need help changing sound
Cancel

Trendline Break Alert Indicator. Need help changing sound

  • Post #1
  • Quote
  • First Post: Edited 2:48am Feb 7, 2013 12:34am | Edited 2:48am
  •  IWBFMa
  • | Joined Feb 2012 | Status: Member | 68 Posts
Hi, I customized a trendline break alert indicator but I need some help.
As of current, you can draw 8 trendlines and give them the name of s1,s2,s3,s4,r1,r2,r3, and r4. When the price touches/breaks the TL the alarm rings.

Could someone modify the code so that the user can choose the type of ring/sound that the user wants to hear.
Attached File(s)
File Type: ex4 TrendLineBreakAlert.ex4   11 KB | 2,368 downloads
File Type: mq4 TrendLineBreakAlert.mq4   10 KB | 2,901 downloads
  • Post #2
  • Quote
  • Feb 7, 2013 7:25am Feb 7, 2013 7:25am
  •  IWBFMa
  • | Joined Feb 2012 | Status: Member | 68 Posts
Bump
 
 
  • Post #3
  • Quote
  • Feb 7, 2013 7:42am Feb 7, 2013 7:42am
  •  cja
  • Joined Feb 2007 | Status: Member | 1,902 Posts
Quoting IWBFMa
Disliked
Hi, I customized a trendline break alert indicator but I need some help.
As of current, you can draw 8 trendlines and give them the name of s1,s2,s3,s4,r1,r2,r3, and r4. When the price touches/breaks the TL the alarm rings.

Could someone modify the code so that the user can choose the type of ring/sound that the user wants to hear.
Ignored
Hi,
It appears that you only have "Alert" code in this indicator which is for a Pop up message and the only way you can change the sound for pop up messages is to go to the tool bar usually at the top of the MT4 chart and select tools/options/Alerts and change the default sound to something else in the list of sound files or you can put your own custom wav files into the sounds folder. The only way to have a user selected sound would be to code in a PlaySound alert code.

change this Alert(alert_msg); to something like this PlaySound(Custom_sound_file); or have both for each trendline
Trade what you see not what you hope
 
 
  • Post #4
  • Quote
  • Feb 7, 2013 7:48am Feb 7, 2013 7:48am
  •  cyber1
  • Joined Jan 2011 | Status: Member | 1,299 Posts
Quoting IWBFMa
Disliked
Bump
Ignored
IWBFMa-

Wherever you see
Alert(alert_msg);
delete or comment it out and add
PlaySound("alert.wav");
You can use any wav file as long as its in your Sounds folder.
 
 
  • Post #5
  • Quote
  • May 24, 2013 6:45am May 24, 2013 6:45am
  •  faisalahmad
  • | Joined May 2013 | Status: Member | 10 Posts
This is nice but is there a indicator with Email support ?
 
 
  • Post #6
  • Quote
  • Last Post: Aug 13, 2013 6:03am Aug 13, 2013 6:03am
  •  chouchee
  • | Joined Aug 2013 | Status: Junior Member | 4 Posts
How do you name the trend lines? i cant find where to name them
 
 
  • Platform Tech
  • /
  • Trendline Break Alert Indicator. Need help changing sound
  • Reply to Thread
0 traders viewing now
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 / ©2023