Indicators: VWAP - Volume Weighted Average Price - page 4

[Deleted]
52218016 #:

I downloaded the VWAP and copied to indicators folder of my MT5, but cannot find it under indicators to attach to chart. Do I need to pay for it befor I gain access?

Maybe later you will solve the problem) If the indicator is free you don't have to pay for it. 
52218016 #:

I downloaded the VWAP and copied to indicators folder of my MT5, but cannot find it under indicators to attach to chart. Do I need to pay for it befor I gain access?

Restart the terminal

Vladislav Boyko #:

Restart the terminal

As it turned out, restarting does not always help - my terminal just did not compile .mq5 files of new indicators despite several restarts. I opened the files (new .mq5 indicators) in Metaeditor, compiled them and after that they appeared in the terminal navigator.

Excellent! Many thanks for this indicator. I'm in the process of setting up MT5 to mirror my charts in cTrader and TradingView so was very pleased to find your indicator.
Hi. You have a bug in your code. When enabled levels 01 to 05 and you disable them again. They keep on showing those level lines. Even if you remove the indicator and re-attached it.

Quick fix:
int OnInit() 
  {
   PlotIndexSetInteger(3,PLOT_DRAW_TYPE,
                    Enable_Level_01 ? DRAW_LINE : DRAW_NONE);

   PlotIndexSetInteger(4,PLOT_DRAW_TYPE,
                    Enable_Level_02 ? DRAW_LINE : DRAW_NONE);
   
   PlotIndexSetInteger(5,PLOT_DRAW_TYPE,
                    Enable_Level_03 ? DRAW_LINE : DRAW_NONE);
  
  PlotIndexSetInteger(6,PLOT_DRAW_TYPE,
                    Enable_Level_04 ? DRAW_LINE : DRAW_NONE);

  PlotIndexSetInteger(7,PLOT_DRAW_TYPE,
                    Enable_Level_05 ? DRAW_LINE : DRAW_NONE);

Hope this help
Richard