以下是通达信走势力度指标公式

LC:=REF(CLOSE,1);
 RSI1:=SMA(MAX(CLOSE-LC,0),14,1)/SMA(ABS(CLOSE-LC),14,1)*100;

N1:=6;N2:=2;N3:=3;
 STICKLINE(18,100,0.1,999,0),COLORYELLOW;
 STICKLINE(18,-100,-0.9,999,0),COLORYELLOW;
 STICKLINE(18,79.5,80.5,9,0),COLORRED;
 STICKLINE(18,89.5,90.5,9,0),COLORRED;
 STICKLINE(18,49.5,50.5,2,0),COLOR205AA7;
 Q1:=(HHV(RSI1,21)-RSI1)/(HHV(RSI1,21)-LLV(RSI1,21))*100;
 Q2:=(RSI1-LLV(RSI1,21))/(HHV(RSI1,21)-LLV(RSI1,21))*100;
 Q3:=Q2-Q1;
扩张力:=IF((SMA((SMA((RSI1-LLV(RSI1,9))/(
 HHV(RSI1,9)-LLV(RSI1,9))*100,3,1)),3,1)-
 SMA(((HHV(RSI1,9)-RSI1)/(HHV(
 RSI1,9)-LLV(RSI1,9))*100-70),9,1))>100,(
 SMA((SMA((RSI1-LLV(RSI1,9))/(
 HHV(RSI1,9)-LLV(RSI1,9))*100,3,1)),3,1)-
 SMA(((HHV(RSI1,9)-RSI1)/(HHV(
 RSI1,9)-LLV(RSI1,9))*100-70),9,1))-100,0)*2,
 STICK,COLOR7388C1,LINETHICK2;
 STICKLINE(扩张力<REF(扩张力,1)AND 扩张力>0,0,扩张力/2,0,0),COLORFF2818;
 STICKLINE(扩张力>REF(扩张力,1)AND 扩张力>0,0,扩张力/2,0,0),COLORRED;
 STICKLINE(扩张力<REF(扩张力,1)AND 扩张力>0,0,-扩张力/2,0,0),COLORFF2818;
 STICKLINE(扩张力>REF(扩张力,1)AND 扩张力>0,0,-扩张力/2,0,0),COLORRED;
地心引力:=SMA(MAX(RSI1-(REF(RSI1,1)),0),7,1)/SMA(ABS(RSI1-(REF(RSI1,1))),7,1)*100,COLOR0066FF;
 STICKLINE( CROSS(地心引力,80),-93,-98,1,1),COLOR00FF00;
 STICKLINE( CROSS(80,地心引力),-93,-98,1,1),COLORMAGENTA;
弱市黑洞:STICKLINE(HHV(MA(Q3,5),5)>44
 AND (RSI1=HHV(RSI1,10) OR RSI1=HHV(RSI1,10)),93,98,1,1),COLORBLACK,COLORD19275;
正股道:(3*SMA((RSI1-LLV(RSI1,27))/(HHV(RSI1,27)-
LLV(RSI1,27))*100,5,1)-2*SMA
 (SMA((RSI1-LLV(RSI1,27))/(HHV(RSI1,27)-
 LLV(RSI1,27))*100,5,1),3,1))*0.9,COLORBLACK,LINETHICK1;
负股道:-((3*SMA((RSI1-LLV(RSI1,27))/(HHV(RSI1,27)-
LLV(RSI1,27))*100,5,1)-2*SMA
 (SMA((RSI1-LLV(RSI1,27))/(HHV(RSI1,27)-
 LLV(RSI1,27))*100,5,1),3,1)))*0.9,COLORBLACK,LINETHICK1;
 RSV:=(((RSI1 – LLV(RSI1,N1)) / (HHV(RSI1,N1) – LLV(RSI1,N1))) * 100);
 K:=(POW(SMA(RSV,N2,1),5) / POW(10,8));
 D:=(POW(SMA(RSV,N3,1),5) / POW(10,10));
正短波:((K+ D) / 2),COLOR7388C1,LINETHICK1;
负短波:-((K+ D) / 2),COLOR7388C1,LINETHICK1;
 

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