simple calculation

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #9226 quote
    odlaregodlareg
    Participant
    New

    Hello, I tried for days to make a scan for the absolute daily open  minus the close in proscreener.  Preferable combined with 1) a certain maximum outcome and 2) sorted from small to big . However the outcome is not right, when i compare in my charts. I tried:

    Screener[c1]
    c1 = (abs(open[1] - close[1]))< (open[1]/10000)
    Timeframe(daily)

    Anybody able to help/ redirect me?

    #9240 quote
    NicolasNicolas
    Keymaster
    Legend

    Hello odlareg, I don’t know why but all your code is inverted, you should have wrote your screener code like this:

    c1 = (abs(open[1] - close[1]))< (open[1]/10000)
    Timeframe(daily)
    Screener[c1]
    
    

    If you want to sort the results with the variation of the candlestick, you can replace the last line with:

    Screener[c1] (abs(open[1] - close[1]))
    #9336 quote
    odlaregodlareg
    Participant
    New

    Thank you for your reply Nicolas. Somehow things do not show up right. My purpose is to screen for small abs close minus open. For today I changed the part (open[1]/10000) into 0.10. Now this gives me a list in the SP500 of 65 items. However comparision of the criteria with the hard figures gives a no match.

    For example a stock like Lennar has a close minus open for the 10 juni of 0.38. Far beyond my 0.10.

    I think I ask a pretty simple thing to screen for. So where is the mistake?

Viewing 3 posts - 1 through 3 (of 3 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

simple calculation


ProScreener: Market Scanners & Detection

New Reply
Author
author-avatar
odlareg @odlareg Participant
Summary

This topic contains 2 replies,
has 2 voices, and was last updated by odlaregodlareg
10 years, 3 months ago.

Topic Details
Forum: ProScreener: Market Scanners & Detection
Language: English
Started: 06/10/2016
Status: Active
Attachments: No files
ProRealCode ProRealCode
Loading...