indicator AVERAGE SELECTOR

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #200152 quote
    grantmugrantmu
    Participant
    New

    Hi

    How to i write the code to allow for different types of moving average to be selected as well as different types on close.

    so

    ave = “Average type” [p1] (close type)

    and do i have to change anything on the variables type to make this work.

     

    Grant

    #200155 quote
    robertogozzirobertogozzi
    Moderator
    Legend

    Use

    Average[Periods,Type](close)   //or HIGH, LOW, RSI.... instead of CLOSE

    available types at https://www.prorealcode.com/documentation/average/

    #200159 quote
    grantmugrantmu
    Participant
    New

    Hi

    I have been looking for that for a week and somehow did not find that page.

     

    Thanks a million for the help much appreciated.

     

    Grant

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

indicator AVERAGE SELECTOR


ProBuilder: Indicators & Custom Tools

New Reply
Author
author-avatar
grantmu @grantmu Participant
Summary

This topic contains 2 replies,
has 2 voices, and was last updated by grantmugrantmu
4 years ago.

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