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
  #11 (permalink)  
Old 02-18-2006, 10:22 PM
codersguru's Avatar
Senior Member
 
Join Date: Oct 2005
Posts: 994
codersguru has a spectacular aura aboutcodersguru has a spectacular aura aboutcodersguru has a spectacular aura about
Lightbulb Ojala!

Quote:
Originally Posted by dirk
Thanks , now is clear.
So' I can prepare all charts that i have on D1 and wait the first signal,
put stop at 100 pips, no limit, for example, and when i am on gain between 20/30 pips, i can move stop at entry and wait for exit.
What do you thing ?
Thanks
dirk,
Ojala, I'll create the Expert Advisor when the market open Monday and proof my Indicator.
__________________
Hope it helps !
Coders' Guru
Senior MQL programmer:
www.xpworx.com/custom.htm
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
  #12 (permalink)  
Old 02-19-2006, 05:00 AM
ycomp's Avatar
Member
 
Join Date: Jan 2006
Posts: 93
ycomp is on a distinguished road
Unhappy Warning, before using this indicator!

hi, I just noticed the indicator EMA_Prediction.mq4 contains a serious bug.

I spent all day yesterday marking my nice chart with vertical lines so that I would know when something important occured.

I put this indicator on and then took it off the chart... bad idea... all my lines are gone... I know it's my fault for not looking at the code before running but just in case there are some others who don't proof-read before running, I thought I'd give you the heads up.

So just to recap... EMA_Prediction.mq4 will delete all your Vertical Lines on the chart when you remove it or whenever else metatrader calls the deinit() function

my suggestion to the author would be to incorporate code similar to this:

Code:
// will delete all objects that contain aID_Prefix
void deleteObjects(string aID_Prefix) {
  int nObjects = ObjectsTotal();
  for (int i=nObjects; i>=0; i--) {
    string objName = ObjectName(i);
    if(StringFind(objName, aID_Prefix, 0) >= 0)
      ObjectDelete(objName);
  }
}
and to give his vlines all the same prefix that wouldn't conflict with those of another script... e.g. "EMA_PREDICTION_VLINE_"

[DISCLAIMER: use this code at your own risk. I am not responsible for any code I create. However, it seems to work for me so far just fine. Just be aware if you are too lenient with the aID_Prefix it will delete alot of objects... e.g. aIDPrefix="a" would delete all those CONTAINING "a". If you want to only delete those starting with "a" then I would suggest changing the StringFind's >=0 to just 0. Although I have not tested that modification, it should work]

Last edited by ycomp; 02-19-2006 at 05: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
  #13 (permalink)  
Old 02-19-2006, 09:05 AM
keris2112's Avatar
Senior Member
 
Join Date: Dec 2005
Location: California, US
Posts: 130
keris2112 is on a distinguished road
Quote:
Originally Posted by ShadowWz
Hi,

i looke in the code and i see:
"iMA(NULL,0,LongEma,0,MODE_EMA, PRICE_CLOSE, pos-1)"

now my question is how can you get "pos-1" for current,or even previous, day ?

* i wish i wrong and this indicator will predict the direction of EMA.

Cheers.
CodersGuru,
Could you please address this? I think Shadow is correct. At first I thought that maybe it had something to do with your loop counting Down To 0 instead of Up From 0, but either way, I believe it should still be +1. (Been trying for an hour to get my head around this) Also, you seem to use "pos-1" to position the arrows Forward 1 bar, so I'm not sure how "pos-1" can also be used to reference the Previous bar in the MA.

If the PreviousEMA calculations are truly supposed to be "pos+1", then the 2 IF statements used to generate the signals can never be true.

I know I'm nowhere near the coder you are, so please correct me if I/we are wrong. Also, if your code is correct, could you please try to explain why/how it works as I don't understand.

Thanks,
Keris
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
  #14 (permalink)  
Old 02-19-2006, 04:17 PM
Junior Member
 
Join Date: Feb 2006
Posts: 6
robak is on a distinguished road
Red face

Thanks Codersguru

Perhaps SL for buy
- reversal signal
- current low below last low
- close below halft of last candlestick
For sell inverted
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
  #15 (permalink)  
Old 02-19-2006, 11:40 PM
Member
 
Join Date: Jan 2006
Posts: 60
profitmaker is on a distinguished road
Market Prediction

Hi Coders
Thanks for this indicator (and all your other work). Can we manually backtest this? ie are the signals stable or will they change if we look back in time?
Thanks Mike.
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
  #16 (permalink)  
Old 02-20-2006, 12:30 AM
alp alp is offline
Senior Member
 
Join Date: Nov 2005
Posts: 109
alp is an unknown quantity at this point
OK, today we have two signal arrows, one is aussie the other one is GBPCHF. Let's see to it till the end of the day.
Attached Images
File Type: gif aussie.gif (18.3 KB, 1578 views)
File Type: gif gbpchf.gif (15.5 KB, 1438 views)
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
  #17 (permalink)  
Old 02-20-2006, 07:19 AM
Thruline's Avatar
Senior Member
 
Join Date: Dec 2005
Posts: 131
Thruline is on a distinguished road
I can't get this indicator to NOT show vertical lines.

Anyone else have this problem?

Looks interesting...
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
  #18 (permalink)  
Old 02-20-2006, 08:33 AM
keris2112's Avatar
Senior Member
 
Join Date: Dec 2005
Location: California, US
Posts: 130
keris2112 is on a distinguished road
Please do not use this indicator with a real account until CodersGuru (or some other knowledgeable coder) responds to my post above. I still do not believe it is calculating things properly. See post #13 above.

Keris

Note: If it turns out that the indicator does calculate properly, I'll delete my posts so as to not clutter up the thread.
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
  #19 (permalink)  
Old 02-20-2006, 08:42 AM
Junior Member
 
Join Date: Feb 2006
Posts: 6
robak is on a distinguished road
Hi
Bad news
Look at pic. one is bevore and second after change of TF. Arrow have changed .
Attached Images
File Type: gif Bez nazwy.gif (15.8 KB, 1539 views)
File Type: gif Bez nazwy2.gif (15.2 KB, 1486 views)
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
  #20 (permalink)  
Old 02-20-2006, 09:22 AM
Senior Member
 
Join Date: Oct 2005
Posts: 206
dirk is on a distinguished road
Robak , i don't see anything wrong , also don't forget that you are using 1 hour TF, i believe it is too short , you 'll have choppy and wimpy market.
I am using H4 and D1
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
candle prediction, ema cross, EMA prediction, forex


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
The TrendStuffer System - easy trend prediction for everyone! SirKhan Commercial Trading Systems and indicators 817 11-02-2009 04:25 PM
MA cross/Price cross MA EA Pipsta_UK Expert Advisors - Metatrader 4 5 05-10-2007 09:50 PM
When Does Market Open? mikejody General Discussion 2 01-01-2007 07:20 PM


All times are GMT. The time now is 04:43 PM.



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