Forex
Google
New signals service!

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
 
LinkBack (1) Thread Tools Display Modes
  #131 (permalink)  
Old 02-01-2008, 05:11 PM
Senior Member
 
Join Date: Jan 2007
Location: not so remote
Posts: 1,814
fxbs is on a distinguished road
old indi: 3MA_Cross_w_Alert_v2 updated
http://www.forex-tsd.com/182752-post114.html (post 114)
3MA_Cross_w_Alert_v2GS modifyed, all shifts out, just 1 general sift for all Mas & sigs
3MA_Cross_w_Alert_v2GS1.mq4 - sig shift optional

Last edited by fxbs; 02-01-2008 at 06:34 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #132 (permalink)  
Old 02-03-2008, 06:56 PM
Senior Member
 
Join Date: Jan 2007
Location: not so remote
Posts: 1,814
fxbs is on a distinguished road
3MA_Cross_w_Alert_v2GS2.mq4

Displacement added for convenience only; actual cross - on MA Shift = 0

MADisplacementON = true;
SignalDisplacementON = true;
note_Displacement = "calculated MAshift = 0!";
Attached Images
File Type: gif ma 3ma x gs2.gif (17.4 KB, 716 views)
Attached Files
File Type: mq4 3MA_Cross_w_Alert_v2GS2.mq4 (8.2 KB, 89 views)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #133 (permalink)  
Old 02-05-2008, 05:06 AM
BLUR71's Avatar
Member
 
Join Date: Sep 2007
Posts: 52
BLUR71 is on a distinguished road
HMA Cross Alert?

Does Anyone have a 2-HMA Cross Alert?

Regards
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #134 (permalink)  
Old 02-20-2008, 03:46 PM
Junior Member
 
Join Date: Feb 2008
Posts: 1
golusiek is on a distinguished road
problem with a script

i want to write a simple scirpt/expert advisor which would work constantly and would give me buy/sell signals when two moving averages cross each other.

1) should it be a script or an expert advisor?

2) what's wrong with the following code that although it compiles it doesnt give proper messages?

double ma10;
double ma20;

ma10=iMA(0,0,10,0,MODE_SMA,PRICE_CLOSE,0);
ma20=iMA(0,0,20,0,MODE_SMA,PRICE_CLOSE,0);

if (ma10<ma20)
{
while (ma10<ma20)
{
ma10=iMA(0,0,10,0,MODE_SMA,PRICE_CLOSE,0);
ma20=iMA(0,0,20,0,MODE_SMA,PRICE_CLOSE,0);
}

if (ma10>=ma20)
{
MessageBox("Kupuj albo sprzedaj!!!");
}
}
if (ma10>ma20)
{
while (ma10>ma20)
{
ma10=iMA(0,0,10,0,MODE_SMA,PRICE_CLOSE,0);
ma20=iMA(0,0,20,0,MODE_SMA,PRICE_CLOSE,0);
}

if (ma10<=ma20)
{
MessageBox("Kupuj albo sprzedaj!!!");
}
}
thank you for your answer
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #135 (permalink)  
Old 03-06-2008, 10:53 PM
Junior Member
 
Join Date: Mar 2008
Posts: 12
Biniam is on a distinguished road
Price touching MA

I have searched all over for an indicators that will give an audible alert when price touches a MA. Preferably one that allows the user to select the type of MA (LMA, EMA, SMA WMA). Does any one know where I can find this indicator?

Thanks in advance,
Biniam
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #136 (permalink)  
Old 03-06-2008, 11:33 PM
Linuxser's Avatar
Moderator
 
Join Date: May 2006
Location: Helliconia (Winter)
Posts: 2,511
Blog Entries: 8
Linuxser has disabled reputation
Quote:
Originally Posted by Biniam View Post
I have searched all over for an indicators that will give an audible alert when price touches a MA. Preferably one that allows the user to select the type of MA (LMA, EMA, SMA WMA). Does any one know where I can find this indicator?

Thanks in advance,
Biniam
Hi,

I´ve moved your post to this thread where we have almost all indicators for Moving Averages. This request has been made several times in the Indicators with alert/signal

Maybe you could select one of the MA cross indicators and set the fast MA to Simple and with a period of 1. That´s should give you an alert every time the fast MA (1) close and touch the slow MA.

Last edited by Linuxser; 03-06-2008 at 11:40 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #137 (permalink)  
Old 05-06-2008, 09:42 AM
mystified's Avatar
Senior Member
 
Join Date: Jun 2006
Posts: 135
mystified is on a distinguished road
Hi Fxbs , Linuxser,

I have tried to create a MA cross indicator with alert but I failed.I compared different codes with similar crosses with alert(WMA cross,EMAcross etc..) still no success.I would appreciate if yous can help.Thanks in advance.
Attached Files
File Type: mq4 Snake.mq4 (3.3 KB, 75 views)
File Type: mq4 T3_clean.mq4 (5.8 KB, 72 views)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #138 (permalink)  
Old 05-06-2008, 12:18 PM
Linuxser's Avatar
Moderator
 
Join Date: May 2006
Location: Helliconia (Winter)
Posts: 2,511
Blog Entries: 8
Linuxser has disabled reputation
Quote:
Originally Posted by mystified View Post
Hi Fxbs , Linuxser,

I have tried to create a MA cross indicator with alert but I failed.I compared different codes with similar crosses with alert(WMA cross,EMAcross etc..) still no success.I would appreciate if yous can help.Thanks in advance.
Snake crossing T3 and vice versa?
Attached Images
File Type: gif 2008-05-06_091741.gif (29.4 KB, 397 views)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #139 (permalink)  
Old 05-06-2008, 01:39 PM
mystified's Avatar
Senior Member
 
Join Date: Jun 2006
Posts: 135
mystified is on a distinguished road
Thanks Linuxer ,

Yes it is Snake crossing T3.But I am using T3_ clean MA the one Mladen coded.I think It is the fastest with no overshooting problem and the smoothest out of Tilson MA's .İs that the EA in your picture? Thanks in advance.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #140 (permalink)  
Old 05-06-2008, 03:04 PM
Linuxser's Avatar
Moderator
 
Join Date: May 2006
Location: Helliconia (Winter)
Posts: 2,511
Blog Entries: 8
Linuxser has disabled reputation
Quote:
Originally Posted by mystified View Post
Thanks Linuxer ,

Yes it is Snake crossing T3.But I am using T3_ clean MA the one Mladen coded.I think It is the fastest with no overshooting problem and the smoothest out of Tilson MA's .İs that the EA in your picture? Thanks in advance.
Ok, this is the beta.
I need to make something for "inverse" option to work. Inverse would be exactly that because the idea it's to make an Universal MA cross code. That's why the name UNIversal Cross.

I Was looking for an easy code that also let's people with few knowledge about mql4 (As I) to change a few parameters and setup as desire, like AMA crossing EMA, FRAMA crossing TEMA and son on.

Kalenzo's code in which I based this indi is the most simple.

Please, test if everything is ok.
Attached Images
File Type: gif labtrend8192.gif (29.3 KB, 371 views)
Attached Files
File Type: mq4 uni_cross.mq4 (4.5 KB, 167 views)

Last edited by Linuxser; 05-06-2008 at 03:37 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl 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 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 732 08-29-2008 05:34 AM
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 02:04 AM.



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