通达信公式源码概况:
指标类别:通达信公式
授权方式: 免费版
指标评级: ★★★★★
指标分类: 策略
画线方法: 副图
股票k线图中,长上影线的形成,人们多认为是受上方巨大抛压所致,诚然有这种情况,但也有很多情况是出现长上影线后股价便开始了再次的强势上涨,这是庄家利用人们对长上影线是巨大压力的固定思维进行的骗线,所以我们必须要学会识别什么样的长上影线走势会涨。
上影穿刺选股法的技术特征:
1.上影线的长度要达到3%以上;
2.带长上影线的k线不能放出巨量或极度缩量;
3.带长上影线的K线处在上涨的初期或中期时期;
4.要求出现此技术特征的个股为当时的领涨股;
5.带长上影线的K线开盘价要求是高开,且当日涨幅为正;
6.大盘处于短线上涨或中线上涨趋势;
7.满足以上条件后,第二天的走势非常重要,要求第二天的股价是高开高走,如低开则应快速向上拉升,买入时应配合非常规买点操作方法进行。
上影穿刺黑马股的选股技巧属于补救买入方法,因为凡出现“上影穿刺现象”的个股都有了至少15%的涨幅,所以第一时间的买点是远远的错过了。虽然出击位置较高,但买点一旦成功确立其短线获利能力是相当大的,这招是笔者最愿意使用的短线操盘方法之一,因为买点出现后股价当天的涨与不涨很容易判断,也因为这一操盘方法至今仍鲜为人知。
公式源码如下:
ma5:ma(c,5),colorwhite;
ma10:ma(c,10),colorffcc66;
ma30:ma(close,30),colorff00ff;
上端滤波线:ma30*1.03,coloryellow;
下端滤波线:ma30/1.03,coloryellow;
TYP:=(HIGH+LOW+CLOSE+O)/4;
cci-p-1.html” target=”_self”>cci:(TYP-ma(TYP,15))/(0.015*AVEDEV(TYP,15));
参照线:SMA((C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*125,5,1)-37;
ac:=LAST(REF(c,1)>REF(c,2))>=4ANDc<REF(c,1);{价格条件}
bv:=LAST(REF(VOL,1)>REF(VOL,2))>=4ANDVOL<REF(VOL,1);{成交量条件}
cm:=ma(c,5)>ref(ma(c,5),1);{均线条件}
选股信号:acandbvandcm;{信号输出}
DRAWGBK(C>0,RGB(1,1,1),RGB(1,1,1),0,'0',0);
stICKLINE(C>0,0,0,28,-1)COLOR323232;
STICKLINE(C>0,100,100,28,-1)COLOR323232;
STICKLINE(C>0,-100,-100,28,-1)COLOR323232;
STICKLINE(cci.CCI>Ema(CCI.CCI,5),CCI.CCI,EMA(CCI.CCI,5),2,0)COLORRED;
STICKLINE(CCI.CCI<EMA(CCI.CCI,5),CCI.CCI,EMA(CCI.CCI,5),2,0)COLORLIGREEN;
CCI:CCI.CCI,COLORWHITE;
上周线:REF(CCI.CCI#WEEK,WEEkdAY)COLORMAGENTA;
NOTEXT0:IF(CCI>上周线,上周线,DRAWNULL),LINETHICK1,COLORMAGENTA;
NOTEXT1:IF(CCI<上周线,上周线,DRAWNULL),LINETHICK1,COLORCYAN;
DRAWTEXT(ISLASTBAR,CCI,'←CCI'),COLORWHITE;
M:=2;N:=5;
a1:=abs(close-open)/open<0.015;
a2:=count(a1,m)=m;
a3:=ref(o,m)<ref(close,m)and
ref(close,m)/ref(close,m+1)>1+n/100;
a2anda3;
a1:=(C/MA(C,48))<0.75;
a2:=(C/MA(C,70))<0.70;
a3:=a1ANDa2;
a4:=V<REF(V,1)*2.8AND(COUNT(C<O*0.93,2)=2ORCOUNT(H/L>1.1,5)>3);
a5:=a3AND((C-L)/C>0.02ORC>REF(C,1)*1.01)ANDa4;
a6:=FILTER(a5,3);
a7:=(((CLOSE/MA(CLOSE,40))*100)<78);
a8:=(((CLOSE/MA(CLOSE,60))*100)<74);
a9:=(HIGH>(LOW*1.051));
a10:=(a9AND(COUNT(a9,5)>1));
a11:=DMA(CLOSE,VOL/SUM(VOL,34));
a12:=DMA(CLOSE,VOL/SUM(VOL,13));
a13:=(CLOSE-a11)/a11*100;
a14:=(CLOSE-a12)/a12*100;
a15:=a14<=-28ANDa13<=-19;
AA:=IF((a10AND(a7ORa8)),2,0);
BB:=C/REF(C,25)<=1.1;
DRAWGBK(C>0,RGB(1,1,1),RGB(1,1,1),0,'0',0);
stICKLINE(C>0,80,100,28,0)COLOR242424;
STICKLINE(C>0,20,0,28,0)COLOR242424;
STICKLINE(C>0,50,50,28,-1)COLORWHITE;
STICKLINE(C>0,100/3+50,100/3+50,28,-1)COLORWHITE;
STICKLINE(C>0,-100/3+50,-100/3+50,28,-1)COLORWHITE;
DRAWTEXT(ISLASTBAR,50,'██'),COLORBLacK;
DRAWTEXT(ISLASTBAR,50,'0'),COLORWHITE;
DRAWTEXT(ISLASTBAR,100/3+50,'███'),COLORBLACK;
DRAWTEXT(ISLASTBAR,100/3+50,'100'),COLORWHITE;
DRAWTEXT(ISLASTBAR,-100/3+50,'████'),COLORBLACK;
DRAWTEXT(ISLASTBAR,-100/3+50,'-100'),COLORWHITE;
N1:=9;M1:=3;M2:=3;
RSV:=(CLOSE-LLV(LOW,N1))/(HHV(HIGH,N1)-LLV(LOW,N1))*100;
K:SMA(RSV,M1,1)COLORCYAN,NODRAW;
D:Sma(K,M2,1)COLOR0080FF,NODRAW;
J:3*K-2*D,COLORRED,NODRAW;
DRAWBAND(J,RGB(200,50,50),D,RGB(0,50,150));
N:=14;
input:n(9,1,100),M1(3,2,40),M2(3,2,40);
20,pointdot;
50,pointdot;
80,pointdot;
RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
K:SMA(RSV,M1,1);
D:SMA(K,M2,1);
PARTLINE(k,k>REF(k,1)ANDREF(k,1)>0,RGB(255,0,0),k<REF(k,1),
RGB(0,255,0),k>REF(k,1)ANDREF(k,1)<0,RGB(255,0,255));
PARTLINE(d,d>REF(d,1),RGB(255,255,0),d<REF(d,1),RGB(0,255,255));
TYP:=(HIGH+LOW+CLOSE)/3;
真实cci:(TYP-MA(TYP,N))/(0.015*AVEDEV(TYP,N)),COLORYELLOW,NODRAW;
真实CCI均线:expma(真实CCI,5),COLORGREEN,NODRAW;
NOTEXT压缩:真实CCI/3+50,COLORYELLOW;
NOTEXT趋势:真实CCI均线/3+50,COLORGREEN;
DRAWTEXT_FIX(C>0,0.5,0,0,'红蓝彩条是kdj,黄线CCI,绿色CCI均线'),COLORWHITE;
CC:=(SMA(MAX(C-REF(C,2),0),7,1)/SMA(ABS(C-REF(C,2)),7,1)*100)<15;
V3:=(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100;
dd:=SMA(V3,2,1);V5:=SMA(dd,2,1);
ee:=IF(dd>REF(dd,1)ANDREF(dd,1)<REF(dd,2)ANDdd<23,1.5,0);
选股票:BBANDAAANDCCANDee;
DRAWGBK(c>0,STRIP(RGB(111,11,351),RGB(111,351,55),0));
PS:ZHPS(C),COLORSTICK;
PSM:MA(PS,6),colorwhite;
PSL:MA(PS,12),coloryellow;
[源码注释]通达信公式动态翻译结果
输出XG:收盘价/1日前的收盘价>1.07 AND 换手线的HSL>15
评论(0)