拉升在即指标公式源码(准备拉升指标公式)

拉升在即指标公式?

本人精通编程,会写会改,拉升在即公式如下:

VAR1:=EMA(SMA((CLOSE-LLV(LOW,19))/(HHV(HIGH,19)-LLV(LOW,19))*100,8,1),3);

STICKLINE(VAR1>20 AND VAR1<80,VAR1,VAR1,10,1),COLORRED;

STICKLINE(VAR1

STICKLINE(VAR1>80,VAR1,VAR1,8,1),COLOR00FF00;

STICKLINE(VAR1<20,VAR1,VAR1,8,1),COLORYELLOW;

ABV:=MA(SUM(IF(CLOSE>REF(CLOSE,1),VOL,IF(CLOSE

M1:=EMA(ABV,12);

M2:=EMA(ABV,26);

MTM:=CLOSE-REF(CLOSE,1);

MMS:=((100)*(EMA(EMA(MTM,6),6)))/(EMA(EMA(ABS(MTM),6),6));

MMM:=((100)*(EMA(EMA(MTM,12),12)))/(EMA(EMA(ABS(MTM),12),12));

MML:=((100)*(EMA(EMA(MTM,26),26)))/(EMA(EMA(ABS(MTM),26),26));

MTGJ:=C-REF(C,1);

ZLGJ:=100*EMA(EMA(MTGJ,9),9)/EMA(EMA(ABS(MTGJ),9),9);

MAZL:=MA(ZLGJ,5);

A:=((VOL)/(CAPITAL))*(100);

S:=((MA(A,30))/(MA(INDEXA,10)))*(MA(INDEXA,60));

Y:=((MA(A,120))/(MA(INDEXA,10)))*(MA(INDEXA,60));

X:=1;

V1:=(HIGH+OPEN+LOW+(2)*(CLOSE))/(5);

V2:=REF(V1,1);

V3:=MAX(V1-V2,0);

V4:=ABS(V1-V2);

V5:=SMA(V3,10,1);

V6:=SMA(V4,10,1);

V8:=COUNT(((V5)/(V6)<0.2),5);

V9:=COUNT((LLV(V1,10)=V1),10);

主力进出:IF((MMS>REF(MMS,1) AND ZLGJ>REF(ZLGJ,1) AND CROSS(ABV,M2) AND ABV>REF(ABV,1) AND M1>REF(M1,1) AND M2>REF(M2,1)),65,0),COLORWHITE,POINTDOT;

主进主轨:=ABV>M2 AND CROSS(ABV,M1) AND CROSS(ZLGJ,MAZL);

STICKLINE(主力进出 OR 主进主轨,65,0,4,1),COLORWHITE;

精准买卖:=V8>=1 AND V9>=1 AND CLOSE>OPEN AND REF(CLOSE,1)>REF(OPEN,1) AND (VOL>REF(VOL,1)) AND MMS>MML AND CROSS(ABV,M2);

短线买点:=V8>=1 AND V9>=1 AND CLOSE>OPEN AND REF(CLOSE,1)>REF(OPEN,1) AND (VOL>REF(VOL,1)) AND CROSS(MMS,MML) AND ABV>REF(ABV,1);

中线买点:=V8>=1 AND V9>=1 AND CLOSE>OPEN AND REF(CLOSE,1)>REF(OPEN,1) AND (VOL>REF(VOL,1)) AND ABV>REF(ABV,1) AND MMS>MML AND CROSS(MMM,MML) AND MMS>REF(MMS,1) AND MMM>REF(MMM,1) AND MML>REF(MML,1);

主进主买:=ABV>M2 AND ZLGJ>MAZL AND CROSS(MMS,MML) AND MMS>REF(MMS,1) AND MMM>REF(MMM,1) AND MML>REF(MML,1);

短中精:=精准买卖 OR 短线买点 OR 中线买点 OR 主进主买;

主力买卖:IF(短中精,60,0),COLORFF00FF,POINTDOT;

STICKLINE(主力买卖,60,0,4,1),COLORFF00FF;

主力轨迹:IF(ABV>M2 AND MMS>MML AND CROSS(ZLGJ,MAZL) AND ZLGJ>REF(ZLGJ,1) AND MAZL>REF(MAZL,1),55,0),COLORFFCC66,POINTDOT;

STICKLINE(主力轨迹,55,0,4,1),COLORFFCC66;

拉升在即:IF(SMML AND ABV>M1 AND CROSS(S,Y),50,0),COLORYELLOW,POINTDOT;

STICKLINE(拉升在即,50,0,4,1),COLORYELLOW;

底部构成:IF(V8>=1 AND V9>=1 AND CLOSE>OPEN AND REF(CLOSE,1)>REF(OPEN,1) AND VOL>REF(VOL,1) AND ABV>M2 AND ZLGJ>MAZL,45,0),COLOR00FF00,POINTDOT;

STICKLINE(底部构成,45,0,4,1),COLOR00FF00;

ROC:=(CLOSE-REF(CLOSE,12))/REF(CLOSE,12)*100;

HSL:=100*VOL/CAPITAL;

冲击波:IF(CROSS(ROC,16) AND HSL>3.5,40,0),COLOR0099FF,POINTDOT;

STICKLINE(冲击波,40,0,4,1),COLOR0099FF;

双紫擒龙三合一升级版指标公式?

X_1:=MA(CLOSE,5);

X_2:=IF(X_1>REF(X_1,1),X_1,DRAWNULL);

X_16:=IF(CLOSE>REF(CLOSE,1),88,0);

X_17:=IF(CLOSE/REF(CLOSE,1)>1.095 AND HIGH/CLOSE<1.035 AND X_16>0,91,0);

X_18:=DATE<1971230 AND FILTER(X_17>90,30)=1;

X_19:=X_2 AND X_18;

X_20:=CLOSE/REF(CLOSE,1)>1.048 AND CLOSE=HIGH AND BETWEEN(FORCAst(vol,5),0.3*FORCAST(VOL,12),2.1*FORCAST(VOL,12));

X_21:=FILTER(X_20,60);

X_22:=X_2 AND X_21;

导弹:=X_22 AND X_19;

X_23:=MA(CLOSE,10);

X_26:=MA(CLOSE,54);

X_29:=(REF(CLOSE,3)-CLOSE)/REF(CLOSE,3)*100>5;

X_30:=FILTER(X_29,10);

X_31:=BArslAST(X_30);

X_32:=REF(HIGH,X_31+2);

X_33:=REF(HIGH,X_31+1);

X_34:=REF(HIGH,X_31);

X_35:=MAX(X_32,X_33);

X_36:=MAX(X_35,X_34);

X_37:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100>5;

X_38:=X_31<150;

X_39:=(OPEN-X_36)/X_36*100<30;

X_40:=(CLOSE-LLV(LOW,X_31))/LLV(LOW,X_31)*100<50;

X_41:=(CLOSE-REF(OPEN,5))/REF(OPEN,5)*100<30;

X_42:=VOL/MA(VOL,5)<3.5;

X_43:=(CLOSE-REF(CLOSE,89))/REF(CLOSE,89)*100<80;

X_44:=X_37 AND X_38 AND X_39 AND X_40 AND X_41 AND X_42 AND X_43;

X_45:=FILTER(X_44,15);

X_46:=(CLOSE-X_26)/X_26<0.1;

X_47:=(CLOSE-X_23)/X_23<0.3;

X_48:=(X_46=1 AND X_47=1)*0.2;

X_49:=(X_48=0 AND REF(X_48,1)=0.2 AND REF(COUNT(X_48=0.2,10)=10,1)=1)*(-0.1);

X_50:=X_49=(-0.1);

X_51:=X_45 OR X_50;

X_53:=DYNAINFO(7)/REF(CLOSE,1)>1.05 AND DYNAINFO(7)/OPEN>1.05;

X_54:=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);

妖股:=X_51 AND CLOSE/REF(CLOSE,1)>1.095 AND X_54 AND X_53;

X_55:=0.24;

X_56:=EMA(CLOSE,12)-EMA(CLOSE,26);

X_57:=EMA(X_56,9);

nbo指标公式?

PC:=C-REF(C,1);

PC1:=EMA(PC,25);

PC2:=EMA(PC1,13);

PC3:=EMA(ABS(PC),25);

PC4:=EMA(PC3,13);

主力趋势:100*PC2/PC4,colorwhite,LINETHICK3;

上穿零点买入,下穿零点空仓,紫色洗盘红色拉升,绿色出货蓝色空仓。:0,coloryellow;

升:IF(主力趋势>REF(主力趋势,1),主力趋势,DRAWNULL),COLORFF00FF,LINETHICK3;

降:IF(主力趋势

趋势:100*PC2/PC4,coloryellow,LINETHICK1;

STICKLINE(趋势0,0,趋势,8,1),colorgreen;

STICKLINE(趋势>=REF(趋势,1)AND 趋势>0,0,趋势,8,0),colorred;

STICKLINE(趋势>REF(趋势,1)AND 趋势<0,0,趋势,8,0),colormagenta;

STICKLINE(趋势<=REF(趋势,1)AND 趋势<0,0,趋势,8,1),colorcyan;

zero:0,coloryellow;

DRAWICON (CROSS(趋势,zero)=1,趋势,1);

DRAWICON (CROSS(zero,趋势)=1,zero,2);

kdj指标公式源码?

KDJ指标公式源码:

参数:N:=9; M1:=3; M2:=3;

RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;

K:SMA(RSV,M1,1);

D:SMA(K,M2,1);

J:3*K-2*D;

周K:=MA(“KDJ.K#WEEK”(N,M1,M2) ,5),LINETHICK1,COLORRED;

周D:=MA(“KDJ.D#WEEK”(N,M1,M2) ,5),LINETHICK1,COLOR33FF99;

周J:=MA(“KDJ.J#WEEK”(N,M1,M2) ,5),LINETHICK1,COLORMAGENTA;

月K:MA(“KDJ.K#MONTH”(N,M1,M2),5),LINETHICK1,COLORFF00FF;

月D:MA(“KDJ.D#MONTH”(N,M1,M2),5),LINETHICK1,COLOR00FF00;

月J:=MA(“KDJ.J#MONTH”(N,M1,M2),5),LINETHICK1,COLORFFFFFF;

DRAWBAND(月K,RGB(100,0,100),月D,RGB(120,120,120));

STICKLINE(周K>=周D,周K,周D,1,0),COLOR6666FF;

STICKLINE(周K<周D,周K,周D,1,1),COLOR00FFFF;

STICKLINE(C>0,115,120,2,1),COLOR00FFFF;

STICKLINE(C>0,-15,-20,2,1),COLORFFFF88;

STICKLINE(周K>=周D,110,120,2,0),COLOR6666FF;

STICKLINE(月K>=月D,-10,-20,2,0),COLOR660099;

STICKLINE(C>0,48,52,2,1),COLORFFFFFF;

STICKLINE(周K>=周D AND 月K>=月D,42,58,2,1),COLORRED;

STICKLINE(月K<月D AND 周K>=周D,44,56,2,1),COLORFF00FF;

STICKLINE(月K>=月D AND 周K<周D,46,54,2,1),COLOR00FF00;

STICKLINE(CURRBARSCOUNT=88,10,90,99,0),COLOR222255;

STICKLINE(CURRBARSCOUNT=88,100,90,99,0),COLORYELLOW;

DRAWTEXT(CURRBARSCOUNT=92,95,’中间彩柱’),COLORFF0000;

DRAWTEXT(CURRBARSCOUNT=8,110,’周KD金叉’),COLORFFFFFF;

DRAWTEXT(CURRBARSCOUNT=8,-10,’月KD交叉’),COLORFFFFFF;

DRAWTEXT(CURRBARSCOUNT=98,20,’月死叉周死叉–全退–白色’),COLORFFFFFF;

DRAWTEXT(CURRBARSCOUNT=98,40,’月金叉周死叉–减仓–绿色’),COLOR00FF00;

DRAWTEXT(CURRBARSCOUNT=98,60,’月死叉周金叉–反弹–粉色’),COLORFF00FF;

DRAWTEXT(CURRBARSCOUNT=98,80,’月金叉周金叉–持股–红色’),COLORRED;

超级主力指标源码公式?

DRAWGBK(1,STRIP(RGB(30,0,60),RGB(0,40,40),2));

//平均:TOSTRING((REF(H,1)+REF(L,1)+REF(O,1)+REF(C,1))/4,2),colorgreen;

//市值:TOSTRING(FINANCE(1)*C,3);

//主营收入:TOSTRING(FINANCE(20),3),colorred;

持仓:100*EMA((CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34)),3),linethick3,Colorff00ee;

//STICKLINE(持仓>0,0,持仓,12,1),color999999;

主力:100*WINNER(CLOSE*1.9-SHigh),LINETHICK2,Color00ffcc;

//通信达主力:100*WINNER(CLOSE*0.95),LINETHICK2,COLOR00bbbb;

//PJJ:DMA((H + L + C * 2) / 4,0.9)/HHV(C,120)*100;

成本:=DMA(AMOUNT/V,V/CAPITAL)/HHV(C,120)*100,colorgreen;

DRAWBAND(C/HHV(C,120)*100,RGB(200,200,00),成本,RGB(0,0,205));

AA:=(VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN)));

AAB:=(IF(CLOSE>OPEN,AA*(HIGH-LOW),IF(CLOSE

AAS:=(IF(CLOSE>OPEN,0-AA*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE

买力:=100*AAB/HHV(VOL,120);

卖力:=100*AAS/HHV(VOL,120);

STICKLINE(买力>0,0,买力,8,0),color0000dd;

STICKLINE(卖力<0,买力,买力-卖力,8,0),color00bb00;

QJ0:=(HIGH+LOW+CLOSE)/3;

QJ1:=IF(HIGH=LOW,1,HIGH-MAX(OPEN,CLOSE))/VOL*100;

QJ2:=IF(HIGH=LOW,1,MAX(CLOSE,OPEN)-QJ0)/VOL*100;

QJ3:=IF(HIGH=LOW,1,MIN(OPEN,CLOSE)-LOW)/VOL*100;

QJ4:=IF(HIGH=LOW,1,QJ0-MIN(CLOSE,OPEN))/VOL*100;

QJ5:=(VOL/(IF(HIGH=LOW,4,HIGH-LOW)));

特大:QJ4*QJ5,NODRAW,colorred;

大单:QJ3*QJ5,nodraw,colormagenta;

中单:QJ1*QJ5,NODRAW,colorgreen;

小单:QJ2*QJ5,NODRAW,colorblack;

//小散:=EMA(小单+中单,3),colorblack;

//大单走向:EMA(大单+特大,3),coloryellow;

//STICKLINE(特大>0,特大+大单-1,特大+大单,7,0),colorffffff;

//STICKLINE(特大>0,1,特大+大单,11,1),coloraaaaaa;

//STICKLINE(大单>0,特大,特大+大单,12,1),colormagenta;

//STICKLINE(大单>0,特大,特大+大单,11,1),colormagenta;

股票指标公式都有哪些?

KDJ计算公式:1.产生KD以前,先产生未成熟随机值RSV。其计算公式为: N日RSV=[(Ct-Ln)/(Hn-Ln)] ×100 2.对RSV进行指数平滑,就得到如下K值: 今日K值=2/3×昨日K值+1/3×今日RSV 式中,1/3是平滑因子,是可以人为选择的,不过目前已经约定俗成,固定为1/3了。 3.对K值进行指数平滑,就得到如下D值: 今日D值=2/3×昨日D值+1/3×今日K值 式中,1/3为平滑因子,可以改成别的数字,同样已成约定,1/3也已经固定。 4.在介绍KD时,往往还附带一个J指标,计算公式为: J=3D-2K=D+2(D-K) 可见J是D加上一个修正值。J的实质是反映D和D 与K的差值。此外,有的书中J指标的计算公式为:J=3K-2D EXPMA 计算公式:1、 计算第一条EXPMA: EXPMA1=(C-Xp)×0.15+Xp 2、 计算第二条EXPMA: EXPMA2=(C-Xp)×0.04+Xp 3、 C=当天的收盘价 4、 Xp=前一天的EXPMA 第一次计算时,因为还没有EXPMA值,所以Xp用前一天的收盘价代替。 0.15及0.04的来源是由2/(N+1)得来,而一般N的参数值设定在12及50。

支撑位和压力位指标公式?

压力位计算公式:

1、初始价(TYP)=(当日最高价+当日最低价+当日收盘价)/3

2、HV=N日内最高价的最高值的3日指数移动平均

LV=N日内最低价的最低值的3日指数移动平均

3、初级压力线(WEKR)=TYP*2-LV的3日指数移动平均

中级压力线(MIDR)=TYP+HV-LV的3日指数移动平均

强力压力线(STOR)=2*HV-LV的3日指数移动平均

4、初级支撑线(WEKS)=TYP*2-HV的3日指数移动平均

中级支撑线(MIDS)=TYP-HV+LV的3日指数移动平均

强力支撑线(STOS)=2*LV-HV的3日指数移动平均

obv顶级绝密指标公式?

答obv顶级绝密指标公式

均价:=(2*C+(C+H+L+O)/4+O)/4;

R:=(2*L+3*均价)/5;R1:=(2*H+3*均价)/5;kx:=(R+r1)/2;

CCI:(R-MA(R,84))/(0.015*AVEDEV(R,84))/200,COLORYELLOW;

做多:(3*SMA(CCI,2,1)+2*SMA(SMA(CCI,2,1),2,1))/5,COLOR6600FF;

FILLRGN(CCI<做多,做多,CCI),COLORAAAA00;

FILLRGN(CCI>做多,做多,CCI),COLORBROWN;

OBV:=SUM(IF(kx>REF(kx,1),VOL,IF(kx

OBV13:=(MA(OBV,1)-MA(OBV,13))/MA(OBV,13)*100;

OBV52:=(MA(OBV,1)-MA(OBV,52))/MA(OBV,52)*100;

ob:(3*OBV13+2*OBV52)/5,COLORWHITE;

趋势:eMA(ob,13/2),COLORGREEN;

地:=llV(MA(ob,1),26),COLOR00AA99;

天:=HHV(MA(ob,1),26*2/3),COLORRED;

PARTLINE(OB=天,OB),COLORRED;

-1.0,COLORGREEN,LINEDOT;-0.5,COLORAAAA00;0,COLORWHITE;0.5,COLOR6600FF;1.0,COLORMAGENTA,LINEDOT;

版权声明