![]() |
Moving the textalign position |
Post Reply
|
| Author | |
NeilW
Newbie
Joined: 06 Aug 2006 Location: Australia Posts: 8 |
Post Options
Quote Reply
Topic: Moving the textalign positionPosted: 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. |
|
![]() |
|
chart rider
Regular
Joined: 25 Sep 2004 Location: Australia Posts: 96 |
Post Options
Quote Reply
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 |
|
![]() |
|
NeilW
Newbie
Joined: 06 Aug 2006 Location: Australia Posts: 8 |
Post Options
Quote Reply
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. |
|
![]() |
|
chart rider
Regular
Joined: 25 Sep 2004 Location: Australia Posts: 96 |
Post Options
Quote Reply
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 |
|
![]() |
|
Post Reply
|
| Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |