通达信趋势武器主图指标公式
2020/2/1 17:52:35
逃顶参数A:=18;逃顶参数B:=68;
M1: EMA(CLOSE,3);
M2: EMA(CLOSE,8);
M3: EMA(M2,13);
M4: EMA(M2,62);
VAR1:=EMA(M3,62);
M5: EMA(M4,78);
M6: EMA(VAR1,138);
VAR2:=(CLOSE+HIGH+LOW)/3;
VAR3:=EMA(VAR2,10);
VAR4:=REF(VAR3,1);
{看股吧-股票公式网站 www.kanguba.com}
STICKLINE(VAR3>VAR4,VAR3,VAR4,8,0),COLORRED;
STICKLINE(VAR3<VAR4,VAR3,VAR4,8,0),COLORGREEN;
VAR5:=(REF(HIGH,1)+REF(LOW,1))/2;
VAR6:=MA(CLOSE,逃顶参数A)+2*STD(CLOSE,逃顶参数A);
VAR7:=REF(CLOSE,1);
VAR8:=SMA(MAX(CLOSE-VAR7,0),7,1)/SMA(ABS(CLOSE-VAR7),7,1)*100;
VAR9:=CROSS(69,VAR8);
VARA:=FILTER(VAR9,4);
VARB:=(2*CLOSE+HIGH+LOW)/4;
VARC:=LLV(LOW,34);
VARD:=HHV(HIGH,34);
VARE:=EMA((VARB-VAR1)/(VAR5-VAR1)*100,7);
VARF:=EMA(0.667*REF(VARE,1)+0.333*VARE,5);
VAR10:=MA(CLOSE,80)-MA(CLOSE,10)/3;
DRAWICON(IF(CLOSE<VAR10 AND VOL/240>MA(VOL,5)/240 AND CLOSE>REF(CLOSE,1)*1.08 AND CLOSE<MA(CLOSE,13)*1.3,1,0),LOW*0.95,1),COLOR00FF00;
DRAWTEXT(IF(CLOSE<VAR10 AND VOL/240>MA(VOL,5)/240 AND CLOSE>REF(CLOSE,1)*1.08 AND CLOSE<MA(CLOSE,13)*1.3,1,0),LOW,'抄底!'),COLORYELLOW;
VAR11:=REF(CLOSE,1);
VAR12:=SMA(MAX(CLOSE-VAR11,0),逃顶参数A,1)/SMA(ABS(CLOSE-VAR11),逃顶参数A,1)*100;
DRAWICON(CROSS(逃顶参数B,VAR12),HIGH*1.035,2);
DRAWTEXT(CROSS(逃顶参数B,VAR12),HIGH*1.04,'逃顶');
看 股吧公式 www. kanguba.com
其它股票公式列表