Looking for help transcoding PRT indicator to Pine

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #167189 quote
    LMBRGTSLMBRGTS
    Participant
    New

    I would like to be able to use this PRT programmed indicator on Tradingview for analyzing cycles in crypto. I’ve tried to figure it out myself by studying other Pine-codes but I just haven’t been able to ‘crack the code’. Can anyone help me transcode it?

    slw=3
    pds=10
    pds2=5
    
    divi=highest[pds](high)-lowest[pds](low)
    a=exponentialaverage[slw]((close-lowest[pds](low))/divi)*100
    divi2=highest[pds](a)-lowest[pds](a)
    dss=exponentialaverage[slw]((a-lowest[pds](a))/divi2)*100
    
    divik=highest[pds2](high)-lowest[pds2](low)
    a2=exponentialaverage[slw]((close-lowest[pds2](low))/divik)*100
    divi2k=highest[pds2](a2)-lowest[pds2](a2)
    dsk=exponentialaverage[slw]((a2-lowest[pds2](a2))/divi2k)*100
    
    return dsk,dss,20,80
    #167192 quote
    JC_BywanJC_Bywan
    Moderator
    Master

    Hi, free code translation on the forum is only into PRT. For translating from PRT into another language, you may find assistance in the “trading programme services” section in the help menu above, direct link: https://www.prorealcode.com/trading-programming-services/

    LMBRGTS thanked this post
Viewing 2 posts - 1 through 2 (of 2 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

Looking for help transcoding PRT indicator to Pine


ProBuilder: Indicators & Custom Tools

New Reply
Author
author-avatar
LMBRGTS @lmbrgts Participant
Summary

This topic contains 1 reply,
has 2 voices, and was last updated by JC_BywanJC_Bywan
5 years, 5 months ago.

Topic Details
Forum: ProBuilder: Indicators & Custom Tools
Language: English
Started: 04/15/2021
Status: Active
Attachments: No files
ProRealCode ProRealCode
Loading...