//+--------------------------------------------------------------------------------------------+ //| Rsi_Lido_SuperRsi_v1.92_Compatible2.mq4 | //| Copyright © 2007, http://finance.groups.yahoo.com/group/MetaTrader_Experts_and_Indicators/ | //| http://finance.groups.yahoo.com/group/MetaTrader_Experts_and_Indicators/ | //| original "RSI_dot" concept by Accrete, and nicely tweaked by | //| telsa of ForexFactory fame !! Many thanks telsa...Accrete | //| | //| Tweaked by Bluto 06/23/07 to work with Super RSI | //| Tweaked by Hartono 07/10/07 Store & Restore Setting to File | //| because on each MT4 Restart the | //| RSIPeriod always reset to 4 | //| made some changes and transferred copyright to | //| http://finance.groups.yahoo.com/group/MetaTrader_Experts_and_Indicators/ | //| transport_david 7/11/07 . | //+--------------------------------------------------------------------------------------------+ #property copyright "Copyright © 2007, http://finance.groups.yahoo.com/group/MetaTrader_Experts_and_Indicators/" #property link "http://finance.groups.yahoo.com/group/MetaTrader_Experts_and_Indicators/" #property indicator_separate_window #property indicator_minimum 0 #property indicator_maximum 100 #property indicator_buffers 2 #property indicator_color1 DodgerBlue #property indicator_color2 Lime #property indicator_level1 75 #property indicator_level2 65 #property indicator_level3 35 #property indicator_level4 25 //---- input parameters extern bool Use_Super_Rsi_GlobalVariable = true; extern bool Use_GlobalVariable_Alert = false; extern int Default_RSIPeriod = 14; extern int Applied_Price = 0; //---- buffers double dRsiLine[]; double dRsiDots[]; //---- vars string SR_RSIPeriod; int goober = 0; int init() { SetIndexBuffer(0,dRsiLine); SetIndexStyle (0,DRAW_LINE); SetIndexLabel (0,"RSI"); SetIndexBuffer(1,dRsiDots); SetIndexStyle (1,DRAW_ARROW); SetIndexArrow (1,159); SetIndexLabel (1,"RSI"); return(0); } int start() { int RSIPeriod = 0; SR_RSIPeriod = AccountNumber()+"_"+Symbol()+"_SR_RSIPeriod"; if (Use_GlobalVariable_Alert == true) { if ( (goober < Time[0]) && (Use_Super_Rsi_GlobalVariable == true) && (!GlobalVariableCheck(SR_RSIPeriod)) ) { Alert(Symbol()," SuperRsi GlobalVariable does not exist, Set Use_Super_Rsi_GlobalVariable = false, Use Default_RSIPeriod"); goober = Time[0]; } } if ( (Use_Super_Rsi_GlobalVariable == true) && (GlobalVariableCheck(SR_RSIPeriod)) ) { RSIPeriod = GlobalVariableGet(SR_RSIPeriod); IndicatorShortName("Rsi Lido SuperRsi v1.92 Mode (" + RSIPeriod + ")"); } else { RSIPeriod = Default_RSIPeriod; IndicatorShortName("Rsi Lido (" + RSIPeriod + ")"); } // Determine how far back to iterate int iBarsToCalc = Bars - IndicatorCounted(); if (iBarsToCalc < Bars) iBarsToCalc++; for (int i=iBarsToCalc-1;i>=0;i--) { dRsiLine[i] = iRSI(Symbol(),0,RSIPeriod,Applied_Price,i); dRsiDots[i] = dRsiLine[i]; } return(0); } //__________________ //Will Code For Pips
Sample
Analysis
Market Information Used:
Series array that contains open time of each bar
Indicator Curves created:
Indicators Used:
Relative strength index
Custom Indicators Used:
Order Management characteristics:
Other Features:
It issuies visual alerts to the screen