TradingView
Noldo
13 สิงหา 2019 เวลา 16 นาฬิกา 1 นาที

Function StochRSI  

GoldOANDA

คำอธิบาย

Stochastic Relative Strength Index developed by Tushar Chande and Stanley Kroll.
This script has been written to eliminate the period variable.(Integer)
Thus, it can be used comfortably in adaptive period scripts ! (For example : Adaptive Moving Average , KAMA , FAMA .. etc. )
All efforts goes to ChaosTrader (tradingview.com/script/I6rPLr4c-StochRSI/) ,
RicardoSantos (tradingview.com/script/32ohT5SQ-Function-Highest-Lowest/) ,
Hpotter for barcolor codes (iff) (tradingview.com/script/8cuqB2BM-FSK-Fast-and-Slow-Kurtosis-Backtest/)

I hope it will help your new ideas . Best regards ! Noldo .

เอกสารเผยแพร่

Dear users, I made a big mistake. I have analyzed the Stochastic Oscillator function instead of StochRSI.This is the correct function. Also added alarms. Best regards !

เอกสารเผยแพร่

Added some values ​​for better observation.

เอกสารเผยแพร่

UPDATE :The rsi code pattern prepared by Tradingview is used. (Line 65 ) Because it is much more efficient where the period is less than 1.

เอกสารเผยแพร่

This is the most effective version than the others.

เอกสารเผยแพร่

This is to avoid distress if the variable average period drops to values ​​between 0 and 1. (RSI Functions )

เอกสารเผยแพร่

Update : Colors
ความคิดเห็น
BiO-618
Nice! Thanks ^^
Noldo
[Edit ]

For alerts :

alertcondition(possig ==1 , title='Buy Signal', message='Buy Signal ')
alertcondition(possig ==-1, title='Sell Signal', message='Sell Signal ')
เพิ่มเติม