ADX below 20 for [n] consecutive periods

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

    Can someone suggest a script to scan for stocks that have an ADX reading below 20 for [n] consecutive periods?  (for example, 26 periods).

    Thanks!!

    #181392 quote
    robertogozzirobertogozzi
    Moderator
    Legend

    There you go:

    MyADX = adx[14] < 20                //ADX < 20
    Cond  = (summation[26](MyADX) = 26) //must have been below 20 for ALL last 26 periods
    SCREENER[Cond]
    #181417 quote
    tachartstacharts
    Participant
    New

    Thanks!!

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

ADX below 20 for [n] consecutive periods


ProScreener: Market Scanners & Detection

New Reply
Author
author-avatar
tacharts @tacharts Participant
Summary

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

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