通达信晴天下雨主图指标

2016-02-22 10:13:00来源:本站整理浏览:342

通达信晴天下雨主图指标

源码

STICKLINE(C>=O,C,O,7,0),COLORRED; STICKLINE(C>=O,C,O,4,0),COLOR7070FF{B0B0FF}; STICKLINE(C>=O,C,O,2,0),COLORYELLOW; STICKLINE(C>=O,H,L,0,0),COLORYELLOW; STICKLINE(C<=O,C,O,7,0),COLORFF2020; STICKLINE(C<=O,C,O,4,0),COLORFF6600; STICKLINE(C<=O,C,O,2,0),{COLORCYAN;}COLORFFCC66; STICKLINE(C<=O,H,L,0,0),{COLORCYAN}COLORFFCC66;
操盘:MA(CLOSE,9),COLORCYAN,LINETHICK2; 界点:MA(CLOSE,20),COLORMAGENTA; MA5:MA(CLOSE,5),COLORWHITE;
DRAWTEXT(CROSS(ZIG(3,10),REF(ZIG(3,10),1)),LOW,'晴天') , COLORRED,LINETHICK1; DRAWTEXT(CROSS(REF(ZIG(3,10),1),ZIG(3,10)),HIGH,'下雨') , COLORGREEN,LINETHICK1;
VAR1:=LLV(LOW,21); VAR2:=HHV(HIGH,21); AK1:=EMA((((CLOSE - VAR1) / (VAR2 - VAR1)) * 100),5); AK:=EMA((((CLOSE - VAR1) / (VAR2 - VAR1)) * 50),13); DD:=EMA(((0.667 * REF(AK1,1)) + (0.333 * AK1)),2); VAR3:=LLV(LOW,55); VAR4:=HHV(HIGH,34); VAR5:=EMA((((CLOSE - VAR3) / (VAR4 - VAR3)) * 100),3); VAR6:=((AK + VAR5) / 2); VAR7:=EMA(((0.667 * REF(VAR5,1)) + (0.333 * AK1)),2); VAR8:=EMA(VAR6,5); BB:=EMA(((0.667 * REF(VAR8,1)) + (0.333 * VAR8)),2); C1:=(CLOSE+LOW+HIGH)/3; C2:=EMA(C1,6); C3:=EMA(C2,5); C4:=CROSS(C2,C3); DRAWTEXT(C4,LOW/1.05,'椤钱'),,COLORLIGRAY; C5:=CROSS(C3,C2); DRAWTEXT(C5,HIGH*1.03,'走佬'),,COLORGREEN;

股票公式栏目导航

精品指标推荐

最新热门

本类随机推荐

相关公式