Inheriting from VWAP study

gambcl

Member
Joined
Jul 4, 2025
Posts
12
Likes
6
I'm a Java newb, I have made a few simple studies for MotiveWave that all extended the base Study class, but now I am trying to build a study that inherits from the built-in VWAP study.

When I create my study in IntelliJ, for some reason the IDE isn't recognising the VWAP class name. Usually it would prompt me to add the required import and I would be up & running, but not in this case.

Do I need to add another .jar file or something like that?

I have seen a few posts from people also extending the VWAP study, how did you folks do it?

Thanks in advance,

Charlie
 
@pandalover and @Spin would either of you have any advice on this? I saw you both on a previous thread related to inheriting from VWAP.

Am I barking up the wrong tree by trying to inherit directly from the built-in VWAP, or do I have to just copy the sample VWAP code into my study and inherit from that? Just trying to follow best practices where possible.

Thanks for any insight.

Charlie
 
Top