Print Page | Close Window

Accessing second price data in Bullscript

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=385
Printed Date: 19 May 2024 at 12:07pm
Software Version: Web Wiz Forums 9.69 - http://www.webwizforums.com


Topic: Accessing second price data in Bullscript
Posted By: James
Subject: Accessing second price data in Bullscript
Date Posted: 18 Sep 2006 at 12:14pm

Hi Everyone,

Now that Bullcharts allows us to put 2 price charts in one window does anyone know how to access the second chart in Bullscript? I am looking to create a chart of the Gold Oil ratio. That is a chart of the number of barrels an ounze of gold will buy. I can put both charts in one window but I can' divide one into the other. Refer to http://www.zealllc.com/2005/gorex3.htm - http://www.zealllc.com/2005/gorex3.htm  for more info

Regards

James




Replies:
Posted By: chart rider
Date Posted: 20 Sep 2006 at 1:40pm

James

To divide a chart by the same reference each time can be done with the loadsymbol function, eg, to divide a stock by the XAO would be:

C/loadsymbol("XAO, C);

I don't know if there is a way of referencing the second chart in a generic sense.

CR



Posted By: davidr
Date Posted: 20 Sep 2006 at 3:40pm

It's a shame that the Insert NewSymbol -> Scale doesn't have a division in it's spread function, though it has Relative Strength, substraction, and addition.



-------------
davidr



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