通達信買入無憂主圖指標公式
- 指標類別: 通達信指標公式
- 授權方式: 免費版
- 指標評級: ★★★★★
- 指標分類: 策略
- 畫線方法: 主圖
- 日期:2023-09-25 來源:互聯網
通達信買入無憂主圖指標公式:
R:=((CLOSE - LLV(LOW,9))/(HHV(HIGH,9) - LLV(LOW,9)))*(100);
K:=EMA(R,3);
D:=EMA(K,3);
陡峭度:=IF((BARSCOUNT(CLOSE) > 7),(100)*((MA(CLOSE,7))/(LLV(MA(CLOSE,7),7)) - 1),1);
N:=IF((陡峭度 > 0.35),6,65);
VAR1:=((-((100)*(HHV(HIGH,N) - CLOSE))/(HHV(HIGH,N) - LLV(LOW,N))))*((DATE < 20070110));
VAR1A:=((-((100)*(HHV(HIGH,N) - CLOSE))/(HHV(HIGH,N) - LLV(LOW,N))) + 100)*((DATE < 20070110));
獲利盤:=(WINNER(CLOSE))*(100);
獲利線:=FORCAST(獲利盤,7);
線:=(FORCAST(VAR1A,7))*((DATE < 20070110));
滿倉:=((線 > REF(線,1)) AND (線 < 25) AND (COUNT((線 > REF(線,1)),5) = 1) AND IF((N = 6),(獲利盤 < 60),(獲利盤 < 40)) AND (COUNT((獲利線 > 20),20) > 0));
DRAWTEXT(滿倉,LOW*0.98,'滿倉'),COLORRED;
輕倉:=IF((獲利盤 >= 60) AND (線 > REF(線,1)) AND (REF(線,1) < 20) AND (線 < 40) AND (COUNT((線 > REF(線,1)),5) = 1) AND (REF(N,1) = 6),1,0);
DRAWTEXT(輕倉,LOW*0.98,'輕倉'),COLORYELLOW;
出擊:=CROSS(線,20) AND IF((COUNT(CROSS(K,D),3) = 1) AND (D < 40),1,(線 > D) OR (K > D) AND (D < 60)) AND IF((N = 6),(獲利盤 < 70),(獲利盤 < 40)) AND (COUNT((獲利線 > 20),20) > 0);
DRAWTEXT(出擊,LOW*0.98,'出擊'),COLORMAGENTA;
進一:=CROSS(線,D) AND (D > 30) AND (D > REF(D,1)) AND (D < 80);
進二:=CROSS(線,獲利線) AND (D > 30) AND (獲利線 > 25) AND (D > REF(D,1));
低進:=IF(進一 AND (D > 獲利線),進二,進一);
DRAWTEXT(低進,LOW*0.98,'低進'),COLORRED;
DRAWTEXT(進二,LOW*0.99,'高進'),COLORGRAY;
狂喜:=(CROSS(VAR1,(-2)));
DRAWTEXT(狂喜,(LOW*0.98),'要漲停'),COLORYELLOW;
狂喜過望:=((VAR1 = 0));
恐慌:=(VAR1 < -94);
DRAWTEXT(恐慌,(LOW*0.98),'恐慌'),COLORGREEN;
極度恐慌:=(-40)*(VAR1 = (-100));
DRAWTEXT(極度恐慌,(LOW*0.95),'極度恐慌'),COLORWHITE;
半倉:=(CROSS(VAR1,(-94)) AND (COUNT(恐慌,5) > 0) AND (N = REF(N,1)) AND IF((N = 6),(獲利盤 < 60),(獲利盤 < 40)) AND (COUNT((獲利線 > 20),20) > 0));
DRAWTEXT(半倉,LOW*0.95,'半倉'),COLORWHITE;
加倉:=(CROSS(K,20) AND (COUNT(半倉,5) > 0));
DRAWTEXT(加倉,LOW*0.98,'加倉'),COLORRED;
背離:=(COUNT(恐慌,2) > 0) AND (CLOSE < REF(CLOSE,1)) AND (VAR1 > REF(VAR1,1));
DRAWICON(背離,HIGH*1.02,1),COLORGRAY;
通達信買入無憂主圖指標公式實例圖解:
通達信買入無憂主圖指標公式