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

Reply
 
Thread Tools Display Modes
  #331 (permalink)  
Old 02-22-2007, 02:00 AM
Member
 
Join Date: Jul 2006
Posts: 48
Trader1 is on a distinguished road
Talking

Quote:
Originally Posted by codersguru
Upon a request from one of my friends (Accrete) I made these modifications to xpMA bt didn't test them yet!

------------------------------------

Accrete,

This is the requested modifications!


PHP Code:
bool     AlertOnPriceBreak       true
Alerts you when the price crosses up/down the moving average line.

PHP Code:
bool     AlertOnPriceRange       true
double   PriceRangeUpper         0.0
double   PriceRangeLower         0.0
Alerts you when the price enters the range - set the upper and lower boundaries.

CodersGuru,

I really love your XPMA EA (and thanks for the above changes), but have the same concerns as CEO above where he states, "I really need it to send a signal every bar close because sometimes it will get in a sell and immediately reverse and the EA will not close the sell and buy, but I dont know enough about MQl to do this."

I have come to the same conclusion with my backtesting of this EA using the ATM_XPMA indicator. When this happens you only get your entry closed when it is finally stopped out with the SL in the opposite direction.

When the EA looks at the ATM_XPMA indicator and it turns to yellow, then red or blue, it triggers the entry/exit immediately. By the time the bar closes the color can change back to the previous color (let's say blue), while during the bar it signals red. Unless my thinking is flawed I believe the EA would be more profitable if the entry/exit triggers were generated at close of bar or it would be nice to at least have the option to do this. If you look at an ATM_ XPMA indicator line there are times that the line is continuously blue or red and there are false signals generated which take you out of a trade prematurely or enter you into one in the wrong direction. Would it be possible to code this as a selectable parameter?; such as, "Do not enter/exit position unless color confirmed on bar close" It would function as follows:

For example, you are in an up trend with a buy position in place and the indicator line is blue. A down spike in the current bar signals yellow and then red, triggering the buy exit and a sell entry. The bar then retraces back and closes back to blue and the up trend continues. You lost your buy position and you are holding a sell position in a continuing uptrend. You are then stopped out with your SL.

My thinking is that if your position was dependent on the close of the bar that this would be more indicative of the trend, while helping to eliminate some of the false entries and early exits. In the example above, if the close of bar was red, then the trend may be reversing and the sell position would have a better chance. Any help you could lend on this coding would be appreciated. I will also PM this to you.

Trader1
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
  #332 (permalink)  
Old 04-17-2007, 03:20 PM
Member
 
Join Date: Jan 2007
Posts: 36
RandyG67 is on a distinguished road
I have just come across the XPMA and after messing around with it (them) for awhile, I have only a 6 Simple and a 34 Simple on my chart and have removed all other indicators.

I have not put pen to paper as far as backtesting goes, but it looks very evident that there are plenty of pips to be had by entering when both MA's turn the same color and/or minding the respective MA's across multiple time frames. Simple. Simple. Simple.

Now I gotta see about catching those sleepy-time and work-time pips. Would anyone be willing to construct an EA around this?

Thank you all,
Randy
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
  #333 (permalink)  
Old 04-17-2007, 04:55 PM
Senior Member
 
Join Date: Dec 2005
Posts: 294
mikejody is on a distinguished road
Randy,

Do you mean that you have changed the value on the XPMA to 6, and then added another XPMA and made it 34? And then your entry is when they both turn the same color?

Is that correct?

Quote:
Originally Posted by RandyG67
I have just come across the XPMA and after messing around with it (them) for awhile, I have only a 6 Simple and a 34 Simple on my chart and have removed all other indicators.

I have not put pen to paper as far as backtesting goes, but it looks very evident that there are plenty of pips to be had by entering when both MA's turn the same color and/or minding the respective MA's across multiple time frames. Simple. Simple. Simple.

Now I gotta see about catching those sleepy-time and work-time pips. Would anyone be willing to construct an EA around this?

Thank you all,
Randy
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
  #334 (permalink)  
Old 04-17-2007, 05:38 PM
Member
 
Join Date: Jan 2007
Posts: 36
RandyG67 is on a distinguished road
Yes.

Up to now I have been experimenting with a system using different combos of RVI/Stochastics/CCI/ADX. Upon coming across the xpma I realized that identified the same signals (mostly entry...still working with exit) as all those other indicators.

The default is the 6 period T3 I believe, which I changed to a Simple. I then added the 34 Simple to identify a broader trend. After awhile it seemed obvious that I didn't need all those other indicators though I may end up including something to help with exits. The RVI cross was/is looking good.

I'm also currently making my through the MQL4 Tutorial which I began all of 2 hours ago! If anyone decides to take up the cause to develop an EA for me/us, I would sure like to be included with the development as I progress through the tutorial.

Randy

P.S.- I hope it still matters though its been said so often but I very much appreciate the efforts of CG and everyone else who is taking the time to help so many
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
  #335 (permalink)  
Old 04-17-2007, 06:19 PM
Senior Member
 
Join Date: Dec 2005
Posts: 294
mikejody is on a distinguished road
Quote:
Originally Posted by RandyG67
Yes.

Up to now I have been experimenting with a system using different combos of RVI/Stochastics/CCI/ADX. Upon coming across the xpma I realized that identified the same signals (mostly entry...still working with exit) as all those other indicators.

The default is the 6 period T3 I believe, which I changed to a Simple. I then added the 34 Simple to identify a broader trend. After awhile it seemed obvious that I didn't need all those other indicators though I may end up including something to help with exits. The RVI cross was/is looking good.

I'm also currently making my through the MQL4 Tutorial which I began all of 2 hours ago! If anyone decides to take up the cause to develop an EA for me/us, I would sure like to be included with the development as I progress through the tutorial.

Randy

P.S.- I hope it still matters though its been said so often but I very much appreciate the efforts of CG and everyone else who is taking the time to help so many
Thanks for the explanation; I am definitely interested in an EA for this as well, and hopefully someone will help with 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
  #336 (permalink)  
Old 04-18-2007, 05:46 AM
C.E.O.'s Avatar
Member
 
Join Date: Nov 2006
Posts: 90
C.E.O. is on a distinguished road
MultixpMA V 1.0.0

That should do what you want.
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
  #337 (permalink)  
Old 04-18-2007, 01:32 PM
Senior Member
 
Join Date: Dec 2005
Posts: 294
mikejody is on a distinguished road
Quote:
Originally Posted by C.E.O.
MultixpMA V 1.0.0

That should do what you want.
Wow, I'm certain that will do it. Nice work!

It would be nice if someone could post the exact settings they would use on this, and I would be glad to test it; I just can't figure out what settings to use.
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
  #338 (permalink)  
Old 06-03-2007, 03:02 PM
Member
 
Join Date: Mar 2007
Location: London Calling....
Posts: 52
CiTiFx is on a distinguished road
Xpma Indicator

Hi CodersGuru,

When a second moving average is plotted on the chart, the arrows of the first moving average disappear and are replaced with the new moving average arrows. Is it possible to modify the indicator to keep all arrows on the chart.

Thanx
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
  #339 (permalink)  
Old 06-20-2007, 06:23 AM
KaMpeR's Avatar
Senior Member
 
Join Date: Mar 2006
Location: South Africa
Posts: 495
KaMpeR is on a distinguished road
Now that is a brilliant suggestion and I think a very important one if possible?
__________________
FatCat
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
  #340 (permalink)  
Old 06-20-2007, 01:40 PM
Member
 
Join Date: Jun 2007
Posts: 48
mas0n is on a distinguished road
Quote:
Originally Posted by bubble
Question for Codersguru,


i ve been looking at your indicator using SATL as the ma type and it places an arrow for buy and sell when the indicator is showing the same value as the previous value.


Any idea why that is


bubble
May I ask what are you looking for with SATL ?

Arrows show us the start of new colors except yellow. Yellow means the difference between current value and previous value are within dMA
dMA = average of last Step_Period value (default are last 4 values)
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
moving average, moving average forex, xpMA EA, forex, XP Moving Average, forex moving average, T3 Moving Average, xpma.mq4, xpmaea, vidya mq4, moving averages, moving average indicator, moving averages forex, average forex, xp ma, xpma indicator, xp ema, vidya, vidya moving average, moving average indicators


Currently Active Users Viewing This Thread: 2 (1 members and 1 guests)
abax
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
Moving Average RSI xcooper Metatrader 4 27 09-12-2009 10:05 PM
How to calculate Moving Average of a Moving Average babarmughal Expert Advisors - Metatrader 4 4 05-31-2009 03:05 PM
EA Moving Average rodrigokaus Expert Advisors - Metatrader 4 10 02-11-2009 08:45 AM
non lag moving average kidhudi Indicators - Metatrader 4 1 07-26-2006 01:52 PM
moving average danu Expert Advisors - Metatrader 4 1 05-31-2006 05:23 AM


All times are GMT. The time now is 03:54 PM.



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