3 / 8 Trend Pullback Setup Scan – TC2000 Translation

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #96644 quote
    HuebertHuebert
    Participant
    New
    Hi, Was just watching a youtube video from Doug Campbell where he talks about a trend pattern that uses 3 8 & 34 EMA to look for an entry. He looks for the 3EMA pulling back to the 8 EMA https://www.youtube.com/watch?v=mEvZcWi3pew How would I translated his TC2000 code to a ProRealtime screener?

    His TC2000 code:

    L <= XAVGC8 and C > XAVGC8 and (C < XAVGC3.1) or (C < XAVGC3.2) or (C < XAVGC3.3

      Thanks!
    catching-profits-in-the-3-8-trap.png catching-profits-in-the-3-8-trap.png
    #96662 quote
    NicolasNicolas
    Keymaster
    Legend
    Here is the code, it is a mix between the code you shared and the video, because I think your version is not complete: some parenthesis are missing and there is no EMA34 condition:
    ema8 = exponentialaverage[8](close)
    ema3 = exponentialaverage[3](close)
    ema34 = exponentialaverage[34](close)
    c = close
    
    setup = low<ema8 and c>ema8 and ((c<ema3[1]) or (c<ema3[2]) or (c<ema3[3])) and ema8>ema34
    
    screener[setup]
    Huebert thanked this post
    ema-8-3-trap.png ema-8-3-trap.png
    #97314 quote
    HuebertHuebert
    Participant
    New
    thank you very much Nicolas,  I appreciate your translation of the script
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

3 / 8 Trend Pullback Setup Scan – TC2000 Translation


ProScreener: Market Scanners & Detection

New Reply
Author
author-avatar
Huebert @numlock Participant
Summary

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

Topic Details
Forum: ProScreener: Market Scanners & Detection
Language: English
Started: 04/17/2019
Status: Active
Attachments: 2 files
ProRealCode ProRealCode
Loading...