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

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
上一主题 下一主题

[通达信] 黑马出击副图指标 源码 无未来


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

以下是黑马出击副图指标 源码 无未来

黑马出击副图指标 源码 无未来

源码

VAR1:=EMA((C-(LLV(L,25)))/((HHV(H,25))-(LLV(L,25)))*100,5);
VAR2:=VAR1,COLORRED,LINETHICK2;
VAR3:=MA((V-REF(V,1))/REF(V,1),5);
VAR4:=(C-MA(C,24))/MA(C,24)*100;
VAR5:=VAR4*(1+VAR3);
VAR6:=REF(VOL,1);
VAR7:=SMA(MAX(VOL-VAR6,0),6,1)/SMA(ABS(VOL-VAR6),6,1)*100;
VAR8:=VAR5>REF(VAR5,1) AND VAR2<REF(VAR2,1) AND VAR7>REF(VAR7,1);
VAR9:=VAR5<REF(VAR5,1) AND VAR2>REF(VAR2,1) AND VAR7>REF(VAR7,1);
VAR10:=VAR5>REF(VAR5,1) AND VAR2<REF(VAR2,1) AND VAR7<REF(VAR7,1);
VAR11:=VAR5<REF(VAR5,1) AND VAR2>REF(VAR2,1) AND VAR7<REF(VAR7,1);
VAR12:=VAR5>REF(VAR5,1);
VAR13:=VAR5<REF(VAR5,1);
VAR14:=VAR2<REF(VAR2,1);
VAR15:=VAR2>REF(VAR2,1);
VAR16:=VAR8 OR VAR10;
VAR17:=VAR9 OR VAR11;
VAR18:=VAR13 AND VAR14;
VAR19:=VAR16 OR VAR18;
VAR20:=VAR12 AND VAR15;
XG:=LAST(VAR19,7,1) AND VAR20,COLORRED,STICK;
UP:=CROSS(XG,VAR19) AND VAR20<2.1 AND C>O;
STICKLINE(UP,50,0,4,0),COLOR0000FF;
STICKLINE(UP,50,0,3,0),COLOR6600FF;
STICKLINE(UP,50,0,2,0),COLORFF00FF;
STICKLINE(UP,50,0,1,0),COLORFF99FF;
STICKLINE(UP,50,0,0.3,0),COLORFF3366,;
DRAWTEXT(UP,53,'出击'),COLORWHITE;
均价线:3*SMA((CLOSE-LLV(LOW,30))/(HHV(HIGH,30)-LLV(LOW,30))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,30))/(HHV(HIGH,30)-LLV(LOW,30))*100,5,1),3,1),COLORLIBLUE,LINETHICK2;
你恐慌我贪婪:IF(均价线<=8,30,0),COLORRED,LINETHICK2;
DRAWTEXT(CROSS(你恐慌我贪婪,8),33,'我贪婪'),COLORYELLOW;
JS:=IF(MACD>=0,MACD,DRAWNULL);
MACD:=IF(MACD<0,-MACD,DRAWNULL);
高位:90,DOTLINE,COLORLIRED;
平衡:50,DOTLINE,COLORYELLOW;
区间:20,DOTLINE,COLORLIGRAY;
底位线:5,DOTLINE,COLORYELLOW;
DRAWTEXT_FIX(1,0.21,0.42,1,'【关注均价线在底位线区间的数值!!!】'),COLORYELLOW;







回复

举报

QQ|

GMT+8, 2024-11-16 23:52

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