Hi,
Please take a look at the AllAbsoluteStrengthTrend_v1 indicator with advanced sound/email alerts. So now you can easy build the systems like ASCtrend or AbleTrend (default settings correspond to ASCTrend1).
Code://---- indicator parameters 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 = 9; // Period of evaluation extern int PreSmooth = 1; // Period of PreSmoothing extern int Smooth = 1; // Period of smoothing extern int MA_Method = 0; // See list above extern int LevelsMode = 0; // Levels Mode: 0-Standard OverBought/OverSold // 1-StdDev Bands // 2-High/Low Channel extern double StrengthLevel = 70; // Strength Level (ex.70) extern double WeaknessLevel = 30; // Weakness 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 extern string alerts = "--- Alerts & Emails ---"; extern int AlertMode = 0; extern int SoundsNumber = 5; // Number of sounds after Signal extern int SoundsPause = 5; // Pause in sec between sounds extern string UpSound = "alert.wav"; extern string DnSound = "alert2.wav"; extern int EmailMode = 0; // 0-on,1-off extern int EmailsNumber = 1; // 0-on,1-off
Attachment 1640
Regards,
Igor
Bookmarks