[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [amibroker] Re: CCT Kaleidoscope


  • Date: Wed, 17 Mar 2010 04:43:27 -0700 (PDT)
  • From: Bob Waits <bobwaits2@xxxxxxxxx>
  • Subject: Re: [amibroker] Re: CCT Kaleidoscope

PureBytes Links

Trading Reference Links



Thanks.



From: Mike <sfclimbers@xxxxxxxxx>
To: amibroker@xxxxxxxxxxxxxxx
Sent: Tue, March 16, 2010 8:50:23 PM
Subject: [amibroker] Re: CCT Kaleidoscope

 

Line=LinRegSlope(C,13)
+
100 * ( EMA( EMA( C - Ref( C, -1 ) ,34 ) ,21)
/
EMA( EMA( abs( C - Ref( C, -1) ),34 ), 21 ) )
+
100 * ( EMA( EMA( C - (0.5 * ( HHV(H,13) + LLV(L,13))),21),3)
/ (
0.5 * EMA( EMA( HHV(H,13) - LLV(L,13),21),3 ) ) );

Buy = Cross(Line, 0);
Sell = Cross(0, Line);

Colors =
IIF(Line >= 0, colorGreen, colorRed);
Plot(0, "", colorDarkGrey, styleLine);
Plot(Line, "Line", Colors);
PlotShapes(Buy * shapeUpArrow + Sell * shapeDownArrow, Colors);


Mike

--- In amibroker@xxxxxxxxx ps.com, Bob Waits <bobwaits2@xx .> wrote:
>
> I came across the formula below. Any suggestions on how to write a "BUY" and "SELL" signal if the indicator crosses zero. Thanks.
>
> /* CCT Kaleidoscope
> **
> ** Originally developed by Steve Karnish
> ** http://www.cedarcre ektrading. com
> **
> ** AFL translation by Tomasz Janeczko
> **
> ** Set scaling: Automatic
> ** Grid: Middle
> */
>
> Graph0=LinRegSlope( C,13)
> + 100 * ( EMA( EMA( C - Ref( C, -1 ) ,34 ) ,21)
> / EMA( EMA( abs( C - Ref( C, -1) ),34 ), 21 ) )
> +100 * ( EMA( EMA( C - (0.5 * ( HHV(H,13) + LLV(L,13))), 21),3)
> / (0.5 * EMA( EMA( HHV(H,13) - LLV(L,13),21) ,3 ) ) );
>



__._,_.___


**** IMPORTANT PLEASE READ ****
This group is for the discussion between users only.
This is *NOT* technical support channel.

TO GET TECHNICAL SUPPORT send an e-mail directly to
SUPPORT {at} amibroker.com

TO SUBMIT SUGGESTIONS please use FEEDBACK CENTER at
http://www.amibroker.com/feedback/
(submissions sent via other channels won't be considered)

For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/





Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___