Gamestudio Links
Zorro Links
Newest Posts
Data from CSV not parsed correctly
by EternallyCurious. 04/18/24 10:45
StartWeek not working as it should
by Zheka. 04/18/24 10:11
folder management functions
by VoroneTZ. 04/17/24 06:52
lookback setting performance issue
by 7th_zorro. 04/16/24 03:08
zorro 64bit command line support
by 7th_zorro. 04/15/24 09:36
Zorro FIX plugin - Experimental
by flink. 04/14/24 07:48
Zorro FIX plugin - Experimental
by flink. 04/14/24 07:46
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
1 registered members (AndrewAMD), 552 guests, and 1 spider.
Key: Admin, Global Mod, Mod
Newest Members
EternallyCurious, 11honza11, ccorrea, sakolin, rajesh7827
19046 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
StochRSI output #485158
01/29/22 19:20
01/29/22 19:20
Joined: Feb 2018
Posts: 25
1
1ND1G0 Offline OP
Newbie
1ND1G0  Offline OP
Newbie
1

Joined: Feb 2018
Posts: 25
I am probably using this incorrectly, but the output I am getting from the StochRSI indicator seems more extreme than what I am seeing using the same values on other platforms.

In Zorro I am calling it as follows:

vars Prices = series(priceClose());
vars RSI_ = series(RSI(Prices,14));
vars Stoch_RSI = series(StochRSI(RSI_,14,3,3,MAType_SMA));

plot("StochRSIFast",rFastK,NEW,BLUE);
plot("StochRSISlow",rFastD,0,BLACK);

So I have a 14 period RSI, and am using this as the input data for the StochRSI indicator, also with a 14 TimePeriod, with a fast K and D of 3. I am plotting the rFastK and rFastD values.

See attached output from the GBPUSD daily charts for a similar period on both Zorro and TradingView for comparison.

Attached Files
TradingView_StochRSI.png (94 downloads)
Zorro_StochRSI.png (93 downloads)
Re: StochRSI output [Re: 1ND1G0] #485159
01/29/22 20:12
01/29/22 20:12
Joined: Jul 2017
Posts: 784
Z
Zheka Offline
User
Zheka  Offline
User
Z

Joined: Jul 2017
Posts: 784
Feed StochRSI() with Prices, rather than RSI_.

Re: StochRSI output [Re: 1ND1G0] #485160
01/29/22 20:54
01/29/22 20:54
Joined: Feb 2018
Posts: 25
1
1ND1G0 Offline OP
Newbie
1ND1G0  Offline OP
Newbie
1

Joined: Feb 2018
Posts: 25
Thanks, Zheka.

I had tried that originally, but then thought I should create an RSI series for the relevant timeperiod I wanted to then feed into the Stoch....?

In any case, both Price and RSI look pretty much the same, and not what I'd expect.

Re: StochRSI output [Re: 1ND1G0] #486253
07/06/22 13:39
07/06/22 13:39
Joined: Jul 2022
Posts: 3
Lomita
K
KahunaTrading Offline
Guest
KahunaTrading  Offline
Guest
K

Joined: Jul 2022
Posts: 3
Lomita
Hi, did you ever solve your problem? I have a similar issue between the TradingView stochastic v the stochastic models offered via Lite-C. Is it possible to take the math from TradingView and create the indicator without using "built-in" stochastic models offered by Zorro? I believe the help in TradingView offers the equations.

Re: StochRSI output [Re: KahunaTrading] #486254
07/06/22 14:11
07/06/22 14:11
Joined: Feb 2017
Posts: 1,725
Chicago
AndrewAMD Online
Serious User
AndrewAMD  Online
Serious User

Joined: Feb 2017
Posts: 1,725
Chicago
Originally Posted by KahunaTrading
Is it possible to take the math from TradingView and create the indicator without using "built-in" stochastic models offered by Zorro?
Yes, you can write your own indicators. Read on:
https://zorro-project.com/manual/en/tutorial_lowpass.htm
https://financial-hacker.com/category/petra-on-programming/

Re: StochRSI output [Re: 1ND1G0] #486256
07/06/22 14:30
07/06/22 14:30
Joined: Jul 2000
Posts: 27,978
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,978
Frankfurt
As to my knowledge, tradingview uses the standard stoch formula. Nonstandard indicators had to be written by script. But this is normally trivial. The example in the tutorial is a particularly complex indicator.


Moderated by  Petra 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1