How to pass an underlying variable like “Relative strength comparison” does?
Forums › ProRealTime English forum › ProRealTime platform support › How to pass an underlying variable like “Relative strength comparison” does?
- This topic has 4 replies, 2 voices, and was last updated 3 years ago by DavidL.
-
-
09/29/2021 at 9:13 PM #178746
Hi,
The relative strength indicator is able to pass a ticker as a variable in order to compare 2 equity, but the code is not available. Does anyone know what function or syntax is used?
it would allow to create our own comparison and/or screener with our own criteria other than RS.
Thanks for your help.
Regards.
09/29/2021 at 10:08 PM #178750Currently there’s no support for multiple instruments in the same indicator and strategy.
09/29/2021 at 11:09 PM #178752Thx for your answer Roberto.
Do you mean that there is no support for the users? if i am not mistaking, it is possible since relative strength comparison (RSC) does it, right?
see attached picture: the graph compares AAPL and SP500. SP500 can be change to any instrument by the user. Somehow, RSC is passing SP500 as a reference variable in order to divide both Relative Strength, or am I missing something?
In the screener, the function “EquityFrame” is also able to compare instruments with one reference. I realize that it is not exactly the same but pretty close.
Is there a way to access the RSC code?
Regards
09/30/2021 at 12:28 AM #178755Yes, it’s not available to users, unlike screeners.
09/30/2021 at 2:05 PM #178800 -
AuthorPosts