权证主图 通达信支撑压力趋势指标公式 源码
指标源码:
{权证主图}
{INPUT: N(4,1,255);}
权:EMA(C,5);
证:EMA(C,34),COLORGRAY,LINETHICK1;
KS:=IF(BARSCOUNT(C)=1,C/10000,(1-C/SMA(C,13,1))*100);
RKS:=REF(KS,1);
MLS:=RKS/KS>1.23 AND RKS>10 AND C/REF(C,1)>1.02;
主:EMA(C,13),COLORRED,LINETHICK2;
图:EMA(KS*C/100+权,3), COLORFF9933,LINETHICK1;
反弹:=STICKLINE(MLS=1,H,L,0,0),COLOR00FFFF,LINETHICK2;
STICKLINE(权>证,权,证,0,1),COLORFF00FF;
STICKLINE(C>=O,H,L,0,0),COLORRED;
STICKLINE(C>=O,C,O,3,0),COLORRED;
STICKLINE(C<O,H,L,0,0),COLORGREEN;
STICKLINE(C<O,C,O,3,0),COLORGREEN;
STICKLINE(KS>10,H,L,0,1),COLORWHITE,LINETHICK1;
STICKLINE(KS>10,O,C,3,1),COLORWHITE,LINETHICK1;
STICKLINE(MLS,H,L,0,0),COLOR00FFFF,LINETHICK1;
STICKLINE(MLS,O,C,3,0),COLOR00FFFF,LINETHICK1;
VAR1:=BACKSET(REF(HIGH,2)=HHV(HIGH,5),3);
VAR2:=CROSS(VAR1,0.9);
VAR3:=BACKSET(REF(LOW,2)=LLV(LOW,5),3);
VAR4:=CROSS(VAR3,0.9);
压力:= REF(HIGH,BARSLAST(VAR2)), POINTDOT,COLOREA91B5;
STICKLINE(CLOSE,REF(HIGH,BARSLAST(VAR2)),REF(HIGH,BARSLAST(VAR2)),5,0),COLOREA91B5;
支撑:= REF(LOW,BARSLAST(VAR4)), POINTDOT,COLOR00B4FF;
STICKLINE(CLOSE,REF(LOW,BARSLAST(VAR4)),REF(LOW,BARSLAST(VAR4)),5,0),COLOR00B4FF;
指标图示:
郑重声明:股市具有不确定性,个股走势是无法预测的。公式软件描述中的案例截图仅代表过去,仅供参考学习研究之用,不构成投资建议或未来保证,也并不能代表未来,依此操作,责任自负。股市有风险,入市需谨慎。
指标公式评论
(权证主图 通达信支撑压力趋势指标公式 源码)