Screener Conversion of Doji pattern from Think Or Swim (TOS)

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

    Hello all,

    I have a small script for a screener that I’d like to use in PRT that is already written for both Tradestation (.eld, .tsw) or TOS  (.txt). I’m only able to upload the .txt TOS script here so in the hopes that someone is available and interested in doing the conversion, please let me know. I’m a newbie here so apologies if this is the wrong forum for this. I couldn’t find a specific thread or forum so I’m posting here.

    Thanks in advance.

    8-Day-Fly.txt
    #66184 quote
    Nicolas
    Keymaster
    Master

    You have posted in the right place. This is the code translated for ProScreener:

    dojibodymaxpct = 0.1
    atrlength = 10
    atrbarsago = 30
    doji = abs(close-open)/close * 100 <= dojibodymaxpct
    
    atr = averagetruerange[atrlength]
    
    Scan = doji and atr < atr[atrbarsago]
    
    screener [Scan]

    It looks for a Doji candlestick pattern with an ATR strictly inferior to the one of 30 days (periods) ago.

    doji-screener-with-atr-conditions.png doji-screener-with-atr-conditions.png
    #66229 quote
    SCA2099
    Participant
    New

    Thank you Nicolas. Much appreciated!

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

Screener Conversion of Doji pattern from Think Or Swim (TOS)


ProScreener: Market Scanners & Detection

New Reply
Author
author-avatar
SCA2099 @sca2099 Participant
Summary

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

Topic Details
Forum: ProScreener: Market Scanners & Detection
Language: English
Started: 03/23/2018
Status: Active
Attachments: 2 files
Logo Logo
Loading...