//+------------------------------------------------------------------+ //| Test.mq4 | //| Copyright © 2007, MetaQuotes Software Corp. | //| http://www.metaquotes.net | //+------------------------------------------------------------------+ #property copyright "Copyright © 2007, MetaQuotes Software Corp." #property link "http://www.metaquotes.net" //+------------------------------------------------------------------+ //| expert initialization function | //+------------------------------------------------------------------+ int init() { //---- //---- return(0); } //+------------------------------------------------------------------+ //| expert deinitialization function | //+------------------------------------------------------------------+ int deinit() { //---- //---- return(0); } //+------------------------------------------------------------------+ //| expert start function | //+------------------------------------------------------------------+ int start() { //---- int MACD_Result; string MACD_Display; int FastEMA=12, SlowEMA=20,SignalPeriod=9; double Stoch_Cur_gr =iCustom(NULL,0,"StochHistogram",14,3,3,1,0); double Stoch_Cur_rd =iCustom(NULL,0,"StochHistogram",14,3,3,3,0); double Stoch_Cur_Line =iCustom(NULL,0,"StochHistogram",14,3,3,2,0); Comment ( "Stoch Histo = ", Stoch_Cur_gr, "/", Stoch_Cur_rd,"/", Stoch_Cur_Line); return(0); } //+------------------------------------------------------------------+