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

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
上一主题 下一主题

[通达信] 宝中宝主图买卖分明结合量操作百日可翻倍(23日修正好源码)


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

以下是宝中宝主图买卖分明结合量操作百日可翻倍(23日修正好源码)

/////////////////////23日修正好源码,重新发布,谢谢有缘老师的提醒

买卖分明,结合量操作,百日可翻倍。
均价:=(C+(C+H+L+O)/4+O)/3;
操盘线:=EMA(MA(IF(MA(均价,3)>MA(均价,4),MA((均价+3*H)/4,3),REF(MA((均价+3*L)/4,3),1)),3),5),COLORWHITE,LINETHICK2;
PJ:=(HIGH + LOW +2* C)/4;
JX:=EMA(PJ,3),LINETHICK2,COLORWHITE;
角度:=ATAN((JX/REF(JX,1)-1)*100)*180/3.1416;
S:=COUNT(EMA(CLOSE,5)>REF(EMA(CLOSE,5),1),5);
{PARTLINE(操盘线,(角度>=0 AND S>0),RGB(250,0,0),角度<=0 ,RGB(0,255,250)),LINETHICK2;}
IF(角度>=0 AND S>0,操盘线,DRAWNULL),COLORRED,LINETHICK2;
IF(角度<=0,操盘线,DRAWNULL),COLORGREEN,LINETHICK2;
ZL:=EMA(100*(C-LLV(LOW,34))/(HHV(H,34)-LLV(LOW,34)),3);
F11:=ZIG(3,15);
FXX:=IF((F11> REF(F11,1)),5,105);
转向:=CROSS(ZL,FXX);
高点:=CROSS(FXX,ZL);
AA:=REFDATE(HHV(H,0),DATE);
BB:=REFDATE(LLV(L,0),DATE);
STICKLINE(转向,AA,BB,0,0),COLOR00009F;
STICKLINE(转向,L-1,H+1,0,0),COLORYELLOW;
STICKLINE(高点,AA,BB,0,0),COLOR009F00;
STICKLINE(高点,L-1,H+1,0,0),COLORYELLOW;
DRAWICON(转向,LOW,5);
DRAWICON(高点,H,6);
TS:=BARSLAST(转向);
波段涨幅:=(C-REF(L,TS+1))/REF(L,TS+1)*100;
GD:=BARSLAST(高点);
波段跌幅:=(C-REF(H,GD+1))/REF(H,GD+1)*100;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.01,0.01,0,'波段涨幅:'),COLOR0000FF;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.1,0.01,0,'%'),COLOR0000FF;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.06,0.01,0,INTPART(波段涨幅)),COLOR0000FF;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.01,0.05,0,'波段跌幅:'),COLOR00FF00;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.1,0.05,0,'%'),COLOR00FF00;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.06,0.05,0,INTPART(波段跌幅)),COLOR00FF00;








回复

举报

QQ|

GMT+8, 2024-11-18 18:17

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