Hi agungp,
Please check out the PriceChannel_Stop indicator in the histo version.
Attachment 13387Code://---- input parameters extern int TimeFrame = 0; //TimeFrame in min extern int UpBandPrice = 2; //Upper Band Price(ex.2 for High) extern int LoBandPrice = 3; //Lower Band Price(ex.3 for Low) extern int ChannelPeriod = 9; //Channel Period (eg.9) extern double Risk = 0; //Channel Narrowing Factor(0..0.5) extern double Ratchet = 0.0; //Ratchet(-1-off,>= 0-on) extern double IndicatorValue = 1; //Indicator Value (ex.1.0) extern string alerts = "--- Alerts & Emails ---"; extern int AlertMode = 0; extern int AlertShift = 1; //Alert Shift:0-current bar,1-previous bar 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
Regards,
Igor
Bookmarks