?{主圖}
TJ1:=REF(CLOSE,1);
TJ2:(SMA(((C+TJ1)/2),6,1)+SMA(((CLOSE+TJ1)/2),6,1))/2;
TJ3:=MA(C,13);
DILD:=CROSS(TJ3,TJ2),LINETHICK2 ,COLORGREEN;
DRAWTEXT(DILD,HHV(H,3),'頂 '),COLORGREEN;
QSB:=(SMA(((CLOSE+TJ1)/2),7,1)+SMA(((CLOSE+TJ1))/2,7,1))/2;
QSC:=(SMA((CLOSE+TJ1)/2,13,1)+SMA((CLOSE+TJ1)/2,13,1))/2;
DBLD:=CROSS(QSB,QSC) ;
DRAWTEXT(DBLD ,LLV(L,23),'底 '),LINETHICK1,COLORF00FF0;
ZL:=(EMA( (CLOSE+MA(CLOSE,7))/2+MA(CLOSE,7),2))/2,LINETHICK2 ,COLORRED;
SH:=(EMA( (CLOSE+MA(CLOSE,11))/2+MA(CLOSE,11),7))/2,LINETHICK2 ,COLORBLUE;
DRAWTEXT(CROSS(ZL,SH) AND ZL>TJ2,HHV(L,3),'看漲'),COLORMAGENTA;
DRAWTEXT(CROSS(ZL,TJ2) AND ZL>SH ,LLV(H,13),'漲啟動 '),LINETHICK1, COLORF00FF0;
DRAWTEXT(CROSS(SH,TJ2),HHV(H,34),'跌啟動');
收盤后主升浪:STICKLINE(TJ1>TJ2 && ZL>SH,MA(C,10),MA(C,14),2,0),COLORBLUE;
收盤后主跌浪:STICKLINE(TJ1<TJ2 && ZL<SH,MA(C,10),MA(C,14),2,0),COLORMAGENTA;
{提示頂時,可以實現(xiàn)提前出局,收盤實體跌破主升浪藍色柱子水平價位,可以提前出局止盈};
{選股公式}
TJ1:=REF(CLOSE,1);
TJ2:=(SMA(((C+TJ1)/2),6,1)+SMA(((CLOSE+TJ1)/2),6,1))/2;
ZL:=(EMA( (CLOSE+MA(CLOSE,7))/2+MA(CLOSE,7),2))/2;
SH:=(EMA( (CLOSE+MA(CLOSE,11))/2+MA(CLOSE,11),7))/2;
XG:CROSS(ZL,TJ2) && ZL>SH;
以上指標(biāo)改編自底部雷達指標(biāo)公式
聯(lián)系客服