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

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
上一主题 下一主题

[通达信] 通达信妖股之王主图指标公式源码


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

妖股之王:(EMA(CLOSE,10)*7+EMA(CLOSE,20)*3)/10;
妖股启动:DMA(EMA(CLOSE,20),MAX(1,100*(SUM(vol,5)/(3*CAPITAL)))),COLORWHITE ,DOTLINE;
启动线:IF(妖股之王>妖股启动,妖股之王,DRAWNULL),COLORRED,LINETHICK2;
妖王线:IF(妖股之王< 妖股启动,妖股之王,DRAWNULL),COLORGREEN,LINETHICK2;
MA10:=MA(CLOSE,5);
MA54:=MA(CLOSE,60);
ABC8:=(REF(CLOSE,3)-CLOSE)/REF(CLOSE,3)*100>5;
ABC9:=FILTER(ABC8,10);
ABC10:=BARSLAST(ABC9);
ABC11:=REF(HIGH,ABC10+2);
ABC12:=REF(HIGH,ABC10+1);
ABC13:=REF(HIGH,ABC10);
ABC14:=MAX(ABC11,ABC12);
ABC15:=MAX(ABC14,ABC13);
ABC16:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100>5;
ABC17:=ABC10< 150;
ABC18:=(OPEN-ABC15)/ABC15*100< 30;
ABC19:=(CLOSE-LLV(LOW,ABC10))/LLV(LOW,ABC10)*100< 50;
ABC20:=(CLOSE-REF(OPEN,5))/REF(OPEN,5)*100< 30;
ABC21:=VOL/MA(VOL,5)< 3.5;
ABC22:=(CLOSE-REF(CLOSE,89))/REF(CLOSE,89)*100< 80;
ABC25:=ABC16 AND ABC17 AND ABC18 AND ABC19 AND ABC20 AND ABC21 AND ABC22;
暴利:=FILTER(ABC25,15);
ACB1:=(((CLOSE-MA54)/MA54)< 0.1);
ACB2:=(((CLOSE-MA10)/MA10)< 0.3);
偏离率:=(((ACB1=1) AND (ACB2=1))*0.2);
平台突破:=((((偏离率=0) AND (REF(偏离率,1)=0.2)) AND (REF((COUNT((偏离率=0.2),10)=10),1)=1))*-0.1);
妖股突破:=平台突破=-0.1;
XDF:=(暴利 OR 妖股突破);
AAC:=DMA(AMOUNT/VOL/100,VOL/CAPITAL);
AACA:=DYNAINFO(7)/(REF(CLOSE,1))>1.05 AND (DYNAINFO(7)/O>1.05);
指标汇集:=(VOL/REF(VOL,1)>1.2 AND COUNT(CLOSE>OPEN,1)) OR (LOW>REF(HIGH,1) AND COUNT(OPEN>CLOSE,1) AND VOL/REF(VOL,1)>1.2);
妖股王:=XDF AND C/REF(C,1)>1.095 AND 指标汇集 AND AACA,COLORRED;
DRAWICON(妖股王,L,9);
DRAWTEXT(妖股王,L*0.99,'★妖股王'),COLORYELLOW;
STICKLINE(妖股王,O,C,1,0),COLORMAGENTA;





回复

举报

QQ|

GMT+8, 2024-11-24 00:47

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