'Could not find function or function reference normalize
I'm trying to combine multiple indicators in one script in the Pine editor of Tradview. Therefore I need to change the scale of the volume histogram.
I think the function of normalize is not working in the version of Pine I'm using but I can't find anywhere if this function has changed name.
study("Stoch RSI Mom")
//RSI
plot(rsi(close, 14), color =red, title = "RSI")
//Stoch
plot(stoch(close, high, low, 14), color=orange, title = "Stoch")
//Momentum added 10 multiplier for scale
plot(mom(close, 10)*10, color =#2962FF, title="MOM")
//Volume
plot(normalize(volume, -100, 100), style=histogram, linewidth = 4, color=orange, transp=50)
The error message I'm getting:
Add to Chart operation failed, reason: Could not find function or function reference normalize
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
