cleanup ...
This commit is contained in:
@@ -75,9 +75,11 @@ input ENUM_LINE_STYLE longExitLineStyle = STYLE_DOT; // Long Exit Style
|
||||
//
|
||||
|
||||
//
|
||||
#property indicator_separate_window
|
||||
// #property indicator_separate_window
|
||||
#property indicator_chart_window
|
||||
#property indicator_buffers 2
|
||||
#property indicator_plots 1
|
||||
// #property indicator_plots 1
|
||||
#property indicator_plots 0
|
||||
|
||||
//
|
||||
#define rsiBufferIndex 0
|
||||
@@ -88,11 +90,11 @@ double rsiBuffer[];
|
||||
double rsiColorBuffer[];
|
||||
|
||||
//
|
||||
#property indicator_label1 "XRSI"
|
||||
#property indicator_type1 DRAW_COLOR_LINE
|
||||
#property indicator_color1 clrAqua, clrGray, clrFuchsia
|
||||
#property indicator_style1 STYLE_DOT
|
||||
#property indicator_width1 1
|
||||
// #property indicator_label1 "XRSI"
|
||||
// #property indicator_type1 DRAW_COLOR_LINE
|
||||
// #property indicator_color1 clrAqua, clrGray, clrFuchsia
|
||||
// #property indicator_style1 STYLE_DOT
|
||||
// #property indicator_width1 1
|
||||
|
||||
//
|
||||
// END Buffers ...
|
||||
@@ -288,14 +290,16 @@ void DefineBuffers()
|
||||
// RSI ...
|
||||
string rsiBufferLabel = ShortName + " (" + (string)length + ")";
|
||||
ArraySetAsSeries(rsiBuffer, true);
|
||||
SetIndexBuffer(rsiBufferIndex, rsiBuffer, INDICATOR_DATA);
|
||||
PlotIndexSetInteger(rsiBufferIndex, PLOT_DRAW_BEGIN, length);
|
||||
PlotIndexSetString(rsiBufferIndex, PLOT_LABEL, rsiBufferLabel);
|
||||
SetIndexBuffer(rsiBufferIndex, rsiBuffer, INDICATOR_CALCULATIONS);
|
||||
// SetIndexBuffer(rsiBufferIndex, rsiBuffer, INDICATOR_DATA);
|
||||
// PlotIndexSetInteger(rsiBufferIndex, PLOT_DRAW_BEGIN, length);
|
||||
// PlotIndexSetString(rsiBufferIndex, PLOT_LABEL, rsiBufferLabel);
|
||||
|
||||
//
|
||||
// RSI Color Buffer ...
|
||||
// //
|
||||
// // RSI Color Buffer ...
|
||||
ArraySetAsSeries(rsiColorBuffer, true);
|
||||
SetIndexBuffer(rsiColorBufferIndex, rsiColorBuffer, INDICATOR_COLOR_INDEX);
|
||||
SetIndexBuffer(rsiColorBufferIndex, rsiColorBuffer, INDICATOR_CALCULATIONS);
|
||||
// SetIndexBuffer(rsiColorBufferIndex, rsiColorBuffer, INDICATOR_COLOR_INDEX);
|
||||
|
||||
//
|
||||
// Set Indicator Levels here ...
|
||||
|
||||
Reference in New Issue
Block a user