多空操盘主图,红色彩带持股(通达信公式 主图 源码 测试图)

[复制链接]
查看75 | 回复0 | 2022-6-27 14:52:58 | 显示全部楼层 |阅读模式

 多空操盘主图

指标使用方法是:红色彩带持股,绿色彩带持币。

DRAWBAND((MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4,RGB(155,50,50),MA(C,24),RGB(83,123,68));
DRAWKLINE(H,O,L,C);
多空:(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4;
趋势:MA(C,24);
DRAWICON(CROSS(多空,趋势),趋势*0.98,1);
A:=C>REF(C,1)*1.09 AND C=H;
STICKLINE(A,H,L,0,2),COLORYELLOW;
STICKLINE(A,O,C,4,2),LINETHICK3,COLORYELLOW;
DRAWTEXT(A,L*0.98,'板');
高1:=REF(HHV(H,120),3);
低1:=REF(LLV(L,120),3);H1:=高1-(高1-低1)*0.191; 
H2:=高1-(高1-低1)*0.382; 
H3:=高1-(高1-低1)*0.5; 
H4:=高1-(高1-低1)*0.618; 
H5:=高1-(高1-低1)*0.809;
突破:=REF(EMA(C,24),1);
A1X:=(EMA(C,13)-突破)/突破*100;
基准:=IF(A1X>=0,REF(EMA(C,10),BARSLAST(CROSS(A1X,0))+1),REF(EMA(C,10),BARSLAST(CROSS(0,A1X))+1));
VAR2:=LLV(LOW,10);
VAR3:=HHV(HIGH,25);
阶段卖出:=3.4,COLORC6C600;
清仓卖出:=3.5,COLORFF75FF;
动力线:=EMA((CLOSE-VAR2)/(VAR3-VAR2)*4,4);
多空转换:MA(C,60),COLORRED,LINETHICK2;
持仓线:IF(A1X>=0 AND C>MA(C,13),多空转换,DRAWNULL),COLORRED,LINETHICK2;
空仓线:IF(A1X<0,多空转换,DRAWNULL),COLORGREEN,LINETHICK2;
 
ML5:=MA(VOL,5),COLORWHITE;
ML35:=MA(VOL,35),COLORYELLOW;
ML135:=MA(VOL,135),COLORGREEN;
TJ11:=CROSS(ML5,ML35) AND COUNT(CROSS(MA(V,5),MA(V,10)),5)>0;
TJ22:=(CROSS(ML5,ML35) AND COUNT(CROSS(MA(V,5),MA(V,10)),5)>0) AND ML35>=ML135;
TJ33:=(多空>=多空转换 AND 趋势>=多空转换) OR 多空>=趋势;
DRAWTEXT(FILTER((TJ33 AND TJ11) OR (TJ33 AND TJ22),5),趋势*0.98,'★'),COLORLIRED;
DRAWTEXT_FIX(ISLASTBAR,0.1,0,0,GNBLOCK);
TJ1:=REF(ABS(C-O)<0.12,1);
TJ2:=REF(ABS((C-O)/O)<0.03,1);
A1:=IF(C>O,C,O);
TJ3:=REF(H/A1>(1+1/100),1);
TJ4:=(MIN(O,C)-L)/L*100>2 AND C<=O AND ABS((C-O)/O)<0.01;
CRX:=TJ2 AND TJ3 AND TJ4;
STICKLINE(CRX,H,L,0,2),COLORGREEN,LINETHICK3;
STICKLINE(CRX,O,C,5,2),LINETHICK3,COLORGREEN;
SYX:=IF(C>O,H/C>1.03,H/O>1.03);
KXTJ:=IF(C>O,(H+C)/2,(H+O)/2);
STICKLINE(SYX AND C>MA(C,5) AND C>MA(C,10) AND C>MA(C,20),KXTJ,KXTJ,3,0),COLORWHITE;
 
DRAWTEXT_FIX(ISLASTBAR,0.01,0,0,HYBLOCK);
DRAWTEXT_FIX(ISLASTBAR,0.1,0,0,GNBLOCK);
 

202252810493286850.png

202252810493286850.png
 

202252810493857614.png

202252810493857614.png

202252810491471841.rar

3.05 KB, 下载次数: 0

售价: 6 金钱  [记录]  [购买]

202252810491471841.rar

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则