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
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/