small change in market value
This commit is contained in:
@@ -76,6 +76,8 @@ function public.market_value(item_key)
|
||||
|
||||
if day_count == 0 then
|
||||
return daily_market_value
|
||||
elseif correlation < (trend < 1 and trend or 1 / trend) then -- history of bad predictions
|
||||
return EMA7
|
||||
else
|
||||
return EMA7 * trend
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user