Print Page | Close Window

RSC versus Sector Index

Printed From: BullCharts Forum
Category: BullCharts
Forum Name: BullScript
Forum Discription: Technical discussion related specifically to the BullScript programming language.
URL: http://www.bullcharts.com.au/forum/forum_posts.asp?TID=566
Printed Date: 20 May 2024 at 10:35am
Software Version: Web Wiz Forums 9.69 - http://www.webwizforums.com


Topic: RSC versus Sector Index
Posted By: Andrzej
Subject: RSC versus Sector Index
Date Posted: 10 Jun 2009 at 12:29am

Hi All,

Does anyone know how to create indicator RSC versus Index when using MetaStock data, still in Bullcharts ?
 
Below formula worked perfectly with BullCharts data provided, but it does not work with Metastock data.
I am struggle with Bull script and any help will be much appreciated.
 
Andrzej
 
symb := security.SectorIndex;

invert := input("0=normal, 1=invert", 0,0,1);

[name=RSC_SI; color= Blue; linestyle=solid]

RSC_SI := if (invert=1,LoadSymbol(symb,C)/C,C/LoadSymbol(symb,C));

RSC_SI;




Replies:
Posted By: maximo
Date Posted: 11 Jun 2009 at 4:49pm
Hi Andre!   There's a recent discussion on this topic, let me know how you go.
 
http://www.bullcharts.com.au/forum/forum_posts.asp?TID=561 - http://www.bullcharts.com.au/forum/forum_posts.asp?TID=561



Print Page | Close Window

Bulletin Board Software by Web Wiz Forums® version 9.69 - http://www.webwizforums.com
Copyright ©2001-2010 Web Wiz - http://www.webwiz.co.uk