Mother bar screener

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #54369 quote
    Marcel van Vliet
    Participant
    Veteran

    Hi, I tried to develop a screener for a kind of an insidebar/harami but instead of the high and low of the [1] candle, I want to react the screener after the fifth [5] candle has formed. I thought it was just a case of adjusting the harami screener form the library, but whatever I tried the screener does not seems towork. Can anybody help me out with a code?

    #54422 quote
    Marcel van Vliet
    Participant
    Veteran

    Ok, to be honest on this post. The included code does not work proper yet. The patterns are only regonized from two candles or are not regonized at all. My intention is to build a screener which will regonize patterns of five candles instead of just two. Need some serious help with this one. All suggestions are welcome……

    //Patterns screener by Marcel van Vliet
    //Version 1
    //Date 11-30-2017
    
    //Triangle pattern and range (C1 en C2)
    //Flag and wedge pattern up (C3 en C4)
    //Flag and wedge pattern down (C5 en C6)
    //Dscending triangle pattern(C1 en C4)
    //Descending triangle pattern (C2 en C5)
    
    C1=high[2]>=high[1] and high[1]>=high
    C2=low[2]<=low[1] and low[1]<=low
    C3=high[2]<high[1] and high[1]<high
    C6=low[2]>low[1] and low[1]>low
    C4=low[2]<low[1] and low[1]<low
    C5=high[2]>high[1] and high[1]>high
    
    majorcondition = (C1 and C2) or (C1 and C4) or (C2 and C5) or (C3 and C4) or (C5 and C6)
    
    screener [ majorcondition[1] ]

     

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

Mother bar screener


ProScreener: Market Scanners & Detection

New Reply
Author
Summary

This topic contains 1 reply,
has 1 voice, and was last updated by Marcel van Vliet
8 years, 3 months ago.

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