Forex
Google

Go Back   Forex Trading > Downloads > Indicators - Metatrader 4
Forex Forum Register FAQ Members List Calendar Search Today's Posts Mark Forums Read


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
 
LinkBack (1) Thread Tools Display Modes
  #1 (permalink)  
Old 04-23-2006, 11:30 PM
creative's Avatar
creative creative is offline
Senior Member
 
Join Date: Mar 2006
Posts: 162
creative is on a distinguished road
Thumbs up Cross!

Hi all! I am looking for a signal (arrow with sound) when a linear weighted moving average crosses another linear weighted moving average. I am only finding ema cross signal Can someone help please? I appreciate your efforts
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-24-2006, 04:47 AM
niva's Avatar
niva niva is offline
Senior Member
 
Join Date: Mar 2006
Posts: 101
niva is on a distinguished road
I can help with this cross. I'm not sure what arrow is.
__________________
Forex TSD is NO. 1
EA's blog: http://eaconfigs.blogspot.com/
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 04-24-2006, 05:09 AM
elihayun's Avatar
elihayun elihayun is offline
Senior Member
 
Join Date: Jan 2006
Posts: 350
elihayun is on a distinguished road
Quote:
Originally Posted by creative
Hi all! I am looking for a signal (arrow with sound) when a linear weighted moving average crosses another linear weighted moving average. I am only finding ema cross signal Can someone help please? I appreciate your efforts
If you have EMA cross indicator, its easy to change it to do what u want.

look for line like this one
iMA(NULL,0, 5, 0, MODE_EMA, PRICE_CLOSE, i);
the parameters can be something else but u care about MODE_EMA, PRICE_CLOSE change the MODE_EMA to MODE_LWMA and u set
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 04-24-2006, 07:05 AM
newdigital newdigital is offline
Administrator
 
Join Date: Sep 2005
Posts: 15,138
newdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud of
Quote:
Originally Posted by creative
Hi all! I am looking for a signal (arrow with sound) when a linear weighted moving average crosses another linear weighted moving average. I am only finding ema cross signal Can someone help please? I appreciate your efforts
There is thread about MA here. And some indicators are here as well.

Code:
extern int ShortPeriod = 5;
extern int ShortPeriodMode =  1; //0=sma, 1=ema, 2=smma, 3=lwma
extern int BigPeriod = 50;
extern int BigPeriodMode =  1; //0=sma, 1=ema, 2=smma, 3=lwma
extern int ExitPeriod = 20;
extern int ExitPeriodMode =  1; //0=sma, 1=ema, 2=smma, 3=lwma
Attached Files
File Type: mq4 wma_cross1.mq4 (4.8 KB, 461 views)
File Type: mq4 wma_cross2.mq4 (4.8 KB, 421 views)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 04-24-2006, 09:25 AM
creative's Avatar
creative creative is offline
Senior Member
 
Join Date: Mar 2006
Posts: 162
creative is on a distinguished road
Thank you Niva, Elihayun and Newdigital for your good help and fast replys!
Take care!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 04-24-2006, 11:37 AM
niva's Avatar
niva niva is offline
Senior Member
 
Join Date: Mar 2006
Posts: 101
niva is on a distinguished road
Try my one.
Attached Files
File Type: mq4 WeightedCross.mq4 (2.6 KB, 517 views)
__________________
Forex TSD is NO. 1
EA's blog: http://eaconfigs.blogspot.com/
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 04-24-2006, 11:46 AM
creative's Avatar
creative creative is offline
Senior Member
 
Join Date: Mar 2006
Posts: 162
creative is on a distinguished road
Quote:
Originally Posted by niva
Try my one.
Niva thanks for your efforts, newdigital gave me the indicator i needed.
All the best!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 04-24-2006, 12:02 PM
newdigital newdigital is offline
Administrator
 
Join Date: Sep 2005
Posts: 15,138
newdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud of
Quote:
Originally Posted by creative
Niva thanks for your efforts, newdigital gave me the indicator i needed.
All the best!
Which indicator?
I posted two indicators already: one with dots and the other one with arrows. They are the same but with dots and arrows only.
Explanation of the settings:

ShortPeriodMode = 1; //0=sma, 1=ema, 2=smma, 3=lwma
BigPeriodMode = 1; //0=sma, 1=ema, 2=smma, 3=lwma
ExitPeriodMode = 1; //0=sma, 1=ema, 2=smma, 3=lwma

ShortPeriodMode is the mode for one crossing MA (3 is linear weighted moving average).
BigPeriodMode is the mode for the other crossing MA (3 is lwma - your case)
ExitPeriodMode - mode for MA for exit (if you are using lwma or ema or whatever ma for exit).

ShortPeriod = 5 - period of the first crossing indicator.
BigPeriod = 50 - period for the second one.
ExitPeriod = 20 - period for exit (first indicator is crossing Exit indicator).

You may change everything in the settings of course.
Attached Files
File Type: mq4 wma_cross2.mq4 (4.8 KB, 326 views)
File Type: mq4 wma_cross1.mq4 (4.8 KB, 227 views)

Last edited by newdigital : 04-24-2006 at 12:06 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 07-11-2006, 11:18 PM
toddanderson toddanderson is offline
Senior Member
 
Join Date: Mar 2006
Posts: 171
toddanderson is on a distinguished road
MA cross alert email indicator needed

I am looking for moving average Cross indicator that will Email alert once after a cross
I have tried many of the indicators here to no avail
They either alert all the time and don’t email alert
Any help would be appreciated !
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10 (permalink)  
Old 07-12-2006, 03:40 AM
compro99 compro99 is offline
Junior Member
 
Join Date: Apr 2006
Posts: 16
compro99 is on a distinguished road
http://www.forexfactory.com/forexfor...?t=5766&page=3

Voila !!
Attached Files
File Type: mq4 EmaAlert2.mq4 (2.6 KB, 555 views)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


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

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

LinkBacks (?)
LinkBack to this Thread: http://www.forex-tsd.com/indicators-metatrader-4/1819-cross.html
Posted By For Type Date
MA Cross 3MACross Alert WarnSig - MQL4 Code Base Post #118 Refback 03-26-2008 04:40 PM

Similar Threads
Thread Thread Starter Forum Replies Last Post
Ema Cross! codersguru Ema Cross 730 07-03-2008 10:48 PM
MA cross/Price cross MA EA Pipsta_UK Expert Advisors - Metatrader 4 5 05-10-2007 08:50 PM
3 MA cross demontaz Indicators - Metatrader 4 2 04-15-2007 06:24 AM
ema cross 1f4 General Discussion 5 05-21-2006 03:13 PM


All times are GMT. The time now is 03:06 AM.