ALERT INDICATOR

free & uncensored discussion arena for TheRumpledOne

Moderator: moderators

Alps007
rank: <50 posts
rank: <50 posts
Posts: 14
Joined: Thu Jul 23, 2009 12:54 pm
Reputation: 0
Gender: None specified

ALERT INDICATOR

Postby Alps007 » Fri May 24, 2013 10:53 am

Good Morning

I am a trend trader and trade bounces of moving averages. I hate sitting in front of my ocmputer starring at the screens and was therefore wondering if anyone has an indicator that will alert me everytime price hits the 20ema or 15 ema or even 50ema. Would really appreciate it if anyone could advise me wher eI could get this alert indicator. I trade on MT4 b the way.

Thanks

Alps

Please add www.kreslik.com to your ad blocker white list.
Thank you for your support.

User avatar
PebbleTrader
rank: 1000+ posts
rank: 1000+ posts
Posts: 1632
Joined: Fri Nov 12, 2010 2:15 am
Reputation: 0
Gender: Male

Postby PebbleTrader » Fri May 24, 2013 2:48 pm

iMA


If (Close[i] > iMA (NULL,0,15,0,MODE_EMA,PRICE_CLOSE,i));
Alert("Price above MA 15!);

If (Close[i] < iMA (NULL,0,15,0,MODE_EMA,PRICE_CLOSE,i));
Alert("Price below MA 15!);

Basically that...

"i" is just the bar number, the largest value of i is the oldest bar in your history file, the smallest value 0 is current bar.

If you spend an hour each day learning mql4, than you will be able to program it in no time at all, especially since I showed you what the code needed is...
Life is just a journey

Alps007
rank: <50 posts
rank: <50 posts
Posts: 14
Joined: Thu Jul 23, 2009 12:54 pm
Reputation: 0
Gender: None specified

Postby Alps007 » Wed May 29, 2013 11:02 am

thankyou buddy,

Is there anyway you cvould write up this indicator for me and attach it for me to download into my mt4. I am not knowing where to start with this code. I only use EMAs so an alert for a 50ema would be awesome. Would love it if you could put an attachment on here.

Thankyou my friend

Alps

User avatar
newscalper
rank: 1000+ posts
rank: 1000+ posts
Posts: 1068
Joined: Tue Oct 19, 2010 5:58 pm
Reputation: 0
Gender: Female

Postby newscalper » Wed May 29, 2013 12:55 pm

Someone's already written it no doubt. Have you looked on any of the obvious sites? TSD? Fisherman? Factory?

Try http://www.forex-tsd.com/metatrader-4/5 ... erage.html
Even if there isn't exactly what you want a cross indi will work - set one of the averages to 1SMA

Please add www.kreslik.com to your ad blocker white list.
Thank you for your support.


Return to “TheRumpledOne”