Modifica screener in indicatore

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

    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
    Senior

    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
    New

    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

    #236754 quote
    jacquesgermain
    Participant
    Senior

    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
    Senior

    mes excuses prendre le fichier ci-joint

    Msport71 thanked this post
    #236758 quote
    Msport71
    Participant
    New

    Adesso funziona, grazie tante.!

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.

Modifica screener in indicatore


Supporto ProBuilder

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

This topic contains 5 replies,
has 2 voices, and was last updated by Msport71
1 year, 4 months ago.

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