%>
N:=13;
N1:=27;
VAR1:=4*SMA((CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,5,1)-
3*SMA(SMA((CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,5,1),3.2,1),coloryellow,LINETHICK1;
背离: IF(VAR1<2,8,0),STICK,colorcyan,LINETHICK6;
VARO5:=LLV(LOW,27);
VARO6:=HHV(HIGH,34);
VARO7:=EMA((CLOSE-VARO5)/(VARO6-VARO5)*4,4)*25;
强势区: IF((VARO7<10),110,110) ,COLOR00CCFF,LINETHICK2;
弱势区: IF((VARO7<10),30,30) ,COLOR00CCFF,LINETHICK2;
上涨极强区域: IF((VARO7<10),130,130),COLOR0000FF,LINETHICK6;
下跌极弱区域: IF((VARO7<10),10,10),COLOR0000FF ,LINETHICK6;
VAR1A:=(HHV(HIGH,9)-CLOSE)/(HHV(HIGH,9)-LLV(LOW,9))*100-91.5;
VAR2A:=SMA(VAR1A,9,1)+100;
VAR3A:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
VAR4A:=SMA(VAR3A,3,1);
VAR5A:=SMA(VAR4A,3,1)+100;
VAR6A:=VAR5A-VAR2A;
标线:=IF(VAR6A>N1,VAR6A-N1,0),STICK,COLOR0000CC,LINETHICK6;
STICKLINE(REF(标线,1)<标线,标线,REF(标线,1),3,0),colorred;
STICKLINE(REF(标线,1)>标线,标线,REF(标线,1),3,0),COLOR00FF00;
{股票教程网-承接通达信软件和公式破解,普通加密破解,完全加密破解,导入密码破解,时间限制破解,公式编写,可按您的要求写公式指标,价格按难度不同报价,有需要可以找我们}