OmniTrader Forum OmniTrader Forum
forums calendars search
today this week
 
register logon control panel Forum Rules
You are currently browsing as a guest.
You should logon to access more features
A Self-Moderated Community - ALL MEMBERS, PLEASE READ!
Vote for Members who contribute the most to your trading, and help us moderate content within the Forums.


This message cannot be deleted. It is the first message of the thread.
Administrators or moderators may choose to delete the entire thread


 
Rean

Veteran
100
Posts: 105

Joined: 8/30/2013
Location: Johannesburg, South Africa

User Profile
 
Subject : Volume Weighted Moving Average
Posted : 9/11/2023 9:34 AM
Post #48858

May I ask for help to code the VWMA(34) indicator via the Quick Indicator?

I run RT, I don't have OT Pro.

This site has more information about the indicator and how it's calculated.:

https://www.tradingsetupsreview.com/volume-weighted-moving-average-vwma/


This is what I have tried myself:

#Indicator

Dim fValue As Single

fValue = (average-close(34) * average-volume(34)) / average-volume(34)
PlotPrice("Value", fValue)

Return fValue
Deleting message 48858 : Volume Weighted Moving Average


Nirvana Systems
For any problems or issues please contact our Webmaster at webmaster@nirvsys.com.