Print Page | Close Window

Horizontal Line Attributes

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=117
Printed Date: 20 May 2024 at 10:35am
Software Version: Web Wiz Forums 9.69 - http://www.webwizforums.com


Topic: Horizontal Line Attributes
Posted By: Seahorse
Subject: Horizontal Line Attributes
Date Posted: 22 Jan 2005 at 11:51am

Greetings..

I need a little help with Horizontal Line attributes in an indicator I am editing.

I have the ability to place a line in the indicator at any position I want.

However I wish to have this line as, Red in colour and "Dashed"...(the default on the plot is Black/solid).

So far I have only succeeded in changing everything to red except the Horizontal line.

I know that you have the ability to alter the line plot later, but I want it to appear red/dashed as soon as it is inserted....

Kind regards

Seahorse



-------------
My Reality Check bounced



Replies:
Posted By: chart rider
Date Posted: 22 Jan 2005 at 7:02pm

Seahorse

I believe the following should work - just prior to the script that defines your line, use:

[color=Red, linestyle=Dash]

If you want to revert back to black solid for the remainder of the indicator defined after your line, then you will need to do this by:

[color=Black, linestyle=Solid]

Chart Rider

 



Posted By: Seahorse
Date Posted: 23 Jan 2005 at 12:34pm

Thanks Chart Rider..

Only alteration required in your code is the use of a simicolon ";" rather than a comma ",".

ie.  [color=red; linestyle=dash]

I can now plot the line in any color or style I wish...much appreciated.

Seahorse...



-------------
My Reality Check bounced



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