Relative strength screener and custom index
Forums › ProRealTime English forum › ProScreener support › Relative strength screener and custom index
- This topic has 10 replies, 3 voices, and was last updated 7 years ago by Nicolas.
-
-
05/31/2017 at 7:34 PM #37157
Hi,
I have played around with EQUITYFRAME and the example provided here: https://www.prorealcode.com/documentation/equityframe/.
I keep getting errors though that the equityframe cannot be applied to the selected security or that the market does not exist. What would be the correct market names? Is the market name = name of a List? Can I create a custom list and compare securities to eachother in that custom list?
I would like to achieve the exact thing explained in the example but comparing all stocks to some different indecis. Perhaps also create custom indecis if possible. Is it even possible to create a custom index?
The exact code im using now is:
12345678TIMEFRAME(daily)CloseVal = CloseEQUITYFRAME("NASDAQ","SHLM")CloseInd = CloseEQUITYFRAME(default)Ratio = (CloseVal / CloseInd) * 100RelativeStrength = (Ratio - Ratio[1]) * 100SCREENER(RelativeStrength AS "RelativeStrength")05/31/2017 at 8:30 PM #37164Did you see below as stated in the link on your post above?
I’m not sure what it means either :), but maybe it’s saying you can’t compare currency with commodities or currency with index / indices? Not doing that are you?
NB: Through IG market or PRT CFD, it is not possible to compare instruments that are not in the same ‘market’ (list).
05/31/2017 at 8:44 PM #37165I also read that and at the moment I’m actually just trying to get the EQUITYFRAME to work by comparing different securities in one market but I cant seem to get it working.
I also wonder why it is not possible to compare securities to an index. Am I missing something?
05/31/2017 at 8:58 PM #37167Maybe the number of decimal places in the price / value has something to do with it?
Also some instruments have volume figures and some do not?.
Also maybe its a technical thing that equityframe just cant be applied across different lists?In short … I don’t know! 🙂
Ill have a go and let you know if I get it working.
05/31/2017 at 9:19 PM #3716805/31/2017 at 9:46 PM #3717206/01/2017 at 9:19 AM #3719106/01/2017 at 8:10 PM #3725506/02/2017 at 9:07 AM #3727106/02/2017 at 9:32 AM #37276Code below off the link below, we both couldn’t get any ‘sense’ out of it, and we both tried different instruments (out of same list).
https://www.prorealcode.com/documentation/equityframe/
Thank you Nicolas
1234567891011TIMEFRAME(daily)CloseVal = CloseEQUITYFRAME("NASDAQ","AMZN")CloseInd = CloseEQUITYFRAME(default)Ratio = (CloseVal / CloseInd) *100RelativeStrength = (Ratio - Ratio[1]) *100SCREENER(RelativeStrength AS"RelativeStrength")06/06/2017 at 1:39 PM #37623Here is a simple example to calculate the EURGBP current value with EURUSD and GBPUSD:
123456789EQUITYFRAME("Currencies","EURUSD")eurusd=closeequityframe("Currencies","GBPUSD")gbpusd=closeresult=eurusd/gbpusdscreener[1](result)1 user thanked author for this post.
-
AuthorPosts
Find exclusive trading pro-tools on