|
//+------------------------------------------------------------------+ //| 88888888.mq4 | //| Copyright ?2009, MetaQuotes Software Corp. | //| api.*.mq4=$(SciteDefaultHome)apimq4.api | //+------------------------------------------------------------------+ #property copyright \"Copyright ?2009, MetaQuotes Software Corp.\" #property link \"api.*.mq4=$(SciteDefaultHome)apimq4.api\" #property indicator_chart_window #property indicator_buffers 1 #property indicator_color1 Red //---- input parameters extern string FL:MA(CLOSE,17)+ABS(MA(CLOSE,17)-REF(MA(CLOSE,17),1)),colorf4e2; //---- buffers double ExtMapBuffer1[]; //+------------------------------------------------------------------+ //| Custom indicator initialization function | //+------------------------------------------------------------------+ int init() { //---- indicators SetIndexStyle(0,DRAW_LINE); SetIndexBuffer(0,ExtMapBuffer1); //---- return(0); } //+------------------------------------------------------------------+ //| Custom indicator deinitialization function | //+------------------------------------------------------------------+ int deinit() { //---- //---- return(0); } //+------------------------------------------------------------------+ //| Custom indicator iteration function | //+------------------------------------------------------------------+ int start() { int counted_bars=IndicatorCounted(); //---- //---- return(0); } //+------------------------------------------------------------------+ |
EA发布区