[Giankam] Trail Blaze

1 44 Views No Comments 1 week ago
HTS 3.XSTABLE
  • The main set of features includes:

    Three independent trailing types each with their own +/- multipliers:
    – Standard % change
    – ATR (aka Supertrend)
    – IQR (inter-quartile range)
    These can be used in isolation or summed together. A subsequent pair of direction specific multipliers are also included.

    Example:

    local atrLength = Input('atrLength', 8)
    local atrMult = Input('atrMult', 1)
    local tslPercent = Input('Trailing %', 0)
    local triggerLength = Input('triggerLength', 2)
    local centreLength = Input('centreLength', 8)
    local iqrLength = Input('iqrLength', 12)
    local iqrMult = Input('iqrMult', 0)
    local loMult = Input('loMult', 1)
    local hiMult = Input('loMult', 1)
    local filterSum = Input('filterSum', false)

    local trlBlz = CC_Trail_Blaze(atrLength, atrMult, tslPercent, triggerLength, centreLength, iqrLength,iqrMult, loMult,hiMult, filterSum)

    if trlBlz.trnd == 1 then
    PlotShapes(
    Plot(0, 'up', trlBlz.lostp, {w = 1, c=Aqua(100), s=Smooth, id = NewGuid()}),
    ShapeCircle,Aqua
    )

    elseif trlBlz.trnd == -1 then

    PlotShapes(
    Plot(0, 'down', trlBlz.histp, {w = 1, c=Purple(100), s=Smooth, id = NewGuid()}),
    ShapeCircle, Purple
    )

    end

    HaasScript Code
    Sign in or Register to download for free
  • Mandala Trading Competition Promotion Type: contest Expires: June 9, 2023 Exclusive
    Trading volume competition, win up to $10,000 USDT and bounties.
  • Earn Up to 200 BMEX Tokens Promotion Type: contest Expires: March 31, 2023
    15 BMEX @ $20,000, 25 BMEX @ $50,000, 50 [email protected] $200,000, 100 BMEX @ $400,000, 200 BMEX @ $600,000 in monthly derivatives volume
Login or Register to Comment

Unlock your crypto trading potential

Create a free account and enjoy everything we have to offer.

Join for Free