专栏名称: 定锚
开放的自留地
今天看啥  ›  专栏  ›  定锚

智能主图、涨停回马

定锚  · 公众号  ·  · 2024-06-14 11:32
    

文章预览

{智能主图} DIR2:=ABS(CLOSE-REF(CLOSE,30)); VIR2:=SUM(ABS(CLOSE-REF(CLOSE,1)),30); ER2:=DIR2/VIR2; CS2:=ER2*(0.8-2/24)+2/24; CQ2:=CS2*CS2; M熊:EMA(DMA(CLOSE,CQ2),2),COLORGREEN,LINETHICK1; 牛熊:=M熊; M震:IF(M熊/REF(M熊,1)>0.997,M熊,DRAWNULL),COLORBLUE,LINETHICK1; M牛:IF(M熊/REF(M熊,1)>1.001,M熊,DRAWNULL),COLORRED,LINETHICK1; XX1:=C>牛熊 AND 牛熊>REF(牛熊,1); DRAWTEXT_FIX(ISLASTBAR AND XX1,0,0.01,0,'【处于牛区】'),COLORRED; XX2:=C < 牛熊 AND 牛熊 < =REF(牛熊,1); DRAWTEXT_FIX(ISLASTBAR AND XX2,0,0.01,0,'【处于熊区】'),COLORGREEN; F111:=ZIG(3,15); F211:=IF((F111> REF(F111,1)),100,80); T01:=CONST(LLVBARS(LOW,10)); T11HIGH:=CONST(REF(HIGH,T01)); CC1:=CONST(CURRBARSCOUNT); T02:=CONST(BARSLAST((CURRBARSCOUNT >(CC1+T01)) AND (HIGH>T11HIGH))); T12HIGH:=CONST(REF(HIGH,T02)); T03:=CONST(BARSLAST((CURRBARSCOUNT >(CC1+T02)) AND (HIGH>T12HIGH))); T13HIGH:=CONST(REF(HIGH,T03)); 洗:DRAWLINE(CURRBARSCOUNT=T03+1, T13HIGH, ISLASTBAR, T13HIGH, 1),DOTLINE,COLORFFFFFF; ………………………………

原文地址:访问原文地址
快照地址: 访问文章快照
总结与预览地址:访问总结与预览