DEMA without brackets [N]

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #265154 quote
    Tito Peronni
    Participant
    Junior

    Hello,


    I have a question about a script I found where DEMA doesn’t have brackets but does have parentheses. What default value does N take then (in the definition of DEMA I haven’t found anything about it)?


    Thanks in advance!

    #265157 quote
    JS
    Participant
    Master

    Hi Tito Peronni,

    It may be that DEMA is written with parentheses in other languages (TradingView), but in ProRealCode the period N is always specified in square brackets…DEMA[N](price)

    In ProRealCode, square brackets always refer to the bar index, and N here represents the period, i.e. the number of bars…

    N is a variable integer period greater than 0 (there is no default period)…

    Iván González thanked this post
Viewing 2 posts - 1 through 2 (of 2 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

DEMA without brackets [N]


ProBuilder: Indicators & Custom Tools

New Reply
Author
Summary

This topic contains 1 reply,
has 2 voices, and was last updated by JS
6 hours, 20 minutes ago.

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