Page 7 of 35 FirstFirst ... 5 6 7 8 9 17 ... LastLast
Results 61 to 70 of 345
Like Tree104Likes

AllPivots

This is a discussion on AllPivots within the Trading tools forums, part of the Trading Forum category; Originally Posted by FHTrading Good morning to all Hi igor. Check to see in the image please. The first is ...

      
   
  1. #61
    Junior Member
    Join Date
    May 2014
    Posts
    24
    Quote Originally Posted by FHTrading View Post
    Good morning to all Hi igor. Check to see in the image please. The first is on a time chart, the indicator works perfectly. And Now notice when the charge on a renko chart, does not recognize the time of order session. Same setting for both graphics. Default flag setting. I do not understand why this happens. Can you help me please. A big hug. FHTrading.
    Renko is not based on time, I don't think you can put pivot on a renko chart and get the same as on time chart.

  2. #62
    Junior Member
    Join Date
    May 2014
    Posts
    24
    Just a question about AllPivots 3.8 600+ : How can we skip sunday data ? Thank you.

  3. #63
    Junior Member
    Join Date
    May 2014
    Posts
    24
    Quote Originally Posted by airquest View Post
    Just a question about AllPivots 3.8 600+ : How can we skip sunday data ? Thank you.
    I've searched for hours and really can't find a way to skip sunday data with AllPivots, anyone can help, please ?

  4. #64
    Senior Member matfx's Avatar
    Join Date
    Sep 2013
    Location
    Malaysia
    Posts
    1,178
    Blog Entries
    114
    Follow matfx On Twitter
    Hi airquest,

    There's a code from kalenzo which looks like this;

    PHP Code:
    if(DayOfWeek() == 1)
    {
       if(
    TimeDayOfWeek(iTime(Symbol(),PERIOD_D1,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(),PERIOD_D1,d)) == 5)
             {
                 
    yesterday_close rates[d][4];
                 
    yesterday_high rates[d][3];
                 
    yesterday_low rates[d][2];
             } 
    I didn't yet modify it on Igorad's allpivots but just an idea.
    Follow my official trading theregulartrader blog

  5. #65
    Junior Member
    Join Date
    May 2014
    Posts
    24
    Quote Originally Posted by matfx View Post
    Hi airquest,

    There's a code from kalenzo which looks like this;

    PHP Code:
    if(DayOfWeek() == 1)
    {
       if(
    TimeDayOfWeek(iTime(Symbol(),PERIOD_D1,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(),PERIOD_D1,d)) == 5)
             {
                 
    yesterday_close rates[d][4];
                 
    yesterday_high rates[d][3];
                 
    yesterday_low rates[d][2];
             } 
    I didn't yet modify it on Igorad's allpivots but just an idea.


    Thanks for the help, but sorry I couldn't do it myself. I see this in Igorad's code

    Code:
             if(TimeDayOfWeek(pivottime[shift]) == 0) 
             {
             datetime dtime = pivottime[shift];    
             int day = 0;   
                while(day != 1)
                {
                dtime += 60*60;
                day = TimeDayOfWeek(dtime);   
                }
             pivottime[shift] = dtime;
             }
    I'm just trying to add an option so that I can add a MondayShift to take account that pivottime is not on sunday but on friday. It's a bit complicated for me, as I'm not an expert, especially with Time function. Tried to change shift to shift-1 but didn't work...

  6. #66
    Administrator newdigital's Avatar
    Join Date
    Feb 2013
    Posts
    10,473
    Blog Entries
    2910
    Follow newdigital On Twitter Add newdigital on Facebook Add newdigital on Google+ Add newdigital on MySpace
    Add newdigital on Linkedin
    I think - Igorad may do it ...
    airquest likes this.
    Premium Trading Forum: subscription, public discussion and latest news
    Trading Forum wiki || MQL5 channel for the forum
    Trading blogs || My blog

  7. #67
    igorad
    Guest
    Quote Originally Posted by airquest View Post
    Just a question about AllPivots 3.8 600+ : How can we skip sunday data ? Thank you.
    Hi airquest,

    There is an important question -To what day the OHLC of Sunday is related? To Friday or to Monday?

    Regards,
    Igor

  8. #68
    Junior Member
    Join Date
    May 2014
    Posts
    24
    Quote Originally Posted by igorad View Post
    Hi airquest,

    There is an important question -To what day the OHLC of Sunday is related? To Friday or to Monday?

    Regards,
    Igor
    Good question, usually with regular pivots, sunday is related to monday, so the open of the week is on sunday night and the pivot line (based on last friday) begins there. As your pivots are way more advanced, I hope this will be right too. Thank you Igorad.

  9. #69
    igorad
    Guest
    Hi airquest,

    Please check out the fixed AllPivots indicator according to your suggestions.

    Attachment 8224

    Regards,
    Igor
    airquest, matfx and Alex-162 like this.

  10. #70
    Junior Member
    Join Date
    May 2014
    Posts
    24
    Quote Originally Posted by igorad View Post
    Hi airquest,

    Please check out the fixed AllPivots indicator according to your suggestions.

    Regards,

    Igor

    Thanks a lot Igorad. This is much appreciated.

Page 7 of 35 FirstFirst ... 5 6 7 8 9 17 ... LastLast

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
  •