新一脚临门 临门一脚,通达信和谐源码分享

通达信免费指标 09-28 阅读:712 评论:0

新一脚临门 临门一脚 两个副图公式,(通达信公式 副图 源码 测试图)

{公式名称: 临门一脚
画线方法: 副图
公式版本: 0
显示小数: 固定0位
坐标线位置: 53;58;65;72;80;86
公式源码:}
 
DRAWGBK(CLOSE>0,RGB(1,1,1),RGB(1,1,1),0,0,1);
VAR1:=趋势稳盈.压力#DAY>0;
VAR2:=IF(CLOSE>0,EMA(MAX(CLOSE-REF(CLOSE,1),0),83)/EMA(ABS(CLOSE-REF(CLOSE,1)),83)*101,0);
VAR3:=IF(VAR2>=53 AND VAR2>=REF(VAR2,1),30,0);
VAR4:=VAR3;
VAR5:=VAR2;
临门一脚:53=REF(VAR5,1) AND VAR1,NODRAW,COLORLIRED;
DRAWBAND(86,RGB(0,118,118),53,RGB(0,0,0));
动力十足:IF(VAR4>0,1,DRAWNULL),NODRAW,COLOR0000CC;
DRAWBAND(86*动力十足,RGB(118,0,0),53*动力十足,RGB(0,0,0));
VAR5,COLORCYAN;
蓄势:53,COLORGREEN;
走强:58,COLORLIRED;
小妖:65,COLORWHITE;
大妖:72,COLORWHITE;
狂妖:80,COLORMAGENTA;
妖魔:86,COLOR0000CC;
IF(蓄势>VAR5,VAR5,DRAWNULL),COLORLIGRAY;
IF(蓄势=REF(VAR5,1),VAR5,DRAWNULL),COLORYELLOW,LINETHICK2;
IF(走强=REF(VAR5,1),VAR5,DRAWNULL),COLORRED,LINETHICK2;
IF(妖魔=REF(VAR5,1),VAR5,DRAWNULL),COLORWHITE,LINETHICK2;
VAR6:=临门一脚;
STICKLINE(PERIOD=5 AND VAR6,53,58,2,0),COLORGREEN;
STICKLINE(PERIOD=5 AND VAR6,58,72,1,0),COLORYELLOW;
STICKLINE(PERIOD=5 AND VAR6,72,86,0.3,0),COLORLIMAGENTA;
股道稳赢:DRAWNULL,COLORCCCCC
 


{公式名称: 新一脚临门}
 
DRAWGBK(CLOSE>0,RGB(1,1,1),RGB(1,1,1),0,0,1);
VAR1:=Func_0x7613.SubValue_0x0#DAY>0;
VAR2:=FILTER(VAR1,5);
VAR3:=IF(CLOSE>0,EMA(MAX(CLOSE-REF(CLOSE,1),0),21)/EMA(ABS(CLOSE-REF(CLOSE,1)),21)*101,0);
VAR4:=IF(VAR3>=21 AND VAR3>=REF(VAR3,1),20,0);
VAR5:=VAR4;
VAR6:=VAR3;
临门一脚:53=REF(VAR6,1) AND VAR2,NODRAW,COLORLIRED;
DRAWBAND(86,RGB(0,118,118),21,RGB(0,0,0));
动力十足:IF(VAR5>0,1,DRAWNULL),NODRAW,COLOR0000CC;
DRAWBAND(86*动力十足,RGB(118,0,0),53*动力十足,RGB(0,0,0));
VAR6,COLORCYAN;
蓄势:53,COLORGREEN;
走强:58,COLORLIRED;
小妖:65,COLORWHITE;
大妖:72,COLORWHITE;
狂妖:80,COLORMAGENTA;
妖魔:86,COLOR0000CC;
IF(蓄势>VAR6,VAR6,DRAWNULL),COLORLIGRAY;
IF(蓄势=REF(VAR6,1),VAR6,DRAWNULL),COLORYELLOW,LINETHICK2;
IF(走强=REF(VAR6,1),VAR6,DRAWNULL),COLORRED,LINETHICK2;
IF(妖魔=REF(VAR6,1),VAR6,DRAWNULL),COLORWHITE,LINETHICK2;
VAR7:=临门一脚;
STICKLINE(PERIOD=5 AND VAR7,53,58,2,0),COLORGREEN;
STICKLINE(PERIOD=5 AND VAR7,58,72,1,0),COLORYELLOW;

STICKLINE(PERIOD=5 AND VAR7,72,86,0.3,0),COLORLIMAGENTA;



版权声明

本文版权归掌上指标所有。
未经许可,不得转载,转载请注明出处!

服务热线

18020657357

微信客服

微信客服