I want to have nicolas' BB MACD CCT indicator converted to Easylanguage.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #118903 quote
    hvite
    Participant
    New

    Hello, I have come across nicolas’ BB MACD CCT indicator and immediately it caught my attention.

    I having trouble converting nicolas’ BB MACD CCT indicator to Tradestation Easylanguage.

    Thank you nicolas for sharing this great indicator.

    The prorealcode script is as follows…

     

    ——————————————————————————————————————————————————–
    //PRC_BB MACD CCT | indicator
    //16.10.2017
    //Sharing ProRealTime knowledge
    //converted from MT4 version
    // — settings
    //FastLen = 38
    //SlowLen = 120
    //Length = 20
    //StDv = 1.1
    // — end of settings
    bbMacd = average[FastLen,1]average[SlowLen,1]
    avg = average[Length,1](bbMacd)
    sDev = std[Length](bbMacd)
    UpperBand = avg+(StDv*sDev)
    LowerBand = avg(StDv*sDev)
    if bbMacd>bbMacd[1] then
    r=0
    b=205
    else
    r=255
    b=0
    endif
    drawtext(“●”,barindex,bbMacd,Dialog,Bold,10) coloured(r,0,b)
    return UpperBand coloured(0,0,205) style(line), LowerBand coloured(255,0,0) style (line)

     

    It would be greatly appreciated if brilliant minds could help me out.

    Thanks in advance.

    Best regards

    JS

    BB-MACD-CCT.png BB-MACD-CCT.png
    #118915 quote
    robertogozzi
    Moderator
    Master

    This forum is dedicated to the ProRealTime platform only.

    For other platforms please use the paid services at https://www.prorealcode.com/trading-programming-services/.

    #118951 quote
    hvite
    Participant
    New

    okay

    thank you for letting me know

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.

I want to have nicolas' BB MACD CCT indicator converted to Easylanguage.


ProBuilder: Indicators & Custom Tools

New Reply
Author
author-avatar
hvite @hvite Participant
Summary

This topic contains 2 replies,
has 2 voices, and was last updated by hvite
6 years ago.

Topic Details
Forum: ProBuilder: Indicators & Custom Tools
Language: English
Started: 02/07/2020
Status: Active
Attachments: 1 files
Logo Logo
Loading...