TripleFunctionIndicator (TFI)

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #118855 quote
    ZigoZigo
    Participant
    Master

    TFI is applicable even for very small timeframes, as You can see in the attachement, I use that indicator togheter with the Zigomathematics Indicator (arrowup and arrowdown in the graphic.

     

    //Compute %R Williams Indicator twice, once with the High and second with the low instead of the close
    c1=Williams[n](high)
    c2=Williams[n](low)
    //Compare with the Overbought conditions
    if c1 >-20 and c1 > c1[1] then
    b = close+(0.1*close)-close
    //Compare with the Oversold conditions
    elsif c2 < -80 and c2 < c2[1] then
    b=close -(0.1*close)-close
    endif
    
    //Backgroundcolors and arrow's up and down
    
    if b >= 0 then
    BACKGROUNDCOLOR(0,0,0,35)
    if b crosses over 0 then
    DRAWARROWUP(barindex, low-1.5*AverageTrueRange[14](close))coloured(30,0,150,255)
    endif
    elsif b < 0 then
    BACKGROUNDCOLOR(0,0,0,55)
    if b crosses under 0 then
    DRAWARROWDOWN(barindex, high +1.5*AverageTrueRange[14](close))coloured (255,0,55,255)
    endif
    endif
    return
    DAX-1-minuutTFI.png DAX-1-minuutTFI.png
    #118857 quote
    ZigoZigo
    Participant
    Master

    The same Indicator, TFI and Zigomatematics, as above in a 3 days timeframe.

    I used my birthday for n and m (17,5) , maybe it can be optimalised for the backtest.

    Razz thanked this post
    DAX-3-dagenTFI.png DAX-3-dagenTFI.png
    #119163 quote
    ZigoZigo
    Participant
    Master

    An extra picture in realtime. Its a 76 tics graphic for the short time action.

    DAX-76-Ticks.png DAX-76-Ticks.png
    #119171 quote
    SofitechSofitech
    Participant
    Master

    Good job with your Indicator.
    How do you manage the exit (take profit or your way to exit the trade with it) ?

    Razz thanked this post
    #119180 quote
    ZigoZigo
    Participant
    Master
Viewing 5 posts - 1 through 5 (of 5 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

TripleFunctionIndicator (TFI)


ProBuilder: Indicators & Custom Tools

New Reply
Author
author-avatar
Zigo @zigo Participant
Summary

This topic contains 4 replies,
has 2 voices, and was last updated by ZigoZigo
6 years, 7 months ago.

Topic Details
Forum: ProBuilder: Indicators & Custom Tools
Language: English
Started: 02/06/2020
Status: Active
Attachments: 3 files
ProRealCode ProRealCode
Loading...