【资料名称】:双底背离 抄底逃顶介绍【资料描述】:
双底背离 抄底逃顶
{双底背离}
DIF:=EMA(C,12)-EMA(C,26);
DEA:=EMA(DIF,9);
MACD:=2*(DIF-DEA);
QZQ:=BARSLAST(REF(MACD,1)<0 AND MACD>0);
QM:=LLVBARS(MACD,QZQ+20);
MQDZ:=IF(QM>QZQ,REF(MACD,QM),0);
QF:=LLVBARS(DIF,QZQ+20);
DQDZ:=IF(QF>QZQ,REF(DIF,QF),0);
XG1:=MACD<0 AND MACD>MQDZ AND DIF<0 AND DIF>DQDZ AND C=LLV(C,QZQ+20) AND MQDZ<0 AND DQDZ<0;
S05:=SUM(MACD,0);
QST:=BARSLAST(MACD<0 AND REF(MACD,1)>0)+1;
QXT:=BARSLAST(MACD>0 AND REF(MACD,1)<0)+1;
S5:=IF(MACD>0,S05-REF(S05,BARSLAST(MACD<0)),S05-REF(S05,BARSLAST(MACD>0)))/10;
ST:=IF(MACD>0,REF(QST,QXT)+QXT,REF(QXT,QST)+QST);
RS5:=REF(S5,ST);
金底:MACD<0 AND S5>RS5 AND DEA<0 AND REF(XG1,1) AND MACD>REF(MACD,1),COLORRED;
主力1:=EMA((C-MA(C,7))/MA(C,7)*480,2)*5;
散户1:=EMA((C-MA(C,11))/MA(C,11)*480,7)*5;
RSI21:=SMA(MAX(C-REF(C,1),0),6,1)/SMA(ABS(C-REF(C,1)),6,1)*100;
BT222:=CROSS(散户1,主力1) AND 主力1>10;
金顶:RSI21>75 AND BT222;
gd10668
【下载地址隐藏】: 点:回复可见地址