New Zealand
Posts: 2 since Dec 2020
Thanks Given: 0
Thanks Received: 0
|
#13 (permalink) bookmark_borderreport
givemethenews99 givemethenews99 is online now
New Zealand
Posts: 1 since Dec 2020
Thanks: 0 given, 0 received
Hi
I am new to this forum.
I am using this script to locate candles 15 cent or greater in size with volume over 100 shares per minute.
input cents = 15;
input volpermin=100;
def green = close > open;
def today = GetDay() == GetLastDay();
def count = if green and today and high - low >= (cents / 100) then count[1] + 1 else count[1];
def con= green and today and high - low >= (cents / 100) and volume>=volpermin;
plot scan=con[1] or con;
It does not correctly capture all candles of 15 cents in premarket scans.
How would you rewrite this using the bodyheight command identitfying candles of 15 cents or more?
Cheers
|