涨停:=C/REF(C,1)>1.0970 AND C=H AND C/REF(C,1)<1.11;
T:=BArslAST(REF(CLOSE,1)/REF(CLOSE,2)>1.05);
魔笛量化值:=(COST(90+(100-90)/2)-COST((100-90)/2))/(COST(90+(100-90)/2)+COST((100-90)/2))*100/2;
周期:=BARSLAST(REF(NOT(涨停),1) AND 涨停);
量化起点:=周期=0 AND CLOSE>=REF(CLOSE,T+1);
X_1:=FORCAST(EMA(CLOSE,3),8);
X_2:=FORCAST(EMA(CLOSE,5),8);
X_3:=FORCAST(EMA(CLOSE,8),8);
X_4:=FORCAST(EMA(CLOSE,13),8);
X_5:=FORCAST(EMA(CLOSE,21),8);
X_6:=X_1+X_2+X_3+X_4-4*X_5;
X_7:=EMA(X_6,2);
X_8:=Abs(X_7)+ABS(REF(X_7,1));
X_9:=(3*CLOSE+2*OPEN+HIGH+LOW)/7;
X_10:=FORCAST(EMA(X_9,16),8);
STICKLINE(X_7>=REF(X_7,1) AND X_10>=REF(X_10,1),0,X_8,2.5,0),COLORRED;
STICKLINE(X_7<REF(X_7,1) AND X_10<=REF(X_10,1),0,X_8,2.5,0),COLORGREEN;
STICKLINE(X_7>=REF(X_7,1) AND X_10<REF(X_10,1),0,X_8,2.56,1),COLORGREEN;
STICKLINE(X_7<REF(X_7,1) AND X_10>=REF(X_10,1),0,X_8,2.5,1),COLORRED;
STICKLINE(量化起点,0,X_8/2,3,0),COLORYELLOW;
声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。
评论(0)