同花顺抄底买入信号公式,满仓或者红柱买入
主力:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),2,1),LINETHICK2;
见底信号: 20, LINETHICK2,colorred ;
买入准备: IF(主力 =0,50,0), LINETHICK2;
买入时机: IF(CROSS(主力,见底信号),100,18),LINETHICK2,coloryellow;
LC:=REF(CLOSE,1);
RSI:=SMA(MAX(CLOSE-LC,0),4.1,1)/SMA(ABS(CLOSE-LC),4.1,1)*100,coloryellow,LINETHICK1;
红买:FILTER(CROSS(RSI,11),7),colorred;
STICKLINE(红买,0,30,6,1),colorred;
VAR200:=(CLOSE-LLV(LOW,30))/(HHV(HIGH,20)-LLV(LOW,20))*100;
VAR300:=SMA(SMA(VAR200,3,1),3,1)/28.57;
VAR400:=EMA(VAR300,5);
操盘:=3*VAR300-2*VAR400;
A1:=CROSS(操盘,VAR300) AND VAR300 2.1 AND C
STICKLINE(A1,45,0,4,0),COLOR0000FF;
DRAWTEXT(A1,23,'满仓'),colorred;
Q_1:=C-REF(C,1);
Q_2:=100*EMA(EMA(Q_1,6),6)/EMA(EMA(ABS(Q_1),6),6);
Q_3:=CROSS(EMA(C,19),EMA(C,7));
Q_4:=CROSS(EMA(C,7),EMA(C,19));
Z1:=L=LLV(L,BARSLAST(Q_3)+1);
Z2:=LLV(L,BARSLAST(Q_3)+1);
Z3:=H=HHV(H,BARSLAST(Q_4)+1);
Z4:=HHV(H,BARSLAST(Q_4)+1);
Q_A:=DRAWLINE(Z1,Z2,Z3,Z4,0);
Y1:=H=HHV(H,BARSLAST(Q_4)+1);
Y2:=HHV(H,BARSLAST(Q_4)+1);
Y3:=L=LLV(L,BARSLAST(Q_3)+1);
Y4:=LLV(L,BARSLAST(Q_3)+1);
Q_B:=DRAWLINE(Y1,Y2,Y3,Y4,0);
TJ:=IF(Q_B REF(Q_B,1) AND Q_B=Q_A,1,0);
堪称一绝:STICKLINE(REF(TJ,1)=0 AND TJ =1 AND CCI -40 ,0,-50,1,-1),colorred;DRAWTEXT_FIX(C O,0.01,0.9,0,' www.9m8.cn '),colorred;
DRAWTEXT_FIX(C O,1,1,0,'程序化交易模型'),colorred;