[Giankam] JMA (Jurik Moving Average)

0 588 Views No Comments 1 year ago
HTS CLOUDSTABLE
  • Based on the original Jurik Moving Average http://jurikres.com/catalog1/ms_ama.htm this is one of the most sought after moving averages.
    Due to the recursive logic it the code uses Pshai’s CC_IndicatorMemory.

    Example:

    
    local src = ClosePrices()
    local length = 20
    local phase = 0
    local exp = 2
    local jma= CC_IndicatorMemory(
                |i, mem| CC_JMA(src, length, phase, exp))
    Plot(0, 'JMA', jma, {color=White, width=4})
    
    
    • This topic was modified 1 year, 1 month ago by Giankam.
    • This topic was modified 1 year, 1 month ago by Giankam.
    • This topic was modified 1 year, 1 month ago by Giankam.
    • This topic was modified 1 year, 1 month ago by Team HaasScripts.
    HaasScript Code
    Sign in or Register to download for free
Login or Register to Comment

Unlock your crypto trading potential

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

Join for Free