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

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
上一主题 下一主题

[同花顺] 热闹2012-原创思路庆祝元旦首发(副图指标 源码 说明 帖图 无未来)


    [-----复制链接-----]
楼主
 通达信源码安装路径:1,工具栏点击公式选项。2,弹出公式窗口点击新建。3,把源码复制到指标编辑器保存。4,回到K线图界面安装建立好的公式 || 2024-3-29 18:04:45
热闹2012-原创思路庆祝元旦首发(副图指标 源码 说明 帖图 无未来)介绍

热闹2012-原创思路庆祝元旦首发(副图指标 源码 说明 帖图 无未来)

说下该指标的思路:单纯从各指标而言,诚言,并非小散的创作而是多年从网上收集而来,都是些很不错的指标,(在此也向各指标的原作们致意了并道声
新年好!)小散也是把这些指标按自己的想法给综合改良一下,也算是思路原创了,其实原理很简单: 多点共震印证原理:在一定底部阶段同一时期内的票子
,所发出的信号越多越好,用法有点类似于,六脉神剑,十指金叉等公式的思路,使用起来具体还是要靠各位伙计们慢慢领悟了。

简要说明:(注 该指标只做为技术交流,不作任何投资依据)用法:趋势预判 类 详可见图 无未来

指标镶入步骤:
副图
工具→公式管理→常用→技术指标→新建→名称和描述→粘贴指标源码→确定

源码:无未来

LC:=REF(CLOSE,1);
RSI5:=((SMA(MAX((CLOSE - LC),0),5,1) / SMA(ABS((CLOSE - LC)),5,1)) * 100);
TR1:=SUM(MAX(MAX((HIGH - LOW),ABS((HIGH - REF(CLOSE,1)))),ABS((LOW - REF(CLOSE,1)))),10);
HD:=(HIGH - REF(HIGH,1));
LD:=(REF(LOW,1) - LOW);
DMP:=SUM(IF(((HD > 0) AND (HD > LD)),HD,0),10);
DMM:=SUM(IF(((LD > 0) AND (LD > HD)),LD,0),10);
PDI:=((DMP * 100) / TR1);
MDI:=((DMM * 100) / TR1);
ADX:=MA(((ABS((MDI - PDI)) / (MDI + PDI)) * 100),5);
AV:=(RSI5 + ADX);
DXR:=(((ADX + REF(ADX,5)) / 2) + RSI5);
WR10:=((100 * (HHV(HIGH,10) - CLOSE)) / (HHV(HIGH,10) - LLV(LOW,10)));
NEWVOL:=(RSI5 - WR10);
最佳买入:=(AV + NEWVOL);
最佳买入选股:=IF(CROSS(最佳买入,0),1,0);
VAR1:=SMA(最佳买入选股,3,1);
VAR2:=SMA(VAR1,3,1);
VAR3:=SMA(VAR2,3,1);
抄底:=CROSS(VAR2,VAR3) AND (VAR2<40);
DRAWTEXT(抄底,0.9,'【抄底'),COLOR0000FF ,LINETHICK2;
吃肉:=CROSS(C,MA(C,3)) AND REF(C,2)<REF(MA(C,3),2);
DRAWTEXT(吃肉,0.8,'〖吃肉'),COLORCBC0FF,LINETHICK2;
N:=9;
N1:=6;
M:=14;
TYP := (HIGH + LOW + CLOSE)/3;
CC1:=(TYP-MA(TYP,M))/(0.015*AVEDEV(TYP,M));
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;
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;
K2:=SMA(K1,3,1);
D2:=SMA(K2,3,1);
J2:=3*K2-2*D2;
BB1:=EMA(J2,5);
刀客:=RR AND NOT(REF(RR,1)) AND (RR1<-100 AND BB1<-100) AND CB1<-100;
DRAWTEXT(刀客,0.7,'【刀客'),COLORB48246,LINETHICK2;
VAR1:=MA((VOL-REF(VOL,1))/REF(VOL,1),5);
VAR2:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;
MY:=VAR2*(1+VAR1);
SHT:=MY;
SHTMA:=MA(SHT,5);
亮剑:=CROSS(SHT,SHTMA) AND (SHTMA<0);
DRAWTEXT(亮剑,0.6,'〖亮剑'),COLORC0C0C0,LINETHICK2;
WSR1:=(CLOSE-MA(CLOSE,5))/MA(CLOSE,5)*100;
WSR2:=CROSS(WSR1,5);
WSR3:=CROSS(8,WSR1);
WSR4:=CROSS(WSR1,-5);
WSR5:=CROSS(WSR1,-8);
WSR6:=WSR3;
WSR7:=WSR4 OR WSR5;
出手:=WSR7 AND FILTER(WSR7,5);
DRAWTEXT(出手,0.5,'【出手'),COLORCC3299,LINETHICK2;
VAR2:=((((2*CLOSE)+HIGH)+LOW) / 4);
VAR4:=LLV(LOW,5);
VAR5:=HHV(HIGH,4);
C1:=(EMA((((VAR2-VAR4)/(VAR5-VAR4))*100),4));
C2:=(EMA(((0.667*REF(C1,1))+(0.333*C1)),2));
飞标:=CROSS(C1,C2) AND C2<60;
DRAWTEXT(飞标,0.4,'〖飞标');
DIFF:= EMA(CLOSE,10) - EMA(CLOSE,22);
DEA:=EMA(DIFF,9);
MACD:=2*(DIFF-DEA);
绿缩:=CROSS(MACD,REF(MACD,1) ) AND REF(MACD,1)<0;
DRAWTEXT(绿缩,0.3,'【绿缩'),COLOR32CD32,LINETHICK2;
MTM:=C-REF(C,1);
DX:=100*EMA(EMA(MTM,6),6)/EMA(EMA(ABS(MTM),6),6);
Y三平:=(LLV(DX,2)=LLV(DX,7) AND COUNT(DX<0,2) AND CROSS(DX,MA(DX,2)));
DRAWTEXT(Y三平,0.2,'〖三平'),COLORD4FF7F,LINETHICK2;
AA1:=FILTER(LOW=LLV(LOW,13),8);
AA2:=IF(LLV(LOW,3)=LLV(LOW,13) AND CLOSE<REF((HIGH+LOW)/2,1),MAX(REF(LLV(LOW,12),BARSLAST(AA1)+1)-LOW,0),0);
AA3:=EMA(AA2,3)*3;
AA4:=SUMBARS(AA3>0,21);
AA5:=SUM(AA3,AA4)/21;
AA6:=REF(AA3,1)=HHV(AA3,3) AND REF(AA3,1)>AA5*3 AND
COUNT(CLOSE/REF(CLOSE,1)<0.9025,8)=0 AND C>O AND LLV(LOW,3)/HHV(HIGH,18)<0.88;
反转:=FILTER(AA6,5);
DRAWTEXT(反转,0.1,'【反转'),COLOR0000FF,LINETHICK2;


图示:
 




 


 



gd17181

回复

举报

QQ|

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

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