Convert a ProRealTime indicator to Pine Script for TradingView
Bajet $10-30 USD
- Freelancer
- Kerja
- Pengaturcaraan
- Convert a ProRealTime indicator to Pine Script for TradingView
Hi,
I need this Prorealcode to be converted into Pine Script for TradingView. Thanks.
//------ CODE ----
// parameters
// myPeriod = 21
// Adaptive = 1 //boolean
once f = 0
once g = 0
if barindex>myPeriod then
//adaptive period
averagePeriod = myPeriod
if adaptive=1 and averagePeriod > 1 then
price = medianprice
minPeriod = round(averagePeriod/2.0)
maxPeriod = minPeriod*5.0
endPeriod = round(maxPeriod)
signal = Abs((price-stored[endPeriod]))
noise = 0.00000000001
for k=1 to endPeriod do
noise=noise+Abs(price-stored[k])
averagePeriod = round(((signal/noise)*(maxPeriod-minPeriod))+minPeriod)
next
endif
stored=price
averageperiod=max(averageperiod,2)
myHigh = Highest[abs(averagePeriod)](high)
myLow = Lowest[abs(averagePeriod)](Low)
mean = (High + Low) / 2.0
myVAR1 = 0.66 * ((mean - myLow) / (myHigh - myLow) - 0.5) + 0.67 * f
myVAR1 = Min(Max(myVAR1, -0.999), 0.999)
fxhilo = Log((myVAR1 + 1.0) / (1 - myVAR1)) / 2.0 + g / 2.0 //main line
f = myVAR1
g = fxhilo
if fxhilo>fxhilo[1] and fxhilo>0 then
plusone = fxhilo
plustwo = 0
minusone = 0
minustwo = 0
elsif fxhilo<fxhilo[1] and fxhilo>0 then
plusone = 0
plustwo = fxhilo
minusone = 0
minustwo = 0
elsif fxhilo>fxhilo[1] and fxhilo<0 then
plusone = 0
plustwo = 0
minusone = fxhilo
minustwo =0
elsif fxhilo<fxhilo[1] and fxhilo<0 then
plusone = 0
plustwo = 0
minusone = 0
minustwo = fxhilo
endif
endif
RETURN plusone coloured(0,255,0), plustwo coloured(0,155,0), minusone coloured(150,0,0), minustwo coloured(255,0,0), 0 as "0 level"
Dianugerahkan kepada:
I can help you to modify this code for sure, lets connect to discuss more. your wish will be fulfilled thank you
10 pekerja bebas membida secara purata $180 untuk pekerjaan ini
Hello there, I have read your project details and I can confidently say that based on my rich experience as a seasoned and expert software developer who has successfully created highly efficient trading BOTs for numero Lagi
hi..................................................................................................
hello if we can discuss your code in details i can convert that code into pine no problem ....lets have a discussion and get the work done
I have gone through your requirements work can be done so let’s have chat and we will discuss all details then I will Start work immediately .
Hi, there Please check my profile. I am very familiar with ProRealtime and Tradingview pine. I will provide perfect results for you. Please contact me. Thanks.
Hello, I can do it for 300$ as it needs some time to do. Please feel free to message me if you are interested. Best regards,