ADX below 20 for [n] consecutive periods

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #181377 quote
    tacharts
    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
    robertogozzi
    Moderator
    Master

    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
    tacharts
    Participant
    New

    Thanks!!

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

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 tacharts
4 years, 4 months ago.

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