通達信3A趨勢線買進短買指標公式
- 指標類別: 通達信指標公式
- 授權方式: 免費版
- 指標評級: ★★★★★
- 指標分類: 趨勢
- 畫線方法: 副圖
- 日期:2021-12-23 來源:互聯(lián)網(wǎng)
通達信3A趨勢線買進短買指標公式:包含未來函數(shù):PEAK,PEAKBARS,TROUGH,TROUGHBARS
V1:=BARSCOUNT(CLOSE)*3.142/180;
X1:0,COLORFFFFCC;
VAR1:=MA(CLOSE,5);
VAR2:=MA(CLOSE,10);
VAR3:=MA(CLOSE,20);
VAR4:=MA(CLOSE,30);
VAR5:=(VAR1+VAR2+VAR3+VAR4)/4;
VAR6:=(VAR5-REF(VAR5,5))/REF(VAR5,5)*1500;
VAR7:=(VAR5-REF(VAR5,5))/REF(VAR5,5)*1500;
VAR8:=EMA(VAR6,8);
底部注意: STICKLINE(VAR6>REF(VAR6,1) AND VAR6<0 AND VAR6<VAR8,VAR6,0,1,0),COLORFF00FF;
低位轉強: STICKLINE(VAR8>REF(VAR8,1) AND VAR6<0 AND VAR6>VAR8,VAR8,0,1,0),COLORYELLOW;
買點: STICKLINE(VAR6>REF(VAR6,1) AND VAR6>0 AND VAR8<0,VAR6,VAR8,4,0),COLOR0099FF;
VAR9:=TROUGHBARS(3,15,1)<10;
VAR10:=PEAKBARS(3,15,1)<10;
VAR11:=IF(VAR9=1,50,0);
VAR12:=IF(VAR10=1,50,0);
底部:= IF(VAR11=50,50,0);
頭部:= IF(VAR12=50,100,0);
A:IF( 底部>REF(底部,1),50,0);
AA:IF(頭部>REF(頭部,1),50,0);
DRAWTEXT(A=50,90,'買進'),COLORRED,LINETHICK1;
DRAWTEXT(AA=50,90,'賣出'),COLOR00FF00,LINETHICK1;
DRAWICON(FILTER(VAR6>REF(VAR6,1) AND VAR6>0 AND VAR8<0,30),-40,1);
DRAWTEXT(FILTER(VAR6>REF(VAR6,1) AND VAR6>0 AND VAR8<0,30),-40,'短買'),COLORFFFFFF;
堅定持股: STICKLINE(VAR8>REF(VAR8,1) AND VAR8>0,VAR6,0,1,0),COLORRED;
謹慎觀望: STICKLINE(VAR6<REF(VAR6,1) AND VAR8>REF(VAR8,1) AND VAR6>0,VAR6,VAR8,1,0),COLOR00FF00;
果斷持幣: STICKLINE(VAR6<REF(VAR6,1) AND VAR6<VAR8,VAR6,VAR8,1,1),COLORFFCC66;
VAR13:=(HIGH+LOW+CLOSE*2)/4;
VAR14:=EMA(VAR13,21);
VAR15:=STD(VAR13,21);
VAR16:=((VAR2-VAR3)/VAR4*100+200)/4;
VAR17:=(EMA(VAR5,5)-25)*1.56;
AK: EMA(VAR6,2)*1.22,COLORD9D919,LINETHICK1;
AD1: EMA(AK,2),COLORYELLOW,LINETHICK1;
AJ: 3*AK-2*AD1,COLORRED,LINETHICK1;
通達信3A趨勢線買進短買指標公式實例圖解:
通達信3A趨勢線買進短買指標公式