当前位置: 网站首页 > 股票软件公式 > 通达信公式 > 文章 当前位置: 通达信公式 > 文章

通达信源码精选:小钢炮导弹发射,骑黑马主图,红持股绿持币

点击: 次    来源:顶尖财经    作者:股市狙击 - 小 + 大

1、小钢炮导弹发射,买入清晰实用抄底

小钢炮导弹发射,买入信号很清晰,非常实用的抄底类型公式

{公式名称: 小钢炮导弹发射

公式描述: DDFS

副图}

VAR1:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;

VAR2:=SMA(VAR1,3,1);

VAR3:=SMA(VAR2,3,1);

VAR4:=3*VAR2-2*VAR3;

VAR5:=LLV(VAR4,2)=LLV(VAR4,8);

小钢炮:CROSS(VAR4,3),STICK,COLORYELLOW;

DRAWTEXT(小钢炮,20,3),COLORYELLOW;

STICKLINE(小钢炮,30,0,4,0),COLORLIMAGENTA;

STICKLINE(小钢炮,60,0,0.05,0),COLORYELLOW;

DRAWICON(小钢炮>0,58,38);

DRAWICON(小钢炮>0,59,38);

DRAWICON(小钢炮>0,60,38);

DRAWICON(小钢炮>0,61,38);

VAR6:=REF(LOW,1);

VAR7:=SMA(ABS(LOW-VAR6),5,1)/SMA(MAX(LOW-VAR6,0),5,1)*100;

VAR8:=EMA(IF(CLOSE*1.3,VAR7*10,VAR7/20),3);

VAR9:=LLV(LOW,30);

VAR10:=HHV(VAR8,30);

VAR11:=IF(MA(CLOSE,58),1,0);

VAR12:=EMA(IF(LOW<=VAR9,(VAR8+VAR10*2)/2,0),3)/618*VAR11;

VAR13:=IF(VAR12>28,28,VAR12);

VAR14:=STICKLINE(VAR13>(-100),0,VAR13,3,0);

VAR15:=VAR14;

VAR16:=20;

VAR17:=SMA(VAR1,3,1);

VAR18:=SMA(VAR17,3,1);

VAR19:=3*VAR17-2*VAR18;

VAR20:=LLV(VAR19,2)=LLV(VAR19,8);

VAR21:=(2*CLOSE+HIGH+LOW)/4;

VAR22:=LLV(LOW,5);

VAR23:=HHV(HIGH,5);

VAR24:=EMA((VAR21-VAR22)/(VAR23-VAR22)*100,5);

VAR25:=EMA(VAR24,3);

VAR26:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1);

VAR27:=IF(VAR26<=3,20,0);

VAR28:=IF(VAR26<5,40,0);

VAR29:=IF(CROSS(VAR19,3),50,0);

VAR30:=REF(CLOSE,1);

VAR31:=SMA(MAX(CLOSE-VAR30,0),5,1)/SMA(ABS(CLOSE-VAR30),5,1)*100;

VAR32:=SUM(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(LOW-REF(CLOSE,1))),10);

VAR33:=HIGH-REF(HIGH,1);

VAR34:=REF(LOW,1)-LOW;

VAR35:=SUM(IF(VAR33>0 AND VAR33>VAR34,VAR33,0),10);

VAR36:=SUM(IF(VAR34>0 AND VAR34>VAR33,VAR34,0),10);

VAR37:=VAR35*100/VAR32;

VAR38:=VAR36*100/VAR32;

VAR39:=MA(ABS(VAR38-VAR37)/(VAR38+VAR37)*100,5);

VAR40:=VAR31+VAR39;

VAR41:=(VAR39+REF(VAR39,5))/2+VAR31;

VAR42:=100*(HHV(HIGH,10)-CLOSE)/(HHV(HIGH,10)-LLV(LOW,10));

VAR43:=VAR31-VAR42;

VAR44:=VAR40+VAR43;

VAR45:=IF(CROSS(VAR44,0),1,0);

顶尖财经:VAR29 AND VAR45;

STICKLINE(顶尖财经,35,0,1,0),COLORYELLOW;

STICKLINE(顶尖财经,20,1.5,8,0),COLORYELLOW;

STICKLINE(顶尖财经,40,0,5,0),COLORRED;

STICKLINE(顶尖财经,65,30,4,0),COLORYELLOW;

STICKLINE(顶尖财经,80,22,3,0),COLORGREEN;

STICKLINE(顶尖财经,85,55,2,0),COLORWHITE;

STICKLINE(顶尖财经,100,67,0.01,0),COLORLIBLUE;

STICKLINE(顶尖财经,67,33,0.01,0),COLORRED;

STICKLINE(顶尖财经,33,1.5,0.01,0),COLORLIBLUE;

DRAWICON(顶尖财经>0,96,38);

DRAWICON(顶尖财经>0,98,38);

DRAWICON(顶尖财经>0,100,38);

DRAWICON(顶尖财经>0,102,38);

DRAWICON(顶尖财经>0,104,38);

DRAWTEXT(顶尖财经,80,4),COLORMAGENTA;




2、骑黑马主图

 {骑黑马主图}

HSL:=vol/capital*100;
MA111:MA(CLOSE,20);
MA112:MA(CLOSE,40);
MA113:MA(CLOSE,60);
MA13:MA(C,13);
MA34:MA(C,34);
MA55:MA(C,55);
角度MA13:=ATAN((MA13/REF(MA13,1)-1)*100)*180/3.1416;
角度MA34:=ATAN((MA34/REF(MA34,1)-1)*100)*180/3.1416;
角度MA55:=ATAN((MA55/REF(MA55,1)-1)*100)*180/3.1416;
A11:=OPEN<MA111 OR OPEN<MA112 OR OPEN<MA113;
A12:=C>MAX(MA111,MAX(MA112,MA113));
A13:=V/MA(V,30)>1.2;
A14:=C/REF(C,1)>1.03;
生命:=EMA(EMA(CLOSE,50),1);
半:=MA(CLOSE,125);
年:=MA(CLOSE,240);
涨幅:=(C-REF(C,1))/REF(C,1)*100;
换手率:=HSL;
条件:=C>生命 AND 生命>半 AND 半>年 AND 涨幅>3 AND 换手率>5;
条件2:=HHVBARS(HIGH,N)<LLVBARS(HIGH,N) AND (HHV( HIGH,N)-LLV( LOW,N))/LLV( LOW,N)<M/100;
黑马:=A11 AND A12 AND A13 AND A14 AND 条件 AND 条件2 AND C>MA13 AND C>MA34 AND MA13>MA34 AND MA34>MA55 AND 角度MA13>0 AND 角度MA34>0 AND 角度MA55>0;
DRAWICON(黑马,L*0.98,24);
DRAWTEXT(黑马,L*0.95,'起爆'),COLORWHITE;
{股民学院 www.58188.com 整理}



3、红持股绿持币

红持股绿持币 用法很简单吧,如标题的意思。
使用的时候,需要提醒:

较为准确的进场与出场需要结合自己习惯的指标,
此指标只是大概率事件,不保证每支股票以及每次的准确性。
这个指标存在winner、cost,这两个函数是未来函数,如果你介意或者自己觉得这是未来函数,请绕行~~

{公式名称: 红持股绿持币}
 
量能:=(CLOSE-MA(CLOSE,30))/MA(CLOSE,20)*120;
持股线绿色持币:EMA(EMA(量能,30),3)*20,COLORGREEN,LINETHICK5;
持股线红色持股:IF(持股线绿色持币>REF(持股线绿色持币,1),持股线绿色持币,DRAWNULL),COLORRED,LINETHICK5;
DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIF,200);
A:=(DIF-DEA)*2;
平衡线:IF(A<0,0,A*A),COLORLIMAGENTA,LINETHICK3;
DIF1:=EMA(CLOSE,9)-EMA(CLOSE,34);
DEA1:=EMA(DIF1,200);
AA:=(DIF1-DEA1)*2;
信号:=MA(CLOSE,30)+2*STD(CLOSE,30);
TDXSTEP129:DRAWICON(CLOSE>信号 AND CLOSE>=OPEN,平衡线,26);
三十日线:=MA(CLOSE,30);
VAR1:=EMA(EMA(CLOSE,9),9);
控盘:=(VAR1-REF(VAR1,1))/REF(VAR1,1)*1000;
有庄控盘:=IF(控盘>REF(控盘,1) AND 控盘>0,控盘,0);
VAR2:=100*WINNER(CLOSE*0.95);
高度控盘:=IF(VAR2>50 AND COST(85)<CLOSE AND 控盘>0,控盘,0);
不停牌:=VOL>0;
DIF2:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA2:=EMA(DIF2,9);
MACD:=(DIF2-DEA2)*2;
S2:=IF(NAMELIKE(1),0,1);
S3:=IF(NAMELIKE(2),0,1);
选股:=高度控盘>REF(控盘,1) AND 高度控盘>0 AND 不停牌 AND DIF2>DEA2 AND S2 AND S3;
开始控盘:=有庄控盘>REF(有庄控盘,1) AND 有庄控盘>0 AND 不停牌 AND DIF2>DEA2 AND S2 AND S3;
TDXSTEP130:DRAWICON(选股,持股线红色持股,26);
{股民学院 www.58188.com 整理}

上一篇:通达信源码精选:获利盘主图,双向换手率,成本决策体系

下一篇:通达信源码精选:地量选股,启动进场,顶底轻松买卖