This commit is contained in:
2024-04-30 19:09:35 +03:30
parent c566743fab
commit 038dbc8fa8
2 changed files with 3999 additions and 0 deletions
+80
View File
@@ -0,0 +1,80 @@
//
// FLTRCK ...
//
// FLUPTRCK ...
ArraySetAsSeries(flUpTrackerBuffer, true);
SetIndexBuffer(flUpTrackerBufferIndex, flUpTrackerBuffer, INDICATOR_DATA);
PlotIndexSetInteger(flUpTrackerBufferPlotIndex, PLOT_DRAW_BEGIN, maxLength);
PlotIndexSetInteger(flUpTrackerBufferPlotIndex, PLOT_SHOW_DATA, showFiboTracker);
//
// FLUPTRCK Color ...
ArraySetAsSeries(flUpTrackerColorBuffer, true);
SetIndexBuffer(flUpTrackerColorBufferIndex, flUpTrackerColorBuffer, INDICATOR_COLOR_INDEX);
//
// FLDOWNTRCK ...
ArraySetAsSeries(flDownTrackerBuffer, true);
SetIndexBuffer(flDownTrackerBufferIndex, flDownTrackerBuffer, INDICATOR_DATA);
PlotIndexSetInteger(flDownTrackerBufferPlotIndex, PLOT_DRAW_BEGIN, maxLength);
PlotIndexSetInteger(flDownTrackerBufferPlotIndex, PLOT_SHOW_DATA, showFiboTracker);
//
// FLDOWNTRCK Color ...
ArraySetAsSeries(flDownTrackerColorBuffer, true);
SetIndexBuffer(flDownTrackerColorBufferIndex, flDownTrackerColorBuffer, INDICATOR_COLOR_INDEX);
//
// FL Tracker Lines ...
//
#define flUpTrackerBufferIndex 57
#define flUpTrackerBufferPlotIndex 28
double flUpTrackerBuffer[];
//
#define flUpTrackerColorBufferIndex 58
double flUpTrackerColorBuffer[];
//
#property indicator_label29 "X121_XMAN FLTCK Up"
#property indicator_type29 DRAW_COLOR_LINE
#property indicator_color29 CLR_NONE, clrAqua
#property indicator_width29 1
//
#define flDownTrackerBufferIndex 59
#define flDownTrackerBufferPlotIndex 29
double flDownTrackerBuffer[];
//
#define flDownTrackerColorBufferIndex 60
double flDownTrackerColorBuffer[];
//
#property indicator_label30 "X121_XMAN FLTCK DOWN"
#property indicator_type30 DRAW_COLOR_LINE
#property indicator_color30 CLR_NONE, clrMagenta
#property indicator_width30 1
//
// double fibAvg = ((((upPrice - downPrice) / 2) - fibLevel1Value + fibLevel2Value + fibLevel3Value) / 3);
double fibAvg = MathAbs(fibLevel1Value - fibLevel3Value) + ;
double flUpTracker = upPrice - fibAvg;
flUpTrackerBuffer[bar_index] = flUpTracker;
double flDownTracker = downPrice + fibAvg;
flDownTrackerBuffer[bar_index] = flDownTracker;
//
double flTrackerColor = mHideColorIDX;
if (showFiboTracker)
{
flTrackerColor = 1;
}
//
flUpTrackerColorBuffer[bar_index] = flTrackerColor;
flDownTrackerColorBuffer[bar_index] = flTrackerColor;
File diff suppressed because it is too large Load Diff