oakland NJ
Posts: 18 since May 2017
Thanks Given: 1
Thanks Received: 8
|
I want to get the price range 10 days before the earning. I wrote the code to get the highest closing price within those 10 days, but kept getting "value never assigned to hi". how can I fix it?
def hi;
if HasEarnings() {
hi = Highest(close, 10);
} else {
}
|