Dukascopy Support Board

Call VolumeWAP2 from strategy
Page 1 of 1

Author:  EBMMLuke [ Tue 17 Oct, 2023, 20:55 ]
Post subject:  Call VolumeWAP2 from strategy

Good evening.

How do I call the VWAP2 indicator from strategy and pass the parameter for a daily reset (default: 4h)?

Thanks for your help!

Cheers, Luke

Author:  EBMMLuke [ Wed 18 Oct, 2023, 21:03 ]
Post subject:  Re: Call VolumeWAP2 from strategy

Good evening

I did some extensive research in the forum and API docs.
Unfortunately, I couldn't find a solution to set the optional parameters, located on the advanced tab, from strategy. There is one option to change them via the IChartPanelAdd Method, but that doesn't help in my case.



I noticed that in earlier versions of the indicator call methods actually was the possibility to change those base periods, e.g. for pivot indicators. But those are all deprecated. Are there plans to add this functionality back as it is quite important in the case of VWAP and others as well?

Thanks for your help!

Cheers, Luke

  Page 1 of 1