RSI's script alert for MetaTrader from IDT
//+------------------------------------------------------------------+
//| RSI_Alert.mq4 |
//| IDT |
//|
http://www.intradaydreamtrading.com/ |
//+------------------------------------------------------------------+
#property copyright "IDT"
#property link "http://www.intradaydreamtrading.com/"
#property indicator_chart_window
//---- input parameters
extern double F_level=30.0;
extern double S_level=70.0;
//+------------------------------------------------------------------+
//| Custom indicator initialization function |
//+------------------------------------------------------------------+
int init()
{
//---- indicators
//----
return(0);
}
//+------------------------------------------------------------------+
//| Custom indicator deinitialization function |
//+------------------------------------------------------------------+
int deinit()
{
//----
//----
return(0);
}
//+------------------------------------------------------------------+
//| Custom indicator iteration function |
//+------------------------------------------------------------------+
int start()
{
int counted_bars=IndicatorCounted();
//----
double currRSI=iRSI("GBPUSD",PERIOD_M5,14,PRICE_CLOSE,0);
if (currRSI>S_level || currRSI<F_level) Alert("RSI=",currRSI);
//----
return(0);
}
//+------------------------------------------------------------------+
1-you must download MetaTrader 4.0
2-open Meta Editor
3-create a clear list
4-paste above's text
5-push compile
6-save as in indicator's folder ---e.g. "IDT RSI"
7-reload MetaTrader
8-add to your GBPUSD chart "IDT RSI" indicator ---- that's all - you can work and you can free your eyes and you can only hear a signal when the price take 30 or 70 levels of RSI
GOOD WORK MY FRIENDS!!!