converting TeleChart code to ProScreener

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #88213 quote
    Daryle Froese
    Participant
    New

    Hello

    I’m new to programming ProScreener, or anything for that matter.

    I’d like to convert the following code (made for TeleChart) into ProScreener format but am hitting some barriers:

    MAXH5 > MAXH20
    AND MINL7.1 = MINL36
    AND MINL3.1 < MINL36.1
    AND L > MINL3.1 x 0.995
    AND AVGV50 > 5000

    This is how I converted it to ProScreener so far:

    c1 = highest[5](high) > highest[20](high)
    c2 = lowest[7.1](low) = lowest[36](low)
    c3 = lowest[3.1](low) < lowest[36.1](low)
    c4 = low > lowest[3.1](low) * 0.995
    c5 = Volume[50] > 500000

    I think my only problem is the “.1” parts of this setup which ProScreener doesn’t compute & which are meant to offset the count by one day (i.e. starting with yesterday’s candle).  How do I get ProScreener to do this – i.e. in line 2 of the code above, get it to screen based on the lowest low of the last 7 days, starting with yesterday (instead of today)?

    Thank-you in advance!

    #88215 quote
    robertogozzi
    Moderator
    Master

    There you go:

    c2 = lowest[7](low[1]) = lowest[36](low)
    #88343 quote
    Daryle Froese
    Participant
    New

    perfect! – thank-you very much Roberto!

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

converting TeleChart code to ProScreener


ProScreener: Market Scanners & Detection

New Reply
Author
Summary

This topic contains 2 replies,
has 2 voices, and was last updated by Daryle Froese
7 years, 2 months ago.

Topic Details
Forum: ProScreener: Market Scanners & Detection
Language: English
Started: 01/09/2019
Status: Active
Attachments: No files
Logo Logo
Loading...