箱体SAR_leawood_新浪博客

MACD:="MACD.MACD"(12,26,9);
CCI:="CCI.CCI"(14);
DDIF:=EMA(CLOSE,3)-EMA(CLOSE,6),COLORWHITE;
DIFF:=EMA(CLOSE,12)-EMA(CLOSE,26);
MA5:MA(C,5);

STICKLINE(REF(DIFF,1)<REF(DIFF,2) AND DDIF>REF(DDIF,1) AND


DIFF>REF(DIFF,1) AND DIFF<0 ,H,L,4,0),COLORRED;

STICKLINE(REF(DIFF,1)>REF(DIFF,2) AND DDIF<REF(DDIF,1) AND
DIFF<REF(DIFF,1) AND DIFF>0 ,L,H,4,0),COLORGREEN;

STICKLINE(REF(DIFF,1)<REF(DIFF,2) AND DDIF>REF(DDIF,1) AND
DIFF>REF(DIFF,1) AND DIFF>0 ,H,L,3,0),COLORMAGENTA;

STICKLINE(REF(DIFF,1)>REF(DIFF,2) AND DDIF<REF(DDIF,1) AND
DIFF<REF(DIFF,1) AND DIFF<0 ,H,L,3,0),COLORGREEN;
SAR1:="SAR.SAR"(16,4,4,20);
多支撑:IF(MA(C,5)>SAR1,SAR1,DRAWNULL),COLORRED,CROSSDOT;
空压力:IF(MA(C,5)<SAR1,SAR1,DRAWNULL),COLORGREEN,CROSSDOT;
SARR:="SAR.SAR"(16,4,4,20),POINTDOT,LINETHICK4;
DRAWTEXT(FILTER(LLV(CCI,5)<-200 AND "DMI.ADX"(14,6)>50 AND CCI>-200,3),
L*0.99,'徐抄!'),COLORRED;【箱顶】:PEAK(H,5,1)*0.99,COLORGREEN;
【箱底】:TROUGH(L,5,1)*1.005,COLORRED;
ZSAR:=IF(PERIOD=5,"SAR.SAR#WEEK"(16,4,4,20),DRAWNULL);
DSAR:=IF(PERIOD=4,"SAR.SAR#DAY"(16,4,4,20),DRAWNULL);
ZC:IF(ZSAR <C,ZSAR,DRAWNULL),COLORRED,POINTDOT,LINETHICK4;
YL:IF(ZSAR>C OR ZSAR>MA(C,5),ZSAR,DRAWNULL),COLORGREEN,POINTDOT,LINETHICK4;
DZC:IF(DSAR<C,DSAR,DRAWNULL),COLORRED,POINTDOT,LINETHICK4;
DYL:IF((DSAR>C OR DSAR>MA(C,5)),DSAR,DRAWNULL),COLORGREEN,POINTDOT,LINETHICK4;
IF(PEAK(H,5,1)<PEAK(H,5,2),【箱顶】,DRAWNULL),COLORGREEN,LINETHICK2;
IF(PEAK(H,5,1)>PEAK(H,5,2),【箱顶】,DRAWNULL),COLORMAGENTA,LINETHICK2;
IF(TROUGH(L,5,1)>TROUGH(L,5,2) AND C>【箱底】,【箱底】,DRAWNULL),COLORMAGENTA,LINETHICK2;
IF(TROUGH(L,5,1)<TROUGH(L,5,2) OR C<【箱底】,【箱底】,DRAWNULL),COLORGREEN,LINETHICK2;
箱高:【箱顶】-【箱底】,NODRAW;J:="KDJ.J"(30,3,3);
K:="KDJ.K"(9,3,3);JJS:=J-REF(J,1);
DRAWTEXT(FILTER(REF(J+K,1)>190  AND
 ((PERIOD=4  AND H/SD>1.12) OR (PERIOD=5 AND H/SD>1.16))
,4),H*1.02,'跑' ),COLORWHITE;

 

郑重声明:资讯 【箱体SAR_leawood_新浪博客】由 发布,版权归原作者及其所在单位,其原创性以及文中陈述文字和内容未经(企业库qiyeku.com)证实,请读者仅作参考,并请自行核实相关内容。若本文有侵犯到您的版权, 请你提供相关证明及申请并与我们联系(qiyeku # qq.com)或【在线投诉】,我们审核后将会尽快处理。
—— 相关资讯 ——