QTusers Forum
February 11, 2012, 05:00:08 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News:
New Trading Game Available...
3waymarkets.com/trading_game

 
   Home   Help Login Register  
Pages: [1]
  Print  
Author Topic: CCI Paintbars For QT  (Read 4040 times)
cmx
Sr. Member
****
Posts: 93


WWW
« on: October 10, 2006, 01:18:54 PM »

Here are the zipped CCI files: http://home.pacbell.net/cmx/CHARTS.zip

Download the zipped file and simply put the charts.ini and paintbars.xml in your QT folder....

You will overwrite your current files ...so if you want to keep your current chart settings and paintbars...rename your charts.ini and paintbars.xml before replacing...or you could simply make a copy of the whole QT folder and replace the files in the copy...that way you could have a QT instance with and without to experiment with...

If you feel comfortable with it you can cut and paste the .xml file itself and add the paintbars to your own .xml file...


Note there is nothing in my setup files using the built in Woodie's Sidewinder indicator nor Woodie's Chop Zone Indicator. These are hard coded built-in indicators in QT. I don't use them, and I don't know how they work. I believe you must adjust the settings for them for different decimal precision symbols. Can't give you much more help than that regarding them...possibly others can.

In the zipped files I provide here there should be two paintbars already set-up that I use in place of the "Sidewinder" and "Woodies chop zone". The MA Intensity indicator emulates the sidewinder, and the Chop Zone Emulator paintbar emulates "woodies" chop zone". My paintbars do not require individual contract settings...one size fits all. Here is a graphic from earlier in the thread describing MY setup and what is contained in the zip files provided:


 
Logged
alyosha
Just Visiting

Posts: 1


« Reply #1 on: June 11, 2007, 10:20:04 PM »

Is there any way to program CCI diference between the current and previous bar?
Logged
shadow
Just Visiting

Posts: 2


« Reply #2 on: July 02, 2009, 12:33:50 AM »

The link, http://home.pacbell.net/cmx/CHARTS.zip, referenced in a forum entry by CMX back in Oct 2006 seems to be a broken link.

Is this code available somewhere else as I would like to have a look at it even though QuoteTracker now has the ChopZone and SideWinder as built-in indicators.

Thanks,  appreciate any help you can provide. 
Logged
Gazilla
Hero Member
*****
Posts: 117



« Reply #3 on: July 02, 2009, 12:58:16 AM »

Try this;
http://boards.quotetracker.com/qt-board/ubbthreads.php?ubb=showflat&Number=54932&page=1&fpart=7

Note there are other posts in the old forum on this CCi setup (but none of the links work any more to the zip file). The code is laid out in plain QT-English on the link above, if you want to try copy / paste it. I do have the CCi zip file archived on a system backup disk somewhere...but which one?!

Personally I prefer the Stoch MFI & RVI setup combined with the CCI.
« Last Edit: July 02, 2009, 01:04:17 AM by Gazilla » Logged
william
Trader
***
Posts: 31



« Reply #4 on: July 02, 2009, 05:24:45 PM »

You can find the file at http://www.xmission.com/~mestman/QT/CHARTS.zip
Logged
shadow
Just Visiting

Posts: 2


« Reply #5 on: July 03, 2009, 04:40:37 AM »

Gazilla and William
Thanks for your prompt replies.
And of course, thanks to CMX, Pez and others who worked on these definitions back in 2006.

I had already set up the definitions manually based on the various old posts on the topic; however, I had noticed differences in some of the posts e.g. one had VWAP(0), another had LSMA(25) as hidden, etc  so I was interested in what the final definition was for the CCI Paintbars.  I have downloaded the Charts and Paintbar in the zipped file in order to check my manually entered definition that I had gleaned from CMX's posts.

Although I am new to QuoteTracker, I do have a background in math and many years in Information Technology.  It seems to me that the second rule in the Paintbar (MA Intensity Indicator for the 25 LSMA and 34 EMA) should not have an ELSE condition.
i.e. Instead of
if   ema(34)/ema(34)[1] < 1 and lsma(25)/lsma(25)[1] < 1 set color to $80FFFF else set color to Red
it should simply be
"if   ema(34)/ema(34)[1] < 1 and lsma(25)/lsma(25)[1] < 1 set color to $80FFFF"

as 'else' condition will cause several 'Yellow' or $80FFFF color conditions to be overridden to 'Red'

For example if both the EMA ratio and the LSMA ratios were between 1 and 1.00005
then rule #1 would paint Yellow but since both are NOT less than 1, then rule #2's 'Else' condition would be satisfied and force the color to be Red and none of the remaining rules are satisfied.

I am basing the paintbar rules or 'protocol' on what I expect it to be 'programatically' and also on the response in the post at http://www.forum.qtusers.com/index.php/topic,59.0.html
"The rules are executed in descending order...so...each subsequent rule is executed from the top down, in order, and will overide the previous rule if there is a coincedence of factors..."
 
There are six ranges defined for each of the ratios
i.e. (a)   <.99990, 
     (b)  between .99990 and .99995,
     (c)  between .99995 and 1.0
     (d)  between 1 and 1.00005
     (e)  between 1.00005 and 1.00010
and  (f)  >  1.00010

So in all there are 36 various combinations of ranges.
Two would be dark green i.e. both EMA and LSMA ratios in the extreme ranges of (a) or in (e); i.e. both < .99990  or  both  > 1.00010


EMA                  <---LSMA Ratios --->
Ratios         a     b     c     d      e     f
 |  a         DG      G     Y     R     R     R
 |  b          G       G     Y     R     R     R
 |  c          Y       Y     Y     R     R     R
 |  d          R      R     R    (Y)   (Y)   (Y)
 |  e          R      R     R    (Y)    G     G
 |  f          R      R     R    (Y)    G     DG

where DG= dark Green, G=Green, R=Red, Y is Y=Yellow
and (Y) should be yellow but is overridden to red by the Rule 2 else condition.

Notice the symmetry

There should be 10 in the yellow zone; however, 5 of these get overridden to red as in the following cases ...

if EMA ratio is in range (d) and LSMA ratio is either in range d, e or f
or if LSMA ratio is in range (d) and EMA is in range e or f


Since the built-in SW and CZ functions are based on Woodie's proprietary formulas and also have very little help text, it's a bit confusing to understand what the various parameters should logically be. I have seen various suggestions on tick size, trending and normal parms but little explanation... so I guess the only option is use pure 'trial and error'.  At least with CMX's indicators, one can try to apply some logic along with the trial and error. Also need to check out some of Woodie's material.

The really important question now is, can I incorporate these indicators effectively to make some real $$$.
lol.

Hope this makes sense and no serious typos.
Ciao

Logged
william
Trader
***
Posts: 31



« Reply #6 on: July 17, 2009, 10:52:47 AM »

Sorry but haven't had time to analyze your comment to see if there's anything further I can offer -- we're moving apartments and are in the middle of a big mess.

The lack of response from others may indicate the level of interest here in the CCI and/or Woodie's work.  Woodie has lost a lot of credibility in the community this last year.
Logged
Gazilla
Hero Member
*****
Posts: 117



« Reply #7 on: August 17, 2009, 06:29:35 PM »

Just out of interest shadow, how is the trial and error going? anything further to report on the CCI setups.
Your analysis in the post (03 July) has brought interesting insight on the setup, thanks for the effort. And if possible could you export the combined setup (maybe as a Layout .SLT) and post it up, this would save a lot of time in re- writing the originals into QT.
« Last Edit: August 17, 2009, 06:46:49 PM by Gazilla » Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.7 | SMF © 2006-2008, Simple Machines LLC Valid XHTML 1.0! Valid CSS!