Very simple indicator.
It just trails the current price and gives alert and audio when retracing price crosses it.
Indicator will be visible as a Horizontal or Trend Line that will be capable of trailing the current price at a set number of pips.
It will give a visible alert (displayed on top of ANY open window outside metatrader) followed by an audio alert when price retraces and crosses line.
Variable Parameters of the line will be:
line_type: usual MT4 options
trail_direction: up or down
trail_gap: no of pips between current price and line
audio_alert: off or on
audio_alert_repeat: off or every 30 seconds
Visible alert will say:
PriceTrailerAlert: X pips retracement in ‘currencypair’ ‘timeframe’!
Indicator becomes idle once visible and audio alerts (repeated or not) have fired and line price remains the same. If set to repeat, it will keep on repeating at 30 seconds interval until line is moved (up or down) manually or (in set direction) by price moving beyond previous limit.
Once line is moved, repeating audio is silenced and indicator is set again to trail price in the set direction.
Code will NOT be copyrighted so I can modify parameters in it later if I wish.
Urgency: 4-5 days.