同花顺箱体买入支撑压力,量比异动探底,趋势买卖顺势买入指标[查股公式]
2022/1/3 9:48:54
箱体买入支撑压力:
VARAB:=IF(DATE<20200605 AND DATE>20000000,1,0);//箱体买入信号
MMS:=MA(SMA((L+H+2*C)/4-REF((L+H+2*C)/4,1),5,1)/SMA(ABS((L+H+2*C)/4-REF((L+H+2*C)/4,1)),5,1)*100,1)+50;
G1:=IF(-MMS>95,0,20);
UOO:=(-(((CLOSE-LLV(CLOSE,7))/(HHV(CLOSE,7)-LLV(CLOSE,7))*100=100)>0 AND G1)+1);
KS:=(((CLOSE - EMA(CLOSE,13)) / EMA(CLOSE,13)) * (0 - 100));
KS1:=IF(BARSCOUNT(C)=1,C/10000,(1-C/SMA(C,13,1))*100);
趋势线:=EMA(((KS / 10) + EMA(CLOSE,10)),3)*VARAB;
AA:=-100*(趋势线-CLOSE)/趋势线;
AC:=(EMA(AA,5) )*VARAB;
SSL:=EMA(CLOSE,3);
MMV:=EMA(((SLOPE(CLOSE,22) * 20) + CLOSE),55);
MM:=MA(MMV,1)*VARAB;
STICKLINE(((SSL>MM)),SSL,MM,0.01,0),colorred;
SA:=(MM*0.985)*VARAB;
SS:=(MA(CLOSE,5))*VARAB;
DD:=(MA(CLOSE,13));
GG:=(MA(CLOSE,21))*VARAB;
捞钱手:IF(((SSL>MM)),MM,SA),LINETHICK2,COLORFF00FF;
能量线:=DMA(((CLOSE + OPEN) / 2),(VOL / (SMA(VOL,4,1) *4)));
上开:=O;
上收:=C;
上高:=H;
上低:=L;
JJ:=(上开+上高+上低)/3;
A:=EMA(JJ,4);
智能黄金线:A*VARAB,coloryellow,LINETHICK1;
B:=REF(A,1);
STICKLINE(((SSL<MM)),捞钱手,智能黄金线,0.01,0),COLORFFFF00;
VA1:=EMA(上收,8);
VA2:=EMA(上收,20);
DRAWTEXT(CROSS(VA1,VA2)AND(C>=O)AND 智能黄金线>REF(智能黄金线,1),VA1*0.97,'★买'),COLOR00FF00;
选手A:=MA(上收,3);
箱顶A:=MA(REF(HHV(上收,6),1),3);
箱底A:=MA(REF(LLV(上收,3),1),3);
T1:=MA(上收,20)>=REF(MA(上收,20),1);
T2:=CROSS(选手A,箱底A) AND 箱顶A/箱底A>100/100 AND T1;
T3:=CROSS(箱顶A,选手A) AND 箱顶A/箱底A>100/100;
选手:=MA(上收,2);
箱顶:MA(REF(HHV(上收,30),1),2),COLOR0000FF,LINETHICK2;
箱底:MA(REF(LLV(上收,30),1),2),COLOR00FF00,LINETHICK2;
..........
量比异动探底:
VARAB:=IF(DATE<20201105 AND DATE>20000000,1,0);
2.4,COLORFF00FF;
4.5,COLOR00FF00;
7.5,COLORCCCCCC;
量比:VOL/MA(REF(VOL,1),5),COLORCCCCCC,LINETHICK0;
正常:IF(量比>=0.8 AND 量比<1.5,量比,0),COLORFF00FF,LINETHICK0;
温和:IF(量比>=1.5 AND 量比<2.5,量比,0),COLOR00FF00,LINETHICK0;
放量:IF(量比>=2.5 AND 量比<5,量比,0),coloryellow;
剧量:IF(量比>=5 AND 量比<10,量比,0),colorred ;
异动:IF(量比>=10,量比,0),colorblue;
地量:IF(量比<0.51,量比,0),colorred ;
量比预警:=量比>=5;
AA:=量比*3*VARAB;
STICKLINE(C>=O,0,AA,2.8,0),COLOR6666CC;
STICKLINE(C>=O,0,AA,2,0),COLOR7777DD;
STICKLINE(C>=O,0,AA,1,0),COLOR8888EE;
STICKLINE(C>=O,0,AA,0.5,0),COLOR9999FF;
STICKLINE(C<O,0,AA,2.8,0),COLORCC6666;
STICKLINE(C<O,0,AA,2,0),COLORDD7777;
STICKLINE(C<O,0,AA,1,0),COLOREE8888;
STICKLINE(C<O,0,AA,0.5,0),COLORFF9999;
STICKLINE(地量,0,AA,2.3,0),colorred ;
STICKLINE(正常,0,AA,0,0),COLORFF00FF;
STICKLINE(温和,0,AA,0,0),COLOR00FF00;
STICKLINE(放量,0,AA,0.5,0),coloryellow;
STICKLINE(剧量,0,AA,0.3,0), colorred;
STICKLINE(异动,0,AA,0.3,0),colorblue;
P:=55;
S:=8;
M1:=3;
JJ:=DYNAINFO(11);
VAR18:=EMA(EMA(CLOSE,13),13);
控盘:=(VAR18-REF(VAR18,1))/REF(VAR18,1)*1000;
财:=(EMA(CLOSE,S)-EMA(CLOSE,P))*10,colorred,LINETHICK1;
神:=EMA(财,M1),colorgreen,LINETHICK1;
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;
DIFF:=(EMA(CLOSE,8) - EMA(CLOSE,55))*10,colorred;
DEAA:=EMA(DIFF,3),colorgreen;
庄:= BTJ11 AND BTJ2 AND BTJ3;
有庄:=FILTER(庄,55)*VARAB,colorwhite;
价:=C;
大盘:=EMA(INDEXC,500)/EMA(C,500);
大盘参考线:=INDEXC/大盘,COLORFFFF00;
VAR20:=(3*CLOSE+LOW+OPEN+HIGH)/6;
VAR21:=(20*VAR20+19*REF(VAR20,1)+18*REF(VAR20,2)+17*REF(VAR20,3)+16*REF(VAR20,4)+15*REF(VAR20,5)+14*REF(VAR20,6)+13*REF(VAR20,7)+12*REF(VAR20,8)+11*REF(VAR20,9)+10*REF(VAR20,10)+9*REF(VAR20,11)+8* REF(VAR20,12)+7*REF(VAR20,13)+6*REF(VAR20,14)+5*REF(VAR20,15)+4*REF(VAR20,16)+3*REF(VAR20,17)+2*REF(VAR20,18)+REF(VAR20,21))/210;
VAR22:=EMA(VAR21,15);
VAR23:=HHV(CLOSE,90);
VAR24:=LLV(CLOSE,90);
VAR25:=VAR23-VAR24;
VAR26:=EMA((CLOSE-VAR24)/VAR25-0.5,14);
ZLSP:=VAR26*20*VARAB;
..............
趋势买卖顺势买入:
VARAB:=IF(DATE<20200805 AND DATE>20000000,1,0);//趋势买卖信号 顺势买入
MA60:MA(C,60),coloryellow,LINETHICK2;
BU:=BARSLAST(CLOSE=HHV(CLOSE,30));
SE:=BARSLAST(CLOSE=LLV(CLOSE,30));
KK1:=SE*VARAB;//()
KK2:=BU*VARAB;
LM1:=SE*VARAB;
LM2:=BU*VARAB;
OK:=KK1>KK2 AND LM1>LM2;
OK1:=KK1>KK2 AND LM1<LM2;
NOK:=KK2>KK1 AND LM2>LM1;
NOK1:=KK2>KK1 AND LM2<LM1;
STICKLINE(OK1,CLOSE,OPEN,8,0),COLORFF00FF;
STICKLINE(OK1,HIGH,LOW,0,0),COLORFF00FF;
STICKLINE(OK,CLOSE,OPEN,8,0),colorred;
STICKLINE(OK,HIGH,LOW,0,0),colorred;
DRAWICON(OK AND NOT(REF(OK,1)),LOW-0.02,4);
DRAWICON(NOK AND NOT(REF(NOK,1)),HIGH+0.06,5);
DRAWTEXT(OK AND NOT(REF(OK,1)),LOW-0.02,' 买');
DRAWTEXT(NOK AND NOT(REF(NOK,1)),HIGH+0.06,' 卖');
..........
相关文章列表
天天查股公式列表