同花顺箱体金线主图指标公式

[复制链接]
查看160 | 回复0 | 2021-8-20 21:35:05 | 显示全部楼层 |阅读模式

趋势H1:EMA(CLOSE,6);
H2:EMA(趋势H1,18);
H3:EMA(CLOSE,108),coloryellow;
STICKLINE(趋势H1>H2,趋势H1,H2,1,1),colorred;
STICKLINE(趋势H1<H2,趋势H1,H2,1,1),colorblue;
AB1:=REF(C,10)=HHV(C,2*10+1); BB1:=FILTER(AB1,10); CB1:=BACKSET(BB1,10+1); HBD:=FILTER(CB1,10);
近期压力:REF(C,BARSLAST(HBD)),NODRAW,coloryellow;
STICKLINE(C,近期压力,近期压力,10,0),coloryellow ;DRAWTEXT(ISLASTBAR,近期压力,' 近期压力');
AS1:=REF(C,60)=HHV(C,2*60+1); AS2:=FILTER(AS1,60); AS3:=BACKSET(AS2,60+1); AS4:=FILTER(AS3,60);
长期压力:REF(C,BARSLAST(AS4)),NODRAW,colorred;
STICKLINE(C,长期压力,长期压力,10,0),colorred;DRAWTEXT(ISLASTBAR,长期压力,' 长期压力');
跌幅:=(C-REF(C,1))/REF(C,1)*100<-4.94;
箱顶:DRAWLINE(跌幅,O,REF(跌幅,1),REF(O,1),1),colormagenta,LINETHICK2;
DRAWTEXT(ISLASTBAR,箱顶,' 箱顶');
Z1:=ABS(((3.48*CLOSE+HIGH+LOW)/4-EMA(CLOSE,20))/EMA(CLOSE,20));
Z2:=DMA(((2.15*CLOSE+LOW+HIGH)/4),Z1);
金线王:EMA(Z2,200)*1.118,colorcyan,LINETHICK1;
DF2:=(C-REF(C,1))/REF(C,1)*100>9;
金K线:=CROSS(C,金线王) AND DF2;
标签:=O>C AND C>REF(C,1) AND O/REF(C,1)>1.03;
DRAWTEXT(标签,H,'标签'),colorred;
DRAWTEXT(金K线,L*0.98,'↖金K线'),colorgreen;

202108202132.jpg

202108202132.jpg

 

回复

使用道具 举报

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

本版积分规则