indicator AVERAGE SELECTOR

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #200152 quote
    grantmu
    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
    robertogozzi
    Moderator
    Master

    Use

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

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

    #200159 quote
    grantmu
    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.

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 grantmu
3 years, 5 months ago.

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