抄底波段线(通达信公式 副图 源码 测试图)

 2023-03-30 21:10:56    通达信指标网  

抄底波段线
 

NA:=14;M1:=5;M2:=11;
RSV:=(CLOSE-LLV(LOW,NA))/(HHV(HIGH,NA)-LLV(LOW,NA))*100;
AA:=SMA(RSV,M1,1);
BA:=SMA(AA,M2,3);
EA:=30*AA-20*BA;
K:AA,NODRAW;
D:BA,NODRAW;
J:EA,NODRAW;
VAR0H:=SMA((CLOSE-LLV(LOW,19))/(HHV(HIGH,19)-LLV(LOW,19))*100,3,1);
波段线H:EMA(VAR0H,10);
AS1G:=(CLOSE-LLV(LOW,120))/(HHV(HIGH,190)-LLV(LOW,120))*8;
AA1G:=SMA(AS1G,10,1);
BB1G:=SMA(AA1G,10,1);
AB1G:=CROSS(AS1G,BB1G);
DD1G:=EMA(CLOSE,12)-EMA(CLOSE,26);
DD2G:=EMA(DD1G,9);
AD1G:=CROSS(DD1G,DD2G);
NOTEXTAD3G:(AB1G+DD2G)*50,COLORSTICK,NODRAW;
VARS2:=EA;
MACDS2:=EMA(VARS2,1);
DIFS2:EMA(SUM(MACDS2,3),5),LINETHICK3,COLORYELLOW;
DEAS2:MA(DIFS2,5),COLORWHITE,NODRAW;
DRAWBAND(DIFS2,RGB(135,1,13),21,RGB(10,103,50));
NOTEXTEH:IF(EA<0,波段线H*30,0),COLOR008000,LINETHICK2,STICK;
NOTEXTEH2:IF(EA>10,波段线H*30,0),COLORFF0000,LINETHICK2;
NOTEXTEH3:IF(EA<80,波段线H*50,0),COLOR00FF00,LINETHICK1;
NOTEXTAD3GG:(DD1G-DD2G)*1200,COLORSTICK;

NOTEXTEHD:IF(EA>DIFS2,波段线H*50,0),COLOR00FFFF,LINETHICK1;


  •  标签:  

原文链接:https://www.tdxzb.com/?id=1156

本文版权:如无特别标注,本站文章均为原创。

相关文章

服务热线

18020657357

微信客服

微信客服