股资源-股票学习站-学炒股-股票课程-炒股教程-分析选股指标-入门基础知识

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
上一主题 下一主题

[通达信] 通达信抢筹起飞主图指标公式源码


    [-----复制链接-----]
楼主
 通达信源码安装路径:1,工具栏点击公式选项。2,弹出公式窗口点击新建。3,把源码复制到指标编辑器保存。4,回到K线图界面安装建立好的公式 || 4 天前

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:=VAR2>VAR3 AND VAR4>VAR3 AND VAR4>VAR2;
VAR6:=CAPITAL*C/1000000;
VAR7:=(C-REF(C,1))/REF(C,1)*100;
VAR8:=NOT(NAMELIKE('ST') OR NAMELIKE('*ST') OR NAMELIKE('S') OR DYNAINFO(4)=0 OR INBLOCK('创业板') OR INBLOCK('科创板')) OR BARSCOUNT(C)>1;
VAR9:=VAR6>0 AND VAR6<80;
VAR10:=VAR7>9.8 AND VAR7<10.99 AND C=H;
VAR11:=C>2 AND C<22;
VAR12:=COUNT(VAR10,2)=1;
VAR13:=VAR5 AND VAR8 AND VAR9 AND VAR10 AND VAR11 AND VAR12;
VAR14:=(C/REF(C,1)-1)*100;
VAR15:=(O/REF(C,1)-1)*100;
VAR16:=DYNAINFO(15)/O/100;
VAR17:=(EMA(O,20)-REF(EMA(O,20),1))/REF(EMA(O,20),1)*100;
VAR18:=REF(L,BARSLAST(crOSS(VAR17,0)));
VAR19:=(O-VAR18)/VAR18*100;
VAR20:=CODELIKE('60') OR CODELIKE('00');
VAR21:=(C/REF(C,1)-1)*100>9.8 AND H=C;
X_1:=EVERY(VAR21,4)<3;
X_2:=X_1 AND VAR19<=20 AND REF(VAR14>9.80,1) AND VAR15>=2 AND VAR15<=7.5 AND VAR20;
MA10:MA(C,10)DOTLINE,COLORLIMAGENTA;
STICKLINE(VAR13,H,L,0,0),COLOR0000FF;
STICKLINE(VAR13,C,O,3,0),COLOR000099;
STICKLINE(VAR13,C,O,2,0),COLORYELLOW;
STICKLINE(VAR13,C,O,1,0),COLORYELLOW;
STICKLINE(VAR13,C,O,0.3,0),COLOR0000FF;
DRAWTEXT(VAR13,L*0.99,'←活跃'),COLORYELLOW;
DRAWICON(VAR13,L*0.999,9);
STICKLINE(X_2,H,L,0,0),COLORFF00FF;
STICKLINE(X_2,C,O,3,0),COLOR990099;
STICKLINE(X_2,C,O,2,0),COLORRED;
STICKLINE(X_2,C,O,1,0),COLORRED;
STICKLINE(X_2,C,O,0.3,0),COLORRED;
DRAWTEXT(X_2,L*0.99,'←起飞'),COLORRED;
DRAWICON(X_2,L*0.999,28);
主力抢筹:VAR16/REF(V,1)*100,COLORRED,NODRAW;
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND V>0,0.85,0.9001,0,'主力抢筹:'),COLORYELLOW;
DRAWNUMBER_FIX(CURRBARSCOUNT=1 AND V>0,0.92,0.9001,0,主力抢筹),COLORYELLOW;





回复

举报

QQ|

GMT+8, 2024-11-24 01:23

快速回复 返回顶部 返回列表