通達信乖離系統(tǒng)頂?shù)字笜斯?/h1>
- 指標類別: 通達信指標公式
- 授權方式: 免費版
- 指標評級: ★★★★★
- 指標分類: 趨勢
- 畫線方法: 副圖
- 日期:2021-09-06 來源:互聯(lián)網(wǎng)
通達信乖離系統(tǒng)頂?shù)字笜斯剑?/p>
長期乖離率:(CLOSE-MA(CLOSE,55))/MA(CLOSE,55)*100,COLORYELLOW,STICK,LINETHICK3;
IF(長期乖離率<=0,長期乖離率,0),COLORWHITE,STICK,LINETHICK3;
中期乖離率:(CLOSE-MA(CLOSE,34))/MA(CLOSE,34)*100,COLORFF00FF,STICK,LINETHICK3;
IF(中期乖離率<=0,中期乖離率,0),COLORFFFF33,STICK,LINETHICK3;
短期乖離率:(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*100,COLORRED,STICK,LINETHICK3;
IF(短期乖離率<=0,短期乖離率,0),COLORBLUE,STICK,LINETHICK3;
VAR2:=REF(HIGH,1)*1.1;{{昨日最高價*系數(shù)}
VAR3:=HIGH*1.1;{當日最高價*系數(shù)}
VAR4:=(VAR3*VOL+VAR2*(CAPITAL-VOL))/CAPITAL;
VAR5:=REF(LOW,1)*0.9; {昨日最低價*系數(shù)}
VAR6:=LOW*0.9;{當日最低價*系數(shù)}
VAR7:=(VAR6*VOL+VAR5*(CAPITAL-VOL))/CAPITAL;
VAR8:=EMA(VAR7,30);{求30日VAR7的移動平均}
VAR9:=EMA(VAR4,30);{求30日VAR4的移動平均}
VAR10:=VAR9-2;
VAR11:=IF(CLOSE<=VAR8,VAR10,VAR9);
VAR12:=VAR11*2.5;
VAR13:=VAR10*2.5;
STICKLINE(VAR12=VAR13,中期乖離率,0,4,1),COLOR66FF99;
上通道:MA(短期乖離率,20)+1.618*STD(長期乖離率,20),COLOR0099FF,LINETHICK2;
下通道:MA(短期乖離率,20)-1.618*STD(長期乖離率,20),COLOR0099FF,LINETHICK2;
生命軌跡:短期乖離率,COLOR00FF00;
通達信乖離系統(tǒng)頂?shù)字笜斯?/strong>實例圖解:
通達信乖離系統(tǒng)頂?shù)字笜斯?/p>