Print Page | Close Window

Moving the textalign position

Printed From: BullCharts Forum
Category: BullCharts
Forum Name: Tips and Tricks
Forum Discription: Tips on how to use BullCharts more effectively.
URL: http://www.bullcharts.com.au/forum/forum_posts.asp?TID=376
Printed Date: 19 May 2024 at 2:34am
Software Version: Web Wiz Forums 9.69 - http://www.webwizforums.com


Topic: Moving the textalign position
Posted By: NeilW
Subject: Moving the textalign position
Date Posted: 06 Aug 2006 at 3:59pm

Hi All,

When I use the below code it places the ODL directly onto the actual bars. How do I lift it up a bit so that it does not cover the surrounding bar information?

[color=Blue]

[linestyle=Text; textalign=Above,Center]

if(outside() AND (((High-Low)/2)+Low)>Close, "ODL", undefined);

Low;

 

Neil.




Replies:
Posted By: chart rider
Date Posted: 06 Aug 2006 at 8:26pm

Neil

Positioning the text with respect to the high helps:

[linestyle=Text; textalign=Above,Center]

if(outside() AND (((High-Low)/2)+Low)>Close, "ODL", undefined);

High;

Also, you can use High + an offset, eg High*1.05

Incidently, the code should include [target=price]

Cheers

CR



Posted By: NeilW
Date Posted: 06 Aug 2006 at 8:53pm

Thanks CR,

Was not aware you could add a offset.

Finished indicator -

[target=Price]

[color=Blue]

[linestyle=Text; textalign=Above,Center]

if(outside(){ AND (((High-Low)/2)+Low)<Close}, "ODH", undefined);

High+ATR(3);

[color=Blue]

[linestyle=Text; textalign=Below,Center]

if(outside() AND (((High-Low)/2)+Low)>Close, "ODL", undefined);

Low-ATR(3);

 

Only question now is, after plotting how do I select just this indicator so that I may delete it without selecting other indicators in the "Edit\Delete All" menu option?

 

Neil.



Posted By: chart rider
Date Posted: 07 Aug 2006 at 1:00pm

Neil

I noticed that too.  One way would be to add markers to the indicator.  It would look better and you could click onto a marker to enable deleting. 

CR




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