TMA

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #10273 quote
    CarlCarl
    Participant
    Average

    Ci-dessous une demande qui a été envoyée à ProRealTime :

    Bonjour

    Pourriez vous etre assez aimable de me confectionner l’indicateur TMA de telle facon que je puisse parametrer
    – Half Lengh
    – ATR Multiplier
    – ATR Period
    En vous remerciant

    Et une proposition de réponse :

    Once period = 28
    Once atrMultiplier = 2.0
    Once atrPeriod = 200
    
    avg = Average[period](Close)
    tma = Average[period](avg)
    
    delta = atrMultiplier*AverageTrueRange[atrPeriod](Close)
    upperBand = tma + delta
    lowerBand = tma - delta
    
    
    Return tma Coloured (50,205,50) as "TMA", upperBand Coloured (205,50,50) as "TMA Upper Band", lowerBand Coloured (50,50,205) as "TMA Lower Band"
    #10276 quote
    NicolasNicolas
    Keymaster
    Legend

    Merci Carl,

    J’ai aussi trouvé cette version partagé dans la Library :

    http://www.prorealcode.com/prorealtime-indicators/tma-center-channel-bands/

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

TMA


ProBuilder : Indicateurs & Outils Personnalisés

New Reply
Author
author-avatar
Carl @carl Participant
Summary

This topic contains 1 reply,
has 2 voices, and was last updated by NicolasNicolas
10 years, 2 months ago.

Topic Details
Forum: ProBuilder : Indicateurs & Outils Personnalisés
Language: French
Started: 07/06/2016
Status: Active
Attachments: No files
ProRealCode ProRealCode
Loading...