How to code with Variation(price)

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #71222 quote
    Sam Macy
    Participant
    Junior

    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 quote
    Nicolas
    Keymaster
    Master

    You can test this code:

    screener [variation(close)>5]

    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 quote
    Sam Macy
    Participant
    Junior

    Thanks Nicolas,

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

    #167547 quote
    reb
    Participant
    Master

    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)
  • You must be logged in to reply to this topic.

How to code with Variation(price)


ProScreener: Market Scanners & Detection

New Reply
Author
author-avatar
Sam Macy @iainhmclean Participant
Summary

This topic contains 3 replies,
has 1 voice, and was last updated by reb
4 years, 11 months ago.

Topic Details
Forum: ProScreener: Market Scanners & Detection
Language: English
Started: 05/24/2018
Status: Active
Attachments: No files
Logo Logo
Loading...