逃顶参数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);
{- }
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,’逃顶’);

声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。