//+------------------------------------------------------------------+ //| | //| Copyright © 2009, --Id-- | //| http://www.metaquotes.net/ | //+------------------------------------------------------------------+ #property copyright "--Id--" extern string AlarmSound = "alert.wav"; extern double LevelValue = 20; //+------------------------------------------------------------------+ //| | //+------------------------------------------------------------------+ int start() { if ( (iCustom(NULL, Period(),"ULTRA_TREND",0,0) > LevelValue) && (iCustom(NULL, Period(),"ULTRA_TREND",0,1) < LevelValue) ) PlaySound(AlarmSound); if ( (iCustom(NULL, Period(),"ULTRA_TREND",1,0) > LevelValue) && (iCustom(NULL, Period(),"ULTRA_TREND",1,1) < LevelValue) ) PlaySound(AlarmSound); return(0); }
Sample
Analysis
Market Information Used:
Indicator Curves created:
Indicators Used:
Custom Indicators Used:
ULTRA_TREND
Order Management characteristics:
Other Features:
It plays sound alerts