Close of candle |
Post Reply |
Author | |
jalna
Regular Joined: 31 Mar 2007 Posts: 95 |
Post Options
Quote Reply
Topic: Close of candle 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 |
|
maximo
BullCharts Guru Joined: 02 Sep 2006 Location: Australia Posts: 232 |
Post Options Quote Reply 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 |
|
jalna
Regular Joined: 31 Mar 2007 Posts: 95 |
Post Options Quote Reply Posted: 10 Dec 2010 at 5:08pm |
Many thanks Maximo. Thats perfect
What would we do without you? |
|
maximo
BullCharts Guru Joined: 02 Sep 2006 Location: Australia Posts: 232 |
Post Options Quote Reply 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 |
|
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 |