add support for atr fima inputs inside fima backtester ...
This commit is contained in:
@@ -120,6 +120,12 @@ input ENUM_X_PRICE zigzagLowersMode = X_PRICE_LOW; // ZigZag Low D
|
||||
input bool hkIgnoreShadows = true; // HK Remove noises
|
||||
input int hkSmoothingLength = 21; // HK Smoothing Length
|
||||
input ENUM_X_MA_METHOD hkSmoothingMode = X_MA_MODE_EMA; // HK Smoothing Method
|
||||
input int atrLength = 14; // ATR Length
|
||||
input double atrMultiplier = 1.5; // ATR Band Multiplier
|
||||
input int atrSmoothingLength = 21; // ATR Smoothing Length
|
||||
input ENUM_X_PRICE atrUpperPriceType = X_PRICE_HIGH; // ATR Upper Zone Applied To
|
||||
input ENUM_X_PRICE atrLowerPriceType = X_PRICE_LOW; // ATR Lower Zone Applied To
|
||||
input ENUM_X_MA_METHOD atrSmoothingMode = X_MA_MODE_EMA; // ATR Smoothing Method
|
||||
|
||||
//
|
||||
input group "Bar Timer";
|
||||
@@ -139,6 +145,7 @@ input bool showMAFast = false; // Show MA Fast
|
||||
input bool showMASlow = false; // Show MA Slow
|
||||
input bool showMABand = false; // Show MA Band
|
||||
input bool showHKBand = false; // Show HK Band
|
||||
input bool showATRBand = false; // Show ATR Band
|
||||
input bool showBarTime = true; // Show Bar Time
|
||||
input bool showZigZag = false; // Show ZigZag
|
||||
input bool showFiboZone = false; // Show Fibo Zone
|
||||
@@ -321,6 +328,12 @@ int OnInit()
|
||||
fimaInputs.hkIgnoreShadows = hkIgnoreShadows;
|
||||
fimaInputs.hkSmoothingLength = hkSmoothingLength;
|
||||
fimaInputs.hkSmoothingMode = hkSmoothingMode;
|
||||
fimaInputs.atrLength = atrLength;
|
||||
fimaInputs.atrMultiplier = atrMultiplier;
|
||||
fimaInputs.atrSmoothingLength = atrSmoothingLength;
|
||||
fimaInputs.atrUpperPriceType = atrUpperPriceType;
|
||||
fimaInputs.atrLowerPriceType = atrLowerPriceType;
|
||||
fimaInputs.atrSmoothingMode = atrSmoothingMode;
|
||||
fimaInputs.showPV = showPV;
|
||||
fimaInputs.showHK = showHK;
|
||||
fimaInputs.showSAR = showSAR;
|
||||
@@ -328,6 +341,7 @@ int OnInit()
|
||||
fimaInputs.showMASlow = showMASlow;
|
||||
fimaInputs.showMABand = showMABand;
|
||||
fimaInputs.showHKBand = showHKBand;
|
||||
fimaInputs.showATRBand = showATRBand;
|
||||
fimaInputs.showZigZag = showZigZag;
|
||||
fimaInputs.showFiboZone = showFiboZone;
|
||||
fimaInputs.startCalculationForLastBars = startCalculationForLastBars;
|
||||
|
||||
Reference in New Issue
Block a user