Indicatore a bande deviazione standard / periodi personalizzabili

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #9578 quote
    Max
    Participant
    Average

    Qui di seguito una domanda inviata a ProRealTime :

    Vorrei delle bande costruite in questo modo:
    banda superiore: high – open
    banda inferiore: open – low
    con possibilita’ di settaggio periodi e deviazione standard.
    Con un filtro: la banda superiore deve contare solo le candele negative (close minore di open) e la banda inferiore mi deve contare solo le candele positive.
    E’ possibile in qualche maniera proiettare o comunque inquadrare i prezzi?

     E un esempio di risposta :

    p=20 //period
    Nbecarttype=2
    
    ecartType=STD[p](close)
    if close < open then
    sup=(high-open)+ Nbecarttype * ecartType
    endif
    if close > open then
    inf=(open-low)- Nbecarttype * ecartType
    endif
    
    return customclose+abs(sup),customclose-abs(inf)
Viewing 1 post (of 1 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

Indicatore a bande deviazione standard / periodi personalizzabili


ProOrder: Trading Automatico & Backtesting

New Reply
Author
author-avatar
Max @max Participant
Summary

This topic contains 1 voice and has 0 replies.

Topic Details
Forum: ProOrder: Trading Automatico & Backtesting
Language: Italian
Started: 06/20/2016
Status: Active
Attachments: No files
Logo Logo
Loading...