PureBytes Links
Trading Reference Links
|
Thanks very much for your reply rvlv. I wasn't very clear on what I was trying to achieve.
I wanted exactly what you gave me, but I wanted the ribbon to change colour only when the 20-WMA changed direction. i.e. from yellow to blue when the 20-WMA went from down to up.
Is this possible?
Thanks again for your help.
Rowdy
--- In amibroker@xxxxxxxxxxxxxxx, ram vel <rvlv@xxx> wrote:
>
>
> Hi rowdy,
> Â
> add these code lines below your normal code
> you will get ribbon in blue and yellow.
> Â
> Â
> Â
> // wma20 RIBBON
> _SECTION_BEGIN("WMA");
> uptr= C >WMA(C,20) ;
> downtr= C<WMA(C,20) ;
> Plot( 6," WMA20 ",IIf( uptr, colorBlue, IIf( downtr, colorYellow, 0 )),styleOwnScale|styleArea|styleNoLabel, -1, 100 );
> _SECTION_END();
>
> ------------------------
> cheers
> rvlv
> --- On Wed, 11/4/09, rowdy358116 <rowdy358116@xxx> wrote:
>
>
> From: rowdy358116 <rowdy358116@xxx>
> Subject: [amibroker] 20-WMA shown as a Ribbon
> To: amibroker@xxxxxxxxxxxxxxx
> Date: Wednesday, November 4, 2009, 9:53 PM
>
>
> Â
>
>
>
> Hello All,
> Can anyone show me how to put a 20-WMA on my charts as a ribbon on the bottom of the chart? I find MAs on the price chart clutter it up?
> Thankyou
> Rowdy
>
------------------------------------
**** 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/
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/amibroker/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/amibroker/join
(Yahoo! ID required)
<*> To change settings via email:
amibroker-digest@xxxxxxxxxxxxxxx
amibroker-fullfeatured@xxxxxxxxxxxxxxx
<*> 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/
|