Modifica screener in indicatore

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #236739 quote
    Msport71
    Participant
    Senior

    Buongiorno,

    volevo chiedere se è possibile modificare uno screener che ho trovato di recente nella libreria, facendolo diventare un indicatore.

    Grazie per il cortese aiuto.

     

    Scans for Freebars

    #236744 quote
    jacquesgermain
    Participant
    Veteran

    Bonjour

    par exemple:

    ATR = AverageTrueRange[20](fermer)
    ATRM = 2,25 * ATR

    MLine = ExponentialAverage[20](fermer)
    UChannel = MLine + ATRM
    LChannel = MLine – ATRM

    FreeBarUp = Low > UChannel
    FreeBarDown = High < LChannel
    si FreeBarUp et non FreeBarUp[1] alors
    DRAWARROWDOWN(barindex,high)coloré(255,0,0)
    endif
    si FreeBarDown et non FreeBarDown[1] alors
    DRAWARROWUP(barindex,low)coloré (0,255,0)
    fin si

    retourner UChannel, MLine, LChannel

    #236748 quote
    Msport71
    Participant
    Senior

    Grazie e mille .

    Ho provato ma mi da il seguente codice di errore.

    Linea 1: errore interno : ordine sconosciuto

    Sembrebbe anche che evidenzi in giallo il termine “LChannel”.

    Da cosa potrebbe dipendere?

    Grazie ancora

    Schermata-2024-08-27-alle-16.16.26.png Schermata-2024-08-27-alle-16.16.26.png
    #236754 quote
    jacquesgermain
    Participant
    Veteran

    ah ok c’est à cause de la traduction en francais du code

    utiliser celui ci :

    ATR = AverageTrueRange[20](close)
    ATRM = 2.25 * ATR

    MLine = ExponentialAverage[20](close)
    UChannel = MLine + ATRM
    LChannel = MLine – ATRM

    FreeBarUp = Low > UChannel
    FreeBarDown = High < LChannel
    if FreeBarUp and not FreeBarUp[1] then
    DRAWARROWDOWN(barindex,high)coloured(255,0,0)
    endif
    if FreeBarDown and not FreeBarDown[1] then
    DRAWARROWUP(barindex,low)coloured(0,255,0)
    endif

    return UChannel,MLine,LChannel

    #236755 quote
    jacquesgermain
    Participant
    Veteran

    mes excuses prendre le fichier ci-joint

    Msport71 thanked this post
    Mon-indicateur164.itf
    #236758 quote
    Msport71
    Participant
    Senior

    Adesso funziona, grazie tante.!

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

Modifica screener in indicatore


ProBuilder: Indicatori & Strumenti Personalizzati

New Reply
Author
author-avatar
Msport71 @carlo-pasca Participant
Summary

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

Topic Details
Forum: ProBuilder: Indicatori & Strumenti Personalizzati
Language: Italian
Started: 08/27/2024
Status: Active
Attachments: 2 files
Logo Logo
Loading...