New! WiseTrader Toolbox for Amibroker is now available with:
  • Advanced Adaptive Indicators
  • Advanced Pattern Exploration
  • Neural Networks
  • And Much More...
GoTo WiseTrader Toolbox

Contribute

Contribute an indicator to the library by clicking here. Note you must be logged in.

Sponsors

Popular Indicators

VWAP Bands v2 for Amibroker (AFL)

5 / 5 (Votes 5)

I took code that was already posted and improved on it at the poster’s request because it was “too slow”.

I made the following changes:

Code is now 10+ times faster per request.
Added a 3rd band.
Added a static line show prior period’s VWAP centerline
Added Weekly and Monthly period choices. Default is Daily
Included Multi-VWAP display from AB 5.50 — just Delete Study if you don’t want this.

I also note that the VWAP bands provided by AB do not seem to match up exactly with the VWAP indicator as programmed. I do not know enough about the indicator to say for sure, but the “peak” volume from Tomasz VWAP plot does not match up with the ending value of VWAP in this indicator and I should. This is because I think that the VWAP is the same as the Market Profile POC (point of control), but I don’t know for sure.

PS: It’s got a few _TRACE() statements in it that you can delete. They are just for problem solving.

Here is a screenshot of how the indicator looks:
Vwap_bands_v2

Similar Formulas

Formula

9 Comments

error in line 61

No errors at all.Thanks for this code.

syntax error@ln61&63

There are absolutely NO ERRORS in this code. You guys check your AmiBroker and update it please!!

//This code finds only the VISIBLE chart area, which may or may not be the most recent day. This let’s me look at any day for evaulation purposes. FirstVisibleBar = FirstVisibleValue( bi );

error synatax

6. mahmoud

could you help me to get that indicator > every time i try to get failed . what is the prosedure to get formula?

@mahmoud use the “Copy & Paste Friendly” link to get the formula.

8. amifan

Hello magicTH
Congratulation…Good work . Plotted perfectly…small request can you please add buy-sell signals
i.e
buy= price crossing stddev_1_pos , stddev_2_pos
sell = price crossing stddev_1_neg , stddev_2_neg

*sorry for trouble
Thank you

Nice Job. Thank you.

Please login here to leave a comment.

Main Menu

Indicators

Sponsors