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

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
上一主题 下一主题

[通达信] k30指标通达信版放出 (主图 副图 源码)


    [-----复制链接-----]
楼主
 通达信源码安装路径:1,工具栏点击公式选项。2,弹出公式窗口点击新建。3,把源码复制到指标编辑器保存。4,回到K线图界面安装建立好的公式 || 2024-3-10 20:04:57
k30指标通达信版放出 (主图 副图 源码)介绍

k30指标通达信版放出 (主图 副图 源码)

当日换手率:SUM(100 * VOL/CAPITAL,1),LINETHICK0;
VAR4:=EMA(LOW,3);
VAR5:=EMA(LOW,10);
VAR6:=EMA(LOW,20);
VAR7:=EMA(LOW,30);
VAR8:=EMA((VAR5 + VAR6 + VAR7) * 0.28,18);
VAR9:=EMA(HIGH,10);
VAR10:=EMA(HIGH,20);
VAR11:=EMA(HIGH,30);
VAR12:=EMA((VAR9 + VAR10 + VAR11) * 0.382,18);
黄金能量线:REF(EMA((2 * CLOSE + HIGH + LOW + OPEN)/5,5),1),LINETHICK2,COLORYELLOW;
VAR13:=EMA((VAR9 + VAR10 + VAR11) * 0.382,10);
VAR14:=EMA((VAR5 + VAR6 + VAR7) * 0.28,10);
生命线:(VAR13 + VAR14)/2,LINETHICK2,COLORMAGENTA;
VAR15:=100 * (CLOSE - REF(CLOSE,1))/REF(CLOSE,1);
VAR16:=IF(CLOSE < REF(OPEN,1) AND VAR15 < 0,1,0);
VAR17:=IF(CLOSE < REF(OPEN,2) AND VAR15 < 0,1,0);
益泉(745984075) 23:45:16
STICKLINE(VAR16=0 AND REF(VAR16,1)=1 AND VAR17=0 AND REF(VAR17,1)=1,HIGH,LOW,0,1),COLOR00BBFF;
STICKLINE(VAR16=0 AND REF(VAR16,1)=1 AND VAR17=0 AND REF(VAR17,1)=1,OPEN,CLOSE,8,0),COLOR00AAFF;
STICKLINE(VAR16=0 AND REF(VAR16,1)=1 AND VAR17=0 AND REF(VAR17,1)=1,OPEN,CLOSE,6.6,0),COLOR00BBFF;
STICKLINE(VAR16=0 AND REF(VAR16,1)=1 AND VAR17=0 AND REF(VAR17,1)=1,OPEN,CLOSE,4.4,0),COLOR00CCFF;
STICKLINE(VAR16=0 AND REF(VAR16,1)=1 AND VAR17=0 AND REF(VAR17,1)=1,OPEN,CLOSE,3.3,0),COLOR00DDFF;
STICKLINE(VAR16=0 AND REF(VAR16,1)=1 AND VAR17=0 AND REF(VAR17,1)=1,OPEN,CLOSE,2,0),COLOR00EEFF;
STICKLINE(VAR16=0 AND REF(VAR16,1)=1 AND VAR17=0 AND REF(VAR17,1)=1,OPEN,CLOSE,0.8,0),COLORYELLOW;
STICKLINE(VAR16=1 AND REF(VAR16,1)=0 AND VAR17=1 AND REF(VAR17,1)=0,HIGH,LOW,0,1),COLORGREEN;
STICKLINE(VAR16=1 AND REF(VAR16,1)=0 AND VAR17=1 AND REF(VAR17,1)=0,OPEN,CLOSE,8,0),COLOR008800;
STICKLINE(VAR16=1 AND REF(VAR16,1)=0 AND VAR17=1 AND REF(VAR17,1)=0,OPEN,CLOSE,7,0),COLOR009900;
STICKLINE(VAR16=1 AND REF(VAR16,1)=0 AND VAR17=1 AND REF(VAR17,1)=0,OPEN,CLOSE,6,0),COLOR00AA00;
STICKLINE(VAR16=1 AND REF(VAR16,1)=0 AND VAR17=1 AND REF(VAR17,1)=0,OPEN,CLOSE,5,0),COLOR00BB00;
STICKLINE(VAR16=1 AND REF(VAR16,1)=0 AND VAR17=1 AND REF(VAR17,1)=0,OPEN,CLOSE,4,0),COLOR00CC00;
STICKLINE(VAR16=1 AND REF(VAR16,1)=0 AND VAR17=1 AND REF(VAR17,1)=0,OPEN,CLOSE,3,0),COLOR00DD00;
STICKLINE(VAR16=1 AND REF(VAR16,1)=0 AND VAR17=1 AND REF(VAR17,1)=0,OPEN,CLOSE,2,0),COLOR00EE00;
STICKLINE(VAR16=1 AND REF(VAR16,1)=0 AND VAR17=1 AND REF(VAR17,1)=0,OPEN,CLOSE,1,0),COLORGREEN;
VAR18:=(HIGH + LOW + CLOSE + OPEN)/4;
VAR19:=MA(VAR18,5);
VAR20:=(VAR18/VAR19 - 1) * 100;
VAR21:=VAR20 <= -12;
VAR22:=(HIGH + LOW + CLOSE)/3;
VAR23:=(VAR22 - MA(VAR22,14))/(0.015 * AVEDEV(VAR22,14));
VAR24:=SMA(MAX(CLOSE - REF(CLOSE,1),0),6,1)/SMA(ABS(CLOSE - REF(CLOSE,1)),6,1) * 100;
VAR25:=(CLOSE/MA(CLOSE,5) - 1) * 100 < -10;
VAR26:=(CLOSE/MA(CLOSE,13) - 1) * 100 < -10;
VAR27:=(CLOSE/MA(CLOSE,34) - 1) * 100 < -15;
VAR28:=VAR24 < 18;
VAR29:=VAR23 < -120;
VAR30:=(CLOSE - CYC(13))/CYC(13) * 100 < -20;
VAR31:=COUNT(ABS(CLOSE/REF(CLOSE,1) - 1) * 100 >= 6,30) >= 1;
VAR32:=VAR25 AND VAR26 AND VAR27 AND VAR28 AND VAR29 AND VAR31 AND VAR30;
DRAWTEXT(VAR32 AND VAR21,LOW * 0.95,'超跌'),COLORYELLOW;
VAR33:=REF(CLOSE,1)/REF(CLOSE,2) <= 0.93 AND BETWEEN(CLOSE/REF(CLOSE,1),1.03,0.97) AND CLOSE/REF(CLOSE,8) <= 0.8 AND BETWEEN(REF(CLOSE,2)/REF(CLOSE,3),1.04,0.96) AND BETWEEN(REF(CLOSE,3)/REF(CLOSE,4),1.04,0.96);
STICKLINE(VAR33,HIGH,LOW,0,1),COLORF5A963;
STICKLINE(VAR33,OPEN,CLOSE,8,0),COLORCF6E10;
STICKLINE(VAR33,OPEN,CLOSE,7,0),COLOREF7B12;
STICKLINE(VAR33,OPEN,CLOSE,4,0),COLORF08728;
STICKLINE(VAR33,OPEN,CLOSE,2,0),COLORF29540;
STICKLINE(VAR33,OPEN,CLOSE,1,0),COLORF5A963;
DRAWTEXT(VAR33,LOW * 0.95,'抓涨停'),COLORRED;
VAR34:=MA(LOW,5) * (1 - 5/100);
VAR35:=(HHV(VAR34,5) + LLV(VAR34,5))/2;
DRAWTEXT(CROSS(VAR35,LOW) AND VAR35 > REF(VAR35,1),LOW * 0.98,'洗盘'),COLORYELLOW;
VAR43:=((CLOSE - REF(MA(CLOSE,18),1))/18 + MA(CLOSE,18)) * 1.004;
VAR44:=CROSS(CLOSE,VAR43) AND VAR43 > REF(VAR43,1);
VAR45:=7 * SMA((CLOSE - LLV(LOW,27))/(HHV(HIGH,27) - LLV(LOW,27)) * 30,4,1) - 3 * SMA(SMA((CLOSE - LLV(LOW,27))/(HHV(HIGH,27) - LLV(LOW,27)) * 30,4,1),3,1) - SMA(SMA(SMA((CLOSE - LLV(LOW,27))/(HHV(HIGH,27) - LLV(LOW,27)) * 30,4,1),3,1),2,1);
VAR46:=EMA(MA(VAR45,5),7);
VAR47:=EMA(IF(LOW <= LLV(LOW,40),SMA(ABS(LOW - REF(LOW,1)),40,1)/SMA(MAX(LOW - REF(LOW,1),0),40,1),0),3) * 10;
VAR48:=VAR47 AND CROSS(VAR45,VAR46) AND VAR45 < 20 AND VAR23 < 0;
VAR49:=MA(HIGH,5) * (1 + 5/100);
VAR36:=MA(CLOSE,5);
VAR37:=MA(CLOSE,10);
VAR38:=MA(CLOSE,30);
VAR39:=(MA(CLOSE,5) - MA(CLOSE,30))/MA(CLOSE,5) * 100;
VAR40:=CLOSE > MA(CLOSE,5) AND OPEN < MA(CLOSE,5);
VAR41:=CLOSE > MA(CLOSE,10) AND OPEN < MA(CLOSE,10);
VAR42:=CLOSE > MA(CLOSE,30) AND OPEN < MA(CLOSE,30);
DRAWTEXT(VAR40 AND VAR42 AND VAR41,LOW - 0.1,'←蛟龙'),COLORRED;
益泉(745984075) 23:45:36
逃顶:=CROSS(80,VAR24),LINETHICK0,COLORYELLOW;
DRAWICON(CROSS(80,VAR24),HIGH,2);
STICKLINE(VAR44,HIGH,LOW,0.5,1),COLORFFBBFF;
STICKLINE(VAR44,OPEN,CLOSE,8,0),COLORFF22FF;
STICKLINE(VAR44,OPEN,CLOSE,7,0),COLORFF44FF;
STICKLINE(VAR44,OPEN,CLOSE,6,0),COLORFF66FF;
STICKLINE(VAR44,OPEN,CLOSE,5,0),COLORFF88FF;
STICKLINE(VAR44,OPEN,CLOSE,4,0),COLORFF99FF;
STICKLINE(VAR44,OPEN,CLOSE,3,0),COLORFFAAFF;
STICKLINE(VAR44,OPEN,CLOSE,2,0),COLORFFBBFF;
STICKLINE(VAR44,OPEN,CLOSE,1,0),COLORFFBBFF;
DRAWTEXT(VAR44,LOW * 0.975,'加仓'),COLORYELLOW;


DRAWTEXT(VAR48,LOW - 0.1,'起飞'),COLORWHITE;
XS:MA(LOW,5) * (1 - 5/100),LINETHICK0;
DRAWTEXT(CROSS(VAR49,CLOSE),HIGH * 1.005,'逃'),COLORGREEN;
WZ:=70=CURRBARSCOUNT;
DRAWTEXT(WZ=1,HHV(C,110)*1.22,'操盘纪律:『黄K买,绿K卖,紫K加仓』'),COLORRED;
DRAWTEXT(WZ=1,HHV(C,110)*1.15,'K线站上黄色能量线,突破并站稳紫线加仓'),COLORRED;
DRAWTEXT(WZ=1,HHV(C,110)*1.08,'股价跌破能量线减仓,跌破生命线空仓'),COLORRED;
DRAWTEXT(WZ=1,HHV(C,110)*1.01,'操作时间:上午10点前,或者下午2点30后'),COLORRED;



gd15138

回复

举报

QQ|

GMT+8, 2024-12-25 02:14

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