How to code with Variation(price)

Forums ProRealTime English forum ProScreener support How to code with Variation(price)

  • This topic has 3 replies, 1 voice, and was last updated 3 years ago by avatarreb.
Viewing 4 posts - 1 through 4 (of 4 total)
  • #71222

    I have a screener I’m working on and I would like a condition to isolate stocks that have risen by 5% or more.

    Reading the manual I see “variation(price)”

    Could someone help me with the syntax I need to include this condition in my screener?

    Many thanks.

    #71226

    You can test this code:

    It will return all stocks that have moved at least 5% since the last period (the day before in a daily timeframe for instance).

    #71311

    Thanks Nicolas,

    That worked – I wasn’t sure of how to represent 5% in the code syntax.

    #167547
    reb

    Hello Nicolas

    I am still working on my screener, and I want to filter with the variation between the close of last day and the close of last candle (in timeframe 1m for ex)
    Do I have to use “variation” ? How can I use it ?

    Merci

     

    Reb

Viewing 4 posts - 1 through 4 (of 4 total)

Create your free account now and post your request to benefit from the help of the community
Register or Login