非常准的趋势指标源码(附大智慧源码)
-
相关简介:C/C++ Code 复制内容到剪贴板 MA$1:MA(CLOSE,N1); MA$2:MA(CLOSE,N2); MA$3:MA(CLOSE,N3); CG:=MA((LOW+HIGH+CLOSE*2)/4,n1); FHH:=HHV(CG,M); FH1:=HHV(CG,3); FH2:=HHV(CG,2); FLL:=LLV(CG,M); FL1:=LLV(CG,3); FL2:=LLV(CG,2); STICKLINE(MA$1=FLL
-
文章来源:择股网作者:股海网发布时间:2009-09-24浏览次数:
C/C++ Code复制内容到剪贴板
- MA$1:MA(CLOSE, N1);
- MA$2:MA(CLOSE, N2);
- MA$3:MA(CLOSE, N3);
- CG:=MA((LOW+HIGH+CLOSE*2)/4,n1);
- FHH:=HHV(CG,M);
- FH1:=HHV(CG,3);
- FH2:=HHV(CG,2);
- FLL:=LLV(CG,M);
- FL1:=LLV(CG,3);
- FL2:=LLV(CG,2);
- STICKLINE(MA$1>=FLL ,MA$1,FLL,7,1),color0000AA;
- STICKLINE(MA$1<=FHH,MA$1,FHH,7,1),color008800;
- PARTLINE(FH1,FH1>REF(FH1,1),RGB(255,0,0),FH1<REF(FH1,1),RGB(0,255,0)),LINETHICK1;
- PARTLINE(FH2,FH2>REF(FH2,1),RGB(255,0,0),FH2<REF(FH2,1),RGB(0,255,0)),LINETHICK1;
- PARTLINE(FHH,FHH>REF(FHH,1),RGB(255,0,0),FHH<REF(FHH,1),RGB(0,255,0)),LINETHICK1;
- PARTLINE(FL1,FL1>REF(FL1,1),RGB(255,0,0),FL1<REF(FL1,1),RGB(0,255,0)),LINETHICK1;
- PARTLINE(FL2,FL2>REF(FL2,1),RGB(255,0,0),FL2<REF(FL2,1),RGB(0,255,0)),LINETHICK1;
- PARTLINE(FLL,FLL>REF(FLL,1),RGB(255,0,0),FLL<REF(FLL,1),RGB(0,255,0)),LINETHICK1;
- PARTLINE(CG,CG>REF(CG,1),RGB(255,0,0),CG<REF(CG,1),RGB(0,255,0)),LINETHICK1;
- //XA:FORCAST(CLOSE,N1);
- //PARTLINE(XA,XA>REF(XA,1),RGB(255,0,0),XA<REF(XA,1),RGB(0,255,0)),LINETHICK1;STICKLINE((OPEN >= CLOSE),HIGH,LOW,0,0),colorcyan;STICKLINE((OPEN >= CLOSE),OPEN,CLOSE,8,0),colorcyan;
- STICKLINE((OPEN >= CLOSE),HIGH,LOW,0,0),colorcyan;
- STICKLINE((OPEN >= CLOSE),OPEN,CLOSE,8,0),colorcyan;
- STICKLINE((OPEN < CLOSE),HIGH,LOW,0,0),colorred;
- STICKLINE((OPEN < CLOSE),OPEN,CLOSE,6,1),colorred,LINETHICK3;
- STICKLINE((OPEN < CLOSE),OPEN,CLOSE,6,0),coloryellow;
- 参数N1--------13 N2--------55 N3-------65 M-------5
C/C++ Code复制内容到剪贴板
- 大智慧新一代可用
- M1:MA(CLOSE, N1);
- M2:MA(CLOSE, N2);
- M3:MA(CLOSE, N3);
- CG:=MA((LOW+HIGH+CLOSE*2)/4,n1);
- FHH:=HHV(CG,M);
- FH1:=HHV(CG,3);
- FH2:=HHV(CG,2);
- FLL:=LLV(CG,M);
- FL1:=LLV(CG,3);
- FL2:=LLV(CG,2);
- STICKLINE(M1>=FLL ,M1,FLL,7,1),color0000AA;
- STICKLINE(M1<=FHH,M1,FHH,7,1),color008800;
- PARTLINE(FH1,FH1>REF(FH1,1),RGB(255,0,0),FH1<REF(FH1,1),RGB(0,255,0)),LINETHICK1;
- PARTLINE(FH2,FH2>REF(FH2,1),RGB(255,0,0),FH2<REF(FH2,1),RGB(0,255,0)),LINETHICK1;
- PARTLINE(FHH,FHH>REF(FHH,1),RGB(255,0,0),FHH<REF(FHH,1),RGB(0,255,0)),LINETHICK1;
- PARTLINE(FL1,FL1>REF(FL1,1),RGB(255,0,0),FL1<REF(FL1,1),RGB(0,255,0)),LINETHICK1;
- PARTLINE(FL2,FL2>REF(FL2,1),RGB(255,0,0),FL2<REF(FL2,1),RGB(0,255,0)),LINETHICK1;
- PARTLINE(FLL,FLL>REF(FLL,1),RGB(255,0,0),FLL<REF(FLL,1),RGB(0,255,0)),LINETHICK1;
- PARTLINE(CG,CG>REF(CG,1),RGB(255,0,0),CG<REF(CG,1),RGB(0,255,0)),LINETHICK1;
- STICKLINE((OPEN >= CLOSE),HIGH,LOW,0,0),colorcyan;STICKLINE((OPEN >= CLOSE),OPEN,CLOSE,8,0),colorcyan;
- STICKLINE((OPEN >= CLOSE),HIGH,LOW,0,0),colorcyan;
- STICKLINE((OPEN >= CLOSE),OPEN,CLOSE,8,0),colorcyan;
- STICKLINE((OPEN < CLOSE),HIGH,LOW,0,0),colorred;
- STICKLINE((OPEN < CLOSE),OPEN,CLOSE,6,1),colorred,LINETHICK3;
- STICKLINE((OPEN < CLOSE),OPEN,CLOSE,6,0),coloryellow;
下载链接:( 说明:股海资源如需解压密码的请输入本站域名:www.guhai.com.cn请仔细输入!)
|