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

RE: [amibroker] Coding Help - Ichimoku Cloud



PureBytes Links

Trading Reference Links

Lookup StyleCloud. It uses PlotOHLC. Works like a charm. There are
examples in the release notes too.
--
Terry

-----Original Message-----
From: amibroker@xxxxxxxxxxxxxxx [mailto:amibroker@xxxxxxxxxxxxxxx] On
Behalf Of dbbpj
Sent: Thursday, May 25, 2006 10:57
To: amibroker@xxxxxxxxxxxxxxx
Subject: [amibroker] Coding Help - Ichimoku Cloud

Hello all,

I've been trying to modify the Ichimoku Chart to draw a shaded area 
between the Span 1 and 2 lines to represent the cloud. Is this 
possible in AmiBroker? Any ideas?

Code: 
SL = ( HHV( H, 26 ) + LLV( L, 26) )/2;
TL = ( HHV( H, 9 ) + LLV( L, 9 ) )/2;
DL = Ref( C, 25 );
Span1 = Ref( ( SL + TL )/2, -25 );
Span2 = Ref( (HHV( H, 52) + LLV(L, 52))/2, -25);
MaxGraph = 6;
Graph0 = SL;
Graph1 = TL;
Graph2 = DL;
Graph3 = Span1;
Graph4 = Span2;
Graph5 = Close;

Graph0Style = Graph1Style = Graph2Style = Graph3Style = Graph4Style= 
1;
Graph5Style = 5;
Graph3Style = 32;
Graph4Style = 32;

Graph0Color = 7;
Graph1Color = 5;
Graph2Color = 13;
Graph3Color = 15;
Graph4Color = 30;
Graph5Color = 2;



Cheers,

Dbj









Please note that this group is for discussion between users only.

To get support from AmiBroker please send an e-mail directly to 
SUPPORT {at} amibroker.com

For other support material please check also:
http://www.amibroker.com/support.html

 
Yahoo! Groups Links



 




------------------------ Yahoo! Groups Sponsor --------------------~--> 
Everything you need is one click away.  Make Yahoo! your home page now.
http://us.click.yahoo.com/AHchtC/4FxNAA/yQLSAA/GHeqlB/TM
--------------------------------------------------------------------~-> 

Please note that this group is for discussion between users only.

To get support from AmiBroker please send an e-mail directly to 
SUPPORT {at} amibroker.com

For other support material please check also:
http://www.amibroker.com/support.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/