JJJJJJ11111
Member
Hi , anyone can help me finish the code on the watchlist column.
So i'm assuming if a stock intraday high is 4% higher than open, it's likely to trend up higher.
and if stock low is 4% lower than open it's likely to trend lower.
How i make a scan on my watch list to
wants to do something like the column
produce 3 scenarios of
1. trend up if trendup > threshold
2. trend down if trenddn>threshold
3. NA if stock did not meet threshold, meaning the price is within 4% move.
thank u
So i'm assuming if a stock intraday high is 4% higher than open, it's likely to trend up higher.
and if stock low is 4% lower than open it's likely to trend lower.
How i make a scan on my watch list to
Code:
input threshold = 4;
def trendup = ((high - open)/open)*100 ;
def trenddn = ((open-low)/low)*100 ;
wants to do something like the column
produce 3 scenarios of
1. trend up if trendup > threshold
2. trend down if trenddn>threshold
3. NA if stock did not meet threshold, meaning the price is within 4% move.
thank u