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
  #1 (permalink)  
Old 04-27-2008, 06:23 PM
Junior Member
 
Join Date: Jun 2006
Posts: 22
Lou G is on a distinguished road
Talking EMA Predictive 2

I have many years of programming experience but not much in MQL4. The attached indicator seems very interesting but has what appear to be a few mistakes in the code - in a couple of places it seems to be referencing arrays using an index of -1 which I believe would result in using VERY old data.

Can one of you very excellent programmers correct this indicator (or tell me that it is working fine and I am wrong)?

Thank you
Attached Files
File Type: mq4 EMAPredictive2.mq4 (5.3 KB, 147 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
  #2 (permalink)  
Old 04-28-2008, 01:22 PM
Junior Member
 
Join Date: Jun 2006
Posts: 22
Lou G is on a distinguished road
Too bad the preceding post was moved here - the indicator posted has nothing to do with CG's indicator. I deliberately tried to start a new thread in order to share the indicator in question with others (and hopefully improve it).

Instead, I'm stuck out here at the end of a dead topic where no one will see it...
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
  #3 (permalink)  
Old 04-28-2008, 01:31 PM
Administrator
 
Join Date: Sep 2005
Posts: 20,070
Blog Entries: 241
newdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud of
Yes, I see. You are right. Sorry.
I separated the threads and sent PM to you.
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
  #4 (permalink)  
Old 04-28-2008, 03:42 PM
Junior Member
 
Join Date: Jun 2006
Posts: 22
Lou G is on a distinguished road
Quote:
Originally Posted by newdigital View Post
Yes, I see. You are right. Sorry.
I separated the threads and sent PM to you.
Thanks NewDigital - I have been tinkering with this indicator and think I may have a version that does what the original author intended but I would really appreciate having an expert MQL4 programmer have a look and see if my understanding is correct.
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
  #5 (permalink)  
Old 04-29-2008, 11:21 AM
mladen's Avatar
Senior Member
 
Join Date: Oct 2006
Posts: 1,272
mladen is on a distinguished road
...

This should do it

regards
mladen

Quote:
Originally Posted by Lou G View Post
I have many years of programming experience but not much in MQL4. The attached indicator seems very interesting but has what appear to be a few mistakes in the code - in a couple of places it seems to be referencing arrays using an index of -1 which I believe would result in using VERY old data.
...
Thank you
Attached Images
File Type: gif ema predictive.gif (18.7 KB, 1541 views)
Attached Files
File Type: mq4 EMAPredictive2.mq4 (5.1 KB, 353 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
  #6 (permalink)  
Old 04-29-2008, 12:58 PM
Junior Member
 
Join Date: Jun 2006
Posts: 22
Lou G is on a distinguished road
Thanks, mladen. Your version appears to be what I was looking for.
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
  #7 (permalink)  
Old 04-29-2008, 01:05 PM
Senior Member
 
Join Date: Feb 2006
Posts: 1,211
et_phonehome_2 is on a distinguished road
How do you use this indicator?
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
  #8 (permalink)  
Old 04-29-2008, 06:19 PM
Junior Member
 
Join Date: May 2006
Posts: 1
vitime is on a distinguished road
Quote:
Originally Posted by mladen View Post
This should do it

regards
mladen
Could You please share your indicators /gray box and red vertical line / or tpl ?
or where can I find it?
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
  #9 (permalink)  
Old 04-30-2008, 02:01 AM
Senior Member
 
Join Date: Aug 2006
Posts: 456
RickW00716 is on a distinguished road
Quote:
Originally Posted by Lou G View Post
Thanks, mladen. Your version appears to be what I was looking for.
How do you intend to use this indicator?
I thought the original would predict the next bar(if it would be up or down...used on daily charts)

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
  #10 (permalink)  
Old 04-30-2008, 01:49 PM
Junior Member
 
Join Date: Jun 2006
Posts: 22
Lou G is on a distinguished road
As you can see, this indicator has very little lag - usually only a bar. I plan to use it in conjunction with a detrending indicator to keep me out of whipsaws and some kind of support/resistance projection, probably DeMark's daily range projection to provide profit targets and potential reversal points. Then I will have a simple (only three indicators) system which will predict the future often enough to make some pips. Will it work? Dunno yet...

Not sure what you mean by "the original". If you're referring to the CodersGuru indicator, that indicator and this one are not really the same thing (though similar in intent).

I like this indicator because it seems to get the job done without being a CPU resource hog, as some "no-lag" tools seem to be.
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


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
(FPI) predictive price Nicholishen Indicators - Metatrader 4 104 09-27-2009 01:41 AM
Making a predictive indicator.. ns_karthik General Discussion 8 07-27-2007 09:49 AM


All times are GMT. The time now is 05:36 AM.



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