Fibonacci tips

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #131978 quote
    KaciKaci
    Participant
    Junior

    Hi there,

    I’m totally new in “trading” and Pro Builder so I may ask noob question here 🙂
    I would need a feedback from your experience:

    Fibonacci Time Zone: I’m trying to optimize my positions by exiting if they have not reached the Take Profit on time. To do that I calculate a Fibonacci target price along with a Fibonacci Time zone in which the target should be reached. However I feel I’m not doing the proper way. I have tried two different calculations:

    Example 1:

    // Unit: 1min
    //History: 15k
    
    
    // Fibonacci
    t = 60
    ll = Lowest[t](low)
    hh = highest[t](high)
    
    BUY 100 Lots AT MARKET
    
    // Fibonacci
    fullrange = hh - ll
    fibo236 = ll + fullrange*0.236
    fibo382 = ll + fullrange*0.382
    fibo50 = ll + fullrange*0.5
    fibo618 = ll + fullrange*0.618
    fibo100 = ll + fullrange
    //Reset hh and ll
    hh=-1000
    ll=1000
    IF Close < fibo236 Then
         SET TARGET PROFIT fibo236
         ExitIndex = Time + t*0.382
    ELSIF Close < fibo382 then
         SET TARGET PROFIT fibo382
         ExitIndex = Time + t*0.5
    ELSIF Close < fibo50 then
         SET TARGET PROFIT fibo50
         ExitIndex = Time + t*0.618
    ELSIF Close < fibo618 THEN
    SET TARGET PROFIT fibo618
    ExitIndex = Time + t
    ELSE
    SET TARGET PROFIT fibo100
    ExitIndex = Time + 1.382*t
    ENDIF

     

    Example 2: I just switched “Time” by Tradeindex

    Both provide benefits on two weeks period but I’m not sure it’s the correct way of using both Fibonacci and Fibonacci Time Zone.  Indeed I can see that most of y position are closed on “Exit” so does it mean the Take Profit has been triggered ? (C.f. screen shot attached)

    Night Fees: most of my positions are held on market during the night do you know if the backtest takes into account the night fees ? What is the impact ?

    Thanks for your feedback.

    Kaci.

    EURNOK_Messy-Strategy.png EURNOK_Messy-Strategy.png Detailed-Report-EURNOK.png Detailed-Report-EURNOK.png
    #131986 quote
    KaciKaci
    Participant
    Junior

    Just changed the following for each target, but it the same result:

    itarget = fibo382 – Tradeprice
    SET TARGET pPROFIT itarget

    #132004 quote
    JC_BywanJC_Bywan
    Moderator
    Master

    Welcome,

    Your topic is moved from French forum to English forum as you chose to use English language. Also within sub-forums topic is moved from “ProBuilder” forum (indicator codes, finishing by return line) to “ProOrder” forum (strategies and backtests, codes with buy sell set target set stop etc… keywords)

    Please find all forums in the following link for future reference: https://www.prorealcode.com/forums/

    Please find these rules, and other rules to follow when using these forums, in the yellow box that must be read just above the “submit” message button.

    Thank you

    #132076 quote
    VonasiVonasi
    Moderator
    Master
    #132107 quote
    RogerRoger
    Participant
    Veteran

    The 0.786 ratio is missing

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

Fibonacci tips


ProOrder: Automated Strategies & Backtesting

New Reply
Author
author-avatar
Kaci @kaci Participant
Summary

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

Topic Details
Forum: ProOrder: Automated Strategies & Backtesting
Language: English
Started: 05/17/2020
Status: Active
Attachments: 2 files
ProRealCode ProRealCode
Loading...