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

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
上一主题 下一主题

[大智慧] 自用指标源码分享 有图有码


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

天:=MAX(O,C);
地:=MIN(O,C);
均价:=(H+L+O+C)/4;
B:=(2*Ema(LLV(均价,7),10)-均价);
做空趋势:(3*B-2*SMA(B,10,1)),COLORgreen,linethick1;
做多趋势:((SLOPE(CLOSE,20)*5)+CLOSE),colorRED,PRECIS2;
做空能量:(3*B-2*SMA(B,10,10));
中期支撑:=MA(地,5);
MA5:=MA(C,5);
STICKLINE(做多趋势>=做空趋势 AND C>=O,O,C,7.5,1 ),colorRED;
STICKLINE(做多趋势>=做空趋势 AND O>C,O,C,7.5,0 ),colorRED;
STICKLINE(做多趋势>=做空趋势 AND C>=O,C,H,0.5,0),colorRED;
STICKLINE(做多趋势>=做空趋势 AND C>=O,l,o,0.5,0),colorRED;
STICKLINE(做多趋势>=做空趋势 AND O>C,l,C,0.5,0),colorRED;
STICKLINE(做多趋势>=做空趋势 AND O>C,O,H,0.5,0),colorRED;
STICKLINE(做多趋势<做空趋势 AND C>=O,O,C,7.5,1 ),colorGREEN;
STICKLINE(做多趋势<做空趋势 AND O>C,O,C,7.5,0),colorGREEN;
STICKLINE(做多趋势<做空趋势 AND C<O,O,H,0.5,0),colorGREEN;
STICKLINE(做多趋势<做空趋势 AND C<O,C,L,0.5,0),colorGREEN;
STICKLINE(做多趋势<做空趋势 AND C>=O,O,L,0.5,0),colorGREEN;
STICKLINE(做多趋势<做空趋势 AND C>=O,C,H,0.5,0),colorGREEN;
DRAWTEXT(CROSS(做空趋势,做空能量),做空能量*0.98,'风险'),COLORGREEN;
DRAWTEXT(CROSS(做空趋势,做多趋势) AND 做多趋势<天,H*1.02,'逃'),COLORGREEN;
DRAWTEXT(CROSS(做多趋势,做空能量),做空能量*0.98,'买'),COLORRED;





回复

举报

QQ|

GMT+8, 2024-11-17 15:52

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