IDB Relative strength

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #154976 quote
    Alfy
    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
    Vonasi
    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.

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 Vonasi
5 years, 1 month ago.

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