How to code with Variation(price)

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #71222 quote
    Sam MacySam 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
    NicolasNicolas
    Keymaster
    Legend

    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 MacySam Macy
    Participant
    Junior

    Thanks Nicolas,

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

    #167547 quote
    rebreb
    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.
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

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 rebreb
5 years, 5 months ago.

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