CJ:=(H+L+2*O+3*C)/7;
线:SMA((CLOSE-LLV(LOW,11))/(HHV(HIGH,11)-LLV(LOW,11))*100,3,1),colorffffff;
DK:=INTPART(276/POW(DATATYPE+0.3,2)-1.1);
DN:=if(DK 5,5,DK);
短筹:SMA(SMA((PWINNER(36,66*CJ/100)+0.618*PWINNER(18,86*CJ/100))*61.8,1.2*dn,0.41*DN),2.2*DN,2.2*DN-1),linethick2,coloryellow;
抢筹:=if(slope(短筹,0.4*DN) =0,slope(短筹,0.4*DN)*POW(0.61*DN,1.5),0);
活筹:=0.28*短筹+4.62*抢筹-3;
TT:=(HHV(atan(slope(活筹,0.6*DN)*0.58)*180/3.14159,0.6*DN)+1.11*短筹)/1.916;
屯:=SMA(TT,2.4*DN,0.6*DN);
屯筹:(2.28*HHV(屯,1.6*DN)+SMA(屯,2.4*DN,1))/2.801,COLORFFff00;
PARTLINE(屯筹,slope(屯筹,0.4*DN) 0),colorred,linethick3;
PARTLINE(屯筹,slope(屯筹,0.4*DN) =0),colorgreen,linethick3;
QL:=(抢筹*0.8+slope(短筹,0.4*DN)*(60-短筹)*0.75+slope(屯筹,0.6*DN)*(88-屯筹)*0.45+slope(屯,0.6*DN)*(屯-100)*0.2)*pow(短筹*DN/429,0.5);
潜筹:=if(slope(QL,1.6*DN) 0,0.22*SMA(QL,2.4*DN,2.4*DN-1)+0.44*HHV(QL,1.6*DN)-4,0);
潜伏期:=BARSLAST(cross(40,潜筹));
DRAWICON(CROSS(线,50),47,10);
DRAWICON(屯筹 2.5AND潜筹 1.5,0,10);
DRAWICON(屯 80AND屯筹 70AND线 88,105,11);
DRAWICON(CROSS(屯,短筹)AND短筹 15AND屯筹 15,5,1);
DRAWICON(CROSS(屯筹,线)AND屯筹 80,85,2);
DRAWICON(COUNT(潜伏期 REF(潜伏期,1),4)=4AND潜筹 屯筹AND屯筹 80ANDBETWEEN(短筹,10,90)AND短筹 REF(短筹,1)AND屯筹 10AND屯筹 REF(屯筹,1),5,8);
V1:=(HHV(HIGH,5)-LLV(LOW,5));
V2:=(HHV(HIGH,9)-CLOSE);
V3:=(CLOSE-LLV(LOW,9));
V4:=V2/V1*100-70;
V5:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100;
V6:=(2*C+H+L)/4;
V7:=SMA((V3/V1*100),3,1);
V8:=LLV(LOW,34);
V9:=SMA(V7,3,1)-SMA(V4,9,1);
V10:=IF(V9 100,V9-100,0);
VA:=HHV(HIGH,34);
涨:STICKLINE(EMA((V6-V8)/(VA-V8)*100,8) 0ANDEMA((V6-V8)/(VA-V8)*100,8)-EMA(EMA((V6-V8)/(VA-V8)*100,8),5) =0,49,50,15,0),Color4080FF,linethick6;
中线跌:STICKLINE(EMA((V6-V8)/(VA-V8)*100,8) 0ANDEMA((V6-V8)/(VA-V8)*100,8)-EMA(EMA((V6-V8)/(VA-V8)*100,8),5) 0,49,50,15,0),ColorFF0000,linethick6;
买价:=8.6;
止损系数:=0.95;
止赢系数:=1.1;
多头:(SUM(((2*CLOSE+OPEN+HIGH+LOW)/5)*(),8))/(SUM(VOL,8)),COLOR00FFFF,LINETHICK0;
空头:LLV(多头,8),LINETHICK0,COLORFFFF00;
DKT:=多头
DRAWBAND(多头,RGB(0,160,150),空头,RGB(0,0,0));
DRAWKLINE(H,O,L,C);
DRAWICON(REF(多头,1)=REF(空头,1)AND多头 空头,LOW*0.98,13);
DRAWTEXT(REF(多头,1)=REF(空头,1)AND多头 空头,LOW*0.97,'*关注'),COLORRED;
C11:=C =多头AND多头 REF(多头,1);
C21:=C
AA:=C11 =C21;
BB:=C21
stICKLINE(AA,C,O,3.4,0),COLORAA00AA;
STICKLINE(AA,C,O,3.0,0),COLORBB00BB;
STICKLINE(AA,C,O,2.4,0),COLORCC00CC;
STICKLINE(AA,C,O,2.0,0),COLORDD00DD;
STICKLINE(AA,C,O,1.6,0),COLOREE00EE;
STICKLINE(AA,C,O,1.2,0),COLORFF00FF;
STICKLINE(AA,C,O,0.6,0),COLORFF00FF;
STICKLINE(AA,H,L,0,0),COLORFF00FF;
STICKLINE(BB,C,O,3.4,0),COLORAAAA00;
STICKLINE(BB,C,O,3.0,0),COLORBBBB00;
STICKLINE(BB,C,O,2.4,0),COLORCCCC00;
STICKLINE(BB,C,O,1.6,0),COLOREEEE00;
STICKLINE(BB,C,O,1.2,0),COLORFFFF00;
STICKLINE(BB,C,O,0.6,0),COLORFFFF00;
STICKLINE(BB,H,L,0,0),COLORFFFF00;
STICKLINE(CURRBARSCOUNT=1,买价*1.0015,买价,100,0),COLOR00FFFF;
止损价:买价*止损系数,COLOR00FFFF,LINETHICK0;
止赢价:买价*止赢系数,COLOR00FF00,LINETHICK0;
STICKLINE(CURRBARSCOUNT=1,止损价*1.0015,止损价,80,0),COLOR0000FF;
STICKLINE(CURRBARSCOUNT=1,止赢价*1.0015,止赢价,80,0),COLORFF00FF;
DRAWTEXT(ISLASTBAR,止损价*1.005,'止损价'),COLOR00FFFF;
DRAWTEXT(ISLASTBAR,止赢价*1.005,'止赢价'),COLOR00FFFF;
DRAWTEXT(ISLASTBAR,买价*1.005,'买入价'),COLORFFFF00;
GJSZ:=(CURRBARSCOUNT=5-4);
DRAWNUMBER(GJSZAND止损价,止损价,止损价),COLOR00FFFF;
DRAWNUMBER(GJSZAND止赢价,止赢价,止赢价),COLORFFFF00;
DRAWNUMBER(GJSZAND买价,买价,买价),COLOR00FFFF;
N2:=5;
A1:=REF(H,N2)=HHV(H,2*N2+1);
B1:=FILTER(A1,N2);
C1:=BacKSET(B1,N2+1);
HD:=FILTER(C1,N2);
RH:=BACKSET(CURRBARSCOUNT=2,BArslAST(HD)+1);
SH:=RH REF(RH,1);
H1:=REF(H,BARSLAST(SH));
STICKLINE(H1,H1,H1,5,0),LINETHICK2,COLOR00FFFF;
DRAWTEXT(ISLASTBAR,H1*1.005,'近期高点'),COLORFFFF00;
TTP:=(CURRBARSCOUNT=5-4);
DRAWNUMBER(TTPANDH1,H1,H1),COLORFFFF00;
A2:=REF(L,N2)=LLV(L,2*N2+1);
B2:=FILTER(A2,N2);
C2:=BACKSET(B2,N2+1);
LD:=FILTER(C2,N2);
RL:=BACKSET(CURRBARSCOUNT=2,BARSLAST(LD)+1);
SL:=RL REF(RL,1);
L1:=REF(L,BARSLAST(SL));
STICKLINE(L1,L1,L1,5,0),COLORFFFF00,LINETHICK5;
DRAWTEXT(ISLASTBAR,L1*1.005,'近期低点'),COLORFFFF00;
DRAWNUMBER(TTPANDL1,L1,L1),COLOR00FFFF;
AHX:=ma(C,3);
BHX:=MA(C,14);
EHX:=(AHX+BHX)/2;
当前价:=C,COLORFFFFFF;
市盈率:=IF(FINANCE(33) 0,DYNAINFO(39),0)*0.35;
每股收益:=IF(FINANCE(33) 0.01,FINANCE(33)*0.65,0);
CKMJ:=每股收益*市盈率*4;
参考买价:STICKLINE(1,CKMJ,CKMJ,2,0),COLORFFFFFF,LINETHICK1;
DRAWICON(EHX CKMJANDcrOSS(当前价,EHX),L*0.98,34);
DRAWICON(EHX CKMJANDCROSS(当前价,EHX),L*0.98,23);
DRAWTEXT(ISLASTBAR,CKMJ*1.0054,'参考买价'),COLOR00FFFF;
TTP123:=(CURRBARSCOUNT=5-4);
DRAWNUMBER(TTP123ANDCKMJ,CKMJ,CKMJ),COLORFFFF00;
LC5:=REF(CLOSE,1);
5:=SMA(MAX(CLOSE-LC5,0),6,1)/SMA(Abs(CLOSE-LC5),6,1)*100;
R:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
A:=SMA(R,3,1);
B:=SMA(A,3,1);
CCC:=(B/2+40)*1.1;
DA:=SMA(CCC,3,1);
短逃:DRAWICON(CROSS(DA,RSI5),H*1.02,12);
:DRAWICON(CROSS(80,RSI5),H*1.04,14);
DRAWTEXT(短逃,H*1.03,'短逃'),COLOR00FFFF;
DRAWTEXT(逃顶,H*1.05,'逃顶'),COLOR00FF00;
SJ:=WMA((C-LLV(L,5))/(HHV(H,5)-LLV(L,5))*100,2);
ZJ:=WMA(0.667*REF(SJ,1)+0.333*SJ,2);
DRAWTEXT(CROSS(SJ,ZJ)ANDSJ 30,L-0.05,'←低吸'),COLOR00FF99,LINETHICK2;
{DRAWTEXT(CROSS(ZJ,SJ)ANDSJ 70,H+0.05,'←高抛'),COLOR00FF00,LINETHICK2;}
DRAWTEXT_FIX(1,0.05,0.0,0,'【操作须知】★★及时调整买价★★
根据自己习惯确定止损系数及止赢系数★★参考买价线下大胆买★★'),COLOR00FFFF;
公式解读:
今天的分享就到这里啦,大家感觉怎么样呢?有什么意见建议的朋友欢迎在下方评论区写下你的看法,我们共同学习进步,还请大家多多关注支持哦!!敬请期待明天的分享!
九毛八公式指标,一个优质的公式指标平台!
九毛八公式指标 »
通达信多空趋势线指标公式
加入收藏