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

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
上一主题 下一主题

CCI-RSI-KD三线组合式与使用同花顺的友友们分享!


    [-----复制链接-----]
楼主
 通达信源码安装路径:1,工具栏点击公式选项。2,弹出公式窗口点击新建。3,把源码复制到指标编辑器保存。4,回到K线图界面安装建立好的公式 || 2020-1-2 19:08:08
CCI-RSI-KD三线组合式与使用同花顺的友友们分享!
  
DRAWGBK(V>1,STRIP(RGB(160,160,250),RGB(120,140,80),1));
N:=25,2,100;M:=14,1,100;N1:=6,2,100;
减仓:180,ColorFF3737,POINTDOT,LINETHICK2;
注意:100,Color53FF1A,POINTDOT,LINETHICK2;
买进:-100,Color1717FF,POINTDOT,LINETHICK2;
底部:-180,Color0075EA,POINTDOT,LINETHICK2;
TYP := (HIGH + LOW + CLOSE)/3;
CC1:(TYP-MA(TYP,M))/(0.015*AVEDEV(TYP,M)),Color15FFFF,LINETHICK2;
C1:=SMA(CC1,3,1);
C2:=SMA(C1,3,1);
C3:=3*C1-2*C2;
CB1:=EMA(C3,5);
CB2:=REF(CB1,1);
LC := REF(CLOSE,1);
RSI1:=SMA(MAX(CLOSE-LC,0),N1,1)/SMA(ABS(CLOSE-LC),N1,1)*100;
RSI:=(RSI1-50)*5,ColorFF17FF;
PARTLINE(RSI,RSI>REF(RSI,1),RGB(250,20,250),RSI<=REF(RSI,1),RGB(0,120,250)),LINETHICK2;
R1:=SMA(RSI,3,1);
D1:=SMA(R1,3,1);
J1:=3*R1-2*D1;
RR1:=EMA(J1,5);
RR2:=REF(RR1,1);
RR:=RR1>RR2;
RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
K:=SMA(RSV,3,1);
K1:=(K-50)*5,ColorFFFF15;
PARTLINE(K1,K1>REF(K1,1),RGB(250,20,20),K1<=REF(K1,1),RGB(0,250,250)),LINETHICK2;
K2:=SMA(K1,3,1);
D2:=SMA(K2,3,1);
J2:=3*K2-2*D2;
BB1:=EMA(J2,5);
BB2:=REF(BB1,1);
判断:=(SMA(((C+L)/2-LLV(L,26))/(HHV((H+C)/2,26)-LLV(L,26))*100,2,1)-8);
STICKLINE(FILTER(判断<REF(判断,1)AND 判断>65,5),230,180,10,0),ColorA25100;
STICKLINE(FILTER(判断<REF(判断,1)AND 判断>65,5),230,180,8,0),ColorC46200;
STICKLINE(FILTER(判断<REF(判断,1)AND 判断>65,5),230,180,3.2,0),ColorE37200;
STICKLINE(FILTER(判断<REF(判断,1)AND 判断>65,5),230,180,1.2,0),ColorFF8409;//蓝顶
趋势:=SMA(EMA(((C+L)/2-LLV(L,17))/(HHV((H+C)/2,17)-LLV(L,17))*100,3),7,1)-(13);
STICKLINE(FILTER(CROSS(判断,趋势)=1 OR 判断>REF(判断,1),10) AND 判断<25 ,-150,-180,10,1),ColorA80054;
STICKLINE(FILTER(CROSS(判断,趋势)=1 OR 判断>REF(判断,1),10) AND 判断<25 ,-150,-180,8,1),ColorC60063;
STICKLINE(FILTER(CROSS(判断,趋势)=1 OR 判断>REF(判断,1),10) AND 判断<25 ,-150,-180,6,1),ColorE10071;
STICKLINE(FILTER(CROSS(判断,趋势)=1 OR 判断>REF(判断,1),10) AND 判断<25 ,-150,-180,4,1),ColorFF0B85;//紫底
关注:=IF(REF(CCI,1)<-99 AND CCI >-98,1,0),colorred;
STICKLINE(关注,-100,-180,10,1),Color0034A2;
STICKLINE(关注,-100,-180,8,1),Color003FBF;
STICKLINE(关注,-100,-180,6,1),Color0048DD;
STICKLINE(关注,-100,-180,4,1),Color0053FF;//橘黄底



0908120936ca2f75ae032e61b5.png

回复

举报

QQ|

GMT+8, 2024-11-28 01:11

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