Swing Trader Indicators?

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #16112 quote
    diederik76
    Participant
    New

    Hi,

    I am searching for indicators for me as a Swing Trader, so I’d like to have indicators for Bottom (for entry long) and Top (entry short).

    On another site (US site tradingview) I saw several examples, but I can’t find anyone on Prorealtime : example https://uk.tradingview.com/script/ngO3BO37-CM-Gann-Swing-High-Low-V2/

    Best regards, Diederik

    #16136 quote
    Nicolas
    Keymaster
    Master

    This technical indicator could be translated to prorealtime, and if you are willing to share us other ones, please do it and let’s see if it’s possible to convert and add them to the indicators library for everyone’s benefit.

    #16163 quote
    supertiti
    Participant
    Master

    Alors Nicolas tu es sur le coup ? ! c’est une sorte de supertrend visuellement

    //Updated on 10-6-2015 By ChrisMoody
    //Added Linebr ability, ability to turn on/off highlight Bars when crossing Swing Hi/Lo
    //Added Ability to turn on/off background highlight when bars cross swing hi/lo
    //Created 99% by Glaz and ChrisMoody Modified about 1% on 7/30/2014 for user dvk197-
    
    study(title="CM_Gann Swing HighLow V2", shorttitle="CM_Gann_Swing_HL_V2", overlay=true)
    periods=input(3, minval=1, title="Moving Average Period")
    pt = input(false, title="Plot Up/Down Triangles at Top and Bottom of Candles/Bars?")
    pc = input(true, title="Plot Circles at Top and Bottom of Candles/Bars?")
    pttb = input(true, title="Plot Triangles at Top and Bottom of Screen?")
    shb = input(false, title="Show Highlight Bars on Cross Up or Cross Down?")
    sbh = input(true, title="Show Background Highlights at Cross Up or Cross Down?")
    
    //code for Calculations
    hld = iff(close > sma(high,periods)[1], 1, iff(close<sma(low,periods)[1],-1, 0))
    hlv = valuewhen(hld != 0, hld, 1)
    
    //code for Plot Statements
    hi = hlv == -1 ? sma(high, periods) : na
    lo = hlv == 1 ? sma(low,periods) : na
    
    //Rules for coloring Background highlights & Highlight Bars
    closeAbove() => shb and close > hi and close[1] < hi
    BHcloseAbove = sbh and close > hi and close[1] < hi
    closeBelow() => shb and close < lo and close[1] > lo
    BHcloseBelow = sbh and close < lo and close[1] > lo
    
    //Highlight Bar Color Plots
    barcolor(closeAbove() ? yellow : na)
    barcolor(closeBelow() ? yellow : na)
    //Background Highlight Rules
    bgcolor(BHcloseAbove ? green : na, transp=60)
    bgcolor(BHcloseBelow ? red : na, transp=60)
    
    //Plot Statements for circles and Triangle Up/Down at Price Bars
    plot(pc and hi ? hi : na,title="Gann Swing High Plots-Circles", color=fuchsia,style=linebr, linewidth=4)
    plot(pc and lo ? lo : na,title="Gann Swing Low Plots-Circles", color=lime,style=linebr, linewidth=4)
    plotshape(pt and hi ? hi : na,title="Gann Swing High Plots-Triangle Down", offset=0, style=shape.triangledown, location=location.abovebar, color=fuchsia, transp=0)
    plotshape(pt and lo ? lo : na,title="Gann Swing Low Plots-Triangle Up", offset=0, style=shape.triangleup, location=location.belowbar, color=lime, transp=0)
    
    //Plot Statement for Triangles at Top and Bottom of Screen
    plotshape(pttb and hi ? hi : na,title="Gann Swing High Plots-Triangles Down Top of Screen", offset=0, style=shape.triangledown, location=location.top, color=red, transp=0)
    plotshape(pttb and lo ? lo : na, title="Gann Swing Low Plots-Triangles Up Bottom of Screen",offset=0, style=shape.triangleup, location=location.bottom, color=lime, transp=0)
    #16176 quote
    Nicolas
    Keymaster
    Master

    @supertiti Please speak English in english forums 🙂

    This indicator is not a kind of Supertrend, this is the one that color the background of the charts and add arrows Up/Down. I’ll not convert it while diederick has not confirm me he wants it to be done.

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

Swing Trader Indicators?


ProBuilder: Indicators & Custom Tools

New Reply
Author
author-avatar
diederik76 @diederik76 Participant
Summary

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

Topic Details
Forum: ProBuilder: Indicators & Custom Tools
Language: English
Started: 11/07/2016
Status: Active
Attachments: No files
Logo Logo
Loading...