当前位置:首页 > 免费资源 > 正文

「翔博精选指标」通天塔(通达信公式 副图 源码 测试图)

2021-12-19原创 编 辑:翔博软件

 

天塔公式的主要原理:
根据K线线性回归斜率趋势来判定买卖及持股
使用方法:
在上升通道中红框上穿20时买入成功率高。强势股低于50出红框也可买入,一但出绿框必须卖出。
超过80出绿框卖出。

股市有风险,仅作参考!没未来函数

 

OSE-REF(C,1)),6,1)*100;
DRAWICON(CROSS(82,VARR1),10,15);
VAR10:=100-3*SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);
VAR11:=100-3*SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);
VAR12:=VAR10<REF(VAR11,1) AND VOL>REF(VOL,1) AND CLOSE>REF(CLOSE,1);
主力进场:VAR12 AND COUNT(VAR12,30)=1,NODRAW;
DRAWTEXT(主力进场,MAX(B,B1)+30,'主力进场!');
主力进场期:COUNT(主力进场,PASTDAYS),NODRAW;
DIFF:=EMA(C,12)-EMA(C,26),COLORWHITE;
DEA:=EMA(DIFF,8),COLORFFAA00;
MACD:=2*(DIFF-DEA);
DIFF上穿0轴:=CROSS(DIFF,0),NODRAW;
MACD金叉:=CROSS(DIFF,DEA),NODRAW;
MACD金叉期:=COUNT(MACD金叉,PASTDAYS),NODRAW;
MACD势增:=MACD>REF(MACD,1);
N:=9;M1:=3;M2:=3;
KDJ势增:J>REF(J,1),NODRAW;
高安全区:=0,COLORRED;
安全区:=20,COLORCYAN;
风险区:=100,COLORGREEN;
KDJ金叉:=CROSS(J,K),NODRAW;
KDJ死叉:=CROSS(K,J),NODRAW;
KDJ买点:=KDJ金叉 ;
KDJ卖点:=KDJ死叉;
KDJ买点期:=COUNT(KDJ买点,PASTDAYS),NODRAW;
通:=MA(C,21);
低吸期:=COUNT(低吸,PASTDAYS);
出击期:COUNT(出击,PASTDAYS);
坚决买进期:COUNT(坚决买进,PASTDAYS);
波段买入期:COUNT(波段买入,PASTDAYS);
转多买点:(转多期) AND (KDJ金叉 OR MACD金叉),NODRAW;
最佳买点:(多>0) AND (主力进场期 OR 出击期 OR 坚决买进期 OR 波段买入期) AND (KDJ金叉 OR MACD金叉),NODRAW;
波段买点:((主力进场 OR 出击 OR 坚决买进 OR 波段买入 OR 转多) AND (KDJ势增 OR MACD势增 )) OR 最佳买点 ,NODRAW;
DRAWICON(低吸,0,'BUY');
DRAWTEXT(低吸 AND 最佳买点<1,-16,'吸'),COLORWHITE;
DRAWICON(出击 AND 多,0,'BUY');
DRAWTEXT(出击  AND 多 AND 最佳买点<1,-16,'击'),COLORYELLOW;
DRAWICON(坚决买进  AND 多,0,'BUY');
DRAWTEXT(坚决买进  AND 多 AND 最佳买点<1,-16,'进'),COLORFF00FF;
DRAWICON(波段买入  AND 多,0,'BUY');
DRAWTEXT(波段买入  AND 多 AND 最佳买点<1,-16,'买'),COLOR0099FF;
DRAWICON(最佳买点,0,'BUY');
DRAWICON(最佳买点,-2,'BUY');
DRAWICON(最佳买点,-8,'BUY');
DRAWTEXT(最佳买点,-30,'佳'),COLORRED;
DRAWTEXT(主力进场 AND 最佳买点<1,-10,'潜'),COLORYELLOW;
DRAWICON(主力进场 AND 最佳买点<1,0,'BUY');
最佳买点期:COUNT(最佳买点,PASTDAYS),NODRAW;
STICKLINE(波段买点,0,MIN(B,B1)-0.2,8,0),COLOR000066;
STICKLINE(波段买点,0,MIN(B,B1)-0.2,7,0),COLOR000077;
STICKLINE(波段买点,0,MIN(B,B1)-0.2,6,0),COLOR000088;
STICKLINE(波段买点,0,MIN(B,B1)-0.2,5,0),COLOR000099;
STICKLINE(波段买点,0,MIN(B,B1)-0.2,4,0),COLOR0000AA;
STICKLINE(波段买点,0,MIN(B,B1)-0.2,3,0),COLOR0000BB;
STICKLINE(波段买点,0,MIN(B,B1)-0.2,2,0),COLOR0000CC;
STICKLINE(波段买点,0,MIN(B,B1)-0.2,1,0),COLOR0000DD;

大家都爱看
查看更多热点新闻
点击进入翔博软件旗下掌上指标--自助下载指标