启爆盈利主图 擒庄一决胜负【指标公式】(含选股)
第一部分 副图公式 手机/电脑
CAIH1:=EMA(C,2);
CAIH2:=EMA(CAIH1,2);
CAIH3:=EMA(CAIH2,2);
CAIH4:=EMA(CAIH3,2);
盈利:EMA(CAIH2,7),COLORYELLOW,LINETHICK2;
本金:EMA(CAIH4,21),COLORRED,LINETHICK2;
CAIH5:=(2*C+H+L)/4,COLOR00FFFF,LINETHICK0;
CAIH6:=WMA((CAIH5-LLV(L,5))/(HHV(H,5)-LLV(L,5))*100,2);
CAIH7:=WMA(0.618*REF(CAIH6,1)+0.382*CAIH6,2);
DRAWTEXT(CROSS(CAIH7,CAIH6) AND CAIH6>70,H+0.05,'洗盘'),COLORGREEN;
CAIH8:=EMA(C,14),COLORWHITE,LINETHICK1;
CAIH9:=(CAIH8-REF(CAIH8,1))/REF(CAIH8,1)*100;
CAIH10:=REF(EMA(C,14),1);
CAIH11:=(C-CAIH10)/CAIH10*100;
进场:IF(CAIH9>=0,REF(EMA(C,14),BARSLAST(CROSS(CAIH9,0))+1),DRAWNULL),LINETHICK3;
离场:IF(CAIH9REF(盈利,1);
CAIH13:=本金>REF(本金,1);
DRAWTEXT(CROSS(CAIH9,0) AND CLOSE>REF(CLOSE,1)*1.095 AND C>=REF(HHV(H,7),1),L-0.05,'启爆'),COLORYELLOW;
DRAWTEXT(CROSS(CAIH9,0) AND CAIH13 AND LREF(盈利,1);
CAIH13:=本金>REF(本金,1);
{DRAWTEXT(CROSS(CAIH9,0) AND CAIH13 AND L<盈利 AND CAIH12,L-0.22,'擒庄'),COLORYELLOW;}
擒庄:CROSS(CAIH9,0) AND CAIH13 AND LREF(CLOSE,1)*1.095 AND C>=REF(HHV(H,7),1),L-0.05,'启爆'),COLORYELLOW;}
启爆:CROSS(CAIH9,0) AND CLOSE>REF(CLOSE,1)*1.095 AND C>=REF(HHV(H,7),1);
CAIH1:=EMA(C,2);
CAIH2:=EMA(CAIH1,2);
CAIH3:=EMA(CAIH2,2);
CAIH4:=EMA(CAIH3,2);
盈利:EMA(CAIH2,7),COLORYELLOW,LINETHICK2;
本金:EMA(CAIH4,21),COLORRED,LINETHICK2;
CAIH5:=(2*C+H+L)/4,COLOR00FFFF,LINETHICK0;
CAIH6:=WMA((CAIH5-LLV(L,5))/(HHV(H,5)-LLV(L,5))*100,2);
CAIH7:=WMA(0.618*REF(CAIH6,1)+0.382*CAIH6,2);
DRAWTEXT(CROSS(CAIH7,CAIH6) AND CAIH6>70,H+0.05,'洗盘'),COLORGREEN;
CAIH8:=EMA(C,14),COLORWHITE,LINETHICK1;
CAIH9:=(CAIH8-REF(CAIH8,1))/REF(CAIH8,1)*100;
CAIH10:=REF(EMA(C,14),1);
CAIH11:=(C-CAIH10)/CAIH10*100;
进场:IF(CAIH9>=0,REF(EMA(C,14),BARSLAST(CROSS(CAIH9,0))+1),DRAWNULL),LINETHICK3;
离场:IF(CAIH9REF(盈利,1);
CAIH13:=本金>REF(本金,1);
DRAWTEXT(CROSS(CAIH9,0) AND CLOSE>REF(CLOSE,1)*1.095 AND C>=REF(HHV(H,7),1),L-0.05,'启爆'),COLORYELLOW;
DRAWTEXT(CROSS(CAIH9,0) AND CAIH13 AND LREF(盈利,1);
CAIH13:=本金>REF(本金,1);
{DRAWTEXT(CROSS(CAIH9,0) AND CAIH13 AND L<盈利 AND CAIH12,L-0.22,'擒庄'),COLORYELLOW;}
擒庄:CROSS(CAIH9,0) AND CAIH13 AND LREF(CLOSE,1)*1.095 AND C>=REF(HHV(H,7),1),L-0.05,'启爆'),COLORYELLOW;}
启爆:CROSS(CAIH9,0) AND CLOSE>REF(CLOSE,1)*1.095 AND C>=REF(HHV(H,7),1);