last ...
This commit is contained in:
+51
-15
@@ -195,8 +195,8 @@ bool InitialEA()
|
||||
//
|
||||
// Define Signallers ...
|
||||
ENUM_X121_SIGNAL_PROVIDERS signallers[];
|
||||
Add(X786, signallers);
|
||||
// Add(X110, signallers);
|
||||
// Add(X786, signallers);
|
||||
Add(X121, signallers);
|
||||
// Add(X121, signallers);
|
||||
// Add(X128, signallers);
|
||||
// Add(X92, signallers);
|
||||
@@ -259,6 +259,9 @@ bool InitialEA()
|
||||
//
|
||||
ConfigureDescriptor(iDescriptor);
|
||||
|
||||
//
|
||||
ApplyPreDefineConfigurations(iDescriptor);
|
||||
|
||||
//
|
||||
// Init Inputs ...
|
||||
result = iDescriptor.inputs.Init();
|
||||
@@ -307,7 +310,7 @@ void ConfigureDescriptor(
|
||||
//
|
||||
// XHK ...
|
||||
iDescriptor.inputs.hkInputs.drawHikenAshi = false;
|
||||
iDescriptor.inputs.hkInputs.drawSmoothedHikenAshi = true;
|
||||
iDescriptor.inputs.hkInputs.drawSmoothedHikenAshi = false;
|
||||
|
||||
//
|
||||
// XMRB ...
|
||||
@@ -324,8 +327,8 @@ void ConfigureDescriptor(
|
||||
//
|
||||
// XICH ...
|
||||
iDescriptor.inputs.ichInputs.showKumo = false;
|
||||
iDescriptor.inputs.ichInputs.showKijunSen = true;
|
||||
iDescriptor.inputs.ichInputs.showTenkanSen = true;
|
||||
iDescriptor.inputs.ichInputs.showKijunSen = false;
|
||||
iDescriptor.inputs.ichInputs.showTenkanSen = false;
|
||||
iDescriptor.inputs.ichInputs.showChikouSpan = false;
|
||||
iDescriptor.inputs.ichInputs.showSenkouSpanA = false;
|
||||
iDescriptor.inputs.ichInputs.showSenkouSpanB = false;
|
||||
@@ -341,30 +344,30 @@ void ConfigureDescriptor(
|
||||
|
||||
//
|
||||
// XPV ...
|
||||
iDescriptor.inputs.pvInputs.showPeaksAndVales = true;
|
||||
iDescriptor.inputs.pvInputs.showPeaksAndVales = false;
|
||||
iDescriptor.inputs.pvInputs.showLevels = false;
|
||||
iDescriptor.inputs.pvInputs.showConsolidations = false;
|
||||
iDescriptor.inputs.pvInputs.showFibo1Levels = true;
|
||||
iDescriptor.inputs.pvInputs.showFibo2Levels = true;
|
||||
iDescriptor.inputs.pvInputs.showFibo3Levels = true;
|
||||
iDescriptor.inputs.pvInputs.showFibo4Levels = true;
|
||||
iDescriptor.inputs.pvInputs.showFibo5Levels = true;
|
||||
iDescriptor.inputs.pvInputs.showFibo1Levels = false;
|
||||
iDescriptor.inputs.pvInputs.showFibo2Levels = false;
|
||||
iDescriptor.inputs.pvInputs.showFibo3Levels = false;
|
||||
iDescriptor.inputs.pvInputs.showFibo4Levels = false;
|
||||
iDescriptor.inputs.pvInputs.showFibo5Levels = false;
|
||||
|
||||
//
|
||||
// XZG ...
|
||||
iDescriptor.inputs.zgInputs.showZigZag = true;
|
||||
iDescriptor.inputs.zgInputs.showPeaksAndVales = true;
|
||||
iDescriptor.inputs.zgInputs.showZigZag = false;
|
||||
iDescriptor.inputs.zgInputs.showPeaksAndVales = false;
|
||||
|
||||
//
|
||||
// XDON ...
|
||||
iDescriptor.inputs.donInputs.showOpen = false;
|
||||
iDescriptor.inputs.donInputs.showHigh = true;
|
||||
iDescriptor.inputs.donInputs.showHigh = false;
|
||||
iDescriptor.inputs.donInputs.showClose = false;
|
||||
iDescriptor.inputs.donInputs.showLow = false;
|
||||
|
||||
//
|
||||
// XSTR ...
|
||||
iDescriptor.inputs.strInputs.showTrends = true;
|
||||
iDescriptor.inputs.strInputs.showTrends = false;
|
||||
iDescriptor.inputs.strInputs.fillTrends = false;
|
||||
|
||||
//
|
||||
@@ -972,4 +975,37 @@ void ConfigureMarketDrawSpecs(
|
||||
}
|
||||
}
|
||||
|
||||
//
|
||||
void ApplyPreDefineConfigurations(X121ProviderDescriptor &iDescriptor)
|
||||
{
|
||||
//
|
||||
bool isX786 = false;
|
||||
bool isX121 = true;
|
||||
|
||||
//
|
||||
if (isX786)
|
||||
{
|
||||
}
|
||||
|
||||
//
|
||||
if (isX121)
|
||||
{
|
||||
//
|
||||
iDescriptor.inputs.mrbInputs.showFastMa = isX121;
|
||||
iDescriptor.inputs.mrbInputs.showSlowMa = isX121;
|
||||
iDescriptor.inputs.mrbInputs.showRibbon = isX121 && false;
|
||||
|
||||
//
|
||||
iDescriptor.inputs.mcInputs.showFastMa = isX121;
|
||||
iDescriptor.inputs.mcInputs.showSlowMa = isX121;
|
||||
iDescriptor.inputs.mcInputs.showVerifierMa = isX121;
|
||||
|
||||
//
|
||||
iDescriptor.inputs.cheInputs.showLongExit1Line = isX121;
|
||||
iDescriptor.inputs.cheInputs.showShortExit1Line = isX121;
|
||||
iDescriptor.inputs.cheInputs.showLongExit2Line = isX121;
|
||||
iDescriptor.inputs.cheInputs.showShortExit2Line = isX121;
|
||||
}
|
||||
}
|
||||
|
||||
//
|
||||
Reference in New Issue
Block a user