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
  #101 (permalink)  
Old 01-30-2008, 12:13 AM
increase's Avatar
Senior Member
 
Join Date: May 2006
Posts: 647
increase is on a distinguished road
Quote:
Originally Posted by romotly007 View Post
Its not going to be complete without the SHIFT added. Thanks all the same.....you did good.
Never give up LOL here is one with shift
Attached Files
File Type: mq4 3_cross_trendtest.mq4 (6.2 KB, 30 views)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #102 (permalink)  
Old 01-30-2008, 12:30 AM
increase's Avatar
Senior Member
 
Join Date: May 2006
Posts: 647
increase is on a distinguished road
WooHoo try it with htese settings on 5 min TF ripper
Attached Files
File Type: mq4 3_cross_trendtest.mq4 (6.2 KB, 50 views)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #103 (permalink)  
Old 01-30-2008, 03:04 AM
Senior Member
 
Join Date: Jan 2007
Location: not so remote
Posts: 1,993
fxbs is on a distinguished road
Quote:
Originally Posted by increase View Post
WooHoo try it with htese settings on 5 min TF ripper
ok, so that's changed:
||
(fasterMAnow > slowerMAnow &&
mediumMAnow > slowerMAnow &&
mediumMAprevious <= slowerMAprevious &&
mediumMAafter > slowerMAafter ))
{
to
||
(fasterMAnow > slowerMAnow) &&
(mediumMAnow > slowerMAnow) &&
(mediumMAprevious < slowerMAprevious) &&
(mediumMAafter > slowerMAafter))
{

--------
and btw in v2 was:

CrossUp[i] = Low[i] - Range*0.5;
}

if ((fasterMAnow < slowerMAnow &&.....

...
should we put:

else if ((fasterMAnow ....

could "else" mess up?
_____
what this thing does:
double control=2147483647;

________
also i'll try bouth :

mediumMAprevious <= slowerMAprevious &&...
and
mediumMAprevious < slowerMAprevious) &&...

Last edited by fxbs; 01-30-2008 at 04:44 AM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #104 (permalink)  
Old 01-30-2008, 03:18 AM
Senior Member
 
Join Date: Jan 2007
Location: not so remote
Posts: 1,993
fxbs is on a distinguished road
Quote:
Originally Posted by Linuxser View Post
We need a different perspective on this one.
as Close > MA1 && Close > MA2 && Close MA3 && Close+1 <= MA1
Maybe could work.
sure,time to add something new to crosses; i just want to figure out what messed up our convensional f-la
MA1>MA2>MA3
(why it was "eating" some signals (arrows) on TF switsch) - doesn't touching others
could be something simple like "else" missing, or
>=; i-1 causes mess?

btw. beats me how i-1 work?

Last edited by fxbs; 01-30-2008 at 03:42 AM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #105 (permalink)  
Old 01-30-2008, 03:24 AM
increase's Avatar
Senior Member
 
Join Date: May 2006
Posts: 647
increase is on a distinguished road
This works now
Attached Files
File Type: mq4 3 MA Cross w_Alert v2.mq4 (5.6 KB, 79 views)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #106 (permalink)  
Old 01-30-2008, 03:49 AM
Senior Member
 
Join Date: Jan 2007
Location: not so remote
Posts: 1,993
fxbs is on a distinguished road
just for fun: 4ma x sidus
strategy is good, but signals....(yahoooo)
Attached Files
File Type: mq4 4MAxtrend_Sidus.mq4 (7.1 KB, 77 views)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #107 (permalink)  
Old 01-30-2008, 04:11 AM
Senior Member
 
Join Date: Jan 2007
Location: not so remote
Posts: 1,993
fxbs is on a distinguished road
difference is:

mediumMAprevious <= slowerMAprevious &&..
mediumMAprevious >= slowerMAprevious &&

and

mediumMAprevious < slowerMAprevious) &&...
mediumMAprevious >slowerMAprevious &&

interesting, how much difference it makes


btw. Increase, how you come to those extreme settings?
sma4;sma5; shift -11?
Attached Images
File Type: gif 3ma x tes6.gif (22.4 KB, 394 views)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #108 (permalink)  
Old 01-30-2008, 05:34 AM
Senior Member
 
Join Date: Sep 2006
Posts: 110
chawichsak is on a distinguished road
Hi.
Why arrow came late please?
Thank.
Cha.

3ma002.gif

3ma003.gif

Last edited by chawichsak; 01-30-2008 at 05:46 AM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #109 (permalink)  
Old 01-30-2008, 05:56 AM
increase's Avatar
Senior Member
 
Join Date: May 2006
Posts: 647
increase is on a distinguished road
Quote:
Originally Posted by fxbs View Post
d


btw. Increase, how you come to those extreme settings?
sma4;sma5; shift -11?
It was a bit of trial and error but it did not work in that version anyhow, the last version I posted looked like it is working the line I changed was in

fasterMAnow = iMA(NULL, 0, FasterMA, FasterShift, FasterMode, PRICE_CLOSE, i+1);
fasterMAprevious = iMA(NULL, 0, FasterMA, FasterShift, FasterMode, PRICE_CLOSE, i+2);
fasterMAafter = iMA(NULL, 0, FasterMA, FasterShift, FasterMode, PRICE_CLOSE, i-1);
//----
mediumMAnow = iMA(NULL, 0, MediumMA, MediumShift, MediumMode, PRICE_CLOSE, i+1);
mediumMAprevious = iMA(NULL, 0, MediumMA, MediumShift, MediumMode, PRICE_CLOSE, i+2);
mediumMAafter = iMA(NULL, 0, MediumMA, MediumShift, MediumMode, PRICE_CLOSE, i-1);
//----
slowerMAnow = iMA(NULL, 0, SlowerMA, SlowerShift, SlowerMode, PRICE_CLOSE, i+1);
slowerMAprevious = iMA(NULL, 0, SlowerMA, SlowerShift, SlowerMode, PRICE_CLOSE, i+2);
slowerMAafter = iMA(NULL, 0, SlowerMA, SlowerShift, SlowerMode, PRICE_CLOSE, i-1);
//-

I changed them to
fasterMAnow = iMA(NULL, 0, FasterMA, FasterShift, FasterMode, PRICE_CLOSE, i);
fasterMAprevious = iMA(NULL, 0, FasterMA, FasterShift, FasterMode, PRICE_CLOSE, i+1);
fasterMAafter = iMA(NULL, 0, FasterMA, FasterShift, FasterMode, PRICE_CLOSE, i-1);
//----
mediumMAnow = iMA(NULL, 0, MediumMA, MediumShift, MediumMode, PRICE_CLOSE, i);
mediumMAprevious = iMA(NULL, 0, MediumMA, MediumShift, MediumMode, PRICE_CLOSE, i+1);
mediumMAafter = iMA(NULL, 0, MediumMA, MediumShift, MediumMode, PRICE_CLOSE, i-1);
//----
slowerMAnow = iMA(NULL, 0, SlowerMA, SlowerShift, SlowerMode, PRICE_CLOSE, i);
slowerMAprevious = iMA(NULL, 0, SlowerMA, SlowerShift, SlowerMode, PRICE_CLOSE, i+1);
slowerMAafter = iMA(NULL, 0, SlowerMA, SlowerShift, SlowerMode, PRICE_CLOSE, i-1);
//-
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #110 (permalink)  
Old 01-30-2008, 12:39 PM
Member
 
Join Date: Dec 2007
Posts: 31
romotly007 is on a distinguished road
Thumbs up 3 Cross Trendtest is Almost complete

I really appreciate the job you are doing increase.... the 3 Cross Trendtest is almost complete now but there are two issues I need fixed and my holy grail is complete. Take a look at this 2 EMA-Crossover_Signal_alert indicator attached. Now, after changing the settings to EMA 20 and EMA 40, whenever a cross takes place, it brings out the pop-up and sound alert just once and when a new candle opens after the cross the popup and sound alert stops until a new cross takes place. You don't get to see the popup and sound alert everytime you change from one timeframe to another.


Firstly, the 3 Cross Trendtest is always bringing out the popup and sound alert each time you change from one timeframe to another even though the cross happen 4-5 candlesticks ago. Can you fix this problem?

Secondly, can you change the arrow to the default arrow we are all used to? This rounded arrow to me doesn't make the signal look good.


When this to issues are fixed, the the holy grail is complete!! Thanks.
Attached Files
File Type: mq4 EMA-Crossover_Signal_alert.mq4 (4.1 KB, 52 views)

Last edited by romotly007; 01-30-2008 at 01:11 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Bookmarks

Tags
Cross, MA cross alert

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

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 09:21 PM.



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