Relative strength screener and custom index

Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #37157 quote
    sauka
    Participant
    New

    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:

    TIMEFRAME(daily)
    CloseVal = Close
    EQUITYFRAME("NASDAQ","SHLM")
    CloseInd = Close
    EQUITYFRAME(default)
    Ratio = (CloseVal / CloseInd) * 100
    RelativeStrength = (Ratio - Ratio[1]) * 100
    SCREENER(RelativeStrength AS "RelativeStrength")
    
    #37164 quote
    GraHal
    Participant
    Master

    Did 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).

    #37165 quote
    sauka
    Participant
    New

    I 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?

    #37167 quote
    GraHal
    Participant
    Master

    Maybe 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.

    #37168 quote
    GraHal
    Participant
    Master

    Naah I can’t make any sense of it, sorry sauka.

    It should make you feel better anyway … knowing you not on your own!? 🙂

    #37172 quote
    GraHal
    Participant
    Master

    Nicolas may spot this and advise how to get equityframe working.

    #37191 quote
    Nicolas
    Keymaster
    Master

    It’s not possible to compare a security with an index, if these 2 are not in the same “shares list”. I know it’s weird, but that’s how it works.

    #37255 quote
    sauka
    Participant
    New

    Well, I cant even get equityframe to compare different stocks in the same list. could you pleae give some advice?

    #37271 quote
    Nicolas
    Keymaster
    Master

    Please share us your code, so we could give more precise advises! 😉

    #37276 quote
    GraHal
    Participant
    Master

    Code 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

    TIMEFRAME(daily)
    CloseVal = Close
    
    EQUITYFRAME("NASDAQ","AMZN")
    CloseInd = Close
    
    EQUITYFRAME(default)
    Ratio = (CloseVal / CloseInd) *100
    RelativeStrength = (Ratio - Ratio[1]) *100
    
    SCREENER(RelativeStrength AS"RelativeStrength")
    #37623 quote
    Nicolas
    Keymaster
    Master

    Here is a simple example to calculate the EURGBP current value with EURUSD and GBPUSD:

    EQUITYFRAME("Currencies","EURUSD")
    eurusd=close
    
    equityframe("Currencies","GBPUSD")
    gbpusd=close
    
    result=eurusd/gbpusd
    
    screener[1](result)
    GraHal thanked this post
Viewing 11 posts - 1 through 11 (of 11 total)
  • You must be logged in to reply to this topic.

Relative strength screener and custom index


ProScreener: Market Scanners & Detection

New Reply
Author
author-avatar
sauka @sauka Participant
Summary

This topic contains 10 replies,
has 3 voices, and was last updated by Nicolas
8 years, 8 months ago.

Topic Details
Forum: ProScreener: Market Scanners & Detection
Language: English
Started: 05/31/2017
Status: Active
Attachments: No files
Logo Logo
Loading...