必涨之星
神奇地预测明日必涨,没有未来函数,请放心使用!
花:=SMA(MAX(CLOSE-REF(CLOSE,1),0),16,2)/SMA(ABS(CLOSE/REF(CLOSE,1)),16,2)*100;
仙=SMA(花,3,1);
女:=SMA(仙,3,1);
仙女=3*仙-2*女;
日:=-100;昨前:=-3;
高1:=-REF(-HHV(H,日),昨前);
低1:=-REF(-LLV(L,日),昨前);
低:=-REFDATE(低1,DATE),colorred,LINETHICK2;
DRAWKLINE(低+(低+LOW), 低+(低+OPEN), 低+(低+HIGH),低+(低+CLOSE));
VARC:=-低+(低+OPEN);
WR1:=-低-(HHV(HIGH,5)-CLOSE)/(HHV(HIGH,5)-LLV(LOW,5));
WR2:=-低+(HHV(HIGH,5)-CLOSE)/(HHV(HIGH,5)-LLV(LOW,5));
买入条件:=CROSS(仙女,女),colorwhite;
卖出条件:=CROSS(女,仙女) ;
DRAWTEXT( 卖出条件,HIGH*1.03,'★'),coloryellow;
DRAWTEXT(买入条件,LOW/1.03,'☆'),colorwhite;
STICKLINE(仙女>女,H,L,5,0),LINETHICK1,colorred;
STICKLINE(仙女>女,H,L,0.2,0),coloryellow;
STICKLINE(仙女>女,O,C,2,0),LINETHICK1,coloryellow;
STICKLINE(仙女<女,H,L,6.2,0),colorwhite;
STICKLINE(仙女<女,H,L,2.2,0),colorblue;
AAA2:=SUM(IF( CLOSE>REF(CLOSE,1),VOL*C,0),0);
AAA3:=SUM(IF( CLOSE<REF(CLOSE,1),VOL*C,0),0);
AAA4:=SUM(IF( CLOSE=REF(CLOSE,1),VOL*C,0),0);
BB1:=0;