//---- name for DataWindow and indicator subwindow label
IndicatorShortName(\"MACD(\"+FastEMA+\",\"+SlowEMA+\",\"+SignalSMA+\")\");
SetIndexLabel(0,\"MACD\");
SetIndexLabel(1,\"Signal\");
SetIndexLabel(2,\"穿\");
//---- initialization done
return(0);
}
//+------------------------------------------------------------------+
int start()
{
int limit,mark=0, m;
int counted_bars=IndicatorCounted();
if(counted_bars>0) counted_bars--;
limit=Bars-counted_bars;
//---- -------------------------------------
for(int i=0; i