v11 moving average syntax question

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

    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
    nonetheless
    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
    Vonasi
    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.

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 Vonasi
5 years, 2 months ago.

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