v11 moving average syntax question

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #154198 quote
    nonethelessnonetheless
    Participant
    Master

    When writing moving average as

    average[p,t](close)

    does anyone know how many t values there are in v11 and what they represent? I did a search in the manual but couldn’t find an answer.

    #154200 quote
    robertogozzirobertogozzi
    Moderator
    Legend

    https://www.prorealcode.com/documentation/average/

    0 = SMA

    1 = EMA

    2 = WMA

    3 = Wilder

    4 = Triangular

    5 = End point

    6 = Time series

    7 = Hull (PRT v11 only)

    8 = ZeroLag (PRT v11 only)

    #154208 quote
    nonethelessnonetheless
    Participant
    Master

    Thanks Roberto, that is what I had assumed. In the list of pre-defined MA there’s also Adaptive, DEMA, TEMA etc and I wasn’t sure if they had corresponding numbers that could be specified in that way.

    #154219 quote
    VonasiVonasi
    Moderator
    Master

    Average

    nonetheless thanked this post
Viewing 4 posts - 1 through 4 (of 4 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

v11 moving average syntax question


ProOrder: Automated Strategies & Backtesting

New Reply
Author
Summary

This topic contains 3 replies,
has 3 voices, and was last updated by VonasiVonasi
5 years, 9 months ago.

Topic Details
Forum: ProOrder: Automated Strategies & Backtesting
Language: English
Started: 12/17/2020
Status: Active
Attachments: No files
ProRealCode ProRealCode
Loading...