RelStrength.32 = Close Data3/ Close Data2;
RelStrength.34 = Close Data3/ Close Data4;
RelStrength.35 = Close Data3/ Close Data5;
LongAvgRelStren.31 = Average(RelStrength.31, LongRelStrenLookb);
LongAvgSlope.31 = LongAvgRelStren.31 / LongAvgRelStren.31[SlopeLookback];
LongAvgRelStren.32 = Average(RelStrength.32, LongRelStrenLookb);
LongAvgSlope.32 = LongAvgRelStren.32 / LongAvgRelStren.32[SlopeLookback];
LongAvgRelStren.34 = Average(RelStrength.34, LongRelStrenLookb);
LongAvgSlope.34 = LongAvgRelStren.34 / LongAvgRelStren.34[SlopeLookback];
LongAvgRelStren.35 = Average(RelStrength.35, LongRelStrenLookb);
LongAvgSlope.35 = LongAvgRelStren.35 / LongAvgRelStren.35[SlopeLookback];
ShortAvgRelStren.31 = Average(RelStrength.31, ShortRelStrenLookb);
ShortAvgSlope.31 = ShortAvgRelStren.31 / ShortAvgRelStren.31[SlopeLookback];
ShortAvgRelStren.32 = Average(RelStrength.32, ShortRelStrenLookb);
ShortAvgSlope.32 = ShortAvgRelStren.32 / ShortAvgRelStren.32[SlopeLookback];
ShortAvgRelStren.34 = Average(RelStrength.34, ShortRelStrenLookb);
ShortAvgSlope.34 = ShortAvgRelStren.34 / ShortAvgRelStren.34[SlopeLookback];
ShortAvgRelStren.35 = Average(RelStrength.35, ShortRelStrenLookb);
ShortAvgSlope.35 = ShortAvgRelStren.35 / ShortAvgRelStren.35[SlopeLookback];
LongTotStrength.3 = LongAvgSlope.31 * LongAvgSlope.32 * LongAvgSlope.34 *
LongAvgSlope.35;
ShortTotStrength.3 = ShortAvgSlope.31 * ShortAvgSlope.32 * ShortAvgSlope.34
* ShortAvgSlope.35;
RelStrength.41 = Close Data4 / Close;
RelStrength.42 = Close Data4/ Close Data2;
RelStrength.43 = Close Data4/ Close Data3;
RelStrength.45 = Close Data4/ Close Data5;
LongAvgRelStren.41 = Average(RelStrength.41, LongRelStrenLookb);
LongAvgSlope.41 = LongAvgRelStren.41 / LongAvgRelStren.41[SlopeLookback];
LongAvgRelStren.42 = Average(RelStrength.42, LongRelStrenLookb);
LongAvgSlope.42 = LongAvgRelStren.42 / LongAvgRelStren.42[SlopeLookback];
LongAvgRelStren.43 = Average(RelStrength.43, LongRelStrenLookb);
LongAvgSlope.43 = LongAvgRelStren.43 / LongAvgRelStren.43[SlopeLookback];
LongAvgRelStren.45 = Average(RelStrength.45, LongRelStrenLookb);
LongAvgSlope.45 = LongAvgRelStren.45 / LongAvgRelStren.45[SlopeLookback];
ShortAvgRelStren.41 = Average(RelStrength.41, ShortRelStrenLookb);
ShortAvgSlope.41 = ShortAvgRelStren.41 / ShortAvgRelStren.41[SlopeLookback];
150 PART 2 Trading System Development