Forex



Go Back   Forex Trading > Downloads > Indicators - Metatrader 4






Register in Forex TSD!
Trading Systems Leaders in this forum (automated trading systems) are winning more than 3000 pips in a month (30000$ investing one lot every time).
Click here to register and get more information

Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old 01-03-2006, 03:39 PM
Member
 
Join Date: Dec 2005
Posts: 53
billm is on a distinguished road
MA turn indicator needed

I am looking for an indicator that is a modification of the basic Moving Average indicator in MQ4.

All I want it to do .. is when one of the MA's changes direction at the close of the bar, (from up to down or down to up) then I want it to make a sound/alert or say something using the Speech function to alert me that it has changed direction.

If this can be done, perhaps I can have 2 input variables:
1) to turn the sound on/off and
2) to define the time in seconds BEFORE the close of the current bar to give this audible alert.

eg; I would like it to sound the alert say 10 seconds before the bar closes

thanks
B
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #2 (permalink)  
Old 01-12-2006, 09:49 AM
Kalenzo's Avatar
Senior Member
 
Join Date: Dec 2005
Location: Bydgoszcz - Poland
Posts: 718
Kalenzo is on a distinguished road
Here U go!
It should work.

--------------
Moving Average method enumeration

MODE_SMA 0 Simple moving average,
MODE_EMA 1 Exponential moving average,
MODE_SMMA 2 Smoothed moving average,
MODE_LWMA 3 Linear weighted moving average.



Applied price enumeration

PRICE_CLOSE 0 Close price.
PRICE_OPEN 1 Open price.
PRICE_HIGH 2 High price.
PRICE_LOW 3 Low price.
PRICE_MEDIAN 4 Median price, (high+low)/2.
PRICE_TYPICAL 5 Typical price, (high+low+close)/3.
PRICE_WEIGHTED 6 Weighted close price, (high+low+close+close)/4.
Attached Files
File Type: mq4 MA_ALERT.mq4 (1.8 KB, 298 views)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #3 (permalink)  
Old 01-12-2006, 10:14 AM
Member
 
Join Date: Dec 2005
Posts: 53
billm is on a distinguished road
Hi, thank you. I have applied it to a chart but it alerts after every pip movement.

Can you make the following change:

Only alert when the ma has Changed direction eg, when changed from up to down or vice versa determined at the close of the bar ?

thankyou
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #4 (permalink)  
Old 01-12-2006, 10:19 AM
Kalenzo's Avatar
Senior Member
 
Join Date: Dec 2005
Location: Bydgoszcz - Poland
Posts: 718
Kalenzo is on a distinguished road
Try this one. It will Alert once per a bar of selected window period.
Attached Files
File Type: mq4 MA_ALERT.mq4 (2.1 KB, 265 views)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #5 (permalink)  
Old 01-12-2006, 12:15 PM
Member
 
Join Date: Dec 2005
Posts: 53
billm is on a distinguished road
Quote:
Originally Posted by Kalenzo
Try this one. It will Alert once per a bar of selected window period.
Hi
great .. this works just fine.

How difficult would it be to add this functionality into the standard moving average indicator - then I wouldn't have to have 2 indicators on my chart .. the mov average and your ma_alert ?

thanks
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #6 (permalink)  
Old 01-12-2006, 12:24 PM
Kalenzo's Avatar
Senior Member
 
Join Date: Dec 2005
Location: Bydgoszcz - Poland
Posts: 718
Kalenzo is on a distinguished road
Quote:
Originally Posted by billm
Hi
great .. this works just fine.

How difficult would it be to add this functionality into the standard moving average indicator - then I wouldn't have to have 2 indicators on my chart .. the mov average and your ma_alert ?

thanks
No problem at all
Use this one
Enjoy !
Attached Files
File Type: mq4 MA_ALERT.mq4 (2.5 KB, 369 views)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #7 (permalink)  
Old 01-12-2006, 01:47 PM
Member
 
Join Date: Dec 2005
Posts: 53
billm is on a distinguished road
Excellent job .. thankyou
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #8 (permalink)  
Old 05-13-2008, 10:16 PM
Junior Member
 
Join Date: May 2008
Posts: 2
fx_aces is on a distinguished road
EMA/SMA Crossing Alert Needed

Hi there... I would appreciate if someone can help and assist me in getting this alert made for my specific need. I would like to have an alert when sma5 crosses ema50 with words on the chart. Thanks in advance.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #9 (permalink)  
Old 05-14-2008, 02:29 AM
Linuxser's Avatar
User Root
 
Join Date: May 2006
Location: Helliconia (Winter)
Posts: 4,407
Blog Entries: 56
Linuxser has a reputation beyond reputeLinuxser has a reputation beyond reputeLinuxser has a reputation beyond reputeLinuxser has a reputation beyond reputeLinuxser has a reputation beyond reputeLinuxser has a reputation beyond reputeLinuxser has a reputation beyond reputeLinuxser has a reputation beyond reputeLinuxser has a reputation beyond reputeLinuxser has a reputation beyond reputeLinuxser has a reputation beyond repute
Quote:
Originally Posted by fx_aces View Post
Hi there... I would appreciate if someone can help and assist me in getting this alert made for my specific need. I would like to have an alert when sma5 crosses ema50 with words on the chart. Thanks in advance.
Most MA crossing indicators with alert are here: Indicators with alert/signal
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #10 (permalink)  
Old 12-10-2008, 06:13 PM
Junior Member
 
Join Date: Sep 2008
Posts: 14
gilos is on a distinguished road
Quote:
Originally Posted by Kalenzo View Post
No problem at all
Use this one
Enjoy !
hi, i know this has been a few years since this indicator is posted here ...i just used this indicator but problem is, it only write MA increasing or MA decreasing without telling which pair and which timeframe...can u be so kind to put it in the alert? i would really appreciate it if u could... thank you.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Expert Advisor Upgrader - Turn Simple Into Superb Scorpion Tools and utilities 7 04-13-2007 02:01 AM
LIMITED TIME $2.50 REBATE per Lot (round turn) Nicholishen General Discussion 1 09-28-2006 03:44 AM


All times are GMT. The time now is 12:09 AM.



Search Engine Friendly URLs by vBSEO 3.2.0 ©2008, Crawlability, Inc.