Hi,
Please take a look at the advanced AllAbsoluteSqueeze_v2 indicator which is based on the AllAbsoluteDifference indicator.
Attachment 4256Code:extern int TimeFrame = 0; // TimeFrame in min extern int MathMode = 1; // Math method: 0-RSI;1-Stoch;2-DMI;3-MACD extern int Price = 0; // Price = 0...10 (see List of Prices) extern int Length = 20; // Period of evaluation(slow MA period for MACD mode) extern int PreSmooth = 1; // Period of PreSmoothing(fast MA period for MACD mode) extern int Smooth = 5; // Period of smoothing extern int MA_Method = 0; // See list above extern double StdDevMultiplier = 2; // Standard Deviation Multiplier extern double ATRMultiplier = 1.5; // ATR Multiplier
Regards,
Igor
Bookmarks