PureBytes Links
Trading Reference Links
|
Hello,
Some kind of shading can be achieved using bar style, as shown
in the code below:
SL = ( HHV( H,
26 ) + <FONT
color=#0000ff size=1>LLV( L, <FONT
color=#ff00ff size=1>26) )/<FONT color=#ff00ff
size=1>2;
TL = ( HHV( H,
9 ) + <FONT
color=#0000ff size=1>LLV( L, <FONT
color=#ff00ff size=1>9 ) )/<FONT color=#ff00ff
size=1>2;
DL = Ref( C,
25 );
Span1 = Ref( ( SL + TL
)/2, -<FONT
color=#ff00ff size=1>25 );
Span2 = Ref(
(HHV( H,
52) + <FONT
color=#0000ff size=1>LLV(L, <FONT
color=#ff00ff size=1>52))/<FONT color=#ff00ff
size=1>2, -25<FONT
size=1>);
Plot( SL, <FONT
color=#ff00ff size=1>"SL", <FONT color=#ff00ff
size=1>7 );
Plot( TL, <FONT color=#ff00ff
size=1>"TL", 5<FONT
size=1> );
Plot( DL, <FONT color=#ff00ff
size=1>"DL", <FONT color=#ff00ff
size=1>13 );
Plot( Close,
"Price",
colorBlack, styleCandle );
PlotOHLC( Span1, Span1, Span2, Span2, <FONT
color=#ff00ff size=1>"Span12", <FONT color=#ff00ff
size=1>6, styleBar );
Best regards,Tomasz Janeczkoamibroker.com
<BLOCKQUOTE
>
----- Original Message -----
<DIV
>From:
<A title=steve2@xxxxxxxxxxxxxxxxxxxx
href="">Steve Almond
To: <A title=amibroker@xxxxxxxxxxxxxxx
href="">Ami
Sent: Saturday, July 26, 2003 10:12
PM
Subject: [amibroker] Another Chart
Question
I've been following the discussion on Ichimoku charts. Part of the system
is the 'Cloud' area between the two curves Span1 and Span2. Some charts which
I've seen have 'coloured' this area between two curves (see example). Is this
possible in AB?
Perhaps a more simple example would be made using two moving averages.
Can I colour the space between MA(C,5) and MA(C,13)?
Thanks,
SteveSend
BUG REPORTS to bugs@xxxxxxxxxxxxxSend SUGGESTIONS to
suggest@xxxxxxxxxxxxx-----------------------------------------Post
AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx (Web page: <A
href="">http://groups.yahoo.com/group/amiquote/messages/)--------------------------------------------Check
group FAQ at: <A
href="">http://groups.yahoo.com/group/amibroker/files/groupfaq.html
Your use of Yahoo! Groups is subject to the <A
href="">Yahoo! Terms of Service.
Yahoo! Groups Sponsor
ADVERTISEMENT
Send BUG REPORTS to bugs@xxxxxxxxxxxxx
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx
(Web page: http://groups.yahoo.com/group/amiquote/messages/)
--------------------------------------------
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
|