Ribbons |
Post Reply |
Author | |
Brianb
Newbie Joined: 04 Mar 2006 Posts: 9 |
Post Options
Quote Reply
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: |
|
Brendon
BullCharts Staff Joined: 10 Sep 2004 Location: Australia Posts: 126 |
Post Options Quote Reply Posted: 07 Mar 2006 at 9:49am |
Shall put together a sample. Please allow a few days. |
|
|
|
Brendon
BullCharts Staff Joined: 10 Sep 2004 Location: Australia Posts: 126 |
Post Options Quote Reply 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] |
|
|
|
Brianb
Newbie Joined: 04 Mar 2006 Posts: 9 |
Post Options Quote Reply Posted: 11 Mar 2006 at 5:35pm |
Thanks Brendon, did exactly what I wanted. Regards |
|
Post Reply |
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |