calling VWAP study

Custom indicators, trading strategies, data export and recording and more...
SuperDriveGuy
Posts: 67
Joined: Thu Nov 01, 2018 1:50 pm
Has thanked: 38 times
Been thanked: 9 times

calling VWAP study

Post by SuperDriveGuy » Wed May 22, 2019 2:11 pm

Hi,
  Is there any way to call the builtin study called VWAP, within one's own indicator?

   e.g. if I wanted to plot the std deviation bands around the VWAP.
Thanks
 
Attachments
SharedScreenshot.jpg
SharedScreenshot.jpg (72.07 KiB) Viewed 2228 times

AndreyR
Posts: 145
Joined: Mon Jul 09, 2018 11:18 am
Has thanked: 9 times
Been thanked: 37 times

Re: calling VWAP study

Post by AndreyR » Fri May 24, 2019 9:09 am

Hi SuperDriveGuy,
there's no way to do it. But what you can do is to make your own VWAP but, again, it will work for the live data only.

SuperDriveGuy
Posts: 67
Joined: Thu Nov 01, 2018 1:50 pm
Has thanked: 38 times
Been thanked: 9 times

Re: calling VWAP study

Post by SuperDriveGuy » Fri May 24, 2019 2:28 pm

Hi AndreyR,
  I have code for the VWAP as(from another software) ..
(VOL()[0] * ((High[0] + Low[0] + Close[0]) / 3));

and I also have access to the demo indicators
MovingAveragePrice
MovingVWAP


any hints on how to go about creating a very simple VWAP indicator which resets every 30 min? like in the screenshot where I can set up the built in VWAP to reset every 30 mins. The built in one is very flexible, but I don't need all its functionality, just to be able to reset every 30 mins

Thanks

 
Attachments
SharedScreenshot.jpg
SharedScreenshot.jpg (35.39 KiB) Viewed 2216 times

AndreyR
Posts: 145
Joined: Mon Jul 09, 2018 11:18 am
Has thanked: 9 times
Been thanked: 37 times

Re: calling VWAP study

Post by AndreyR » Mon May 27, 2019 11:01 am

Hi SuperDriveGuy, 
You might want to take a look at simplified strategies
https://github.com/BookmapAPI/DemoStrat ... ified/demo
and TimeListener interface.

sjegorov
Posts: 1
Joined: Thu Jun 13, 2019 1:04 pm

Re: calling VWAP study

Post by sjegorov » Thu Jun 13, 2019 1:07 pm

Andrey,
have you found a way to add these vwap bands to bookmap finally?
i am interesed as well

AndreyR
Posts: 145
Joined: Mon Jul 09, 2018 11:18 am
Has thanked: 9 times
Been thanked: 37 times

Re: calling VWAP study

Post by AndreyR » Fri Jun 14, 2019 7:47 am

Hi sjegorov,
take a look at this topic.

Post Reply