on neck candlestick pattern

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #216784 quote
    gnellas77gnellas77
    Participant
    Average

    hi guys,

    i m trying to code the on neck continuation candlestick pattern but i cannot make it.

    Can you tell me where i go wrong?

    thank you!!! here is the code

    //go long
    
    c10= open[1]<close[1]
    c20= (close[1]-open[1])>AverageTrueRange[22](close)
    c30= open>close
    c40= close>=close[1]
    c50= (open-close)<(close[1]-open[1])*0.33
    c60= (c10 and c20 and c30 and c40 and c50)
    
    screener (c60)
    #216804 quote
    JSJS
    Participant
    Master

    Hi,

    Try this one:

     

    C1=Open[1]<Close[1]
    C2=(Close[1]-Open[1])>AverageTrueRange[22](Close)
    C3=Open>Close
    C4=Close>=Close[1]
    C5=(Open-Close)<(Close[1]-Open[1])*0.33
    C6=C1 and C2 and C3 and C4 and C5
    Screener[C6](C6 as "Go Long")
    
    gnellas77 thanked this post
    Scherm­afbeelding-2023-06-26-om-14.45.29.png Scherm­afbeelding-2023-06-26-om-14.45.29.png
Viewing 2 posts - 1 through 2 (of 2 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

on neck candlestick pattern


ProScreener: Market Scanners & Detection

New Reply
Author
author-avatar
gnellas77 @gnellas77 Participant
Summary

This topic contains 1 reply,
has 2 voices, and was last updated by JSJS
3 years, 2 months ago.

Topic Details
Forum: ProScreener: Market Scanners & Detection
Language: English
Started: 06/26/2023
Status: Active
Attachments: 1 files
ProRealCode ProRealCode
Loading...