extern double lowPrice = 1.2345; extern double highPrice = 1.6789; //+------------------------------------------------------------------+ //| | //+------------------------------------------------------------------+ double close,hi,lo; int start() { hi=iHigh(NULL,PERIOD_M30,1); lo=iLow(NULL,PERIOD_M30,1); close=iClose(NULL,PERIOD_M30,1); if(close<lowPrice||close>highPrice) { PlaySound("alert.wav"); return(0); } return(0); } // the end.
Sample
Analysis
Market Information Used:
Series array that contains the highest prices of each bar
Series array that contains the lowest prices of each bar
Series array that contains close prices for each bar
Indicator Curves created:
Indicators Used:
Custom Indicators Used:
Order Management characteristics:
Other Features:
It plays sound alerts