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

RE: [amibroker] Intraday Intensity Indicator



PureBytes Links

Trading Reference Links

Hi Oski

Gold Coast, where almost neighbours.

I put the indicators in separate windows, Price with LSMA in the top
window and CCI in the bottom. Do this.

In AB, 
1. Click on Analysis
2. Click on Indicator Builder
In Indicator Builder,
3. Click on Custom
4. Click on Add
5. A new blank indicator called <new indicator ??> will be created. 
6. Click on Rename and rename the Indicator -Woodies CCI-
7. Click in the Formula box
8. Paste the code that starts and ends with
// <+++ BEGIN Indicator Plot CCI code +++>

//<+++ END Plot CCI CODE +++>
into the formula box.
9. In AB, select a sheet view (along the bottom of the screen) that
isn't already used .
10. In Indicator Builder, click on Apply . This will put the indicator
in AB and test for any code errors. If an error message pops up, read
the message and act accordingly.
11. In IB, click on Save Formula and name it Woddies CCI.afl. Make
sure you save it to the AFL directory of AB.
12. Repeat steps 4 through to 11 for the code between 
// <+++ Begin Plot Price and LSMA ++>

// <+++ END Plot Price and LSMA ++>
naming the indicator Woodies Candlestick with LSMA and saving the 
code as Woodies Candlestick with LSMA.afl

13. Close IB and you will see your 2 new indicators in AB. 

Anything like other indicators that you don't want on the screen can
be easily removed/arranged by right clicking anywhere on the indicator
in AB and choosing the appropriate action.


Regards
Johno


 

--- In amibroker@xxxxxxxxxxxxxxx, Voytek <clubasx@xxxx> wrote:
> 
> Thanks Janco and Jo,
> 
> Your help is greatly appreciated.
> 
>  
> 
> Jo in your e-mail you said that you using two indicators, How? Are
you joining then together in AB or trading them separately. It would
help me a lot if you let me now.
> 
>  
> 
> Regards, 
> 
> Oski
> 
>  
> 
> PS. I'm from the Gold Coast.
> 
> 
> janco0202 <janco0202@xxxx> wrote: Hello Oski,
> 
> For swing trading you can use both formulas, but 
> with CCI 20 and without CCI 6:
> see below, I changed the formulas, so you can use
> what you like. Maybe the second one is clear for you.
> 
> *****************************
> Plot(CCI(20),"CCI 20",colorRed,styleLine|styleThick);
> Plot(CCI(20),"",colorBlack,styleHistogram|styleThick);
> Plot(200,"My line",colorOrange);
> Plot(-200,"My line",colorOrange);
> Plot(100,"My line",colorOrange);
> Plot(-100,"My line",colorOrange);
> Plot(0,"My line",colorYellow);
> *****************************
> /*red bars : downtrend
> **green bars: uptrend
> **blue bars : trading-range
> */
> T = 20;
> Title = "301-4 " + Name () + " " + FullName() + " "
> + "CCI" + " 20 " + "periods:" + WriteVal(T);
> MaxGraph = 5;
> Graph2 = CCI (T);
> 
> Uptrend = 100; Downtrend = -100;
> 
> Graph2BarColor = IIf (Graph2 > uptrend, 5,
> IIf (Graph2 < downtrend,4,6));
> 
> Graph4 = Graph2;
> Graph4Style = 4;
> 
> Buy = Cross (Graph2, 0) AND (Ref (Graph2,-1) < 0) AND (Ref
> Z(Graph2,- 2) < 0)AND
> (Ref (Graph2,-3) < 0) AND (LLV (RSI(9),10) < 30) AND Cross (RSI
> (9),50);
> 
> Plot(200,"My line",colorOrange);
> Plot(-200,"My line",colorOrange);
> Plot(100,"My line",colorOrange);
> Plot(-100,"My line",colorOrange);
> Plot(0,"My line",colorBlack);
> *****************************
> 
> Rgs,
> 
> Janco
> 
> 
> 
> --- In amibroker@xxxxxxxxxxxxxxx, "clubasx" <clubasx@xxxx> wrote:
> > Hi Janco,
> > In one of your e-mail you posted two Woddies CCI formulas and 
> because 
> > I don't have any knowledge on writing formulas I don't know which 
> one 
> > to use, that's way I will ask you for help. Could you please e-
> mail 
> > me one whole Woddies CCI formula for swing trading?
> > Thank you for your time. I greatly appreciated your help.
> > Regards,
> > Oski
> > 
> > YOU WROTE;
> > 
> > Here you have two versions of ther Woodie CCI:
> > > >
> > > > ***********************************************
> > > >
> 
> > > > Plot(CCI(20),"",colorRed,styleLine|styleThick);
> > > > Plot(CCI(20),"",colorBlack,styleHistogram|styleThick);
> > > > Plot(200,"My line",colorOrange);
> > > > Plot(-200,"My line",colorOrange);
> > > > Plot(100,"My line",colorOrange);
> > > > Plot(-100,"My line",colorOrange);
> > > > Plot(0,"My line",colorYellow);
> > > >
> > > > ***********************************************
> > > >
> > > > /*red bars : downtrend
> > > > **green bars: uptrend
> > > > **blue bars : trading-range
> > > > */
> > > > T = 20;
> > > > Title = "301-4 " + Name () + " " + FullName() + " "
> > > > + "CCI" + " 20 " + "periods:" + WriteVal(T);
> > > > MaxGraph = 5;
> > > > Graph2 = CCI (T);
> > > >
> > > > Uptrend = 100; Downtrend = -100;
> > > >
> > > > Graph2BarColor = IIf (Graph2 > uptrend, 5,
> > > > IIf (Graph2 < downtrend,4,6));
> > > >
> > > > Graph4 = Graph2;
> > > > Graph4Style = 4;
> > > >
> > > > Buy = Cross (Graph2, 0) AND (Ref (Graph2,-1) < 0) AND (Ref
> > (Graph2,-
> > > > 2) < 0)AND
> > > > (Ref (Graph2,-3) < 0) AND (LLV (RSI(9),10) < 30) AND Cross
(RSI
> > > > (9),50);
> > > >
> > > > Plot(200,"My line",colorOrange);
> > > > Plot(-200,"My line",colorOrange);
> > > > Plot(100,"My line",colorOrange);
> > > > Plot(-100,"My line",colorOrange);
> > > > Plot(0,"My line",colorBlack);
> > > >
> > > > ***********************************************
> 
> 
> 
> Check AmiBroker web page at:
> http://www.amibroker.com/
> 
> Check group FAQ at:
http://groups.yahoo.com/group/amibroker/files/groupfaq.html 
> 
> 
> Yahoo! Groups SponsorADVERTISEMENT
> 
> 
> ---------------------------------
> Yahoo! Groups Links
> 
>    To visit your group on the web, go to:
> http://groups.yahoo.com/group/amibroker/
>   
>    To unsubscribe from this group, send an email to:
> amibroker-unsubscribe@xxxxxxxxxxxxxxx
>   
>    Your use of Yahoo! Groups is subject to the Yahoo! Terms of
Service. 
> 
> 
> 
> 
> 
> 
> ---------------------------------
> Find local movie times and trailers on Yahoo! Movies.



------------------------ Yahoo! Groups Sponsor --------------------~--> 
Yahoo! Domains - Claim yours for only $14.70
http://us.click.yahoo.com/Z1wmxD/DREIAA/yQLSAA/GHeqlB/TM
--------------------------------------------------------------------~-> 

Check AmiBroker web page at:
http://www.amibroker.com/

Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/amibroker/

<*> To unsubscribe from this group, send an email to:
    amibroker-unsubscribe@xxxxxxxxxxxxxxx

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/