#21 (permalink)  
Old 06-24-2005, 06:04 PM
Sophomore
 
Join Date: Apr 2005
Posts: 50
Thanks: 0
Thanked 1 Time in 1 Post
sccz97 is a jewel in the roughsccz97 is a jewel in the roughsccz97 is a jewel in the roughsccz97 is a jewel in the rough
Default

here are the libraries. Feel free to play around. I've still not decided the best way to go about using jma with cci.

there are a few combinations but it boils down to:

JMA using closing price, typical prices or weighted typical price
CCI using JMA from either of the above and worign out the deviation from again either closing price, typical prices or weighted typical price.

Have yet to determine whihc the best combination is. While it's still faster than the regular CCI based of SMA it still lags the JMAs in terms of crossover. It's quite possible that the JMA's shoudl be used to trade and CCI to give the go ahead depending on the first differential of the CCI.

I'm currently working backtesting all possible JMA crossovers and CCIs. It's quite possible that the simple JMA crossover could be the best indicator, and that all you'd require would be to determine which two periods of the JMA to choose. The factors that would need to be taken into account are the spread of the two JMAs, first differnetial of the CCI, possibly a weighted implied volatility and correlation.

Anyway, let me know if you can make use of the libraries. Unfortunately they are a one off calculation and not cumulative. I've yet to add that as a method, but the calculations are so fast at the moment I haven't bothered to code it.

P.S. the code is pretty shoddy
Attached Files
File Type: zip ClassLib.zip (3.9 KB, 144 views)
Profitable Forex Systems
Automatically trade proven forex trading systems.
Real trading records available!

Last edited by sccz97 : 06-24-2005 at 06:07 PM.
Reply With Quote
  #22 (permalink)  
Old 06-25-2005, 12:34 AM
scorpion's Avatar
Administrator
 
Join Date: Aug 2004
Posts: 1,922
Thanks: 97
Thanked 361 Times in 147 Posts
scorpion is a splendid one to beholdscorpion is a splendid one to beholdscorpion is a splendid one to beholdscorpion is a splendid one to beholdscorpion is a splendid one to beholdscorpion is a splendid one to beholdscorpion is a splendid one to beholdscorpion is a splendid one to behold
Send a message via MSN to scorpion Send a message via Yahoo to scorpion
Default

Thanks man. Much appreciated.

This is kewl!
__________________
Make easy pips with the Advanced Economic Calendar for Forex Trading.
Reply With Quote
  #23 (permalink)  
Old 06-25-2005, 01:47 AM
Sophomore
 
Join Date: Apr 2005
Posts: 50
Thanks: 0
Thanked 1 Time in 1 Post
sccz97 is a jewel in the roughsccz97 is a jewel in the roughsccz97 is a jewel in the roughsccz97 is a jewel in the rough
Default

Quote:
Originally Posted by scorpion
Thanks man. Much appreciated.

This is kewl!
no no, thank you! I'm sure you won't find this half as useful as the .NET wrapper you so kindly made publicly available!
What's mine is yours!
Reply With Quote
  #24 (permalink)  
Old 06-25-2005, 08:53 AM
Ravique's Avatar
Super Moderator
 
Join Date: Sep 2004
Posts: 404
Thanks: 2
Thanked 1 Time in 1 Post
Ravique is a name known to allRavique is a name known to allRavique is a name known to allRavique is a name known to allRavique is a name known to allRavique is a name known to all
Send a message via Yahoo to Ravique
Default

Scorpion , if you have free time, could you code it in mql ( if possible ) so we , code dummies , could take a peek =) ?
__________________
Regards,
Ravique
Reply With Quote
  #25 (permalink)  
Old 06-25-2005, 04:57 PM
scorpion's Avatar
Administrator
 
Join Date: Aug 2004
Posts: 1,922
Thanks: 97
Thanked 361 Times in 147 Posts
scorpion is a splendid one to beholdscorpion is a splendid one to beholdscorpion is a splendid one to beholdscorpion is a splendid one to beholdscorpion is a splendid one to beholdscorpion is a splendid one to beholdscorpion is a splendid one to beholdscorpion is a splendid one to behold
Send a message via MSN to scorpion Send a message via Yahoo to scorpion
Default

Ravique, the JMA in mql and mq4 have been coded already, and you the one who attached 'em here in the first page of this thread. Maybe you talk something else?
__________________
Make easy pips with the Advanced Economic Calendar for Forex Trading.
Reply With Quote
  #26 (permalink)  
Old 06-25-2005, 04:59 PM
scorpion's Avatar
Administrator
 
Join Date: Aug 2004
Posts: 1,922
Thanks: 97
Thanked 361 Times in 147 Posts
scorpion is a splendid one to beholdscorpion is a splendid one to beholdscorpion is a splendid one to beholdscorpion is a splendid one to beholdscorpion is a splendid one to beholdscorpion is a splendid one to beholdscorpion is a splendid one to beholdscorpion is a splendid one to behold
Send a message via MSN to scorpion Send a message via Yahoo to scorpion
Default

Oh, are you talkin about CCI version of JMA, ravique?
__________________
Make easy pips with the Advanced Economic Calendar for Forex Trading.
Reply With Quote
  #27 (permalink)  
Old 06-25-2005, 09:17 PM
Ravique's Avatar
Super Moderator
 
Join Date: Sep 2004
Posts: 404
Thanks: 2
Thanked 1 Time in 1 Post
Ravique is a name known to allRavique is a name known to allRavique is a name known to allRavique is a name known to allRavique is a name known to allRavique is a name known to all
Send a message via Yahoo to Ravique
Default

Yes, i am talking about the JMA_CCI .

Thank you for reminding about my posts though . =)))
__________________
Regards,
Ravique
Reply With Quote
  #28 (permalink)  
Old 06-26-2005, 02:33 AM
scorpion's Avatar
Administrator
 
Join Date: Aug 2004
Posts: 1,922
Thanks: 97
Thanked 361 Times in 147 Posts
scorpion is a splendid one to beholdscorpion is a splendid one to beholdscorpion is a splendid one to beholdscorpion is a splendid one to beholdscorpion is a splendid one to beholdscorpion is a splendid one to beholdscorpion is a splendid one to beholdscorpion is a splendid one to behold
Send a message via MSN to scorpion Send a message via Yahoo to scorpion
Default

Ravique, just wrote the CCI and MACD version of JMA in http://www.fxfisherman.com/forums/showthread.php?p=1531. Cheers!
__________________
Make easy pips with the Advanced Economic Calendar for Forex Trading.
Reply With Quote
Reply


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Trailing Stops with MA crossover Dave77 MetaTrader and ZeroCode 3 03-18-2008 11:02 PM
MA Cross alert and sound adrazz Indicators 6 07-23-2007 06:12 PM
Need a custom MA cross indicator... [Coded] wadeboxjr Indicator Coding 6 07-17-2007 11:20 PM
Plot MA on other indicators scorpion Tutorials, Tips & Tricks 0 05-08-2006 03:27 PM
Try to analyse MA Cartoon General Trading Talk 12 02-08-2006 12:29 AM


All times are GMT. The time now is 11:49 AM.
Powered by vBulletin Version 3.6.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.1.0

Registered members have access to special online forex currency trading tools, software, mt4 expert advisors and indicators. Register now