筹码X(同花顺副图指标公式 公式、同花顺源码 K线图)[同花顺公式]
相关标签:
主力持仓:EMA(100*(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34)),3), colorred,LINETHICK2;
量比:=V/REF(MA(V,5),1);界:= MA(CLOSE,27),linethick1,Color00FFFF;
卖:= 界+2*STD(CLOSE,27),linethick1,ColorFF00FF;
中:=(卖+界)/2;
买线:=EMA(C,2);
卖线:=EMA(SLOPE(C,21)*20+C,42);
lastjly:=REP(&JLR,2);
lastyear:=YEARREP(&JLR,1);
IF(lastyear==JLR)
xxx:=0;
ELSE
xxx:=lastyear-lastjly;
/*市盈率TTMa:CLOSE*ZGB/(xxx+JLR);*/
aaa:=REFX(&PRE,1);
市盈率TTM:=aaa*ZGB/(xxx+JLR),colorred;
KK:=市盈率TTM<7;
ZZZ:=HHV(市盈率TTM,50)/1.4;
ZZ:=市盈率TTM<ZZZ AND KK;
a:=1.1*CLOSE;
b:=0.9*CLOSE;
活动筹码:100*(WINNER(a)-WINNER(b)),coloryellow;
HSL:=EMA(VOL/CAPITAL,3);
ZDL:=HHV(HSL,240);
ZXL:=LLV(HSL,240);
XS:=MA(C,33);
主力筹码:=EMA((HSL-ZXL)/ZXL*XS,13);
散户筹码:=EMA((ZDL-HSL)/HSL*XS,13);
DRAWTEXT(主力筹码*10<散户筹码,0,'危险'),colorwhite;
D:=HIGH/REF(MA(LOW,1),1)*100-100;
超买点:D<1;//www.cxh99.com
T:=V>0;
VP:=VOL=HHV(VOL,50) AND T;
DRAWTEXT(T AND VP,100,'顶'),COLORGREEN;//http://www.cxh99.com
r:=((ZDMR[-1]+BDMR[-1])-(ZDMC[-1]+BDMC[-1]))/SHGZG*100;
当日大单净量:=r,NODRAW;
K:=当日大单净量>0.23;
Z:=当日大单净量=HHV(当日大单净量,50) AND K;
DRAWTEXT(K AND Z,100,'顶'),coloryellow;
DRAWTEXT(K AND Z AND 量比>1.5 AND REF(MA(C,5),1)<MA(C,5) AND (REF(C,0)-REF(C,1))/REF(C,1)*100>0 AND 活动筹码<36.5 AND 主力持仓>24.05 AND 界>C AND 当日大单净量>0.85 AND 当日大单净量<6,50,'今买明卖'),COLORFFFF00;
DRAWTEXT(T AND VP AND K AND Z AND 量比>1.5 AND REF(MA(C,5),1)<MA(C,5) AND (REF(C,0)-REF(C,1))/REF(C,1)*100>0 AND 活动筹码<36.5 AND 主力持仓>24.05 AND 界>C AND 当日大单净量>0.85 AND 当日大单净量<6,50,'今买明卖'),colorblack;
涨停:=H>1.1*REF(C,1)-0.01;
涨停ST:=NAMELIKE('ST') OR NAMELIKE('S') OR NAMELIKE('*') AND H>REF(C,1)*1.045;
DRAWTEXT(涨停 AND K AND Z AND 量比>1.5 AND REF(MA(C,5),1)<MA(C,5) AND (REF(C,0)-REF(C,1))/REF(C,1)*100>0 AND 活动筹码<36.5 AND 主力持仓>24.05 AND 界>C AND 当日大单净量>0.85 AND 当日大单净量<6,50,'今买明卖'),colorblack;
DRAWTEXT(涨停ST AND K AND Z AND 量比>1.5 AND REF(MA(C,5),1)<MA(C,5) AND (REF(C,0)-REF(C,1))/REF(C,1)*100>0 AND 活动筹码<36.5 AND 主力持仓>24.05 AND 界>C AND 当日大单净量>0.85 AND 当日大单净量<6,50,'今买明卖'),colorblack;
涨停2:=REF(H,1)>1.1*REF(C,2)-0.01 AND REF(C,1)=REF(H,1);
涨停ST2:=NAMELIKE('ST') OR NAMELIKE('S') OR NAMELIKE('*') AND REF(H,1)>REF(C,2)*1.045 AND REF(C,1)=REF(H,1);
竞价成交量:=OPENVOL/100;
昨T:=REF(V,1)>0;
昨VP:=REF(VOL,1)=REF(HHV(VOL,25),1) AND 昨T;
B1:=C<=REF(C,4);
BB:=C>REF(C,4) AND REF(B1,1);
T1:=BARSLAST(BB),NODRAW;
昨K:=REF(当日大单净量,1)>0.23;
昨Z:=REF(当日大单净量,1)=REF(HHV(当日大单净量,50),1) AND 昨K;
近期缩量:=REF(V,2)<REF(MA(V,60),2) AND REF(V,3)<REF(MA(V,60),3) AND REF(V,4)<REF(MA(V,60),4) AND REF(V,5)<REF(MA(V,60),5) AND REF(V,6)<REF(MA(V,60),6) AND REF(V,7)<REF(MA(V,60),7) AND REF(V,8)<REF(MA(V,60),8) AND REF(V,9)<REF(MA(V,60),9);
DRAWTEXT(REF(竞价成交量,1)*3<竞价成交量 AND 涨停2 AND 昨T AND 昨VP AND (O-REF(C,1))/REF(C,1)*100>0 AND REF(量比,1)>2.05 AND 近期缩量 AND REF(当日大单净量,1)>1.05 AND REF(量比,1)<3.33 AND REF(C,1)<REF(中,1) AND REF(T1,1)=0 AND 昨K AND 昨Z AND REF(MA(V,60),1)>REF(MA(V,60),2) AND REF(买线,1)>=REF(卖线,1),60,'竞价牛股'),colorcyan;
DRAWTEXT(REF(竞价成交量,1)*3<竞价成交量 AND 涨停ST2 AND 昨T AND 昨VP AND (O-REF(C,1))/REF(C,1)*100>0 AND REF(量比,1)>2.05 AND 近期缩量 AND REF(当日大单净量,1)>1.05 AND REF(量比,1)<3.33 AND REF(C,1)<REF(中,1) AND REF(T1,1)=0 AND 昨K AND 昨Z AND REF(MA(V,60),1)>REF(MA(V,60),2) AND REF(买线,1)>=REF(卖线,1),60,'竞价牛股'),colorcyan;
超短线T:=V>0;
超短线VP:=VOL=HHV(VOL,30) AND 超短线T;
DRAWTEXT(超短线T AND 超短线VP,80,'中上部'),COLORGREEN;//http://www.cxh99.com
超短线K:=当日大单净量>0.23;
超短线Z:=当日大单净量=HHV(当日大单净量,30) AND 超短线K;
DRAWTEXT(超短线K AND 超短线Z,80,'中上部'),coloryellow;
DRAWTEXT(T AND VP,80,'中上部'),colorblack;
DRAWTEXT(K AND Z,80,'中上部'),colorblack;
昨T2:=REF(V,1)>0;//www.cxh99.com
昨VP2:=REF(VOL,1)=REF(HHV(VOL,50),1) AND 昨T2;
DRAWTEXT(昨T2 AND 昨VP2 AND REF(主力持仓,1)<主力持仓 AND REF(MA(C,5),2)<REF(MA(C,5),1),60,'自救准备'),COLORFFFF00;
DRAWTEXT(昨T2 AND 昨VP2 AND REF(主力持仓,1)<主力持仓 AND REF(MA(C,5),2)<REF(MA(C,5),1) AND REF(当日大单净量,1)<1,60,'自救准备'),colorblack;
DRAWTEXT(昨T2 AND 昨VP2 AND REF(主力持仓,1)<主力持仓 AND REF(MA(C,5),2)<REF(MA(C,5),1) AND REF(当日大单净量,1)>3,60,'自救准备'),colorblack;
DRAWTEXT(昨K AND 昨Z AND 昨T2 AND 昨VP2 AND REF(主力持仓,1)<主力持仓 AND REF(MA(C,5),2)<REF(MA(C,5),1),60,'自救准备'),colorblack;
DRAWTEXT((REF(C,0)-REF(C,1))/REF(C,1)*100>0 AND 当日大单净量<-3 AND 昨T2 AND 昨VP2 AND REF(主力持仓,1)<主力持仓 AND REF(MA(C,5),2)<REF(MA(C,5),1),60,'自救准备'),colorblack;
DRAWTEXT(当日大单净量>-1 AND 昨T2 AND 昨VP2 AND REF(主力持仓,1)<主力持仓 AND REF(MA(C,5),2)<REF(MA(C,5),1),60,'自救准备'),colorblack;
DRAWTEXT((REF(C,0)-REF(C,1))/REF(C,1)*100<0 AND 当日大单净量<-2 AND 昨T2 AND 昨VP2 AND REF(主力持仓,1)<主力持仓 AND REF(MA(C,5),2)<REF(MA(C,5),1),60,'自救准备'),colorblack;
大涨:=C>1.05*REF(C,1)-0.01;//www.cxh99.com
......
公式导入教程: 【通达信公式源码导入方法教程】 【同花顺公式源码导入方法教程】 【大智慧新一代公式源码导入方法教程】
有思路,想编写各种指标公式,交易模型,选股公式,还原公式的朋友
可联系技术人员 QQ: 262069696 或微信:cxhjy888 进行 有偿收费 编写!(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)
(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)
相关文章
-
没有相关内容