Daily VWAP time zine

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #236422 quote
    efahmy
    Participant
    Average

    Could you please, help in how to adjust the daily VWAP to the Australian time zone

    #236426 quote
    robertogozzi
    Moderator
    Master

    This is the classic VWAP indicator:

    if day <> day[1] then
       d = 0
    else
       d = d + 1
       if volume > 0 then
          VWAP = SUMMATION[d](volume * typicalprice) / SUMMATION[d](volume)
       endif
    endif
    RETURN VWAP as "VWAP"

    simply replace line 1 by:

    if Time = HHMMSS then

    where HHMMSS is a 6-digit number formed by using 2 digits for the hour + 2 digits for the minute + 2 digits for the second (usually 00, unless you use seconds as TF). This is the time you choose to reset VWAP daily.

    #236427 quote
    efahmy
    Participant
    Average

    Many thanks mate

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.

Daily VWAP time zine


Platform Support: Charts, Data & Broker Setup

New Reply
Author
author-avatar
efahmy @efahmy Participant
Summary

This topic contains 2 replies,
has 2 voices, and was last updated by efahmy
1 year, 6 months ago.

Topic Details
Forum: Platform Support: Charts, Data & Broker Setup
Language: English
Started: 08/16/2024
Status: Active
Attachments: No files
Logo Logo
Loading...