3 / 8 Trend Pullback Setup Scan – TC2000 Translation

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #96644 quote
    Huebert
    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
    Nicolas
    Keymaster
    Master
    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
    Huebert
    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.

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 Huebert
6 years, 10 months ago.

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