Gain/Loss since open

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #13695 quote
    jbyrne
    Participant
    Average

    Hi, i want to be able to track stocks % gain/loss since open, how can i do this? ideally i would like it next to the current % loss/gain since previous close. Surely this is possible? ive been looking but i cant find anything.

     

    thanks

    #13697 quote
    Wing
    Participant
    Veteran
    // Today's current %
    PriceChange = close / dopen(0)
    
    // Since yesterday close % change
    PriceChange2 = close / dclose(1)
    #13698 quote
    jbyrne
    Participant
    Average

    thanks but thats code for a screener/system i just want to be able to see it in a list or something

    #13699 quote
    Wing
    Participant
    Veteran

    Use this indicator:

     

    // Today's current %
    PriceChange = close / dopen(0)
    
    // Since yesterday close % change
    PriceChange2 = close / dclose(1)
    
    return pricechange, pricechange2
    #13700 quote
    jbyrne
    Participant
    Average

    Ok thank you but how do I do that?

    #13701 quote
    Wing
    Participant
    Veteran

    As far as I know, you can’t display it in a list like you are asking for, but you can display it using an indicator. You have to add the code as a new indicator and add it on your chart.

    #13735 quote
    Stef
    Participant
    Average

    A Screener is just a list.

    Create a screener with the following code:

    PriceChange = ((close/dopen(0))-1)*100
    
    SCREENER[PriceChange](PriceChange as "%Chg Today")

    You can then drag the column so that it is displayed next to the %Chg column.

    Keep in mind that PRT’s %Chg value does not include the auction close (yesterday’s real close) price and would therefore be different from what is displayed in other platforms.

    Also, the screener will only display up to 50 matches – you can use the sort column to try and get/see the ones that you are interested in. Or, set it up to run on specific predefined lists.

    Regards

    Stef

    #13736 quote
    jbyrne
    Participant
    Average

    hi, thanks for the help.

    But i already rely heavily on a screener, so is there a way i can have 2 screeners open?

    Thanks

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

Gain/Loss since open


Platform Support: Charts, Data & Broker Setup

New Reply
Author
author-avatar
jbyrne @jbyrne Participant
Summary

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

Topic Details
Forum: Platform Support: Charts, Data & Broker Setup
Language: English
Started: 09/25/2016
Status: Active
Attachments: No files
Logo Logo
Loading...