Premium4 468x60 forex
Results 1 to 5 of 5
Like Tree1Likes
  • 1 Post By newdigital

Exit strategy

This is a discussion on Exit strategy within the Trading tools forums, part of the Trading Forum category; Hi ND / Igor, Is it possible to create a thread about exit strategy? I believe it is a challenge ...

          
   
  1. #1
    Senior Member
    Join Date
    Jun 2016
    Posts
    246

    Exit strategy

    Hi ND / Igor,
    Is it possible to create a thread about exit strategy?
    I believe it is a challenge for many traders to find the best time to close an order.
    It would be interesting to know the best methods and indicators on Exit, SL,Support and resistance,Reversal etc.
    Strategies using Fibo, ATR,% risk etc.


    Example
    Adaptive Money Management Stops
    By Chuck LeBeau
    Don't Neglect Your Exits

    Regards,
    Rogério

  2. #2
    Administrator newdigital's Avatar
    Join Date
    Feb 2013
    Posts
    9,714
    Blog Entries
    1409
    Follow newdigital On Twitter Add newdigital on Facebook Add newdigital on Google+ Add newdigital on MySpace
    Add newdigital on Linkedin
    You just created this thread
    Premium Trading Forum: subscription, public discussion and latest news
    Trading Forum wiki || Social networks for the forum
    Trading blogs || My blog
    ePayments: premium subscription without paypal

  3. #3
    Senior Member
    Join Date
    Jun 2016
    Posts
    246
    Hi
    I found this strategy based on Fibo to stop / Trailing Stop interesting.
    https://www.mql5.com/en/articles/1349

    Regards,
    Rogério

  4. #4
    Senior Member
    Join Date
    Jun 2016
    Posts
    246
    Hi Igor / ND.
    How to include Fibonacci levels in Expert Advisor (EA)?
    I would like to have the Fibo levels in EA so I can check the best buy and sell zone and filter entries and exit.
    I'm trying the way below but I do not think it's the best way.

    if ( Bid >= r1 && Bid <= r3) { LiberaCompraSR=false; LiberaVendaSR=true; SRZone = "Venda"; FiltraSr="Venda"; } // Sell ZONE

    if (Bid <= s1 && Bid >= s3) { LiberaCompraSR=true; LiberaVendaSR=false; SRZone = "Compra"; FiltraSr="Compra"; } // Buy Zone

    void SRFibo()
    {



    double rates[1][6],yesterday_close=0,yesterday_high=0,yesterday_low= 0;
    ArrayCopyRates(rates, Symbol(), Pivottimeframe);
    if(DayOfWeek()== 1)
    {
    if(TimeDayOfWeek(iTime(Symbol(),Pivottimeframe,1)) == 5)
    {
    yesterday_close = rates[1][4];
    yesterday_high = rates[1][3];
    yesterday_low = rates[1][2];
    }
    else
    {
    for(int d = 5;d>=0;d--)
    {
    if(TimeDayOfWeek(iTime(Symbol(),Pivottimeframe,d)) == 5)
    {
    yesterday_close = rates[d][4];
    yesterday_high = rates[d][3];
    yesterday_low = rates[d][2];
    }
    }
    }
    }
    else
    {
    yesterday_close = rates[1][4];
    yesterday_high = rates[1][3];
    yesterday_low = rates[1][2];
    }
    R = yesterday_high - yesterday_low;//range
    p = (yesterday_high + yesterday_low + yesterday_close)/3;// Standard Pivot
    r3 = p + (R * 1.000);
    r2 = p + (R * 0.618);
    r1 = p + (R * 0.382);
    s1 = p - (R * 0.382);
    s2 = p - (R * 0.618);
    s3 = p - (R * 1.000);
    day_high=0;
    day_low=0;
    nQ=0;
    nD=0;
    D=0;
    Q=0;
    day_high = rates[0][3];
    day_low = rates[0][2];
    D = (day_high - day_low);
    Q = (yesterday_high - yesterday_low);
    //double fb,fs,fe,tp1,tp2,tp3;
    //double ri,re1,re2,re3,ra1,ra2,ra3;
    if (Q > 5)
    {
    nQ = Q;
    }
    else
    {
    nQ = Q*10000;
    }

    if (D > 5)
    {
    nD = D;
    }
    else
    {
    nD = D*10000;
    }
    if (StringSubstr(Symbol(),3,3)=="JPY")
    {
    nQ=nQ/100;
    nD=nD/100;
    }
    drawLine(r3,"R3", Resistance_3,1);
    drawLabel("Resistance 3",r3,Resistance_3);
    drawLine(r2,"R2", Resistance_2,2);
    drawLabel("Resistance 2",r2,Resistance_2);
    drawLine(r1,"R1", Resistance_1,0);
    drawLabel("Resistance 1",r1,Resistance_1);

    drawLine(p,"PIVOT",Pivot,1);
    drawLabel("Pivot level",p,Pivot);

    drawLine(s1,"S1",Support_1,0);
    drawLabel("Support 1",s1,Support_1);
    drawLine(s2,"S2",Support_2,2);
    drawLabel("Support 2",s2,Support_2);
    drawLine(s3,"S3",Support_3,1);
    drawLabel("Support 3",s3,Support_3);
    }


    Thank you,
    Rogério

  5. #5
    Administrator newdigital's Avatar
    Join Date
    Feb 2013
    Posts
    9,714
    Blog Entries
    1409
    Follow newdigital On Twitter Add newdigital on Facebook Add newdigital on Google+ Add newdigital on MySpace
    Add newdigital on Linkedin
    Quote Originally Posted by rogeriob28 View Post
    Hi Igor / ND.
    How to include Fibonacci levels in Expert Advisor (EA)?
    ...
    I passed this question to Igorad so hope he will reply soon.
    rogeriob28 likes this.
    Premium Trading Forum: subscription, public discussion and latest news
    Trading Forum wiki || Social networks for the forum
    Trading blogs || My blog
    ePayments: premium subscription without paypal

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •