Heikin-Ashi candle smoothed

v10.3
Heikin-Ashi candle smoothed

You can use this indicators in different ways

  • Moving Average
  • Range area
  • Filtered area of market movement

You can set :

  • Average period of candle=HeikinPeriod
  • Average Type (simple,exponential,triangular, etc) = AverageType
  • Average period of impression channel (Highest/Lowest) = ChannelPeriod
  • Transparency of the candle =Transparency

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. T-rader • 06/30/2018 #

    I only get yellow candles. Can I change it?

    • ALE • 06/30/2018 #

      Please write any questions in this Topic “Heikin-Ashi candle smoothed TOPIC”

    • ALE • 06/30/2018 #

      T-rader Have you already find a solution?

  2. RAAAMMY • 06/30/2018 #

    Is it possible to set an audio alarm when colour of candle changes?

  3. cv • 06/30/2018 #

    Hi All,
    My coding knowledge is very poor, and I would really appreciate some help adding this indicator. I get the following message when I try to add the indicator –
    Syntax error:
    The following variable is undefined: heikinperiod
    The following variable is undefined: averagetype
    The following variable is undefined: channelperiod
    The following variable is undefined: transparency

    Could someone please help me to fix this error?

    Thank you
    Corinne

    • Nicolas • 06/30/2018 #

      Download the .itf file and import it into your platform. Or remove all the // before the name of the missing variables in the code.

  4. cv • 06/30/2018 #

    Thank you very much for your help Nicolas.

  5. cv • 06/30/2018 #

    I noticed T-Radar mentioned that all his candles are yellow, mine are too. Is there anything I can do to change that ?
    Thank you
    Corinne

  6. ALE • 06/30/2018 #

    Hello CV,
    The color of the candles depends on the values, if you try the indicator on the indexes you will see what colors will be correct.

  7. cv • 06/30/2018 #

    Thank you Ale.

  8. vanheckealain • 06/30/2018 #

    to remove color, just edit the code and comment to color selection
    //Colour Setting
    //MyDi = xxclose-xxclose[1]
    //r=50+(200-MyDi*100)
    //g=50+(200+MyDi*100)
    //b=50+(0+MyDi*30)

    and remove:
    Coloured (R,G,b,MAX(50,Transparency*10))

    from your code.

  9. cv • 06/30/2018 #

    Hi all,
    Still seeking help with this indicator. I love using it but my candles are all yellow, and I do not know how to change them to display as red and green. I have tried the suggestions above, but they haven’t solved the issue. The code I am using is:
    //@PROREALCODE

    IF BarIndex=0 THEN
    xClose = (open+high+low+close)/4
    xOpen = open
    xHigh = high
    xLow = low
    ELSE
    xClose = (open+high+low+close)/4
    xOpen = (xOpen[1]+xClose[1])/2
    xHigh = Max(max(high, xOpen), xClose)
    xLow = Min(min(Low, xOpen), xClose)
    endif
    //Smoothed Heikin-Ashi
    xxclose=Average[max (1,HeikinPeriod),AverageType](xclose)
    xxOpen = Average[max (1,HeikinPeriod),AverageType](xOpen)
    xxHigh = Average[max (1,HeikinPeriod),AverageType](xHigh)
    xxLow = Average[max (1,HeikinPeriod),AverageType](xLow)

    //Colour Setting
    MyDi = xxclose-xxclose[1]
    r=50+(200-MyDi*100)
    g=50+(200+MyDi*100)
    b=50+(0+MyDi*30)
    //Build channel with Highest and Lowest of Heikin-Ashi smoothed candle
    DRAWCANDLE(xxOpen, highest[max(1, ChannelPeriod)](xxHigh), lowest[max(1, ChannelPeriod)](xxlow), xxClose) Coloured (R,G,b,MAX(50,Transparency*10))

    I would really appreciate some help with this.
    Thank you

    Return

    • ALE • 06/30/2018 #

      Let me know which colours of candle do you wants
      Thanks
      Ale

  10. cv • 06/30/2018 #

    Hi Ale,

    Thank you for getting back to me. I would like the standard green for up and red for down.
    Kind regards,
    Corinne

    • ALE • 06/30/2018 #

      Hello Corinne
      I’ve updated code, you will find it in the following topic: Heikin-Ashi candle smoothed
      Kind Regards
      Ale

    • Nicolas • 06/30/2018 #

      I added the new ITF file in this page too (heikin ashi smoothed with colors)

  11. ALE • 06/30/2018 #

    Thanks Nicolas!

  12. cv • 06/30/2018 #

    Thank you very much Nicolas and Ale,

avatar
Register or

Likes

avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar
Related users ' posts
Doddge Hola Iván, ¿sería posible crear un screener que indique cuándo las velas coloreadas del indi...
RTR Ivan thank you for the pro-screener. I a trying to understand how to write the signals from ...
Iván Hi, Lines 62 and 63. These lines define buy and sell conditions.
gidien
10 months ago
Cram13 Bonjour, qu'elles sont les valeurs des variables ? Avec mes remerciements Marc
gidien This indicator will not return any value. You can change the last line to : return ao...
gidien SMA1 = MovingAverage Length applied to the source candles (high , low, op...
Bateson
12 months ago
FXtonio Nicolas.... MERCI 1 millions de fois, cet indicateur gagne dans 75% des cas en scalping m1 ...
davy42 bonjour, à quel moment apparait le fleche, à l'ouverture ou la fermeture de la bougie? merci
Freezer Bonjour, est-il possible d'ajouter une alarme sonore sur PRT à l'apparition des flèches ? Br...
BriceE Bonjour Nicolas, Je suis a la recherche d'indicateurs pour me donner la meilleure indicatio...
IV Mcm Good job !
IV Mcm Vous devez faire un clic droit sur le prix > propriété > ajouter indicateur Si vous...
punch1 Fonctionne pas chez moi il s'affiche rien pourtant j'ai bien fait le clic droit sur le prix ...
punch1 Je peux te faire un screen d'ecran si tu as un email :)
Fabian Hi Thomas, thanks for your explanations. Which indicator do you use in the screenshot ...
Thomas Thats On Balance Volume and Bollinger or SMA or what you want. It shows me the volume flow. ...
bertrandpinoy @MAKSIDE I would be grateful if you send me your version. have a nice day
imran Hi I have been trying to test a strategy to buy and sell based on the indicator cross overs...
Zigo I'am sorry that I answer so late, but the code seems to be working perfect. I use the indica...
oliverkeim Hi, also here not working. Only white lines.
killerplatuze Dont work anymore with the current version?
KryptoKat tolle Arbeit, professionell
Maik2404 wie kann ich den Code bekommen Paul?
jens_kittner Works with US Crude at 1h as well!
Jean-Claude REGIS Je préconise de regarder les graphiques H1 et M15 pour visualiser la tendance de fond et d'...
Nicolas Thanks for create a specific thread in the forum in order to handle your coding query. I see...
Victor.Strand Thanks Nicolas, I didnt know there was a multitimeframe support now... I will check it. This...
Nicolas to return a value of a Close of timeframe 1-hour, for instance : TIMEFRAME(1 hour) c = close...
Domenec Hola Nicolas todo y el suavizado es como el awesome da ala señal 3 velas atrasada a veces de...
Lednora Bonjour à tous, Merci pour ce superbe indicateur! Est-il possible de rajouter une alerte su...
Arnaud HALVICK Hello! Very nice screener. Thank you! I am using it to scan stocks (weekly). It is very good.
odin you welcome. i would be glad when the screener is nice for you
HeikinAshi what do you think about using the screener in smaller time units (H1, M30) on indexes? And w...
mcha Bonjour Nicolas J'ai mis cet indicateur sur une période graphique 1 heure. J'ai choisi 1...
marzibre Bonjour Nicolas. I work mainly on Daily timeframe. I was looking something similar but usi...
TraderGlyn This is an excellent indicator, it provides a hugely useful visual interpretation that filte...
Nicolas Formule de l'indicateur Momentum: Le Momentum se calcule avec une simple soustraction pour ...
Roberto1 Hi, can this code be converted for the Nanotrader Platform or for the MT4 Platform?
Nicolas This website is dedicated for PRT programming, but you can still ask for private coding with...
rafadonl2 is not taken into account in the procedure. It considers only if it is a doji or when candle...
Guibourse Okay thanks, just a question : how do you plot your two lines in the same window as price ? ...
rafadonl2 sorry, I don't understand your question. Indicator draws Heikin Ashi candle, not price cand...

Top