Help with simple Bollingerbands screener

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

    Hi, As a part of a more complex code, this simple Bollinger Bands part is giving constantly ‘False signals’. Like for example a low within the bands instead of outside the bands.

    I tried all the variantions of different codes from automated strategies, indicators and screeners from the forum, but all with the same results.

    Is there anybody who can help me with the right code for a high outside the upper Bollinger band and a low outside the lower Bollinger band?

    c1 = ExponentialAverage[20]<BollingerUp[20](close) and BollingerUp[20](close)<high
    c2 = ExponentialAverage[20]>BollingerDown[20](close) and BollingerDown[20](close)>low
    
    screener[c1 or c2]
    
    #59805 quote
    Marcel van Vliet
    Participant
    Veteran

    This variation, marked yellow on attachment of the chart and screener gives the same results…… What is wrong here?

    c1=high crosses over BollingerUp
    c2=low crosses under BollingerDown
    
    screener[c1 or c2]
    
    Bijlage.jpg Bijlage.jpg
    #59821 quote
    Nicolas
    Keymaster
    Master

    You should try with this:

    c1=high crosses over BollingerUp[20]
    c2=low crosses under BollingerDown[20]
    
    screener[c1 or c2]
    #59878 quote
    Marcel van Vliet
    Participant
    Veteran

    @Nicolas, Thank you for your response. Unfortunately your suggested code does not work either. The only hit I got from the screener was a candle with a low inside the bands. (see attachement) Do you know possible another code to prevent that this still happens?

    Bijlage-1.jpg Bijlage-1.jpg
    #59883 quote
    Nicolas
    Keymaster
    Master

    It works well for me. The screener should give you a long list of stocks too. Be sure to have the same settings about the BollingerBands on your chart (20 periods and 2 standard deviation).

    Marcel van Vliet thanked this post
    bollinger-bands-screener.png bollinger-bands-screener.png
    #59893 quote
    Marcel van Vliet
    Participant
    Veteran

    Yes, Thank you The settings seemed to be the problem. I changed the BollingerBand indicator from exponential moving average to simple moving average. But still I got only two hits, but at least they where right.

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

Help with simple Bollingerbands screener


ProScreener: Market Scanners & Detection

New Reply
Author
Summary

This topic contains 5 replies,
has 2 voices, and was last updated by Marcel van Vliet
8 years, 1 month ago.

Topic Details
Forum: ProScreener: Market Scanners & Detection
Language: English
Started: 01/17/2018
Status: Active
Attachments: 3 files
Logo Logo
Loading...