Premium1 468x60 forex
Page 28 of 29 FirstFirst ... 18 26 27 28 29 LastLast
Results 271 to 280 of 284
Like Tree76Likes

AllPivots

This is a discussion on AllPivots within the Trading tools forums, part of the Trading Forum category; Originally Posted by julio@ Hi dear Igor, I am using the following parameters in the iCustom () function but when ...

          
   
  1. #271
    Developer igorad's Avatar
    Join Date
    Feb 2013
    Posts
    2,113
    Follow igorad On Twitter Add igorad on Facebook Add igorad on Google+
    Add igorad on Linkedin
    Quote Originally Posted by julio@ View Post
    Hi dear Igor,

    I am using the following parameters in the iCustom () function but when it is executed in the EA it performs the entries in the S1 and R1 of the previous week. What am I doing wrong?

    Attachment 35524




    Regards,

    Hi julio@,

    Please check out the updated AllPivots indicators for both platforms that work in EAs properly.

    AllPivots-voltycloudtrader_v1.8-allpivots.png


    Code:
    input string            pivotsInputs               = "===== AllPivots settings: =====";
    input ENUM_TIMEFRAME    pivotsTimeFrame            =       D1;    // TimeFrame 
    input int               pivotsLength               =        1;    // Length in periods(eg. 2= 2 days)  
    input ENUM_PIVOTS       pivotsMode                 = floor_piv;   // Pivot Mode  
    input string            pivotsValues               = "0;1;2;3;4"; // Pivot values(ratios)
    input ENUM_BASEPRICE    pivotsBasePrice            = prevtypical; // Base Price
    input int               pivotsBaseHourShift        =        0;    // Base Hour Shift(eg.0-start of the day)
    input bool              pivotsShowMedians          =    false;    // Show Medians 
    input ENUM_RANGE        pivotsRangeMode            =   hilo_r;    // Range Mode
    input string            pivotsAvgPeriod            =      "1";    // Avg Periods in bars  
    input int               pivotsSessionStartHour     =        0;    // Session Start Hour(eg. 9 for DAX,0-for Forex)
    input int               pivotsSessionEndHour       =        0;    // Session End Hour(eg. 22 for DAX,0-for Forex)
    input int               pivotsNumberOfDigits       =        4;    // Number of digits after decimal point 
    input bool              pivotsShowPivots           =     true;    // Show Pivots
    input int               pivotsShift                =        1;    // AllPivots Shift
    input int               pivotsEntryMode            =        1;    // Entry Mode: 0-off,1-sell above r1/buy below s1,2-r2/s2,3-r3/s3   
    
    
    string            UniqueName              =  "Pivots";            // Unique Name
    bool              ShowOnWeekends          =  false;               // Show Piovts On Weekends
    bool              ShowGradientLevelColor  =  true;                // Show Gradient Level Colors
    color             MainPivotColor          =  clrSilver;           // Main Pivot Color
    int               MainPivotWidth          =  1;                   // Main Pivot Width
    color             UpperLevelColor         =  clrTomato;           // Upper Level Color         
    color             LowerLevelColor         =  clrLimeGreen;        // Lower Level Color
    ENUM_LINE_STYLE   LevelStyle              =  STYLE_SOLID;         // Level Style
    int               LevelWidth              =  2;                   // Level Width                   
    bool              ShowMedians             =  false;               // Show Medians 
    color             MedianColor             =  clrSilver;           // Median Color
    bool              ShowGradientMedianColor =  true;                // Show Gradient Median Colors
    ENUM_LINE_STYLE   MedianStyle             =  STYLE_DOT;           // Median Style
    int               MedianWidth             =  0;                   // Median Width
    bool              ShowPivotValues         =  false;               // Show Pivot Values
    string            FontName                =  "Arial";             // Font Name
    int               FontSize                =  7;                   // Font Size
    color             TextColor               =  clrWhite;            // Text Color
    bool              ShowGradientTextColor   =  false;               // Show Gradient Text Colors
    ENUM_ANCHOR_POINT DescriptionAnchor       =  0;                   // Level's Description Anchor
    bool              UseStaticLocation       =  true;                // Use Static Location for the Level's Description
    int               DescriptionDistance     =  0;                   // Distance from the Anchor(in bars) for Level's Description  
    bool              ShowPeriodSeparators    =  true;                // Show Period Separators
    color             PeriodSeparatorsColor   =  clrGray;             // Period Separators Color
    bool              ShowBackground          =  false;               // Show Background
    color             BackgroundColor         =  clrBlack;            // Background Color
    bool              ShowGradientBgColor     =  true;                // Show Gradient Background Colors
    bool              ShowComment             =  false;               // Show Comments
    
    
    r1[0] = iCustom(_Symbol,0,"AllPivots_v5.9 600+","",pivotsTimeFrame,UniqueName,pivotsLength,pivotsMode,pivotsValues,pivotsBasePrice,pivotsBaseHourShift,pivotsRangeMode,pivotsAvgPeriod,pivotsSessionStartHour,pivotsSessionEndHour,pivotsNumberOfDigits,
                    "",pivotsShowPivots,ShowOnWeekends,ShowGradientLevelColor,MainPivotColor,MainPivotWidth,UpperLevelColor,LowerLevelColor,LevelStyle,LevelWidth,pivotsShowMedians,MedianColor,ShowGradientMedianColor,
                    MedianStyle,MedianWidth,ShowPivotValues,FontName,FontSize,TextColor,ShowGradientTextColor,DescriptionAnchor,UseStaticLocation,DescriptionDistance,ShowPeriodSeparators,
                    PeriodSeparatorsColor,ShowBackground,BackgroundColor,ShowGradientBgColor,ShowComment,1,bar);
       
    s1[0] = iCustom(_Symbol,0,"AllPivots_v5.9 600+","",pivotsTimeFrame,UniqueName,pivotsLength,pivotsMode,pivotsValues,pivotsBasePrice,pivotsBaseHourShift,pivotsRangeMode,pivotsAvgPeriod,pivotsSessionStartHour,pivotsSessionEndHour,pivotsNumberOfDigits,
                    "",pivotsShowPivots,ShowOnWeekends,ShowGradientLevelColor,MainPivotColor,MainPivotWidth,UpperLevelColor,LowerLevelColor,LevelStyle,LevelWidth,pivotsShowMedians,MedianColor,ShowGradientMedianColor,
                    MedianStyle,MedianWidth,ShowPivotValues,FontName,FontSize,TextColor,ShowGradientTextColor,DescriptionAnchor,UseStaticLocation,DescriptionDistance,ShowPeriodSeparators,
                    PeriodSeparatorsColor,ShowBackground,BackgroundColor,ShowGradientBgColor,ShowComment,7,bar);
    Regards,
    Igor
    Attached Files Attached Files
    twix, julio@ and v2vboni like this.

  2. #272
    Junior Member
    Join Date
    Mar 2017
    Posts
    3
    Quote Originally Posted by igorad View Post
    Hi julio@,

    Please check out the updated AllPivots indicators for both platforms that work in EAs properly.

    Click image for larger version. 

Name:	VoltyCloudTrader_v1.8 allpivots.png 
Views:	175 
Size:	86.6 KB 
ID:	35558


    Code:
    input string            pivotsInputs               = "===== AllPivots settings: =====";
    input ENUM_TIMEFRAME    pivotsTimeFrame            =       D1;    // TimeFrame 
    input int               pivotsLength               =        1;    // Length in periods(eg. 2= 2 days)  
    input ENUM_PIVOTS       pivotsMode                 = floor_piv;   // Pivot Mode  
    input string            pivotsValues               = "0;1;2;3;4"; // Pivot values(ratios)
    input ENUM_BASEPRICE    pivotsBasePrice            = prevtypical; // Base Price
    input int               pivotsBaseHourShift        =        0;    // Base Hour Shift(eg.0-start of the day)
    input bool              pivotsShowMedians          =    false;    // Show Medians 
    input ENUM_RANGE        pivotsRangeMode            =   hilo_r;    // Range Mode
    input string            pivotsAvgPeriod            =      "1";    // Avg Periods in bars  
    input int               pivotsSessionStartHour     =        0;    // Session Start Hour(eg. 9 for DAX,0-for Forex)
    input int               pivotsSessionEndHour       =        0;    // Session End Hour(eg. 22 for DAX,0-for Forex)
    input int               pivotsNumberOfDigits       =        4;    // Number of digits after decimal point 
    input bool              pivotsShowPivots           =     true;    // Show Pivots
    input int               pivotsShift                =        1;    // AllPivots Shift
    input int               pivotsEntryMode            =        1;    // Entry Mode: 0-off,1-sell above r1/buy below s1,2-r2/s2,3-r3/s3   
    
    
    string            UniqueName              =  "Pivots";            // Unique Name
    bool              ShowOnWeekends          =  false;               // Show Piovts On Weekends
    bool              ShowGradientLevelColor  =  true;                // Show Gradient Level Colors
    color             MainPivotColor          =  clrSilver;           // Main Pivot Color
    int               MainPivotWidth          =  1;                   // Main Pivot Width
    color             UpperLevelColor         =  clrTomato;           // Upper Level Color         
    color             LowerLevelColor         =  clrLimeGreen;        // Lower Level Color
    ENUM_LINE_STYLE   LevelStyle              =  STYLE_SOLID;         // Level Style
    int               LevelWidth              =  2;                   // Level Width                   
    bool              ShowMedians             =  false;               // Show Medians 
    color             MedianColor             =  clrSilver;           // Median Color
    bool              ShowGradientMedianColor =  true;                // Show Gradient Median Colors
    ENUM_LINE_STYLE   MedianStyle             =  STYLE_DOT;           // Median Style
    int               MedianWidth             =  0;                   // Median Width
    bool              ShowPivotValues         =  false;               // Show Pivot Values
    string            FontName                =  "Arial";             // Font Name
    int               FontSize                =  7;                   // Font Size
    color             TextColor               =  clrWhite;            // Text Color
    bool              ShowGradientTextColor   =  false;               // Show Gradient Text Colors
    ENUM_ANCHOR_POINT DescriptionAnchor       =  0;                   // Level's Description Anchor
    bool              UseStaticLocation       =  true;                // Use Static Location for the Level's Description
    int               DescriptionDistance     =  0;                   // Distance from the Anchor(in bars) for Level's Description  
    bool              ShowPeriodSeparators    =  true;                // Show Period Separators
    color             PeriodSeparatorsColor   =  clrGray;             // Period Separators Color
    bool              ShowBackground          =  false;               // Show Background
    color             BackgroundColor         =  clrBlack;            // Background Color
    bool              ShowGradientBgColor     =  true;                // Show Gradient Background Colors
    bool              ShowComment             =  false;               // Show Comments
    
    
    r1[0] = iCustom(_Symbol,0,"AllPivots_v5.9 600+","",pivotsTimeFrame,UniqueName,pivotsLength,pivotsMode,pivotsValues,pivotsBasePrice,pivotsBaseHourShift,pivotsRangeMode,pivotsAvgPeriod,pivotsSessionStartHour,pivotsSessionEndHour,pivotsNumberOfDigits,
                    "",pivotsShowPivots,ShowOnWeekends,ShowGradientLevelColor,MainPivotColor,MainPivotWidth,UpperLevelColor,LowerLevelColor,LevelStyle,LevelWidth,pivotsShowMedians,MedianColor,ShowGradientMedianColor,
                    MedianStyle,MedianWidth,ShowPivotValues,FontName,FontSize,TextColor,ShowGradientTextColor,DescriptionAnchor,UseStaticLocation,DescriptionDistance,ShowPeriodSeparators,
                    PeriodSeparatorsColor,ShowBackground,BackgroundColor,ShowGradientBgColor,ShowComment,1,bar);
       
    s1[0] = iCustom(_Symbol,0,"AllPivots_v5.9 600+","",pivotsTimeFrame,UniqueName,pivotsLength,pivotsMode,pivotsValues,pivotsBasePrice,pivotsBaseHourShift,pivotsRangeMode,pivotsAvgPeriod,pivotsSessionStartHour,pivotsSessionEndHour,pivotsNumberOfDigits,
                    "",pivotsShowPivots,ShowOnWeekends,ShowGradientLevelColor,MainPivotColor,MainPivotWidth,UpperLevelColor,LowerLevelColor,LevelStyle,LevelWidth,pivotsShowMedians,MedianColor,ShowGradientMedianColor,
                    MedianStyle,MedianWidth,ShowPivotValues,FontName,FontSize,TextColor,ShowGradientTextColor,DescriptionAnchor,UseStaticLocation,DescriptionDistance,ShowPeriodSeparators,
                    PeriodSeparatorsColor,ShowBackground,BackgroundColor,ShowGradientBgColor,ShowComment,7,bar);
    Regards,
    Igor
    Hi Igor,

    One good turn deserves another. It works perfectly for me. I really appreciate what you’ve done for me.

    Thanks for your support.

  3. #273
    Administrator newdigital's Avatar
    Join Date
    Feb 2013
    Posts
    9,918
    Blog Entries
    1653
    Follow newdigital On Twitter Add newdigital on Facebook Add newdigital on Google+ Add newdigital on MySpace
    Add newdigital on Linkedin
    Quote Originally Posted by vsreeram77 View Post
    when i placed in mt4, system hangs immediately, Igor please do the needful
    Quote Originally Posted by vsreeram77 View Post
    after restart, it is showing as like belowAttachment 35577
    Quote Originally Posted by vsreeram77 View Post
    levels for the current day is not coming.. i post previous old version, which works as the best one

    Attachment 35578
    Market is closed today because of weekend (current day will be tomorrow on Monday for example).
    You can try to test tomorrow when the market will be opened.
    If still problems - post here and I will ask Igorad to check.
    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

  4. #274
    Member
    Join Date
    Jun 2015
    Posts
    68

    Display the label when zoom in

    Hello ND,
    Please allow to display the label on the far right when I zoom in.

    The label displays correct on the left on a "normal" chart but when I zoom in on a 5 minute chart then the label does not display. See images attached.

    This display is fine:
    AllPivots-hotforex-metatrader1.jpg

    Can this display be corrected:
    AllPivots-hotforex-metatrader2.jpg

    Thank you

  5. #275
    Senior Member
    Join Date
    Jul 2014
    Posts
    623
    Hi Igor,

    Is this possible to add AllPivots for offline charts?

    Regards,
    Jag

  6. #276
    Developer igorad's Avatar
    Join Date
    Feb 2013
    Posts
    2,113
    Follow igorad On Twitter Add igorad on Facebook Add igorad on Google+
    Add igorad on Linkedin
    Quote Originally Posted by jagadish123 View Post
    Hi Igor,

    Is this possible to add AllPivots for offline charts?

    Regards,
    Jag
    Hi Jag,

    Please check out the updated AllPivots indicator which able to plot on the offline charts. Just set the proper SourceTimeFrame parameter (eg. H1 for M2 chart).


    AllPivots-allpivots_v6.0-600-offline.png


    Regards,
    Igor
    Attached Files Attached Files
    jagadish123 and Tommy like this.

  7. #277
    Senior Member
    Join Date
    May 2013
    Posts
    138
    Quote Originally Posted by igorad View Post
    Hi dndyFX,

    As I mentioned already the AllPivots indicator builds pivots using the current chart data. And Because of that for the Yearly pivots on the W1 chart we should look "inside" of bars to find the correct prices for January,1 and December,31 of each year almost always . So in this case I suggest do not use the AllPivots on larger than D1 timeframes.


    Regards,
    Igor
    Hi Igor,
    Would you recommend a suitable Support & Resistance indicator for higher times than day, week and month.
    Thanks
    Jozo

  8. #278
    Senior Member
    Join Date
    Jul 2014
    Posts
    623
    Great thanks Igor.


    Quote Originally Posted by igorad View Post
    Hi Jag,

    Please check out the updated AllPivots indicator which able to plot on the offline charts. Just set the proper SourceTimeFrame parameter (eg. H1 for M2 chart).


    Click image for larger version. 

Name:	AllPivots_v6.0 600+ offline.png 
Views:	81 
Size:	29.8 KB 
ID:	36518


    Regards,
    Igor

  9. #279
    Member
    Join Date
    Jun 2015
    Posts
    68
    Quote Originally Posted by Eris View Post
    Hello ND,
    Please allow to display the label on the far right when I zoom in.

    The label displays correct on the left on a "normal" chart but when I zoom in on a 5 minute chart then the label does not display. See images attached.

    This display is fine:
    Click image for larger version. 

Name:	HotForex MetaTrader1.jpg 
Views:	144 
Size:	102.8 KB 
ID:	35626

    Can this display be corrected:
    Click image for larger version. 

Name:	HotForex MetaTrader2.jpg 
Views:	145 
Size:	98.6 KB 
ID:	35627

    Thank you
    Thank you for fixing this too! Much appreciated.

  10. #280
    Junior Member
    Join Date
    Aug 2019
    Posts
    9
    Great indicator. is it possible to see the following period pivot points developing? It would be great to see the next days pivots coming to life .

Page 28 of 29 FirstFirst ... 18 26 27 28 29 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
  •