HEIKIN-ASHI SMOOTHED CANDLE

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #15292 quote
    HenryHenry
    Participant
    Average

    Qui di seguito una domanda inviata a ProRealTime :

    E’ POSSIBILE OTTENERE L”INDICATORE HEIKIN-ASHI SMOOTHED CON CANDELE , ANZICHE’ CON LE LINEE ?  GRAZIE

    E un esempio di risposta :

    Indicatore utilizzabile soltanto su ProRealTime 10.3

    SmoothPeriod=2
    
    xClose = (open+high+low+close)/4
    IF BarIndex=0 THEN
    xOpen = open
    xHigh = high
    xLow = low
    ELSE
    xOpen = (xOpen[1] + xClose[1])/2
    xHigh = Max(Max(high, xOpen), xClose)
    xLow = Min(Min(low, xOpen), xClose)
    ENDIF
    
    AvOpen=Average[SmoothPeriod](xOpen)
    AvHigh=Average[SmoothPeriod](xHigh)
    AvLow=Average[SmoothPeriod](xLow)
    Avclose=Average[SmoothPeriod](xClose)
    
    DRAWCANDLE(AvOpen, AvHigh, AvLow, AvClose)
    
    return
Viewing 1 post (of 1 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

HEIKIN-ASHI SMOOTHED CANDLE


ProBuilder: Indicatori & Strumenti Personalizzati

New Reply
Author
author-avatar
Henry @henry Participant
Summary

This topic contains 1 voice and has 0 replies.

Topic Details
Forum: ProBuilder: Indicatori & Strumenti Personalizzati
Language: Italian
Started: 10/21/2016
Status: Active
Attachments: No files
ProRealCode ProRealCode
Loading...