大智慧拉升在即指标公式
买:=IF("kdj.J"<0,10,0);
条件:=crOSS(9.9,买);
VAR1:=(2*CLOSE+HIGH+LOW)/4;
VAR2:=LLV(LOW,5);
VAR3:=HHV(HIGH,5);
VAR4:=EMA((VAR1-VAR2)/(VAR3-VAR2)*100,5);
MA1:=MA(VAR4,2);
AA:stICKLINE(VAR4>MA1,VAR4,MA1,8,1),COLORRED;
BBB:STICKLINE(VAR4>MA1 AND REF(VAR4,1)<30,VAR4,MA1,8,1),COLORRED;
STICKLINE(VAR4<=MA1,VAR4,MA1,8,1),COLORFFCC66;
DRAWICON(CROSS(9.9,买),VAR4-12,1);
STICKLINE(CROSS(9.9,买),VAR4+5,MA1-4,8,1),COLORYELLOW;
XXX:=STICKLINE(BBB,VAR4+5,MA1-4,8,1);
STICKLINE(FILTER(XXX ,5) ,VAR4+5,MA1-4,8,1),COLORYELLOW;
Y1:=LLV(L,17);
Y2:=SMA(Abs(L-REF(L,1)),17,1);
Y3:=SMA(MAX(L-REF(L,1),0),17,2);
Q:=-(EMA(IF(L<=Y1,Y2/Y3,-3),1));
STICKLINE(CROSS(Q,0),15,0,6,0), COLORYELLOW;
强拉升: IF(CROSS(Q,0),4,1),COLORYELLOW;
Q1:= (CLOSE-MA(CLOSE,40))/MA(CLOSE,40)*100;
STICKLINE(CROSS(Q1,-24),20,0,6,0), COLORMAGENTA;
加强拉升: IF(CROSS(Q1,-24),4,1),COLORMAGENTA;
VAR5:=EMA(EMA(EMA((2*CLOSE+HIGH+LOW)/4,4),4),4);
天:=( MA((VAR5-REF(VAR5,1))/REF(VAR5,1)*100,2));
地:=( MA((VAR5-REF(VAR5,1))/REF(VAR5,1)*100,1));
STICKLINE(地>天 AND 地<0,10,0,4,0),COLORRED;
开始拉升:STICKLINE(地>天 AND 地<0,10,0,4,0)=1,COLORRED;