backtesting with compared securities

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #159469 quote
    assafnassafn
    Participant
    Average

    Hello everybody.

    Is it possible to create a code that compares any security with the Spy stock?

    I used the right click menu, then pressed “compare to security” ->(SPY) but cannot use it in the code.

    Is there another way to do that?

    Thank you

    #159486 quote
    NicolasNicolas
    Keymaster
    Legend

    Indeed, that it is still not possible with custom code but only with internal default indicator of the platform.

    #159489 quote
    assafnassafn
    Participant
    Average

    What does “internal default indicator” mean? Could you elaborate?

    #159491 quote
    NicolasNicolas
    Keymaster
    Legend

    I thought that you were talking about Relative Strength Comparison? Because there are dedicated indicators in the platform for that.

    #159492 quote
    assafnassafn
    Participant
    Average

    I’ll try to explain myself more clearly.

    I’m trying to create a screener code that is based on the relation of a stock to SPY etf.

    Is that possible?

    #159493 quote
    NicolasNicolas
    Keymaster
    Legend

    Yes, that seems possible, look at this example with EQUITYFRAME instruction: EQUITYFRAME

    (your topic is in the ProOrder section and titled with “backtesting” word ..) 🙄

    assafn thanked this post
    #159494 quote
    assafnassafn
    Participant
    Average

    Thank you, and sorry for the mix-up:)

    #159495 quote
    assafnassafn
    Participant
    Average

    I’ve noticed that EQUITYFRAME works only on the screener.

    Is there a way of doing the comparison above with probacktest as well?

    #159498 quote
    VonasiVonasi
    Moderator
    Master

    Is there a way of doing the comparison above with probacktest as well?

    No – it is an instruction that is only currently used in the ProScreener engine.

Viewing 9 posts - 1 through 9 (of 9 total)
  • You must be logged in to reply to this topic.
ProRealAI ProRealAI New

Stuck on this ProBuilder code?

Describe what this topic is trying to build, in plain English, and ProRealAI writes the ProRealTime™ indicator, screener or system for you.

Available in 7 languages
Try ProRealAI

backtesting with compared securities


ProOrder: Automated Strategies & Backtesting

New Reply
Author
author-avatar
assafn @assafn Participant
Summary

This topic contains 8 replies,
has 3 voices, and was last updated by VonasiVonasi
5 years, 7 months ago.

Topic Details
Forum: ProOrder: Automated Strategies & Backtesting
Language: English
Started: 01/26/2021
Status: Active
Attachments: No files
ProRealCode ProRealCode
Loading...