understand code line about weighed average

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #107147 quote
    assiassi
    Participant
    Senior

    HI,

    First I must to THANK this web for the knowledge  and all the help that I got here, amazing people!!

    I am new to metatrader, I work in NT, and I have  question-

    I see this code line in few codes and I don’t fully understand what it mean: weightedaverage[15](ABS(close-open)[1])

    Is someone willing to explain or code it in NT (the last will help a lot because the are more code lines like this).

     

    THANKS!!

    assi

    #107149 quote
    NicolasNicolas
    Keymaster
    Legend

    Ok but we don’t provide assistance for Ninjatrader programming.

    The instruction you are referring to is simply a linear weighted average calculate upon 15 periods on the previous absolute value of a candlestick body.

    #107183 quote
    assiassi
    Participant
    Senior

    Hi NICOLAS and appreciate the help.

    I didn’t mean to code it to NT but if I see how it will be written  in NT I could understand other code line that built like that.

    Thanks for all the help!!!

    assi

    #107184 quote
    NicolasNicolas
    Keymaster
    Legend

    BTW we don’t support metatrader programming too 🙂 Every code around the website is related to ProRealTime trading platform: https://www.prorealtime.com

    #107613 quote
    assiassi
    Participant
    Senior

    Nicolas, I understand my mistake.

    Your web is the interesting web I read. thanks for all the help and knowledge.

     

    assi

Viewing 5 posts - 1 through 5 (of 5 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

understand code line about weighed average


ProBuilder: Indicators & Custom Tools

New Reply
Author
author-avatar
assi @assi Participant
Summary

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

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