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

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
上一主题 下一主题

[通达信] 源码放送 无未来 放心用 辅图 有图


    [-----复制链接-----]
楼主
 通达信源码安装路径:1,工具栏点击公式选项。2,弹出公式窗口点击新建。3,把源码复制到指标编辑器保存。4,回到K线图界面安装建立好的公式 || 2024-3-10 20:17:58
源码放送 无未来 放心用 辅图 有图介绍

源码放送 无未来 放心用 辅图 有图

牛熊线
JJ:=(CLOSE+HIGH+LOW)/3;
A:=EMA(JJ,10);
B:=REF(A,1);
M1:=EMA(CLOSE,3);
M2:EMA(CLOSE,8);
分水岭:SMA(M2,2.5,1.5),LINETHICK2,COLORRED;
牛线:3*M2-2*分水岭,LINETHICK2,COLORFF00FF ;
熊线:4*分水岭-3*M2,LINETHICK2,COLORGREEN;
IF (牛线<=熊线,牛线,熊线),COLORGREEN,LINETHICK2;
IF (分水岭<=熊线,分水岭,熊线),COLORGREEN,LINETHICK2;
IF(牛线>REF(熊线,1),熊线,DRAWNULL),COLORFF2200,LINETHICK2;
M3:EMA(M2,13);
M4:EMA(M2,55);
VAR1:=EMA(M3,55);
M5:EMA(M4,81), COLORRED,LINETHICK1;
股道:=(1-C/SMA(C,13,1))*100;
基础:=EMA(C,43);
中线强弱拐点:EMA(股道*C/100+基础,3),COLORGRAY,LINETHICK1;

海面

A5:EMA((L+H+C*2)/4,5);
A13:EMA((L+H+C*2)/4,13);
A21:EMA((L+H+C*2)/4,21);
A55:EMA((L+H+C*2)/4,55);
STICKLINE(A5>A13 AND A5>=REF(A13,1) AND A13>REF(A13,1),A5,A13, 3,0),COLOR0000AA;
STICKLINE(A5>A13 AND A5>=REF(A13,1) AND A13>REF(A13,1),A5,A13,2,0),COLOR0000CC;
STICKLINE(A5>A13 AND A5>=REF(A13,1) AND A13>REF(A13,1),A5,A13,1,0),COLOR0000EE;
STICKLINE(A5>A13 AND A5>=REF(A13,1) AND A13>REF(A13,1),A5,A13,0.1,0),COLOR5555FF;
STICKLINE(A5>A13 AND A5>=REF(A13,1) AND A13>REF(A13,1),A5,A13,0,0),COLOR8080FF;
STICKLINE(A5<A13 AND A5<=REF(A5,1) AND A13<REF(A13,1),A5,A13,3,0),COLORFF0000;
STICKLINE(A5<A13 AND A5<=REF(A5,1) AND A13<REF(A13,1),A5,A13,2,0),COLORFF5500;
STICKLINE(A5<A13 AND A5<=REF(A5,1) AND A13<REF(A13,1),A5,A13,1,0),COLORFF9900;
STICKLINE(A5<A13 AND A5<=REF(A5,1) AND A13<REF(A13,1),A5,A13,0,0),COLORFFFF00;
STICKLINE(A13>A55 AND A21>=REF(A55,1) AND A55>REF(A55,1),A21,A55, 3,0),COLOR770077;
STICKLINE(A13>A55 AND A21>=REF(A55,1) AND A55>REF(A55,1),A21,A55,2,0),COLOR990099;
STICKLINE(A13>A55 AND A21>=REF(A55,1) AND A55>REF(A55,1),A21,A55,1,0),COLORBB00BB;
STICKLINE(A13>A55 AND A21>=REF(A55,1) AND A55>REF(A55,1),A21,A55,0,0),COLORDD00DD;
STICKLINE(A13>A55 AND A21>=REF(A55,1) AND A55>REF(A55,1),A21,A55,0.1,0),COLORFF00FF;
STICKLINE(A21<A55 AND A13<=REF(A21,1) AND A13<REF(A55,1),A21,A55,3,0),COLOR155500;
STICKLINE(A21<A55 AND A13<=REF(A21,1) AND A13<REF(A55,1),A21,A55,2,0),COLOR208000;
STICKLINE(A21<A55 AND A13<=REF(A21,1) AND A13<REF(A55,1),A21,A55,1,0),COLOR2BAA00;
STICKLINE(A21<A55 AND A13<=REF(A21,1) AND A13<REF(A55,1),A21,A55,0.1,0),COLOR35D500;
STICKLINE(A21<A55 AND A13<=REF(A21,1) AND A13<REF(A55,1),A21,A55,0,0),COLOR40FF00;
海面:EMA(C,120),COLORFA05FF,LINETHICK2;
IF(海面>=REF( 海面,1),海面,DRAWNULL),COLORFA05FF,LINETHICK2;
IF(海面<REF (海面,1), 海面,DRAWNULL),COLOR399C7F,LINETHICK2;
股道:=(1-C/SMA(C,13,1))*100;
基础:=EMA(C,43);
中线强弱拐点:EMA(股道*C/100+基础,3),COLORFF0000,LINETHICK3;
中线强弱拐点1:EMA(股道*C/100+基础,3),COLORFF5500,LINETHICK2;
中线强弱拐点2:EMA(股道*C/100+基础,3),COLORFF9900,LINETHICK1;
 


 




 



gd14085

回复

举报

QQ|

GMT+8, 2024-12-27 15:22

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