BullCharts Forum Homepage
Forum Home Forum Home > BullCharts > BullScript
  New Posts New Posts RSS Feed: Ribbons
  FAQ FAQ  Forum Search   Calendar   Register Register  Login Login

Ribbons

 Post Reply Post Reply
Author
Message / View First Unread Post
Brianb View Drop Down
Newbie
Newbie


Joined: 04 Mar 2006
Posts: 9
Post Options Post Options   Quote Brianb Quote  Post ReplyReply Direct Link To This Post Topic: Ribbons
    Posted: 04 Mar 2006 at 10:20am

I would like to replicate this Metastock code to display a ribbon in Bullcharts. any help would be appreciated.

 

30 period moving average the code for the bullish signal would be:

C>Mov(C,30,W)

For the bearish signal it would be:

C<Mov(C,30,W)

Back to Top
Brendon View Drop Down
BullCharts Staff
BullCharts Staff
Avatar

Joined: 10 Sep 2004
Location: Australia
Posts: 126
Post Options Post Options   Quote Brendon Quote  Post ReplyReply Direct Link To This Post Posted: 07 Mar 2006 at 9:49am

Shall put together a sample.

Please allow a few days.

Back to Top
Brendon View Drop Down
BullCharts Staff
BullCharts Staff
Avatar

Joined: 10 Sep 2004
Location: Australia
Posts: 126
Post Options Post Options   Quote Brendon Quote  Post ReplyReply Direct Link To This Post Posted: 10 Mar 2006 at 12:12pm

Here is a sample.  Use the Builder from Tools.

[description="This ribbon reports 'Above' when the close value is above its moving average, and 'Below' when below its moving average by using Weighted method"]

[target=Ribbon; category=Moving Average]

expr := Expression("Expression",Close);

method := inputma("Method",Weighted);

n := input("Time periods",30,1);

[color=rgb(200,180,255); name=Above]

[fillstyle=small grid]

expr>MA(expr,n,method);

[color=rgb(255,200,160); name=Below]

[fillstyle=diagonal cross]

expr<MA(expr,n,method);

[color=White]

Back to Top
Brianb View Drop Down
Newbie
Newbie


Joined: 04 Mar 2006
Posts: 9
Post Options Post Options   Quote Brianb Quote  Post ReplyReply Direct Link To This Post Posted: 11 Mar 2006 at 5:35pm

Thanks Brendon, did exactly what I wanted.

Regards

Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Bulletin Board Software by Web Wiz Forums® version 9.69
Copyright ©2001-2010 Web Wiz