在线检测未来函数

能帮忙把擎天柱指标的未来函数去掉

来源:Internet,编辑:股旁网,2012-06-13

编写条件:

编写方法:

 网友求助:

源码:

A1:=EMA(C,12)-EMA(C,25);
A2:=EMA(A1,6);
主力:(A2>=0)*A2,COLORWHITE,LINETHICK0;
STICKLINE(A2>=0,A2,0,5,0),COLORWHITE;
STICKLINE(A2<0,A2,0,5,0),COLORD4FF7F;
STICKLINE(A1<0,A1,0,5,0),COLORB00058;
STICKLINE(A1>=0,A1,0,5,0),COLORRED;
VAR8:=vol>2*MA(VOL,30);
VAR9:="dmi.ADX"(12,6);
VARA:="DMI.ADXR"(12,6);
VARB:=CLOSE>MA(CLOSE,30) AND CLOSE<MA(CLOSE,30)*1.04;
VARC:=MA(CLOSE,30)>REF(MA(CLOSE,30),1);
VARD:=BARSLAST(crOSS(MA(CLOSE,5),MA(CLOSE,10)))<BARSLAST(CROSS(MA(CLOSE,10),MA(CLOSE,5)));
VARF:=TROUGHBARS(3,15,1)<4;
VAR10:=EMA(CLOSE,30)>REF(EMA(CLOSE,30),2);
VAR11:=IF(VARF=1,50,0);
机构:EMA((CLOSE-MA((2*CLOSE+HIGH+LOW)/4,30))/MA((2*CLOSE+HIGH+LOW)/4,30)*100,3),COLORWHITE;
0,COLORRED;
STICKLINE(FILTER(VARF=1,5) AND 机构<-10,50,0,15,0),COLORRED;
STICKLINE(FILTER(VARF=1,5),50,0,8,0),COLORRED;
DRAWTEXT(FILTER(VARF=1,3),25,'擎天柱'),COLORRED ;
STICKLINE(机构<-10,0,机构,0.85,0),COLORGREEN;
STICKLINE(机构>10,0,机构,0.95,0),COLORYELLOW;
 

能帮忙把擎天柱指标的未来函数去掉解答如下:

A1:=EMA(C,12)-EMA(C,25);
A2:=EMA(A1,6);
主力:(A2>=0)*A2,COLORWHITE,LINETHICK0;
STICKLINE(A2>=0,A2,0,5,0),COLORWHITE;
STICKLINE(A2<0,A2,0,5,0),COLORD4FF7F;
STICKLINE(A1<0,A1,0,5,0),COLORB00058;
STICKLINE(A1>=0,A1,0,5,0),COLORRED;
VAR8:=VOL>2*MA(VOL,30);
VAR9:="DMI.ADX"(12,6);
VARA:="DMI.ADXR"(12,6);
VARB:=CLOSE>MA(CLOSE,30) AND CLOSE<MA(CLOSE,30)*1.04;
VARC:=MA(CLOSE,30)>REF(MA(CLOSE,30),1);
VARD:=BARSLAST(CROSS(MA(CLOSE,5),MA(CLOSE,10)))<BARSLAST(CROSS(MA(CLOSE,10),MA(CLOSE,5)));
{VARF:=TROUGHBARS(3,15,1)<4;}
VAR10:=EMA(CLOSE,30)>REF(EMA(CLOSE,30),2);
{VAR11:=IF(VARF=1,50,0);}
机构:EMA((CLOSE-MA((2*CLOSE+HIGH+LOW)/4,30))/MA((2*CLOSE+HIGH+LOW)/4,30)*100,3),COLORWHITE;
0,COLORRED;
{STICKLINE(FILTER(VARF=1,5) AND 机构<-10,50,0,15,0),COLORRED;
STICKLINE(FILTER(VARF=1,5),50,0,8,0),COLORRED;
DRAWTEXT(FILTER(VARF=1,3),25,'擎天柱'),COLORRED ;}
STICKLINE(机构<-10,0,机构,0.85,0),COLORGREEN;
STICKLINE(机构>10,0,机构,0.95,0),COLORYELLOW;

相关文章