TMA center channel bands

TMA center channel bands

Here is another channel upper and lower bands indicator, this one is made of a centered Triangular Moving Average with classic deviation from this mean, made of plus and minus ATR multiplicated value. Quiet popular in the forex trading community, it is the base of many more or less sophisticated strategy, do your homework with this one, you’ll find it is valuable for different market phase.

 

 

Share this

Risk disclosure:

No information on this site is investment advice or a solicitation to buy or sell any financial instrument. Past performance is not indicative of future results. Trading may expose you to risk of loss greater than your deposits and is only suitable for experienced investors who have sufficient financial means to bear such risk.

ProRealTime ITF files and other attachments : How to import ITF files into ProRealTime platform?

PRC is also on YouTube, subscribe to our channel for exclusive content and tutorials

  1. Ermitage • 02/13/2016 #

    Hello
    please have you got the opportunity to modify code in order to obtain a centered simple moving avarage? thanks

  2. Chicane23 • 02/13/2016 #

    Hi! Can you explain the ATR length and ATR half length? Should one of these nbit be the number of periods linked to TMA?

  3. Wolf • 02/13/2016 #

    Just for information:
    This calculate code is interesting, but it is not a Triangular Moving Average, but A Weighted Moving Average.
    Nowadays with new version of PRT
    So, to reduce the calculate time. It is possible to cancel from line 6 to 16 and change line 18 by:
    Buffer1 = WeightedAverage[HalfLength](close) or
    Buffer1 = average[HalfLength,2](close)
    Thanks

    • Dron • 02/13/2016 #

      Hola Lobo, soy nuevo en programación, pero me interesa ese indicador, en tu mensaje estas hablando en la modificación de código para adoptarlo a la nueva versión de prt, podrías colgar el código modificado competo please?

  4. supertiti • 02/13/2016 #

    // TMA CENTER Channel by Dave modifié
    // parameters
    // HalfLength = 50
    // AtrLength = 100
    // AtrMultiplier = 2.0 perso = 3.6
    // AtrLength1 = 100
    // AtrMultiplier1 = perso = 6.1

    avg = average[1](close)

    sum = (HalfLength+1)*avg
    sumw = (HalfLength+1)
    k = HalfLength

    for j = 1 to HalfLength do
    k = k-1
    sum = sum+(k*avg[j])
    sumw = sumw+k
    next

    buffer1 = sum/sumw

    myrange = AverageTrueRange[AtrLength](close)*AtrMultiplier

    buffer2 = buffer1+myrange
    buffer3 = buffer1-myrange
    ////////////////////////////////////////////////////////////
    myrange1 = AverageTrueRange[AtrLength1](close)*AtrMultiplier1
    buffer4 = buffer1+myrange1
    buffer5 = buffer1-myrange1
    ////////////////////////////////////////////////////////////
    RETURN buffer1 coloured(0,220,0) as “TMA”, buffer2 coloured(220,0,0) as “upper band”, buffer3 coloured(0,220,0) as “lower band”,buffer4 coloured(220,0,0) as “upper band1”, buffer5 coloured(0,220,0) as “lower band1”

avatar
Register or

Likes

avatar avatar avatar avatar avatar avatar avatar avatar avatar
Related users ' posts
kats Bonjour, J'ai une question etes vous trader? Je m'explique , j'ai téléchargé tous les indi...
kats BONSOIR c bon merci j ai trouve ce weekend merci de votre reponse cdlt
the_giorgio Hi, nice work I would like to understand something about prorealtime code. With your ...
Iván Hello. When you use the drawcandle() instruction then in the configuration window you add ...
jacquesgermain sì da aggiungere
Maik2404 auf welchen Wert muss ich die Kompresionsperiode stellen?
jacquesgermain — Période de compression : ce paramètre détermine la période de rétrospection utilisée pour ...
luxrun A question: what are the initial (or default) values ​​of maximum and minimum in the executi...
Quino
12 months ago
Alai-n I really like it when you develop ideas around price movement! I am much less a fan of all t...
elcortijoverde Muy buen trabajo.Intuitivo y claro.Gracias por tu dedicación y aportación.
Fabian Hi IV Mcm, have you drawn the rectangles (Dinamic, Range) by yourself in the chart or are...
IV Mcm Myself to illustrate ;)
Nicolas Ask on an Excel website?!
JJMR HOLA NICOLAS, TENGO LA ULTIMA VERSION ACTUALIZADA DEL INDICADOR TTM SQUEEZE PRO EN LA VERSIO...
imokdesign @nicolas ,if in want to "call" this indicator, which values i have to write down?
Nicolas How to import file page: in the help section of the website explains howto
kenssa import through the indicator page/window in the Proreal time
chicoteca Buenas, no consigo que se me muestre en el chart de DAX. ¿Cómo procedo? Gracias.-
Ludwig Bonjour Merci pour le code, je souhaite intégrer un break even et mette en place un réinves...
superfalcio hello, this strategy is pretty interesting, anyway on index after diferent suggestion and im...
Fralex Hello everyone I optimized the original “LongOnly-DAX-4H-TMA-Channel” algorithm over a pe...
Byggtrader Hi Nicolas! How do I get the indicator in the price chart? It only stays under i new chart.
Nicolas Just add it on the price chart by using the wrench on the left upper side of the chart (pric...
HeikinAshi https://www.prorealcode.com/topic/ssl-channel/
jobswaps oyes aste uno de soportes y recistencias
jobswaps eso lo necesitamos

Top