fractal channel punto più alto/basso

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #108802 quote
    lowbatlowbat
    Participant
    Senior

    Buonasera,

    sarebbe possibile al posto di essere tracciato  il Fractal Channel, avere SOLO la freccia del punto più alto/basso come nella Metatrader 4?

     

    grazie

    #108830 quote
    robertogozzirobertogozzi
    Moderator
    Legend

    Ci sono diversi indicatori FRACTAL nella libreria, ma non trovo FRACTAL CHANNEL, puoi postare un link al codice?

    #108842 quote
    lowbatlowbat
    Participant
    Senior
    /////////// FRACTALS BILL WILLIAMS
    //Variable:
    
    //cp = 2 (default)
    
    if high[cp] >= highest[2*cp+1](high) then
    LH = 1
    else
    LH=0
    endif
    
    if low[cp] <= lowest[2*cp+1](low) then
    LL= -1
    else
    LL=0
    endif
    
    if LH=1 then
    hil = high[cp]
    endif
    
    if LL = -1 then
    LOL=low[cp]
    endif
    
    return lol coloured(255,0,0) as "Low Fractal",hil coloured(0,255,0) as "High Fractal"
    
    /////////////end
    #108843 quote
    NicolasNicolas
    Keymaster
    Legend

    Il codice adattato di seguito dovrebbe restituire il punto anziché le linee rette per tracciare il canale frattale:

    /////////// FRACTALS BILL WILLIAMS
    //Variable:
    
    //cp = 2 (default)
    
    if high[cp] >= highest[2*cp+1](high) then
    LH = 1
    else
    LH=0
    endif
    
    if low[cp] <= lowest[2*cp+1](low) then
    LL= -1
    else
    LL=0
    endif
    
    if LH=1 then
    hil = high[cp]
    endif
    
    if LL = -1 then
    LOL=low[cp]
    endif
    
    return lol coloured(255,0,0) style(point,2) as "Low Fractal",hil coloured(0,255,0) style(point,2) as "High Fractal"
    
    /////////////end

    Il canale frattale non è un indicatore MT4 predefinito e ci sono molte versioni su Internet, se hai in mente qualcosa di preciso, ti preghiamo di pubblicare schermate.

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

fractal channel punto più alto/basso


ProBuilder: Indicatori & Strumenti Personalizzati

New Reply
Author
author-avatar
lowbat @lowbat Participant
Summary

This topic contains 3 replies,
has 3 voices, and was last updated by NicolasNicolas
6 years, 11 months ago.

Topic Details
Forum: ProBuilder: Indicatori & Strumenti Personalizzati
Language: Italian
Started: 09/29/2019
Status: Active
Attachments: No files
ProRealCode ProRealCode
Loading...