updated SwapOrderStatus with Andrew's changes
This commit is contained in:
@@ -387,7 +387,7 @@ function chartMeanRange() {
|
||||
for (let barIndex = bars.size() - 1; barIndex >= final; barIndex--) {
|
||||
count++
|
||||
const [_time, _open, high, low, _close, _volume, _ms] = bars.valueAt(barIndex)
|
||||
range += (high - low)
|
||||
range += Math.abs(high - low)
|
||||
}
|
||||
if (count > 0)
|
||||
range /= count
|
||||
|
||||
Reference in New Issue
Block a user