BullCharts Forum Homepage
Forum Home Forum Home > BullCharts > BullScript
  New Posts New Posts RSS Feed: Close of candle
  FAQ FAQ  Forum Search   Calendar   Register Register  Login Login

Close of candle

 Post Reply Post Reply
Author
Message Reverse Sort Order
maximo View Drop Down
BullCharts Guru
BullCharts Guru
Avatar

Joined: 02 Sep 2006
Location: Australia
Posts: 232
Post Options Post Options   Quote maximo Quote  Post ReplyReply Direct Link To This Post Topic: Close of candle
    Posted: 10 Dec 2010 at 7:50pm

Umm tell me that's not quite right lol.   Always seem to be in a rush.. this is better.

 
if(C > ((H-L)*0.66)+L AND C > O, 1, 0);
 
translation:  if the Close is above the lower 2 thirds of bar AND Close is above the Open THEN return 1 ELSE return 0.


Edited by maximo - 11 Dec 2010 at 7:11pm
Back to Top
jalna View Drop Down
Regular
Regular


Joined: 31 Mar 2007
Posts: 95
Post Options Post Options   Quote jalna Quote  Post ReplyReply Direct Link To This Post Posted: 10 Dec 2010 at 5:08pm
Many thanks Maximo. Thats perfect
What would we do without you?


Back to Top
maximo View Drop Down
BullCharts Guru
BullCharts Guru
Avatar

Joined: 02 Sep 2006
Location: Australia
Posts: 232
Post Options Post Options   Quote maximo Quote  Post ReplyReply Direct Link To This Post Posted: 10 Dec 2010 at 3:36pm
Hi jalna,
 
I made digital filter for this.  It displays a 1 for true and 0 for false condition of a close in top 1/3.
You can name the indicator 'Top Third Close', then add it to any scan.
 

if( (L-C)*.33 >= C-H, 0, 1);



Edited by maximo - 10 Dec 2010 at 3:37pm
Back to Top
jalna View Drop Down
Regular
Regular


Joined: 31 Mar 2007
Posts: 95
Post Options Post Options   Quote jalna Quote  Post ReplyReply Direct Link To This Post Posted: 10 Dec 2010 at 6:45am
Could anyone help me with some Bull script.
I want to write a scan with the close of the candle being in its top area. The top 1/3 of the candle
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