problemi con la visualizzazione di medie mobili multitimeframe

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #164822 quote
    bahlbahl
    Participant
    Average

    Salve, volevo vedere gli incroci di una media mobile semplice a 10 periodi ed una media di hull, a21 periodi, calcolate su tf orario, su grafici impostati con timeframes inferiori.

    Scendendo di tf da una ora fino a cinque minuti, nessun problema di visualizzazione, nè sul grafico nè sotto, ma su tf sotto i 3minuti, quindi 2 o 1 minuto, improvvisamente mi da valori sballati sia sui grafici che sotto i grafici, indipendentemente dallo strumento le medie partono improvvisamente da zero prima di incrociarsi.

    Allego il codice delle medie mtf,  sbaglio qualcosa?

    timeframe (1hours,updateonclose)
    sma =average[10](close)
    hull=hullaverage[21](close)
    
    return sma as"sma", hull as "hull"
    #164879 quote
    robertogozzirobertogozzi
    Moderator
    Legend

    Funziona regolarmente, sul DAX h1, 5 minuti e 1 minuto (vedi immagine).

    Verifica che tu abbia un numero sufficiente di unità sui TF più piccoli, se hai 1000 unità orarie, metti 10000 unità sul 5 minuti e 100000 unità su 1 minuto.

    x-4.jpg x-4.jpg
    #164933 quote
    bahlbahl
    Participant
    Average

    sempre gentilissimo.

Viewing 3 posts - 1 through 3 (of 3 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

problemi con la visualizzazione di medie mobili multitimeframe


ProBuilder: Indicatori & Strumenti Personalizzati

New Reply
Author
author-avatar
bahl @bahl Participant
Summary

This topic contains 2 replies,
has 2 voices, and was last updated by bahlbahl
5 years, 6 months ago.

Topic Details
Forum: ProBuilder: Indicatori & Strumenti Personalizzati
Language: Italian
Started: 03/21/2021
Status: Active
Attachments: 1 files
ProRealCode ProRealCode
Loading...