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

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
上一主题 下一主题

[通达信] 通达信杀庄回马主图指标公式源码主图


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

VAR3:=IF(1,(C/REF(C,1)-1)*100>9.5,0),NODRAW; 最后涨停距今数:BARSLAST(VAR3),NODRAW,COLOR00CCCC; VAR4:=(REF(C,BARSLAST(VAR3))+REF(OPEN,BARSLAST(VAR3)))/2; STICKLINE(C,VAR4,REF(LOW,BARSLAST(VAR3)),4,0),COLOR002828; DRAWKLINE(HIGH,OPEN,LOW,C); STICKLINE(VAR3,OPEN,C,2.6,0),COLOR0000E5; STICKLINE(VAR3,OPEN,C,2.4,0),COLOR335555; STICKLINE(VAR3,OPEN,C,1.8,0),COLOR338888; STICKLINE(VAR3,OPEN,C,1.2,0),COLOR33AAAA; STICKLINE(VAR3,OPEN,C,0.6,0),COLOR33CCCC; STICKLINE(VAR3,OPEN,C,0.1,0),COLOR33EEEE; VAR5:=REF(C,1); VAR6:=IF((VAR5-C)*100/VAR5>=10-0.01*100/VAR5,1,0); STICKLINE(VAR6,OPEN,C,2.6,0),COLORE50000; MA13:MA(C,13),COLORCYAN; IF(MA13>REF(MA13,1),MA13,DRAWNULL),COLORRED; MA21:MA(C,21),COLOR00CCCC,LINETHICK2; VAR7:=C>MA21 AND MA13>REF(MA13,1) AND VAR6!=1; VAR8:=(MA(C,3)+MA(C,6)+MA(C,12)+MA(C,24))/4; VAR9:=REF(C,1); VAR10:=SMA(MAX(C-VAR9,0),2,1)/SMA(Abs(C-VAR9),2,1)*100; VAR11:=SMA(MAX(C-VAR9,0),14,1)/SMA(ABS(C-VAR9),14,1)*100; VAR12:=45; VAR13:=80; VAR14:=20; VAR15:=5; VAR16:=VAR10< VAR12 AND REF(VAR10,1)>VAR12; VAR17:=VAR10< VAR14 AND REF(VAR10,1)>VAR14; VAR18:=COUNT(VAR3,13)>=1; VAR19:=SMA(LOW,4,3); VAR20:=VAR16 OR VAR17 AND VAR18; VAR21:=REF(VAR16,1) OR REF(VAR17,1) AND LOW< MA(C,5) AND VAR18 AND VAR7 AND C>REF(LOW,BARSLAST(VAR3)); STICKLINE(VAR20 AND NOT(VAR3),OPEN,C,2.4,0),COLOR550055; STICKLINE(VAR20 AND NOT(VAR3),OPEN,C,1.8,0),COLOR880088; STICKLINE(VAR20 AND NOT(VAR3),OPEN,C,1.2,0),COLORAA00AA; STICKLINE(VAR20 AND NOT(VAR3),OPEN,C,0.6,0),COLORCC00CC; STICKLINE(VAR20,OPEN,C,0.1,0),COLOREE00EE; STICKLINE(VAR21 AND NOT(VAR3),OPEN,C,1.2,0),COLOR000088; STICKLINE(VAR21 AND NOT(VAR3),OPEN,C,0.6,0),COLOR0000AA; STICKLINE(VAR21 AND NOT(VAR3),OPEN,C,0.3,0),COLOR0000CC; STICKLINE(VAR21,OPEN,C,0.1,0),COLOR0000EE; STICKLINE(VAR21,VAR19*0.995,VAR19,5,0),COLORGREEN; DRAWICON(VAR21,LOW*0.98,1); VAR22:=AMOUNT/vol/100; VAR23:=REF(C,1); STICKLINE(CURRBARSCOUNT< 21 AND VAR3=1,VAR22,VAR22,2.5,0),COLORYELLOW; STICKLINE(C,VAR4,VAR4,2,0),COLORRED; STICKLINE(C,REF(LOW,BARSLAST(VAR3)),REF(LOW,BARSLAST(VAR3)),2,0),COLORCCCC00;








回复

举报

QQ|

GMT+8, 2024-11-7 03:26

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