Hi all,
Please check out one more tool from the AbsoluteStrength Family - AllAbsoluteDifference_v2. This indicator represents the difference between Bullish and Bearish strengths and looks like an alternative to MACD. But unlike MACD it have overbought/oversold levels as in RSI or Stochastic.
Code:extern int TimeFrame = 0; // TimeFrame in min extern int MathMode = 0; // Math method: 0-RSI;1-Stoch;2-DMI;3-MACD extern int Price = 0; // Price = 0...10 (see List of Prices) extern int Length = 10; // Period of evaluation extern int PreSmooth = 1; // Period of PreSmoothing extern int Smooth = 10; // Period of smoothing extern int Signal = 3; // Period of Signal Line extern int MA_Method = 3; // See list above extern int LevelsMode = 0; // Levels Mode: 0-Standard OverBought/OverSold // 1-StdDev Bands // 2-High/Low Channel extern double OverboughtLevel = 90; // Overbougt Level (ex.70) extern double OversoldLevel = 10; // Oversold Level (ex.30) extern int LookBackPeriod = 30; // LookBack Period for LevelsMode=1,2 extern double UpperMultiplier = 1; // Upper Band Multiplier for LevelsMode=1 extern double LowerMultiplier = 1; // Lower Band Multiplier for LevelsMode=1
Regards,
Igor
UPDATES:
2013.04.22 - version v2.1: 1 minor bug fixed.
Bookmarks