IDB Relative strength

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #154976 quote
    AlfyAlfy
    Participant
    Average

    Hi guys, i was hoping someone could help. Im looking to recreate the IDB relative strength line which compares the momentum of a stock over 3 months, 6 months and 12 months relative to an index like the S&P 500.  Pro real time has something similar called Mansfield relative strength but its not the same. Ive added the basic code of the momentum of the stock but im having trouble with the rest comparing it to the S&P 500. Can anyone help please?

    Trendstrength=(2*close/close[63])+(close/close[126])+(close/close[189])+(close/close[252])
    
    Return(trendstrength)
    #154984 quote
    VonasiVonasi
    Moderator
    Master

    It is not possible for an indicator to look at two instruments.

    Alfy thanked this post
Viewing 2 posts - 1 through 2 (of 2 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

IDB Relative strength


ProBuilder: Indicators & Custom Tools

New Reply
Author
author-avatar
Alfy @alfy Participant
Summary

This topic contains 1 reply,
has 2 voices, and was last updated by VonasiVonasi
5 years, 9 months ago.

Topic Details
Forum: ProBuilder: Indicators & Custom Tools
Language: English
Started: 12/23/2020
Status: Active
Attachments: No files
ProRealCode ProRealCode
Loading...