BullCharts Forum Homepage
Forum Home Forum Home > BullCharts > Tips and Tricks
  New Posts New Posts RSS Feed: Moving the textalign position
  FAQ FAQ  Forum Search   Calendar   Register Register  Login Login

Moving the textalign position

 Post Reply Post Reply
Author
Message / View First Unread Post
NeilW View Drop Down
Newbie
Newbie


Joined: 06 Aug 2006
Location: Australia
Posts: 8
Post Options Post Options   Quote NeilW Quote  Post ReplyReply Direct Link To This Post Topic: Moving the textalign position
    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.

Back to Top
chart rider View Drop Down
Regular
Regular
Avatar

Joined: 25 Sep 2004
Location: Australia
Posts: 96
Post Options Post Options   Quote chart rider Quote  Post ReplyReply Direct Link To This Post 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

Back to Top
NeilW View Drop Down
Newbie
Newbie


Joined: 06 Aug 2006
Location: Australia
Posts: 8
Post Options Post Options   Quote NeilW Quote  Post ReplyReply Direct Link To This Post 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.

Back to Top
chart rider View Drop Down
Regular
Regular
Avatar

Joined: 25 Sep 2004
Location: Australia
Posts: 96
Post Options Post Options   Quote chart rider Quote  Post ReplyReply Direct Link To This Post 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

Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Bulletin Board Software by Web Wiz Forums® version 9.69
Copyright ©2001-2010 Web Wiz