首页 > 编程语言 >通达信妖股龙头回马主图指标公式源码

通达信妖股龙头回马主图指标公式源码

时间:2024-01-26 20:56:35浏览次数:30  
标签:妖股 MA A0 STICKLINE HJ 回马主图 源码 CLOSE REF

{板块排名}
TAX:=HORCALC(HYBLOCK,105,1,DRAWNULL);
TAA:=stRCAT(HYBLOCK,' 排名 :');
DRAWTEXT_FIX(ISLASTBAR,0.70,0.005,0,STRCAT(TAA,CON2STR(TAX,0)));
走强线:Ema(COST(99),181),COLORYELLOW,LINETHICK2;
所属板块:=STRCAT('【所属板块】',STRCAT(STRCAT(STRCAT('【行业】',HYBLOCK),STRCAT('【地区】',DYBLOCK)),STRCAT('【概念】',GNBLOCK)));
DRAWTEXT_FIX(ISLASTBAR,0.00,0.0,0,所属板块),COLORYELLOW;
{大机构进场}
A0:=(3*C+L+O+H)/6;
X:=(20*A0+19*REF(A0,1)+18*REF(A0,2)+17*REF(A0,3)+16*REF(A0,4)+15*REF(A0,5)+
14*REF(A0,6)+13*REF(A0,7)+12*REF(A0,8)+11*REF(A0,9)+10*REF(A0,10)+9*REF(A0,11)+8*REF(A0,12)
+7*REF(A0,13)+6*REF(A0,14)+5*REF(A0,15)+4*REF(A0,16)+3*REF(A0,17)+2*REF(A0,18)+
REF(A0,20))/210;
mtm:=C-REF(C,1);
DX:=100*EMA(EMA(MTM,6),6)/EMA(EMA(Abs(MTM),6),6);
CB2:=EMA(X,13);
卖:=IF(HHV(DX,2)=HHV(DX,7) AND COUNT(DX>50,2) AND crOSS(MA(DX,2),DX),1,0);
DRAWTEXT(FILTER(卖=1,1),HIGH*1.02,'卖'),COLORWHITE;
买1:=IF(LLV(DX,2)=LLV(DX,7) AND COUNT(DX<0,2) AND CROSS(DX,MA(DX,2)),1,0);
DRAWTEXT(FILTER(买1=1,5),LOW*0.97,'★'),COLORRED;
筹码盈利:=STRCAT(STRCAT('筹码盈利:',CON2STR(WINNER(DYNAINFO(7))*100,1)),'%');
DRAWTEXT_FIX(1,0,0.12,0,筹码盈利),COLORYELLOW;
STICKLINE(C<0.905*REF(C,1),C,O,2.5,0),COLORGREEN;
{有庄控盘}
VAW1:=EMA(EMA(CLOSE,13),13);
控盘:=(VAW1-REF(VAW1,1))/REF(VAW1,1)*1000;
无庄控盘:=控盘<0;
有庄控盘:=控盘>REF(控盘,1) AND 控盘>0;
{分时价格原码}
JJ:=DYNAINFO(11);
{波段买卖原码}
P:=21;S:=8;M1:=3;
财:=(EMA(CLOSE,S)-EMA(CLOSE,P))*50;
神:=EMA(财,M1);
{股价与均线偏离买卖条件}
BTJ1:=(C-JJ)/JJ<-0.03;
BTJ11:=(C-JJ)/JJ<-0.03;
BTJ12:=LAST(JJ>=REF(JJ,1),5,1) AND (C-JJ)/JJ<0.005;
STJ1:=(C-JJ)/JJ>0.005;
{控盘买卖条件}
STJ01:=控盘<ref(控盘,1) and="" 控盘="">0.5;
STJ02:=控盘>0;
BTJ2:=控盘>REF(控盘,1) AND 控盘<-0.2;
BTJ22:=控盘>REF(控盘,1) AND 控盘<0 ;
{波段买卖条件}
BTJ3:=CROSS(财,神) AND 财<-0.3;
BTJ32:=CROSS(财,神) AND 财<-0.1;
STJ31:=CROSS(神,财);
STJ32:=CROSS(神,财) AND 财>1.618;
{以下为信号};
BTJ81:=FILTER(BTJ1 AND BTJ2 AND BTJ3,13);
BTJ811:=FILTER(BTJ11 AND BTJ2 AND BTJ3,13);
BTJ82:=FILTER(BTJ12 AND BTJ22 AND BTJ32,13);
STJ81:=FILTER(STJ1 AND STJ01 AND STJ31,13);
STJ82:=FILTER(STJ02 AND STJ32 ,13);
STJ83:=STJ81 AND STJ82;
DRAWTEXT(STJ83,H*1.002,'↓庄出'),COLORGREEN;
DRAWICON(STJ83,H+0.003,24);
庄:= BTJ11 AND BTJ2 AND BTJ3;
有庄:=FILTER(庄,30);
DRAWTEXT(有庄,L-0.0011,'↖庄进'),COLORYELLOW;
DRAWICON(有庄,L*0.999,23);
MA5:MA(CLOSE,5),COLORWHITE;
MA10:MA(CLOSE,10),COLORYELLOW;
MA20:MA(CLOSE,20),COLORRED;
MA30:=MA(CLOSE,30);
MA60:MA(CLOSE,60),COLORBLUE;
AA1:=(C-REF(C,1))/REF(C,1)>=0.058 AND (C-REF(C,1))/REF(C,1)<0.095 ;
AA2:=(C-REF(C,1))/REF(C,1)>=0.098 ;
{STICKLINE(AA1,O,C,0,1 ),COLOR9B37FF;
STICKLINE(AA1,OPEN,CLOSE,3,0 ),COLOR6300C6;
STICKLINE(AA1,OPEN,CLOSE,2.7,0 ),COLOR6D00DB;
STICKLINE(AA1,OPEN,CLOSE,2.1,0 ),COLOR7800F0;
STICKLINE(AA1,OPEN,CLOSE,1.5,0 ),COLOR8000FF;
STICKLINE(AA1,OPEN,CLOSE,0.9,0 ),COLOR8F20FF;
STICKLINE(AA1,OPEN,CLOSE,0.3,0 ),COLOR9B37FF;
STICKLINE(AA2,C,O,3,0 ),COLOR00AAFF;
STICKLINE(AA2,C,O,2.1,0 ),COLOR00BBFF;
STICKLINE(AA2,C,O,1.5,0 ),COLOR00CCFF;
STICKLINE(AA2,C,O,1,0 ),COLOR00ddfF;
STICKLINE(AA2,C,O,0.6,0 ),COLOR00EEFF;
STICKLINE(AA2,C,O,0.2,0 ),COLOR00FFFF;
DRAWICON( AA2,L*0.98,1);}
MA(CLOSE,5),COLORWHITE;
MA(CLOSE,10),COLORYELLOW;
MA(CLOSE,20),COLORRED;
MA(CLOSE,60),COLORBLUE;
MA54:=MA(CLOSE,54);
MA120:MA(CLOSE,120);
STICKLINE(C/REF(C,1)>=1.096 AND H=C,O,C,2,0),COLORYELLOW;
HJ_8:=(REF(CLOSE,3)-CLOSE)/REF(CLOSE,3)*100>5;
HJ_9:=FILTER(HJ_8,10);
HJ_10:=BArslAST(HJ_9);
HJ_11:=REF(HIGH,HJ_10+2);
HJ_12:=REF(HIGH,HJ_10+1);
HJ_13:=REF(HIGH,HJ_10);
HJ_14:=MAX(HJ_11,HJ_12);
HJ_15:=MAX(HJ_14,HJ_13);
HJ_16:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100>5;
HJ_17:=HJ_10<150;
HJ_18:=(OPEN-HJ_15)/HJ_15*100<30;
HJ_19:=(CLOSE-LLV(LOW,HJ_10))/LLV(LOW,HJ_10)*100<50;
HJ_20:=(CLOSE-REF(OPEN,5))/REF(OPEN,5)*100<30;
HJ_21:=vol/MA(VOL,5)<3.5;
HJ_22:=(CLOSE-REF(CLOSE,89))/REF(CLOSE,89)*100<80;
HJ_25:=HJ_16 AND HJ_17 AND HJ_18 AND HJ_19 AND HJ_20 AND HJ_21 AND HJ_22;
暴利:=FILTER(HJ_25,15);
PL1:=(((CLOSE-MA54)/MA54)<0.1);
PL2:=(((CLOSE-MA10)/MA10)<0.3);
偏离率:=(((PL1=1) AND (PL2=1))*0.2);
平台突破:=((((偏离率=0) AND (REF(偏离率,1)=0.2)) AND (REF((COUNT((偏离率=0.2),10)=10),1)=1))*-0.1);
妖股突破:=平台突破=-0.1;
XDF:=(暴利 OR 妖股突破);
VARA:=DMA(AMOUNT/VOL/100,VOL/CAPITAL);
VARAA:=DYNAINFO(7)/(REF(CLOSE,1))>1.05 AND (DYNAINFO(7)/O>1.05);
FLIGA:=(VOL/REF(VOL,1)>1.2 AND COUNT(CLOSE>OPEN,1)) OR (LOW>REF(HIGH,1) AND COUNT(OPEN>CLOSE,1) AND VOL/REF(VOL,1)>1.2);
妖股:=XDF AND C/REF(C,1)>1.095 AND FLIGA AND VARAA,NODRAW;
DRAWICON(妖股,LOW*0.995,7);
DRAWTEXT(妖股,LOW*0.975,' 妖股'),COLORYELLOW;
DRAWTEXT_FIX(1,0.0,5,0,''),COLORYELLOW;
{龙头主图}
AA:=((CLOSE/REF(CLOSE,1))>=1.099);
CB:=(VOL/REF(VOL,1));
关注:IF((((CLOSE/REF(CLOSE,1))>=1.07) AND (CB<1)),1,0),LINETHICK0,NODRAW;
龙头第一买点:=IF((AA AND (CB<1)),1,0);
龙头第二买点:=IF((((CLOSE/REF(CLOSE,1))>=1.07)AND (CB<1)),1,0);
DRAWTEXT((龙头第二买点=1),(REF(LOW,1)*1.1),'↖龙头'),COLOR00FFFF;
均价线:=AMOUNT/V/100,POINTDOT;
C2:=REF(C,1);
涨停:=IF(REF(C,1)*1.1-C<0.01 ,1,0);
DRAWTEXT_FIX(1,0.0,5,0,''),COLORYELLOW;
MA13:=MA(C,13),COLORGRAY;
MA21:=MA(C,21),COLORWHITE;
支撑线:(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4,COLORMAGENTA;
LC:=REF(CLOSE,1);
操作线:=SMA(MAX(CLOSE-LC,0),2,1)/SMA(ABS(CLOSE-LC),2,1)*100,COLORWHITE,LINETHICK2;
趋势线:=SMA(MAX(CLOSE-LC,0),14,1)/SMA(ABS(CLOSE-LC),14,1)*100,COLORGRAY;
震仓线:=45,COLORMAGENTA;
震仓线2:=50,COLORGRAY;
逃命线:=80,COLORRED;
抄底线:=20,COLORGREEN;
绝底线:=5,COLORBLUE;
PP2:=操作线<震仓线2 AND REF(操作线,1)>震仓线2 ;
PP:=操作线<震仓线 AND REF(操作线,1)>震仓线 ;
PP3:=操作线<抄底线 AND REF(操作线,1)>抄底线;
HH:=COUNT(涨停,13)>=1;
STICKLINE(PP2 AND HH,OPEN,CLOSE,0.8,0),COLORBLUE;
STICKLINE(PP AND HH,OPEN,CLOSE,0.8,0),COLORBLUE;
STICKLINE(PP3 AND HH,OPEN,CLOSE,0.8,0),COLORBLUE;
A:=SMA(L,4,3) ;
STICKLINE(A AND REF(PP,1) AND HH ,A*0.9999,A*0.9979,5,0)COLORGREEN;
IF(A AND REF(PP,1) AND HH ,L*0.99,DRAWNULL),COLORRED,CIRCLEDOT;
DRAWICON(A AND REF(PP,1) AND HH,L*0.98,1);
STICKLINE(A AND REF(PP3,1) AND HH ,A*0.9999,A*0.9979,5,0)COLORGREEN;
IF(A AND REF(PP3,1) AND HH ,L*0.99,DRAWNULL),COLORRED,CIRCLEDOT;
DRAWICON(A AND REF(PP3,1) AND HH,L*0.98,1);

 

标签:妖股,MA,A0,STICKLINE,HJ,回马主图,源码,CLOSE,REF
From: https://www.cnblogs.com/zhibiao/p/17990688

相关文章

  • Pytest 源码解读 [1] - [pluggy] 插件框架介绍
    Pluggy(https://github.com/pytest-dev/pluggy)Pytest的核心实际的基于 Pluggy 这个pluginframework的,实际上pytest本身就是由一个一个插件组成的本来pluggy的代码是在pytest的repo里,后来迁移了出来,作为一个独立的项目。Pluggy作为一个独立的pluginframework......
  • 通达信金拐杖选股指标公式源码大智慧通用
    VAR2:=CLOSE*VOL;VAR3:=EMA((EMA(VAR2,3)/EMA(VOL,3)+EMA(VAR2,6)/EMA(VOL,6)   +EMA(VAR2,12)/EMA(VOL,12)+EMA(VAR2,24)/EMA(VOL,24))/4,13);白线:=1.06*VAR3;XG1:=C>白线;D:=72;VAR1:=(HHV(HIGH,8)-CLOSE)/(HHV(HIGH,20)-LLV(LOW,20))*100;VARK2:=(CLOSE-L......
  • 通达信SAR操盘手主图指标公式源码
    X1:=(C+L+H)/3;X2:=Ema(X1,6);X3:=EMA(X2,5);{DRAWICON(crOSS(X2,X3),L-1,7);DRAWICON(CROSS(X3,X2),H+1,8);}stICKLINE(X2>=X3,LOW,HIGH,0,1),COLORRED;STICKLINE(X2>=X3,CLOSE,OPEN,3.2,2),COLORRED;STICKLINE(X2<x3,low,high,0,1),colorgreen;<b......
  • 通达信强势回调主图指标公式源码
    stICKLINE(C/REF(C,1)>1.099,C,O,2.3,0),COLORYELLOW;V1:=IF(NAMELIKE('S')ORNAMELIKE('*'),5,10);C3:=REF(C,1);BBB:=IF((C-C3)*100/C3>=(V1-0.01*100/C3)ANDC=H,1,0);ZT:=BArslAST(BBB)+1;STICKLINE(ZTANDZT<15,REF(C,ZT-1),REF......
  • 通达信极品高抛低吸指标公式源码副图
    S1:=(HHV(HIGH,9)-CLOSE)/(HHV(HIGH,9)-LLV(LOW,9))*100-70;S2:=SMA(S1,9,1)+100;S3:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;S4:=Sma(S3,3,1);S5:=SMA(S4,3,1)+100;S6:=S5-S2;主力线:=IF(S6>45,S6-45,0);VAR2:=(CLOSE-LLV(LOW,24))/(HHV(HIGH,24)-LLV(LOW,......
  • 通达信上下电梯指标公式源码
    快:COUNT(CLOSE>REF(CLOSE,2),4)/4*100,COLOR00FF00;慢:COUNT(CLOSE>REF(CLOSE,2),6)/6*100,COLORFFFFFF;备钱:IF(快=0AND慢>20,20,0),COLORFF00FF;低买:IF(快=0ANDBETWEEN(慢,1,20),50,0),COLORRED;关注:IF(快=0AND慢=0,10,0),COLORFF8800;JC:=(crOSS(快,1)AND慢<=4......
  • 基于Java和Vue开发的企业Ehr数智化人力管理系统源码+配套文档(提升人力资源管理效率的
    写在前面:随着企业规模的不断扩大和人力资源管理的日益复杂,传统的人力资源管理方式已经无法满足现代企业的需求。为了提高管理效率、优化资源配置、降低人力成本,越来越多的企业开始引入eHR人力资源管理系统。本文将重点介绍eHR系统在招聘管理、人事管理、考勤管理、绩效管理、社保......
  • 通达信【红影】今买明卖T+1超短线神器 实盘图例 主图幅图选股公式 源码文件分享
    通达信红影主图幅图选股公式今买明卖T+1超短线神器实盘图例源码文件分享某地金钻指标,原价2000哦,原公式完全加密,股海网和谐源码文件分享所谓红影,就是出现长上影线后收的红色K线,长上影线,代表有很强的资金能量拉升,收红色K线代表多大占据优势,次日大概率有冲高动能,原理非常简单,很......
  • 通达信猛牛异动线主图指标公式源码
    上:Ema(C,3),COLORYELLOW;天:EMA(C,5),COLOR00FF00;入:EMA(天,5),COLORWHITE,;VARF1:=COUNT(crOSS(上,入),2)=1;VARF2:=COUNT(CROSS(天,入),2)=1;ZAI:=FILTER(VARF1ANDVARF2,2);VV2:=REF(CLOSE,1);VV3:=SMA((CLOSE-VV2),6,1)/SMA(Abs(CLOSE-VV2),6,1)*100;DRAWICON(REF(......
  • 通达信(分时副图)资金流向技术指标公式源码
     JLX:=IF(C>REF(C,1),AMOUNT,0);JLZ:=IF(C<REF(C,1),AMOUNT,0);总额:=SUM(AMOUNT,0)/1000000,NODRAW,COLORYELLOW;净流入:(SUM(JLX,0)-SUM(JLZ,0))/1000000,COLORRED,LINETHICK2;WA1:=V*C/100;WA2:=SUM((IF(((WA1/8>20)AND(CLOSE>(REF(CLOSE,1)))),WA1,0)),0);WA3:=......