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

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
上一主题 下一主题

[通达信] 组合圣灵石指标(主图、源码、附图、说明)


    [-----复制链接-----]
楼主
 通达信源码安装路径:1,工具栏点击公式选项。2,弹出公式窗口点击新建。3,把源码复制到指标编辑器保存。4,回到K线图界面安装建立好的公式 || 2024-3-10 20:14:22
组合圣灵石指标(主图、源码、附图、说明)介绍

组合圣灵石指标(主图、源码、附图、说明)

添加圣灵石回调买
源码:{财务数据}
DRAWTEXT_FIX(ISLASTBAR ,0.06,0.01,1,DYBLOCK),COLORYELLOW;
DRAWTEXT_FIX(ISLASTBAR ,0.065,0.01,0,HYBLOCK),COLORYELLOW;


{圣灵石出击}
MA1:MA(CLOSE,5);MA2:MA(CLOSE,10);MA3:MA(CLOSE,20);MA4:MA(CLOSE,60);MA5:MA(CLOSE,120);MA6:MA(CLOSE,250);
圣:=EMA(HHV(HIGH,1),8);
灵:=EMA(CLOSE,8);
石:=((灵 < REF(灵,1)) AND (CLOSE < 灵));
仙:=IF(((圣 < REF(圣,1)) OR 石),1,0);
圣灵石出击:=((((COUNT((仙 = 1),4) = 3) AND (仙 = 0)) AND (((CLOSE - REF(CLOSE,1)) / REF(CLOSE,1)) > 0.085)) * 89);
DRAWICON((圣灵石出击 >=89),L*0.97,1);
DRAWTEXT((圣灵石出击 >=89),L*0.97,'圣灵石出击'),COLORYELLOW;
{圣灵石出击用法:信号出现,均为标致性的买点。有资金必介入了其中!}

{灵石飞燕}
圣1:=EMA(C,250);

灵1:=COUNT(C>圣1,10)>=8 AND (CROSS(L,圣1*1.02) OR CROSS(L,圣1));

石1:=FILTER(COUNT(灵1,3) AND C>圣1,5);

DRAWICON(石1,L*0.96,1);

DRAWTEXT(石1,L*0.96, '飞燕'),COLORYELLOW;
{圣灵石之灵石飞燕指标用法:1灵石飞燕出,成就的是阳K线!2灵石飞燕出,失败的是长阴K线!};

{灵石黄金线}
圣灵石黄金线:(EMA(C,18)),POINTDOT,LINETHICK5,COLORYELLOW;

{圣灵石黄金线用法:股价在线上,买错也要买!股价在线下,卖错也要卖!};

{圣灵石加速度}
圣灵石:=SMA(C,6.5,1);

圣灵石仙:=SMA(C,13.5,1);
DRAWICON(CROSS(圣灵石,圣灵石仙),L*0.985,1);

DRAWTEXT(CROSS(圣灵石,圣灵石仙),LOW *0.985,'加速度' ),COLORYELLOW;
{圣灵石加速度指标用法:
1、加速度信号出,买错也要买!!!
2、次日如上涨,可以赚钱出来(视为短线操作!);如次日被套,放心持有,因为在洗盘。不赚钱不出来!
3、信号出现后的“下跌”,是区分主力出逃和洗盘的标准之一(“下跌”仅是洗盘!!!)!
4、只要有圣灵石的地方,就有资金活动,永恒的圣灵石!};

{圣灵石股海明灯}
圣灵石1:EMA(C,3),LINETHICK2;

圣灵石仙1:EMA(C,7),LINETHICK2;

圣2:=IF((EMA((C*2+H+L)/4,1)-EMA((C*2+H+L)/4,40)-EMA(EMA((C*2+H+L)/4,1)-EMA((C*2+H+L)/4,40),5))*100<-20,-20,IF((EMA((C*2+H+L)/4,1)-EMA((C*2+H+L)/4,40)-EMA(EMA((C*2+H+L)/4,1)-EMA((C*2+H+L)/4,40),5))*100>100,100,(EMA((C*2+H+L)/4,1)-EMA((C*2+H+L)/4,40)-EMA(EMA((C*2+H+L)/4,1)-EMA((C*2+H+L)/4,40),5))*100));

灵2:=IF((3*(HHV(HIGH,5)-CLOSE)/(HHV(HIGH,5)-LLV(LOW,5))*20-2*SMA((HHV(HIGH,5)-CLOSE)/(HHV(HIGH,5)-LLV(LOW,5))*20,3,1))*1>100,100,IF((3*(HHV(HIGH,5)-CLOSE)/(HHV(HIGH,5)-LLV(LOW,5))*20-2*SMA((HHV(HIGH,5)-CLOSE)/(HHV(HIGH,5)-LLV(LOW,5))*20,3,1))*1<-5,-5,(3*(HHV(HIGH,5)-CLOSE)/(HHV(HIGH,5)-LLV(LOW,5))*20-2*SMA((HHV(HIGH,5)-CLOSE)/(HHV(HIGH,5)-LLV(LOW,5))*20,3,1))*1));

石2:=IF((HHV(HIGH,13)-CLOSE)/(HHV(HIGH,13)-LLV(LOW,13))*120>100,100,(HHV(HIGH,13)-CLOSE)/(HHV(HIGH,13)-LLV(LOW,13))*120);

股海神灯:=CROSS(圣2,灵2) AND CROSS(80,石2);
DRAWICON(股海神灯,L*0.985,1);

DRAWTEXT(股海神灯,LOW *0.985,'股海神灯' ),COLORYELLOW;
{
STICKLINE(股海神灯,H,L,6,0),LINETHICK1,COLORRED;

STICKLINE(股海神灯,H,L,0.2,0),COLORYELLOW;

STICKLINE(股海神灯,O,C,2,0),LINETHICK1,COLORYELLOW;

DRAWICON(股海神灯,(H+L)/2,7);}
{圣灵石股海神灯指标用法:1: 圣灵石线上穿圣灵石仙线,是买入时机!反之死叉是卖出!2 : 股海神灯出现,就是资金活跃的地方。3: 第(2)条服从第(1)条!4:永恒的圣灵石!};

{圣灵石回调买}

圣灵石仙2:=CROSS(SMA(SMA((CLOSE-LLV(LOW,36))/(HHV(HIGH,36)-LLV(LOW,36))*100,3,1),3,1),SMA(SMA(SMA((CLOSE-LLV(LOW,36))/(HHV(HIGH,36)-LLV(LOW,36))*100,3,1),3,1),3,1)) AND SMA(SMA((CLOSE-LLV(LOW,36))/(HHV(HIGH,36)-LLV(LOW,36))*100,3,1),3,1)<20;

DRAWTEXT(BACKSET(CLOSE/REF(CLOSE,3)>=1.1,3) AND COUNT(BACKSET(CLOSE/REF(CLOSE,3)>=1.1,3),3)=1,L*0.95,'←【回调买点】'),COLORYELLOW,LINETHICK3;
 


 




 



gd14385

回复

举报

QQ|

GMT+8, 2024-12-27 02:31

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