Page 1 of 30 1 2 3 11 ... LastLast
Results 1 to 10 of 348
Like Tree104Likes

AllPivots

This is a discussion on AllPivots within the Trading tools forums, part of the Trading Forum category; Hi, In this version of the AllPivots indicator I tried to implement almost all known methods for the Pivot Points ...

      
   

Hybrid View

  1. #1
    igorad
    Guest

    AllPivots

    Hi,

    In this version of the AllPivots indicator I tried to implement almost all known methods for the Pivot Points calculation:

    • Standard Floor Pivots
    • Camarilla Pivots
    • Demark Pivots
    • Fibo Pivots(relative and absolute in pips)
    • Avg Range Levels


    and plus many other combinations of them.


    Code:
    //---- input parameters
    extern string  set1              = "--- Main settings ---";
    extern string  TimeFrame         =  "D1";                //TimeFrame(eg. D1,W1)     
    extern string  UniqueName        =  "AllPivots";         //Unique Name
    extern int     Length            =  5;                   //Length in periods(eg. 2= 2 days)  
    extern int     PivotMode         =  0;                   //Pivot Mode:  0-Standard
                                                             //             1-Camarilla   
                                                             //             2-Demark
                                                             //             3-Fibo relative and Avg Range Levels
                                                             //             4-Fibo absolute(in pips)   
    extern string  PivotValues       =  "0.382;0.618;1;";    //Pivot values(ratios)
    extern int     RangeMode         =  0;                   //Range Mode:  0-Hi/Lo Range;
                                                             //             1-UpRange=High-BasePrice, DnRange=BasePrice-Low 
                                                             //             2-Range=Close-Close[1]                  
    extern int     BaseHourShift     =  0;                   //Base Hour Shift(eg.0-start of the day)
    extern int     BasePrice         =  5;                   //Base Price (0...6) (1 for today's Open)
    extern int     AvgPeriod         =  1;                   //Avg Period  
    
    
    extern string  set2              = "--- Visual settings ---";
    extern int     GradientColorMode =  1;                   //0-off,1-on
    extern color   MainPivotColor    =  Yellow;
    extern int     MainPivotWidth    =  2;
    extern color   UpperLevelColor   =  Blue;
    extern color   LowerLevelColor   =  Red;
    extern int     LineStyle         =  STYLE_SOLID;
    extern int     LineWidth         =  1;
    
    extern bool    ShowPivotValues   =  false;
    extern string  FontName          =  "Arial";
    extern int     FontSize          =  8;
    extern int     CommentMode       =  0;                  //0-off,1-on
    Attachment 1447


    Regards,
    Igor
    TCT, mntiwana, cashdaily and 8 others like this.

  2. #2
    igorad
    Guest

    AllPivots: Camarilla Pivots

    Just want to show how to set up the Camarilla Pivots.

    Code:
    extern string  set1              = "--- Main settings ---";
    extern string  TimeFrame         =  "D1";                //TimeFrame(eg. D1,W1)     
    extern string  UniqueName        =  "AllPivots";         //Unique Name
    extern int     Length            =  5;                   //Length in periods(eg. 2= 2 days)  
    extern int     PivotMode         =  1;                   //Pivot Mode:  0-Standard
                                                             //             1-Camarilla   
                                                             //             2-Demark
                                                             //             3-Fibo relative and Avg Range Levels
                                                             //             4-Fibo absolute(in pips)   
    extern string  PivotValues       =  "0.382;0.618;1;";    //Pivot values(ratios)
    extern int     RangeMode         =  0;                   //Range Mode:  0-Hi/Lo Range;
                                                             //             1-UpRange=High-BasePrice, DnRange=BasePrice-Low 
                                                             //             2-Range=Close-Close[1]                  
    extern int     BaseHourShift     =  0;                   //Base Hour Shift(eg.0-start of the day)
    extern int     BasePrice         =  0;                   //Base Price (0...6) (1 for today's Open)
    extern int     AvgPeriod         =  1;                   //Avg Period
    Attachment 1469
    cashdaily likes this.

  3. #3
    igorad
    Guest

    AllPivots_v3.1

    Please download the updated version of AllPivots with ability to plot Woodie's Pivots(PivotMode = 5 and BasePrice = 7).
    cashdaily, Pipnatized and dadik like this.

  4. #4
    Senior Member
    Join Date
    May 2013
    Posts
    151
    Hi Igorad, once we download the AllPivots_v3.1.mq4, is there an option to install some pivots say Camarilla and ignore those one does not want? What about labels - am I able to label the pivots in Camarilla the traditional way, using H and L letters?
    Thanks

  5. #5
    Administrator newdigital's Avatar
    Join Date
    Feb 2013
    Posts
    10,485
    Blog Entries
    2971
    Follow newdigital On Twitter Add newdigital on Facebook Add newdigital on Google+ Add newdigital on MySpace
    Add newdigital on Linkedin
    Quote Originally Posted by Jozo View Post
    Hi Igorad, once we download the AllPivots_v3.1.mq4, is there an option to install some pivots say Camarilla and ignore those one does not want? What about labels - am I able to label the pivots in Camarilla the traditional way, using H and L letters?
    Thanks
    Hi Jozo,

    About Camarilla and it's difference from Pivot - read this article and watch this small video.

    Just for information.

  6. #6
    igorad
    Guest

    AllPivots: Updates

    Hi Jozo,

    Please check out the updated AllPivots indicator with names of all pivot . Also I a bit improved the Time Shift algorithm for negative BaseHourShift.

    And now you can enter a list of any desired pivot levels. For example, if you want to see only PP, H2/S2, H4/S4 Camarilla Pivots then you should enter following numbers for PivotValues = 0;2;4.


    Attachment 1742


    Regards,
    Igor
    rivalsail and dadik like this.

  7. #7
    igorad
    Guest
    ...is there an option to install some pivots say Camarilla and ignore those one does not want?
    Hi Jozo,

    Please explain what means your question? What pivots you want to ignore?

    Regards,
    Igor

  8. #8
    Senior Member
    Join Date
    May 2013
    Posts
    151
    Hi Igor, suppose I want to use Camarilla and not Demark. The question is whether I have any control of what appears on the chart, customise colours, and tags? For example on the first image, I only see "D levels" and no other tags. Got confused.
    Thanks
    Jozo

  9. #9
    Junior Member
    Join Date
    Sep 2013
    Posts
    3
    Thank you igorad for a great indicator, I have been using v2 for a long time. But I have a problem with v3 and higher not compiling. I get 18 errors and 7 warnings. I'm using build 610 of mt4 platform. I hope you can help me, thank you.

    Code:
    'AllPivots_v3.mq4'	AllPivots_v3.mq4	1	1
    '_Point' - variable already defined	AllPivots_v3.mq4	65	10
    '_Point' - constant cannot be modified	AllPivots_v3.mq4	124	4
    declaration of 'size' hides global declaration at line 64	AllPivots_v3.mq4	333	70
    declaration of 'num' hides global declaration at line 61	AllPivots_v3.mq4	392	11
    not all control paths return a value	AllPivots_v3.mq4	444	1
    declaration of 'num' hides global declaration at line 61	AllPivots_v3.mq4	446	40
    'char' - unexpected token	AllPivots_v3.mq4	474	8
    '=' - name expected	AllPivots_v3.mq4	474	13
    ')' - semicolon expected	AllPivots_v3.mq4	474	38
    '>' - unexpected token	AllPivots_v3.mq4	475	16
    '>' - unexpected token	AllPivots_v3.mq4	475	16
    '<' - unexpected token	AllPivots_v3.mq4	475	29
    '<' - unexpected token	AllPivots_v3.mq4	475	29
    '||' - unexpected token	AllPivots_v3.mq4	475	36
    '>' - unexpected token	AllPivots_v3.mq4	475	45
    '>' - unexpected token	AllPivots_v3.mq4	475	45
    '<' - unexpected token	AllPivots_v3.mq4	475	59
    '<' - unexpected token	AllPivots_v3.mq4	475	59
    ')' - unexpected token	AllPivots_v3.mq4	475	64
    expression has no effect	AllPivots_v3.mq4	475	51
    ')' - unexpected token	AllPivots_v3.mq4	475	65
    '-' - unexpected token	AllPivots_v3.mq4	475	101
    'else' - illegal 'else' without matching 'if'	AllPivots_v3.mq4	476	7
    declaration of 'R' hides global declaration at line 67	AllPivots_v3.mq4	483	20
    declaration of 'R' hides global declaration at line 67	AllPivots_v3.mq4	488	32

  10. #10
    igorad
    Guest
    Quote Originally Posted by WaningGibbous View Post
    Thank you igorad for a great indicator, I have been using v2 for a long time. But I have a problem with v3 and higher not compiling. I get 18 errors and 7 warnings. I'm using build 610 of mt4 platform. I hope you can help me, thank you.

    Code:
    'AllPivots_v3.mq4'	AllPivots_v3.mq4	1	1
    '_Point' - variable already defined	AllPivots_v3.mq4	65	10
    '_Point' - constant cannot be modified	AllPivots_v3.mq4	124	4
    declaration of 'size' hides global declaration at line 64	AllPivots_v3.mq4	333	70
    declaration of 'num' hides global declaration at line 61	AllPivots_v3.mq4	392	11
    not all control paths return a value	AllPivots_v3.mq4	444	1
    declaration of 'num' hides global declaration at line 61	AllPivots_v3.mq4	446	40
    'char' - unexpected token	AllPivots_v3.mq4	474	8
    '=' - name expected	AllPivots_v3.mq4	474	13
    ')' - semicolon expected	AllPivots_v3.mq4	474	38
    '>' - unexpected token	AllPivots_v3.mq4	475	16
    '>' - unexpected token	AllPivots_v3.mq4	475	16
    '<' - unexpected token	AllPivots_v3.mq4	475	29
    '<' - unexpected token	AllPivots_v3.mq4	475	29
    '||' - unexpected token	AllPivots_v3.mq4	475	36
    '>' - unexpected token	AllPivots_v3.mq4	475	45
    '>' - unexpected token	AllPivots_v3.mq4	475	45
    '<' - unexpected token	AllPivots_v3.mq4	475	59
    '<' - unexpected token	AllPivots_v3.mq4	475	59
    ')' - unexpected token	AllPivots_v3.mq4	475	64
    expression has no effect	AllPivots_v3.mq4	475	51
    ')' - unexpected token	AllPivots_v3.mq4	475	65
    '-' - unexpected token	AllPivots_v3.mq4	475	101
    'else' - illegal 'else' without matching 'if'	AllPivots_v3.mq4	476	7
    declaration of 'R' hides global declaration at line 67	AllPivots_v3.mq4	483	20
    declaration of 'R' hides global declaration at line 67	AllPivots_v3.mq4	488	32
    Hi WaningGibbous,

    Please check out the updated AllPivots for the new MT4.

    Regards,
    Igor
    Dr.Fox likes this.

Page 1 of 30 1 2 3 11 ... 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
  •