Moving average code calculated over volume bars

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

    Hello,

    I am looking for a code that calculates a moving average over volume bars. I need it in code so that I can use it in an indicator. If I plot over the volume bars a normal moving average from the library, I am unable to work it into a trading set up. For example I would like to build an indicator that says: green bar with volume above the 10 period moving average. (average over volume bars)

    Can someone help me out?

    Best regards and thanks in advance,

    Andre

    #79679 quote
    robertogozzirobertogozzi
    Moderator
    Legend
    MyAvg = average[10,0](volume)
    IF Volume > MyAvg THEN.....
    #79681 quote
    MertMert
    Participant
    Average

    Roberto,  Thanks a lot.

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

Stuck on this ProBuilder code?

Describe what this topic is trying to build, in plain English, and ProRealAI writes the ProRealTime™ indicator, screener or system for you.

Available in 7 languages
Try ProRealAI

Moving average code calculated over volume bars


ProBuilder: Indicators & Custom Tools

New Reply
Author
author-avatar
Mert @mert Participant
Summary

This topic contains 2 replies,
has 2 voices, and was last updated by MertMert
8 years, 1 month ago.

Topic Details
Forum: ProBuilder: Indicators & Custom Tools
Language: English
Started: 09/03/2018
Status: Active
Attachments: No files
ProRealCode ProRealCode
Loading...