TMA

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #10273 quote
    Carl
    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
    Nicolas
    Keymaster
    Master

    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.

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 Nicolas
9 years, 7 months ago.

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