Dynamic zone elasticity

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #150311 quote
    MonochromeMonochrome
    Participant
    Senior

    Dynamic Zone Elasticity

    I cant seem to make this work in prooder.

    //DYNAMIC ZONE ELASTICITY///
    once smoothing = max(1, smoothing+1)
    once period = max(1, Period)
    
    // Coeficient, change if required
    once coef = 0.8
    
    // Signal line
    x = std[Period](close)
    signam = 1 + (-1* ( ((average[period](close) + (x*2)) - close) / x ) / 2)
    
    // Dynamic Zones
    sq    = square(signam)
    mean  = average[period](signam)
    vsqrt = sqrt( average[period](sq) - square(mean) )
    
    //top = mean + coef * vsqrt
    btm = mean - coef * vsqrt
    
    result = average[smoothing](signam)
    ////////////////////////////////////
    
    buycond = result crosses over btm
    
    if  buycond  then
    buy 1 contract at market
    set stop %loss 1
    set target %profit 1
    endif
    
    graph buycond

    Please can someone tell me what im missing?

    Thanks in advance

    #150316 quote
    MonochromeMonochrome
    Participant
    Senior

    Found it. I copied from the indicator settings and missed the period and smoothing.

    I still want to discuss this indicator since i cant find a forum post about it.

    It seems great for scalping. Maybe needs another indicator for confirmation.

    If i find something that works ill post it here.

    GraHal and nonetheless thanked this post
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.
ProRealAI ProRealAI New

Stuck on this ProBuilder code?

Describe what this topic is trying to build, in plain English, and ProRealAI writes the ProRealTime™ indicator, screener or system for you.

Available in 7 languages
Try ProRealAI

Dynamic zone elasticity


ProOrder: Automated Strategies & Backtesting

New Reply
Author
author-avatar
Monochrome @monochrome Participant
Summary

This topic contains 1 reply,
has 1 voice, and was last updated by MonochromeMonochrome
5 years, 10 months ago.

Topic Details
Forum: ProOrder: Automated Strategies & Backtesting
Language: English
Started: 11/12/2020
Status: Active
Attachments: No files
ProRealCode ProRealCode
Loading...