This is a discussion on AllPivots within the Trading tools forums, part of the Trading Forum category; Originally Posted by igorad 3 hours later: nothing changed, all levels at the same places Attachment 34038 thanks very much ...
Igor, i like your pivots very much, i do have found new kind of formula for Support and Resistance level "ZERO=0", do you able to implement this for "Floor" and "Demarks"?
How to use this is for filter daily intraday trading strengths whether it is bullish or bear.
Something like if above PP and R0 then it is bullish; if below PP and S0 then it is bullish
The formula itself is fairly simple just based on previous day open,close,high,low
Another suggestion will be whether it can have a switch to show each levels of support and resistance. for example more often than not, level 3 or 4 are not touch in intraday. so that we can off it to less clogg charts
Last edited by alvinleongcw; 01-19-2019 at 08:30 AM.
Hi igorad. Can you explain how the DOTS level are calculated? like what is the logic behind them?
been succesfully using them, just wondering how they are based
thank you
interesting but I need to All pivot with Alerts. Any beady help
Hi Igor,
Thank you for the code/indicator, I am pretty much new with coding but I tried to have a modified version of your all pivots and fused it with others.
>>> here it is *
*
regards, v2v
*
Last edited by v2vboni; 04-18-2019 at 07:54 AM.
Hi Igor
Can you kindly reply to my message regarding DOTS levels?
thanks very much
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?
iCustom(NULL, 0, "AllPivots_v5.7 600+", "", TimeFrame, UniqueName, Length, PivotMode, PivotValues, BasePrice, BaseHourShift, RangeMode, AvgPeriods, SessionStartHour, SessionEndHour, NumberOfDigits, "", ShowPivots, ShowOnWeekends, ShowGradientLevelColor, MainPivotColor, MainPivotWidth, UpperLevelColor, LowerLevelColor, LevelStyle, LevelWidth, ShowMedians, MedianColor, ShowGradientMedianColor, MedianStyle, MedianWidth, ShowPivotValues, FontName, FontSize1, TextColor, ShowGradientTextColor, DescriptionAnchor, UseStaticLocation, DescriptionDistance, ShowPeriodSeparators, PeriodSeparatorsColor, ShowBackground, BackgroundColor, ShowGradientBgColor, ShowComment, 7, 0);Regards,iCustom(NULL, 0, "AllPivots_v5.7 600+", "", TimeFrame, UniqueName, Length, PivotMode, PivotValues, BasePrice, BaseHourShift, RangeMode, AvgPeriods, SessionStartHour, SessionEndHour, NumberOfDigits, "", ShowPivots, ShowOnWeekends, ShowGradientLevelColor, MainPivotColor, MainPivotWidth, UpperLevelColor, LowerLevelColor, LevelStyle, LevelWidth, ShowMedians, MedianColor, ShowGradientMedianColor, MedianStyle, MedianWidth, ShowPivotValues, FontName, FontSize1, TextColor, ShowGradientTextColor, DescriptionAnchor, UseStaticLocation, DescriptionDistance, ShowPeriodSeparators, PeriodSeparatorsColor, ShowBackground, BackgroundColor, ShowGradientBgColor, ShowComment, 1, 0);
Last edited by julio@; 05-15-2019 at 02:50 AM.
Hi julio@,
Please check out the updated AllPivots indicators for both platforms that work in EAs properly.
Attachment 35558
Regards,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);
Igor
Bookmarks