以下是通达信经典好不好你说了算源码原创

N:=27;NN:=26;M1:=10;M2:=20;M3:=40;M4:=62;
D:=REF(HIGH+LOW,1)/2;
RE:SUM(MAX(0,HIGH-D),NN)/SUM(MAX(0,D-LOW),NN)*100;
MA1:REF(MA(RE,M1),M1/2.5+1);
MA2:REF(MA(RE,M2),M2/2.5+1);
{MA3:REF(MA(RE,M3),M3/2.5+1);
MA4:REF(MA(RE,M4),M4/2.5+1);}
A:MA(RE,5);
BR:(SUM(MAX(0,HIGH-REF(CLOSE,1)),NN)/SUM(MAX(0,REF(CLOSE,1)-LOW),NN)*100)COLORCYAN;
AR:=SUM(HIGH-OPEN,NN)/SUM(OPEN-LOW,NN)*100;
DRAWBAND(A,RGB(250,0,224),MA1,RGB(0,120,0));
DRAWBAND(MA1,RGB(120,0,120),MA2,RGB(0,96,0));
STICKLINE(RE<50,40,50,30,0)COLORWHITE;
STICKLINE(RE<50 AND CROSS(RE,MA1),20,50,20,0)COLORRED;
STICKLINE(CROSS(RE,50),40,60,20,0)COLORYELLOW;
VAR1:=3;
VAR2:=((3 * SMA((((CLOSE – LLV(LOW,N)) / (HHV(HIGH,N) – LLV(LOW,N))) * 100),5,1)) – (2 * SMA(SMA((((CLOSE – LLV(LOW,N)) / (HHV(HIGH,N) – LLV(LOW,N))) * 100),5,1),3,1)));
买:IF(CROSS(VAR2,VAR1),100,50)LINETHICK3;
 

声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。