Hi,
Please take a look a the advanced AllRSI indicator in 2 modifications: simple and as a color histogramm.
Attachment 2329Code://---- input parameters extern int TimeFrame = 0; // TimeFrame in min extern int Price = 0; // Price = 0...6 (see List of Prices) extern int Length = 14; // Period of evaluation extern int MA_Method = 24; // According to list above extern int LevelsMode = 2; // Levels Mode: 0-Standard OverBought/OverSold // 1-StdDev Bands // 2-High/Low Channel extern double OverboughtLevel = 80; // Overbougt Level (ex.70) extern double OversoldLevel = 20; // Oversold Level (ex.30) extern int LookBackPeriod = 20; // 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
Please note if MA_Method = 24 then you'll get the RSX indicator.
Regards,
Igor
Bookmarks