您现在的位置:程序化交易>> 股票公式>> 其他>> 其他软件公式>>正文内容

修改过的黑马全息下轨道指标 公式 源码[其他软件公式]

指标公式代码分析及使用参考:

该指标是一个复杂的技术分析指标,结合了多个子指标和条件。它包括了移动平均线、相对强弱指标(RSV、KDJ)、黑马趋势、均线穿越、支撑位与压力位等几个主要部分。

总体来说,该指标用于辅助判断股票的买卖时机和趋势的变化。操作建议如下:
1. 对于买入时机:关注短期底部的形成,如果出现黑马趋势的信号并且满足其他条件,可以考虑大胆买入或者追击;
2. 对于卖出时机:关注阻挡位、逃遁信号、减仓信号等,如果行情不好或已经出现卖出信号,可以考虑减仓或出货;
3. 特别关注黑马起步和黑马寻底的信号,这是指标中较为重要的部分,如果出现这些信号,可以进一步分析股票的走势情况;
4. 注意均线的走势以及其他子指标的变化,如相对强弱指标KDJ等,它们可以提供更多的参考信息。

综上所述,该指标综合运用了多个技术指标,可以辅助判断买卖时机和行情的走势。但需要注意,技术指标只是参考工具,操作时还需结合其他因素进行综合分析,以减少风险。同时,建议根据个人的投资策略和风险承受能力来制定具体的操作计划。

 

 

源码:

 

DRAWGBK(CLOSE=CLOSE,COLORRGB(10,10,10),COLORRGB(30,30,30),1);
上:=SMA(HIGH,25,2)*1.05;
DRAWTEXT(FILTER(CLOSE<REF(CLOSE,1) AND CLOSE<REF(CLOSE,1) AND HIGH>上 AND CLOSE<上,5),HIGH+0.05,'-减仓'),colorFFFFFF;
下轨道:SMA(LOW,25,2)*0.969,POINTDOT,colorFFFF;
BMA:=MA(CLOSE,118);
阻挡:=SMA(HIGH,25,2)*1.05;
RSV:=(CLOSE-LLV(LOW,13))/(HHV(HIGH,13)-LLV(LOW,13))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
RSV12:=(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34))*100;
K12:=SMA(RSV12,3,1);
D12:=SMA(K12,3,1);
J12:=3*K12-2*D12;
RSV24:=(CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100;
K24:=SMA(RSV24,3,1);
D24:=SMA(K24,3,1);
J24:=3*K24-2*D24;
支撑位:=IF(CROSS(J,J24),LOW,REF(LOW,BARSLAST(CROSS(J,J24))));
压力位:IF(CROSS(J24,J),HIGH,REF(HIGH,BARSLAST(CROSS(J24,J)))),colorFF00;
U2L:=IF(CLOSE>=MA(CLOSE,20),80,50);
L2L:=IF(CLOSE>=MA(CLOSE,20),50,20);
RH1:=IF(J<U2L AND REF(J,1)>=U2L,HHV(REF(HIGH,1),(BARSLAST(J>=U2L AND REF(J,1)<U2L))-1),REF(HHV(REF(HIGH,1),(BARSLAST(J>=U2L AND REF(J,1)<U2L))-1),BARSLAST(J<U2L AND REF(J,1))));
RH4:=IF(HIGH>RH1,LOW,REF(LOW,BARSLAST(HIGH>RH1)));
RH42:=IF(HIGH>RH1,J,REF(J,BARSLAST(HIGH>RH1)));
RH5:=IF(HIGH>RH4 AND J<RH42 AND J<J24,HIGH,REF(HIGH,BARSLAST(HIGH>RH4 AND J<RH42 AND J<J24)));
RL1:=IF(J>L2L AND REF(J,1)<=L2L,LLV(REF(LOW,1),(BARSLAST(J<=L2L AND REF(J,1)>L2L))-1),REF(LLV(REF(LOW,1),(BARSLAST(J<=L2L AND REF(J,1)>L2L))-1),BARSLAST(J>L2L AND REF(J,1))));
RL4:=IF(LOW<RL1,HIGH,REF(HIGH,BARSLAST(LOW<RL1)));
RL42:=IF(LOW<RL1,J,REF(J,BARSLAST(LOW<RL1)));
RL5:=IF(LOW<RL4 AND J>RL42 AND J>J24,LOW,REF(LOW,BARSLAST(LOW<RL4 AND J>RL42 AND J>J24)));
CB:=AMOUNT/VOL/100;
CD:=CB>HIGH OR CB<LOW;
黑马趋势:=MA(CLOSE,3);
MAP:=MA(CLOSE,5);
AA5:=MA(CLOSE,7);
AA10:MA(CLOSE,14),colorFF;
AA12:MA(CLOSE,25),colorblue;
BB10:=(ATAN(AA10-REF(AA10,1)))*3.1416*10;
BB12:=(ATAN(AA12-REF(AA12,1)))*3.1416*10;
MA13:=MA(CLOSE,13);
DRAWTEXT(FILTER(CLOSE/OPEN>1.04 AND CLOSE-REF(CLOSE,1)>0 AND CLOSE>下轨道 AND AA10-REF(AA10,1)>0 AND CLOSE<上,3),LOW-0.07,'追击'),colorD1E768;
FILLRGN(AA12<=AA10 AND BB12>=1 AND BB10>=1,AA10,AA12),colorFF;
FILLRGN(AA12>=AA10 AND BB10<=1 AND BB10<=1,AA10,AA12),colorFF00;
CXHD:=(OPEN+LOW+HIGH+CLOSE)/4;
支撑:=EMA(CXHD,5);
短期底部:=LLV(OPEN,30);
DRAWTEXT(CROSS(黑马趋势,短期底部) AND RL5-REF(RL5,1)>0 AND 黑马趋势-REF(黑马趋势,1)>0 AND 黑马趋势>1 AND LOW<=支撑位 AND CLOSE>支撑位 AND HIGH<压力位,LOW-0.15,'←黑马发现'),colorFFFF;
DRAWTEXT(CROSS(黑马趋势,RL5) AND 黑马趋势-REF(黑马趋势,1)>0 AND HIGH<压力位 AND LOW<=短期底部 AND CLOSE>支撑位 AND CD<1 AND CLOSE>OPEN AND CLOSE>RL5,LOW,'←短买'),colorFF00;
DRAWTEXT(FILTER(LOW<=短期底部 AND CLOSE-REF(CLOSE,1)>CLOSE AND MA(CLOSE,10)-REF(MA(CLOSE,10),1)>0 AND WINNER(CLOSE)<0.05 AND 短期底部=RL5 AND LOW<=RL5 AND HIGH<压力位,3),LOW,'机会难得'),colorFFFFFF;
历史大底:DRAWTEXT(FILTER(LLV(LOW,0) AND WINNER(CLOSE)<0.08 AND LOW<=短期底部 AND CLOSE>短期底部 AND J<80 AND CLOSE/OPEN>1.08,20),LOW-0.45,'历史大底');
DRAWTEXT(FILTER(LOW<=短期底部 AND CLOSE>压力位 AND AA5-REF(AA5,1)>0 AND J<80 AND CLOSE>支撑位 AND 黑马趋势-REF(黑马趋势,1)>0 AND WINNER(CLOSE)<0.1 AND CLOSE>OPEN,5),LOW-0.15,'黑马登天'),colorCDEEC5;
X1:=(3*CLOSE+HIGH+LOW+OPEN)/6;
X2:=EMA(X1,17);
X3:=REF(X2,1);
X4:=(REF(HIGH,1)+REF(LOW,1))/2;
X5:=MA(CLOSE,21)+2*STD(CLOSE,21);
X6:=REF(CLOSE,1);
X7:=(SMA(MAX(CLOSE-X6,0),7,1))/(SMA(ABS(CLOSE-X6),7,1))*100;
X8:=CROSS(79,X7);
X9:=FILTER(X8,4);
MAP1:=MA(CLOSE,60);
均线30:=MA(CLOSE,30);
均线89:=MA(CLOSE,89);
均线:=MA(CLOSE,14);
均线34:=MA(CLOSE,34);
均线55:=MA(CLOSE,55);
CXH1:=EMA(CLOSE,7);
CXH2:=EMA(CXH1,25);
CXH3:=CROSS(CXH1,CXH2);
CXH4:=CXH1<MA(CLOSE,60);
CXH5:=(HHV(HIGH,36)-CLOSE)/(HHV(HIGH,36)-LLV(LOW,36))*100;
CXH6:=SMA(CXH5,5,1);
CXH7:=SMA(CXH6,8,1);
CXH8:=CROSS(CXH6,CXH7) AND CXH7<16;
CXH9:=CLOSE>LLV(CLOSE,60)+0.3*LLV(CLOSE,60) AND CXH8;
CXHA:=IF(CLOSE>1000,CXH8,CXH9);
黑马起步:=CXH3 AND CXH4;
逃遁:=CXHA;
均线20:=MA(CLOSE,20);
均线120:=MA(CLOSE,144);
牛熊线:=MA(CLOSE,318);
VA:=CROSS(MA(CLOSE,20),MA(CLOSE,120));
VB:=MA(CLOSE,20)>MA(CLOSE,120);
VC:=CROSS(MA(CLOSE,120),MA(CLOSE,89));
VD:=MA(CLOSE,20)<MA(CLOSE,120);
VE:=CROSS(MA(CLOSE,20),MA(CLOSE,250));
VF:=MA(CLOSE,20)>MA(CLOSE,250);
VG:=CROSS(MA(CLOSE,250),MA(CLOSE,20));
DRAWTEXT(FILTER(OPEN>均线120 AND 均线20<均线120 AND LOW<=均线120 AND 均线20-REF(均线20,1)>0 AND CLOSE>OPEN AND 均线120-REF(均线120,1)>0 AND HIGH<RH5 AND CLOSE>=均线120,15),LOW,'120跳马'),color89E0;
DRAWTEXT(VA AND 均线120-REF(均线120,1)>0 AND HIGH<RH5 AND CLOSE>OPEN,LOW,'宝马望月'),colorFFFFFF;
DRAWTEXT(均线-REF(均线,1)>0 AND CROSS(均线20,均线120) AND LOW<=均线120 AND CLOSE>=均线120,LOW,'三线开花'),colorFFFFFF;
短期底部2:LLV(HIGH,30),LINETHICK2,colorFF;
上轨:SMA(HIGH,21,2)*1.092,POINTDOT,colorFFFFFF;
中轨道:SMA(HIGH,21,2)*1.017,POINTDOT,colorFFFFFF;
DRAWTEXT(FILTER(LOW<下轨道 AND CLOSE>MA(CLOSE,15) AND CLOSE>短期底部2 AND HIGH<压力位,10),LOW,'短线5%'),color9DC522;
DRAWTEXT(HIGH>=均线120 AND CLOSE<REF(CLOSE,1) AND CLOSE<REF(CLOSE,1) AND HIGH>上 AND CLOSE<上 AND CLOSE<均线120,HIGH+0.05,'减仓'),colorFF00;
DRAWTEXT(FILTER(HIGH>阻挡 AND CLOSE<阻挡,5),HIGH+0.15,'←逃命');
DRAWTEXT(VE>VG AND HIGH<阻挡,LOW-0.65,'黑马短线'),colorFFFF;
DRAWTEXT(FILTER(OPEN<X2 AND CLOSE>X2 AND 支撑-REF(支撑,1)>0 AND 支撑-REF(支撑,1)>0 AND CLOSE<阻挡 AND 均线-REF(均线,1)>0 AND CLOSE>=均线 AND HIGH<阻挡 AND AA10-REF(AA10,1)>0 AND 阻挡-REF(阻挡,2)>0,11),LOW-0.11,'快马加鞭'),colorFF;
DRAWTEXT(FILTER(OPEN<X2 AND WINNER(CLOSE)<0.2 AND CLOSE>X2 AND X2-REF(X2,1)>0 AND HIGH<阻挡 AND CLOSE-REF(CLOSE,1)>0.35,4),LOW-0.05,'黑马狂奔'),colorD18073;
DRAWTEXT(CROSS(支撑,均线) AND HIGH<中轨道 AND WINNER(CLOSE)<0.2 AND CLOSE<阻挡 AND CLOSE>OPEN AND LOW<=X2 AND CLOSE>=X2 AND CROSS(支撑,X2),LOW,'黑马起步'),colorFFFF;
DRAWTEXT(CROSS(X4,X5),HIGH,'●减仓'),colorB4FF;
DRAWTEXT(X9,HIGH*1.03,'出货'),color9000F5;
DRAWTEXT(黑马起步>0 AND LOW<=X2 AND 均线-REF(均线,1)>0,LOW-0.11,'黑马起步'),colorFF00;
DRAWTEXT(逃遁>0,HIGH*1.14,'●逃命'),colorFF;
RDV:=SMA(LOW,8,1);
DRAWTEXT(CROSS(K,D) AND CLOSE>=OPEN AND X2-REF(X2,1)>0 AND RDV-REF(RDV,1)>0 AND K<=33,LOW-0.08,'黑马初现'),color8500DE;
DRAWTEXT(FILTER(LOW<=短期底部 AND WINNER(CLOSE)<0.2 AND CLOSE<牛熊线 AND HIGH<阻挡 AND X2-REF(X2,1)>0 AND CLOSE>OPEN AND HIGH>=X3,5),LOW-0.03,'←黑马筑底'),color85B256;
RCK:=SMA(LOW,21,2)*0.95;
趋势线:=SMA(LOW,5,1);
大胆买入:DRAWTEXT(CROSS(趋势线,RCK) AND LOW<=X2 AND X2-REF(X2,1)>0,LOW,'←大胆买入'),colorE50000;
B1:=(HIGH+LOW+CLOSE)/3;
B6:=HHV(B1,4*15);
B7:=LLV(B1,4*15);
B8:=B6-B7;
飞龙顶底线:=MA((B1-B7)/B8,2)*80;
DRAWTEXT(FILTER(飞龙顶底线<=1 AND WINNER(CLOSE)<0.02 AND HIGH<趋势线 AND CLOSE>OPEN AND LOW<=短期底部 AND CLOSE>短期底部,8),LOW-0.02,'←黑马寻底'),colorE7DD1F;
 

 

公式导入教程: 【通达信公式源码导入方法教程】 【同花顺公式源码导入方法教程】 【大智慧新一代公式源码导入方法教程

 

 

有思路,想编写各种指标公式,交易模型,选股公式,还原公式的朋友

可联系技术人员 QQ: 262069696  点击在线交流或微信:cxhjy888 进行 有偿收费 编写!(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)

怎么收费,代编流程等详情请点击查阅!

(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)

 


【字体: 】【打印文章】【查看评论

相关文章

    没有相关内容