Fractals

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #7806 quote
    mikesharman
    Participant
    New

    Can anyone tell me how I can get Fractals on the prorealtrade platform?

    Cheers..

    #7844 quote
    Nicolas
    Keymaster
    Master

    Please find below the code for the Bill Williams Fractals indicator (found on the web from the SOHOCOOL website);

    /////////// FRACTALS DE BILL WILLIAMS
    //Varible = cp  - par défaut =2
    
    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 "bas",hil coloured(0,255,0) as"haut"
    
    /////////////fin

    You have to set the variables on points mode for a clearer view of the fractals points on the price chart. (see picture attached).

    I’ll add this indicator to the library since it’s a common request.

    fractals-prorealtime.jpg fractals-prorealtime.jpg
    #7850 quote
    mikesharman
    Participant
    New

    Thank you ever so much…

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

Fractals


Platform Support: Charts, Data & Broker Setup

New Reply
Author
Summary

This topic contains 2 replies,
has 2 voices, and was last updated by mikesharman
9 years, 8 months ago.

Topic Details
Forum: Platform Support: Charts, Data & Broker Setup
Language: English
Started: 05/23/2016
Status: Active
Attachments: No files
Logo Logo
Loading...