同花顺超短短线趋势指标公式源码
-
相关简介:同花顺超短短线趋势指标公式源码 C/C++ Code 复制内容到剪贴板 STICKLINE(C0,0,2,8,0),colorwhite; STICKLINE(C0,50,49,8,0),coloryellow,LINETHICK1,POINTDOT; STICKLINE(C0,100,101,8,0),colorwhite; VAR1:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*200; VAR2:=SMA(VAR1,3,1);
-
文章来源:择股网作者:股海网发布时间:2009-09-12浏览次数:
同花顺超短短线趋势指标公式源码
C/C++ Code复制内容到剪贴板
- STICKLINE(C>0,0,2,8,0),colorwhite;
- STICKLINE(C>0,50,49,8,0),coloryellow,LINETHICK1,POINTDOT;
- STICKLINE(C>0,100,101,8,0),colorwhite;
- VAR1:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*200;
- VAR2:=SMA(VAR1,3,1);
- VAR3:=SMA(VAR2,3,1);
- VAR4:=3*VAR2-2*VAR3;
- VAR5:=LLV(LOW,5);
- VAR6:=HHV(HIGH,5);
- VAR7:=EMA((CLOSE-VAR5)/(VAR6-VAR5)*100,4)*2;
- VAR8:=EMA(0.667*REF(VAR7,1)+0.333*VAR7,2);
- VAR9:=3*VAR7-2*VAR8;
- VARA:=POW(MA(CLOSE,5),2)+MA(CLOSE,5);
- VARB:=POW(MA(LOW,5),2)+MA(LOW,5);
- VARC:=POW(MA(HIGH,5),2)+MA(HIGH,5);
- VARD:=(VARA-LLV(VARB,N))/(HHV(VARC,N)-LLV(VARB,N))*150+65-10;
- VARE:=SMA(VARD,3,1)*1.5-100;
- VARF:=SMA(VARE,3,1);
- VAR10:=3*VARE-2*VARF;
- VAR11:=(HIGH+LOW+CLOSE*2)/4;
- VAR12:=EMA(VAR11,N);
- VAR13:=STD(VAR11,N);
- VAR14:=(VAR11-VAR12)*100 ,VAR13;
- VAR15:=EMA(VAR14,N1);
- VAR17:=EMA(VAR15,N2)+200-100;
- VAR18:=EMA(VAR17,N3);
- VAR19:=3*VAR17-2*VAR18;
- VAR1A:=VAR2+VAR7+VARE+VAR17;
- VAR1B:=VAR3+VAR8+VARF+VAR18;
- VAR1C:=VAR4+VAR9+VAR10+VAR19;
- VAR1D:=(HIGH+LOW+CLOSE)/3;
- VAR20:=(VAR1D-MA(VAR1D,N))/(0.015*AVEDEV(VAR1D,N));
- VAR21:=DMA(AMOUNT, VOL/100,VOL/CAPITAL);
- VAR22:=(HIGH+LOW+CLOSE+VAR1D)/4;
- VAR23:=EMA(VAR22,N);
- VAR24:=STD(VAR22,N);
- VAR25:=(VAR22-VAR23)/ VAR24*100;
- VAR26:=(VAR1D-MA(VAR1D,N))/(0.015*AVEDEV(VAR1D,N1));
- VAR27:=EMA(VAR25,5);
- VAR2A:=((VAR27+VAR26+VAR20)/3+165)/4;
- VAR2B:=(EMA(EMA(EMA(VAR2A,15),10),5)-25)*2+VAR21;
- VAR2C:=(VAR1A+VAR1B+VAR1C*30)/32/5-15;
- VAR2D:=EMA(VAR2C,N);
- VAR2E:=(VAR2A+VAR2C)/2/1.1;
- 超短:EMA(VAR2E,3);
- 短线:EMA(超短,5);
- MAC : 2*(超短-短线/2);
- STICKLINE(MAC >0 ,MAC,0,1,1),colorred;
- STICKLINE(MAC <0 ,MAC,0,1,1),colorgreen;
- FILLRGN(超短,短线,(超短>短线),colorwhite);
- FILLRGN(超短,短线,(超短<短线),colorblue);
- 趋势1:=SMA(短线 ,N,1);
- FILLRGN(趋势1,REF(趋势1,2),趋势1>REF(趋势1,2),RGB(255,255,0),趋势1<=REF(趋势1,2),RGB(0,111,255) );
- PARTLINE(趋势1,趋势1>REF(趋势1,1),RGB(255,255,0),趋势1<REF(趋势1,1),RGB(0,111,255)),LINETHICK2;
- STICKLINE(MAC>=REF(MAC,1),MAC,MAC,5,0),colorred,LINETHICK3;
- STICKLINE(MAC<REF(MAC,1),MAC,MAC,5,0),colorgreen,LINETHICK3,POINTDOT;
- 参数 N------13 N1------5 N2------13 N3------55 MAC----采样点
下载链接:( 说明:股海资源如需解压密码的请输入本站域名:www.guhai.com.cn请仔细输入!)
|
上一篇:同花顺超级MACD
下一篇:同花顺一个特好的MACD指标