发表于:2007-12-09 10:54只看该作者
2楼
这是效果图
TD.gif

发表于:2007-12-09 10:56只看该作者
3楼
#property indicator_chart_window
#property indicator_buffers 4
#property indicator_color1 Red
#property indicator_color2 Yellow
#property indicator_color3 Green
extern int 基础均线=20;
extern int 高低平均=90;
extern double 倍数=3.5;
double upper;
double lower;
double med;
double tempa;
int init()
{
SetIndexBuffer(0,upper);
SetIndexBuffer(1,lower);
SetIndexBuffer(2,med);
SetIndexBuffer(3,tempa);
SetIndexStyle(0,DRAW_LINE);
SetIndexStyle(1,DRAW_LINE);
SetIndexStyle(2,DRAW_LINE);
SetIndexDrawBegin(0,高低平均);
SetIndexDrawBegin(1,高低平均);
SetIndexDrawBegin(2,高低平均);
IndicatorDigits(Digits+1);
return(0);
}
int start()
{
int limit;
int counted_bars=IndicatorCounted();
if(counted_bars<0) return(-1);
if(counted_bars>0) counted_bars--;
limit=Bars-counted_bars;
double tempb;
for(int i=0; i
4楼
谢谢秃鹫老师
韬客社区www.talkfx.co
发表于:2007-12-10 11:18只看该作者
5楼
和boll有区别,吗??
http://www.talkforex.com/blog/?23518