Referencing VWAP study

Mindflux

New member
As you know you can plot and reference other studies in thinkscript.

EG:

Code:
plot AvgExpShort = MovAvgExponential(length = emaShort, price = price, displace = displace);

However...

Code:
plot VWAPplot = VWAP(-2.0,2.0,"DAY");
does not work. I think it's because the Study "VWAP" and the function "vwap" collide here. Copying the VWAP study to "VWAP_STUDY" doesn't fix it either, I cannot seemingly reference a custom study?


Is there a way I can reference the VWAP study so I can add it to my own custom study or am I stuck because of the poor naming convention on TOS' part?
 

Mindflux

New member
yeah it does not. The editor throws an “expected class” error.

CwoEkVj.png
 

Similar threads

Top