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

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
上一主题 下一主题

[同花顺] 同花顺交易决策副图指标 源码


    [-----复制链接-----]
楼主
 通达信源码安装路径:1,工具栏点击公式选项。2,弹出公式窗口点击新建。3,把源码复制到指标编辑器保存。4,回到K线图界面安装建立好的公式 || 2024-3-29 11:59:59
同花顺交易决策副图指标 源码介绍

同花顺交易决策副图指标 源码

很实用的交易决策,红线持股,蓝线持币。股性活跃的股票波段操作效果更佳。

QQ1:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
主买:=IF(CLOSE>OPEN,QQ1*(HIGH-LOW),IF(CLOSE<OPEN,QQ1*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2));
主卖:=IF(CLOSE>OPEN,0-QQ1*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-QQ1*(HIGH-LOW),0-VOL/2));
DD:=(主买+主卖)/10000;
DDX1:=EMA(DD,60)*60;
DDX2:=MA(DDX1,5);
DDX3:=MA(DDX1,13);
STICKLINE(DDX1<DDX3,H,L,0,0),colorgreen;
STICKLINE(DDX1<DDX3,C,O,4,0),COLOR00B500;
STICKLINE(DDX1>DDX3,H,L,0,0),COLOR106FFF;
STICKLINE(DDX1>DDX3,C,O,4,0),COLOR0000C8;
STICKLINE(DDX1<DDX2 AND DDX1>DDX3,H,L,0,0),COLORFF5D10;
STICKLINE(DDX1<DDX2 AND DDX1>DDX3,C,O,4,0),COLORFF5D10;
STICKLINE(DDX1>DDX2 AND DDX1<DDX3,H,L,0,0),COLORFF00FF;
MA2:=MA(CLOSE,10);
MA34:=MA(CLOSE,34);
VARA:=((AMOUNT)/(VOL))/(100);
VARB:=((3)*(HIGH)+LOW+OPEN+(2)*(CLOSE))/(7);
VARC:=((SUM(AMOUNT,7))/(VARA))/(100);
VARD:=DMA(VARB,(VOL)/(VARC));
VARE:=((CLOSE-VARD)/(VARD))*(100);
VARF:=((CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34)))*(100);
VARJ:=MA(VARE,20)+STD(VARE,20);
BIAS18:=((CLOSE-MA(CLOSE,18))/(MA(CLOSE,18)))*(100);
K:=SMA(VARF,3,1);
顶:=(REF(BIAS18,1)>=5) AND CROSS(VARJ,VARE) AND (K>79);
DRAWTEXT((REF(BIAS18,1)>=5) AND CROSS(VARJ,VARE) AND (K>79),H*1.02,'风险'),coloryellow;
降:=HHV(EMA(C,3),8),colorcyan;
升:=LLV(EMA(C,3),8),colorred;
走势:=EMA(C,3),coloryellow;
线上多:IF(走势<降,降,DRAWNULL),colorcyan,LINETHICK2;
线下空:IF(走势>升,升,DRAWNULL),colormagenta,LINETHICK2;






gd47720

回复

举报

QQ|

GMT+8, 2024-11-18 22:36

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