SCREENER Pivots Points R3/S3

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #78872 quote
    Matt B
    Participant
    Average

    Hello,

    I am looking for a screener that will detect the pivot point monthly r3 and s3 (support and resistance)

    These two pivot points being very psychological, offer very good profitability in integration and rebound in the first pass .

    The purpose of the screener would be to detect when the price is 15% or less of the pivot point either upwards or downwards.

    example:

    Current price: 10 €

    R3: 11.50 €

    Detecting activated (15%)

    If someone could help me I would be grateful.

    Matt

    #78873 quote
    robertogozzi
    Moderator
    Master

    Please do not double post! Choose the language you prefer and use that one only. Thank you.

    Do you prefer keeping the french or the english post?

    #78874 quote
    Matt B
    Participant
    Average

    Keep the english post

    Thank you

    #78877 quote
    Matt B
    Participant
    Average

    Wow 15% is too big.

    5% is correct.

    Thank you

    #113901 quote
    Nicolas
    Keymaster
    Master

    That code will detect proximity of 5% of monthly R3 or S3 pivot points:

    Percent = 1.5 //percentage %
    
    If Month<>Month[1] then
    monthlyHigh = Highest[max(1,BarIndex - lastMonthBarIndex)](High)[1]
    monthlyLow = Lowest[max(1,BarIndex - lastMonthBarIndex)](Low)[1]
    lastMonthBarIndex = BarIndex
    
    monthlyPivot = (monthlyHigh + monthlyLow + Close[1]) / 3
    
    monthlyR1 = 2*monthlyPivot - monthlyLow
    monthlyS1 = 2*monthlyPivot - monthlyHigh
    //monthlyR2 = monthlyPivot + (monthlyHigh - monthlyLow)
    //monthlyS2 = monthlyPivot - (monthlyHigh - monthlyLow)
    monthlyR3 = monthlyR1 + (monthlyHigh - monthlyLow)
    monthlyS3 = monthlyS1 - (monthlyHigh - monthlyLow)
    Endif
    
    data = min(abs(close-monthlyR3),abs(close-monthlys3))
    
    c1 = (data/close*100)<=Percent/100
    
    screener [c1](data/close*100)
Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.

SCREENER Pivots Points R3/S3


ProScreener: Market Scanners & Detection

New Reply
Author
author-avatar
Matt B @matt-b Participant
Summary

This topic contains 4 replies,
has 3 voices, and was last updated by Nicolas
6 years, 3 months ago.

Topic Details
Forum: ProScreener: Market Scanners & Detection
Language: English
Started: 08/23/2018
Status: Active
Attachments: No files
Logo Logo
Loading...