Forex



Go Back   Forex Trading > Trading systems > Ema Cross
Forex Forum Register More recent Blogs Calendar Advertising Others Help






Register
Welcome to Forex-TSD!, one of the largest Forex forums worldwide, where you will be able to find the most complete and reliable Forex information imaginable.

From the list below, select the forum that you want to visit and register to post, as many times you want. It’s absolutely free. Click here for registering on Forex-TSD.

Exclusive Forum
The Exclusive Forum is the only paid section. Once you subscribe, you will get free access to real cutting-edge Trading Systems (automated and not), Indicators, Signals, Articles, etc., that will help and guide you, in ways that you could only imagine, with your Forex trading.
  • Elite Section
    Get access to private discussions, specialized support, indicators and trading systems reported every week.
  • Advanced Elite Section
    For professional traders, trading system developers and any other member who may need to use and/or convert, the most cutting-edge exclusive indicators and trading systems for MT4 and MT5.
See more

View Poll Results: What do you think about Counter-Trend strategies?
They are good. 233 30.62%
They are bad. 122 16.03%
Good strategies! But have to be well programmed. 269 35.35%
I don’t know what you are talking about. 154 20.24%
Multiple Choice Poll. Voters: 761. You may not vote on this poll

Reply
 
Thread Tools Display Modes
  #731 (permalink)  
Old 07-03-2008, 11:48 PM
Senior Member
 
Join Date: Nov 2006
Posts: 308
luxinterior is on a distinguished road
Quote:
Originally Posted by amangking_81 View Post
Codersguru....anyone....i have an idea for EMA cross.....EMA 1 and EMA 34 Crossing....is anyone could help?please send me privat messages
amangking - If you post your method here then one of the many coders can see if it seems viable before they invest too much time and effort. You may also get lucky and find a novice coder who's looking for a project to improve their skills.

Good Luck

Lux
__________________
Build An Expert Advisor. FREE E-course As Seen On TV
ForexArea.com
Users of Gap Trader from 'Forex-Assistant' MUST Read This
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
  #732 (permalink)  
Old 08-22-2008, 02:57 AM
Junior Member
 
Join Date: Nov 2007
Posts: 5
shlim is on a distinguished road
Can someone code an EMA EA filter with EMAangle to prevent from choppy market

eg when ema 30 cross over 60 and filter with EMAangle 15 degree to confirm BUY signal

Below chart BUY SELL signal without EMAangle filter, its too risky to trade on this situation
Attached Images
File Type: gif ScreenHunter_01 Aug. 22 09.58.gif (7.0 KB, 1845 views)
Attached Files
File Type: mq4 EmaAngleZero.mq4 (5.0 KB, 193 views)

Last edited by shlim; 08-22-2008 at 03:01 AM.
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
  #733 (permalink)  
Old 08-29-2008, 06:34 AM
Junior Member
 
Join Date: Apr 2008
Posts: 9
worldreview is on a distinguished road
EMA CROSS EA updated please?

Hi,
Would you tell me which version of EMA CROSS EA can trade all pairs in timeframe M1?
Hope to get your instructions for all setup of EA.

Tks in advance

worldreview[at]yeah.net

Last edited by newdigital; 08-29-2008 at 07:08 AM.
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
  #734 (permalink)  
Old 10-29-2008, 04:07 PM
cklee388's Avatar
Junior Member
 
Join Date: Aug 2008
Posts: 2
cklee388 is on a distinguished road
Red face EMA cross alert ....pls!

Hello! Codeguru & Everybody , I'm just try to involve in FX trading, was very lucky to found these forum and thx a lot from the resource (mq4) indicators, I'm find out ema cross was a good signal for me but the indicator I download was from Newdigital, I hopefully it can provide me sound or bell alert but.....the one I got cannot do it can some one help me to find one plsssssssssssssss! I've download 2 file which from Newdigital MA-crossover signal & MA-crossover signal with voice aleart ...sorry! I fail to run it with my platform from MIG SA. Can some one give me some ideal why? Thx a milliion.
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
  #735 (permalink)  
Old 11-12-2008, 12:43 PM
Junior Member
 
Join Date: Oct 2008
Posts: 2
ycontroller is on a distinguished road
hello, help the aid can do a couple of crosses 4 EMA

I not see speak very well, help crosses theses 4 EMA for my EA

5
13
21
80

Enter trade BUY when:

EMA 5 crosses above the EMA 13 and EMA 21
Both EMA 13 and EMA 21 are above EMA 80


Enter trade SELL when:

EMA 5 crosses below the EMA 13 and EMA 21
Both EMA 13 and EMA 21 are below EMA 80

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
  #736 (permalink)  
Old 11-12-2008, 03:16 PM
Junior Member
 
Join Date: Oct 2008
Posts: 2
ycontroller is on a distinguished road
I not see speak very well Inglesh

Sorry ..............
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
  #737 (permalink)  
Old 11-14-2008, 11:55 AM
Junior Member
 
Join Date: Oct 2008
Posts: 4
plypun is on a distinguished road
Smile Oh dear

I think.It's ok, But we must have Big margin.
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
  #738 (permalink)  
Old 12-04-2008, 12:48 AM
vincethebeast's Avatar
Member
 
Join Date: Sep 2006
Location: UK
Posts: 50
vincethebeast is on a distinguished road
Quote:
Originally Posted by ycontroller View Post
I not see speak very well, help crosses theses 4 EMA for my EA

5
13
21
80

Enter trade BUY when:

EMA 5 crosses above the EMA 13 and EMA 21
Both EMA 13 and EMA 21 are above EMA 80


Enter trade SELL when:

EMA 5 crosses below the EMA 13 and EMA 21
Both EMA 13 and EMA 21 are below EMA 80

Thanks
Have a look here http://sufx.core.t3-ism.net/ExpertAdvisorBuilder/ and I'm sure you'll be able to construct your own EA.

Good luck!
__________________
To most people, the sky is the limit. For me it is home.
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
  #739 (permalink)  
Old 12-04-2008, 01:50 AM
increase's Avatar
Senior Member
 
Join Date: May 2006
Posts: 845
increase is on a distinguished road
Quote:
Originally Posted by vincethebeast View Post
Have a look here http://sufx.core.t3-ism.net/ExpertAdvisorBuilder/ and I'm sure you'll be able to construct your own EA.

Good luck!
That's great thanks a lot How does the buy and sell syntax work/

Say I choose custom indicator and I want to use a bar indicator to buy and sell when bar changes colour?

I tried putting in name of indicator and parameter left > right but it does not open a buy or sell
__________________
New to Forex? Get all you need for Free at my site Click Here
You can also get my Hot Forex System (scroll to the bottom of the page): Click Here
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
  #740 (permalink)  
Old 01-16-2009, 11:27 AM
Junior Member
 
Join Date: Oct 2008
Posts: 1
mussa33 is on a distinguished road
EMA cross problem

Hi!

I have 1 problem with my EA. I am entering trade when EMA 5 > EMA 10 (buy signall). I have defined sl & tp. Trade is allways closed when sl or tp are reached. I would like to change that.
For example: I have bought pair EURUSD, and I would like to close this trade when EMA 5 crosses EMA 10. I set conditions (ticket != 0, stop=1 => buy and EMA 5 < EMA 10), but my operator if isn't working ()?!?
Seems my condition for closing that trade isn't good ??
Here is my code:




//+------------------------------------------------------------------+
//| testing.mq4 |
//| Copyright © 2009, MetaQuotes Software Corp. |
//| Forex Trading Software: Forex Trading Platform MetaTrader 4 |
//+------------------------------------------------------------------+
#property copyright "Copyright © 2009, MetaQuotes Software Corp."
#property link "http://www.metaquotes.net"


extern int Period_EMA_1=5;
extern int Period_EMA_2=10;

//+------------------------------------------------------------------+
//| expert initialization function |
//+------------------------------------------------------------------+
int init()
{
//----

//----
return(0);
}
//+------------------------------------------------------------------+
//| expert deinitialization function |
//+------------------------------------------------------------------+
int deinit()
{
//----

//----
return(0);
}
//+------------------------------------------------------------------+
//| expert start function |
//+------------------------------------------------------------------+
int start() {
//----
int ticket;
double volume = MarketInfo(Symbol(),MODE_MINLOT);
double sl = Bid - 300*Point;
double tp = Bid + 300*Point;



double EMA_1_now, EMA_1_prev, EMA_1_pp;
double EMA_2_now, EMA_2_prev, EMA_2_pp;
double stop;


EMA_1_now=iMA(NULL,0,Period_EMA_1,0,MODE_EMA,PRICE _TYPICAL,0);
EMA_1_prev=iMA(NULL,0,Period_EMA_1,0,MODE_EMA,PRIC E_TYPICAL,+1);
EMA_1_pp=iMA(NULL,0,Period_EMA_1,0,MODE_EMA,PRICE_ TYPICAL,+2);
EMA_2_now=iMA(NULL,0,Period_EMA_2,0,MODE_EMA,PRICE _TYPICAL,0);
EMA_2_prev=iMA(NULL,0,Period_EMA_2,0,MODE_EMA,PRIC E_TYPICAL,+1);
EMA_2_pp=iMA(NULL,0,Period_EMA_2,0,MODE_EMA,PRICE_ TYPICAL,+2);



if ((EMA_1_pp < EMA_2_pp) && (OrdersTotal() == 0)) { // buy when EMA 5 >= EMA 10
if ((EMA_1_prev >= EMA_2_prev) && (EMA_1_prev-EMA_2_prev <= 5)) {
ticket= OrderSend (Symbol(), OP_BUY, volume, Ask, 2, sl, tp);
stop=1;
}
} else if ((EMA_1_pp > EMA_2_pp) && (OrdersTotal() == 0)) { // sell when EMA 5 <= EMA 10
if ((EMA_1_prev <= EMA_2_prev) && (EMA_2_prev-EMA_1_prev <= 5)) {
ticket=OrderSend (Symbol(), OP_SELL, volume, Bid, 2, tp, sl);
stop=2;
}
} else if ((EMA_1_pp == EMA_2_pp)&& (EMA_1_pp != 0) && (OrdersTotal() == 0)){ // buy when EMA 5 >= EMA 10
if ((EMA_1_prev > EMA_2_prev) && (EMA_1_prev-EMA_2_prev <= 5)) {
ticket= OrderSend (Symbol(), OP_BUY, volume, Ask, 2, sl, tp);
stop=1;

} if ((EMA_1_prev < EMA_2_prev) && (EMA_2_prev-EMA_1_prev <= 5)) { // sell when EMA 5 <= EMA 10
ticket=OrderSend (Symbol(), OP_SELL, volume, Bid, 2, tp, sl);
stop=2;
}
}


if ((ticket != 0) && (EMA_1_now < EMA_2_now) && (stop == 1)) { // <--------- PROBLEM ---------->
New_Stop_Sell(ticket, volume);
ticket=0;
}

return;
}


//+------------------------------------------------------------------+


int New_Stop_Sell(int tick, double vol){
OrderClose(tick,1,Bid,2);
}
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

Tags
ANG3110@latchess.com, coders guru ema cross, Cross, cross ema, cross forex, ema 34, ema cross, ema cross ea, ema cross expert, ema cross expert advisor, ema cross indicator, ema cross signal, ema ea, ema forex, EMACross3, ema_cross_2, forex, forex EMA, forex ema cross, forex ema cross ea, forex ema ea, Sidus, universalmacross


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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
Cross! creative Indicators - Metatrader 4 191 11-15-2009 04:51 PM
3 MA cross demontaz Indicators - Metatrader 4 3 09-21-2009 06:36 PM
MA cross/Price cross MA EA Pipsta_UK Expert Advisors - Metatrader 4 5 05-10-2007 09:50 PM
ema cross 1f4 General Discussion 5 05-21-2006 04:13 PM


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



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