refactor all requirements for draw and detect pois and also add Fima Helper, Parser Class Implementations for Separation of Concerns ...
This commit is contained in:
@@ -111,7 +111,7 @@ input ENUM_MA_METHOD maMethod = MODE_EMA; // MA Method
|
||||
input ENUM_APPLIED_PRICE maAppliedTo = PRICE_CLOSE; // MA Applied To
|
||||
input int maFastLength = 7; // Fast MA Length
|
||||
input int maSlowLength = 20; // Slow MA Length
|
||||
input int maBondLength = 7; // MA Bond Length
|
||||
input int maBandLength = 7; // MA Band Length
|
||||
input int zigzagDepth = 12; // ZigZag Depth
|
||||
input int zigzagDeviation = 5; // ZigZag Deviation
|
||||
input int zigzagBackStep = 3; // ZigZag Back Step
|
||||
@@ -137,8 +137,8 @@ input bool showSAR = false; // Show Sar
|
||||
input bool showBars = true; // Show Bars
|
||||
input bool showMAFast = false; // Show MA Fast
|
||||
input bool showMASlow = false; // Show MA Slow
|
||||
input bool showMABond = false; // Show MA Bond
|
||||
input bool showHKBond = false; // Show HK Bond
|
||||
input bool showMABand = false; // Show MA Band
|
||||
input bool showHKBand = false; // Show HK Band
|
||||
input bool showBarTime = true; // Show Bar Time
|
||||
input bool showZigZag = false; // Show ZigZag
|
||||
input bool showFiboZone = false; // Show Fibo Zone
|
||||
@@ -312,7 +312,7 @@ int OnInit()
|
||||
fimaInputs.maAppliedTo = maAppliedTo;
|
||||
fimaInputs.maFastLength = maFastLength;
|
||||
fimaInputs.maSlowLength = maSlowLength;
|
||||
fimaInputs.maBondLength = maBondLength;
|
||||
fimaInputs.maBandLength = maBandLength;
|
||||
fimaInputs.zigzagDepth = zigzagDepth;
|
||||
fimaInputs.zigzagDeviation = zigzagDeviation;
|
||||
fimaInputs.zigzagBackStep = zigzagBackStep;
|
||||
@@ -326,8 +326,8 @@ int OnInit()
|
||||
fimaInputs.showSAR = showSAR;
|
||||
fimaInputs.showMAFast = showMAFast;
|
||||
fimaInputs.showMASlow = showMASlow;
|
||||
fimaInputs.showMABond = showMABond;
|
||||
fimaInputs.showHKBond = showHKBond;
|
||||
fimaInputs.showMABand = showMABand;
|
||||
fimaInputs.showHKBand = showHKBand;
|
||||
fimaInputs.showZigZag = showZigZag;
|
||||
fimaInputs.showFiboZone = showFiboZone;
|
||||
fimaInputs.startCalculationForLastBars = startCalculationForLastBars;
|
||||
@@ -354,7 +354,7 @@ int OnInit()
|
||||
// Configure Signaller ...
|
||||
fima1Signaller.ignoreTargets = false;
|
||||
fima1Signaller.slAdditionDistance = 30;
|
||||
fima1Signaller.maxAllowedRiskDistance = 200;
|
||||
fima1Signaller.maxAllowedRiskDistance = 350;
|
||||
fima1Signaller.AddOnSignalEventHandler(OnSignalTriggered);
|
||||
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user