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

[amibroker] Coding Help - Ichimoku Cloud



PureBytes Links

Trading Reference Links

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








------------------------ Yahoo! Groups Sponsor --------------------~--> 
You can search right from your browser? It's easy and it's free.  See how.
http://us.click.yahoo.com/_7bhrC/NGxNAA/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/