beyond202104 发表于 2023-8-28 16:39:33

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


抄底波段线
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;




火柴与水行 发表于 2023-11-19 10:07:44

thanks

童心之恋疚 发表于 2024-2-15 17:18:50

无量天尊!

况期愿江礼 发表于 2024-2-26 07:29:49

谢谢,谢谢!找了很久了!
页: [1]
查看完整版本: 抄底波段线(通达信公式 副图 源码 测试图)