主力建仓副图实用性很强的指标源码分享


M:=55;N:=21;

LC:=REF(CLOSE,1);

RSI:=((SMA(MAX((CLOSE - LC),0),3,1) / SMA(ABS((CLOSE - LC)),3,1)) * 100);

FF:=EMA(CLOSE,3);

MA15:=EMA(CLOSE,21);

VAR2:=REF(LOW,1);

VAR3:=SMA(ABS(LOW-VAR2),3,1)/SMA(MAX(LOW-VAR2,0),3,1)*100;

VAR4:=EMA(IF(CLOSE*1.3,VAR3*10,VAR3/10),3);

VAR5:=LLV(LOW,30);

VAR6:=HHV(VAR4,30);

VAR7:=IF(MA(CLOSE,58),1,0);

VAR8:=EMA(IF(LOW<=VAR5,(VAR4+VAR6*2)/2,0),3)/618*VAR7;

BBA:=IF(VAR8>100,100,VAR8);

N1:=31;K2:=3;

量能: EMA(100*(CLOSE-LLV(LOW,N1))/(HHV(HIGH,N1)-LLV(LOW,N1)),K2)/001, STICK,COLORRED;

DRAWICON(量能<1,3,94);

黄线上买入: 38,COLORYELLOW;

警戒线: 85,COLORMAGENTA;

吸筹:=IF(BBA>0,BBA,DRAWNULL),COLORBLUE,NODRAW;

吸筹1:=IF(BBA>0,BBA,DRAWNULL),COLORBLUE;

STICKLINE(吸筹1>-100,0,吸筹1,2.8,0),,COLORBLUE;

BA2:= 100*(HHV(HIGH,M)-CLOSE)/(HHV(HIGH,M)-LLV(LOW,M));

庄家建仓:=IF(VAR8>100,100,VAR8),COLORBLUE;

STICKLINE(庄家建仓>-100,0,庄家建仓,2.8,0),,COLORBLUE;

线:IF(BA2>0,BA2,DRAWNULL),NODRAW;

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

K:=SMA(RSV,3,1);

D:=SMA(K,3,1);

J:=3*K-2*D;

资金线1:IF(EMA(J,6),EMA(J,6),DRAWNULL),COLORYELLOW,LINETHICK3;

资金线:=EMA(J,6),COLORYELLOW,LINETHICK3;

VARC3:=MA(CLOSE,13);

VARC4:=100-ABS((CLOSE-VARC3)/VARC3*100);

VARC5:=LLV(LOW,75);

VARC6:=HHV(HIGH,75);

VARC7:=(VARC6-VARC5)/100;

VARC8:=SMA((CLOSE-VARC5)/VARC7,20,1);

VARC9:=SMA((OPEN-VARC5)/VARC7,20,1);

VARCA:=3*VARC8-2*SMA(VARC8,15,1);

VARCB:=3*VARC9-2*SMA(VARC9,15,1);

VARCC:=(100-VARCB);

庄家线:IF((100-VARCA),(100-VARCA),DRAWNULL),COLORFF3300,LINETHICK3;

X:=资金线;

Y:=线;

XG1:=CROSS(X,Y),NODRAW;

DRAWTEXT(XG1=1,97,'金叉'),COLORYELLOW;

XVAR2:=1/WINNER(CLOSE);

XVAR3:=MA(CLOSE,13);

XVAR4:=100-ABS((CLOSE-XVAR3)/XVAR3*100);

XVAR5:=LLV(LOW,120);

XVAR6:=HHV(HIGH,120);

XVAR7:=(VAR6-XVAR5)/100;

XVAR8:=SMA((CLOSE-XVAR5)/XVAR7,20,1);

XVAR9:=SMA((OPEN-XVAR5)/XVAR7,20,1);

XVARA:=3*XVAR8-2*SMA(XVAR8,10,1);

XVARB:=3*XVAR9-2*SMA(XVAR9,10,1);

XVARC:=100-XVARB;

XVARE:=REF(LOW,1)*0.9;

XVARF:=LOW*0.9;

XVAR10:=(XVARF*VOL+XVARE*(CAPITAL-VOL))/CAPITAL;

XVAR11:=EMA(XVAR10,30);

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

XVAR13:=MAX(XVAR12,0);

XVAR14:=ABS(XVAR12);

XVAR15:=SMA(XVAR13,7,1)/SMA(XVAR14,7,1)*100;

XVAR16:=SMA(XVAR13,13,1)/SMA(XVAR14,13,1)*100;

XVAR17:=BARSCOUNT(CLOSE);

XVAR18:=SMA(MAX(XVAR12,0),6,1)/SMA(ABS(XVAR12),6,1)*100;

XVAR19:=(-200)*(HHV(HIGH,60)-CLOSE)/(HHV(HIGH,60)-LLV(LOW,60))+100;

XVAR1A:=(CLOSE-LLV(LOW,15))/(HHV(HIGH,15)-LLV(LOW,15))*100;

XVAR1B:=SMA((SMA(XVAR1A,4,1)-50)*2,3,1);

XVAR1C:=(INDEXC-LLV(INDEXL,14))/(HHV(INDEXH,14)-LLV(INDEXL,14))*100;

XVAR1D:=SMA(XVAR1C,4,1);

XVAR1E:=SMA(XVAR1D,3,1);

XVAR1F:=(HHV(HIGH,30)-CLOSE)/CLOSE*100;

XVAR20:=XVAR18<=25 AND XVAR19<-95 AND XVAR1F>20 AND XVAR1B<-30 AND XVAR1E<30 AND XVAR11-CLOSE>=-0.25 AND XVAR15<22 AND XVAR16<28 AND XVAR17>50;

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

XVAR22:=(XVAR21-MA(XVAR21,14))/(0.015*AVEDEV(XVAR21,14));

XVAR23:=(XVAR21-MA(XVAR21,70))/(0.015*AVEDEV(XVAR21,70));

XVAR24:=IF(XVAR22>=150 AND XVAR22<200 AND XVAR23>=150 AND XVAR23<200,10,0);

XVAR25:=IF(XVAR22<=-150 AND XVAR22>-200 AND XVAR23<=-150 AND XVAR23>-200,-10,XVAR24);

STICKLINE(XVAR20,0,37,2.8,0),LINETHICK4,COLORLIMAGENTA;

DRAWTEXT(CROSS(XVAR20,0.5) AND COUNT(XVAR20=1,10)=1,50,'超级建仓') , COLORLIMAGENTA;

VARE:=MA(100*(CLOSE-LLV(CLOSE,34))/(HHV(HIGH,34)-LLV(LOW,34)),5)-20;

VARF:=100-3*SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA

((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);

VAR10:=100-3*SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA

((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);

VAR11:=VARF<REF(VAR10,1) AND VOL>REF(VOL,1) AND CLOSE>REF(CLOSE,1);

DRAWTEXT(VAR11 AND COUNT(VAR11,30)=1,97,'大资金'),LINETHICK1,COLORFF00FF;

STICKLINE(VAR11 AND COUNT(VAR11,30)=1,1,85,2.8,0),COLORFF00FF,LINETHICK4;

V1:=(C*2+H+L)/4*10;

V2:=EMA(V1,13)-EMA(V1,34);

V3:=EMA(V2,5);

V4:=2*(V2-V3)*5.5;

V5:=(HHV(INDEXH,8)-INDEXC)/(HHV(INDEXH,8)-LLV(INDEXL,8))*8;

V6:=EMA(3*V5-2*SMA(V5,18,1),5);

V7:=(INDEXC-LLV(INDEXL,8))/(HHV(INDEXH,8)-LLV(INDEXL,8))*10;

V8:=(INDEXC*2+INDEXH+INDEXL)/4;

V9:=EMA(V8,13)-EMA(V8,34);

VA:=EMA(V9,3);

VB:=(V9-VA)/2;

V11:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA(SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1),3,1);

XV12:=(EMA(V11,3)-REF(EMA(V11,3),1))/REF(EMA(V11,3),1)*100;

BB:= (EMA(V11,3)<=13 AND XV12>13) AND FILTER((EMA(V11,3)<=13 AND XV12>13),10);

CC:=(EMA(V11,3)>=90 AND XV12) AND FILTER((EMA(V11,3)>=90 AND XV12),10);

DD:=(EMA(V11,3)>=120 AND XV12) AND FILTER((EMA(V11,3)>=120 AND XV12),10);

STICKLINE(IF(VB>=0,VB,0)  AND EMA(V11,3)<13,0,20,2.8,0),COLORBLUE;

STICKLINE(IF(VB<=0,VB,0)  AND EMA(V11,3)>90,0,10,2,0),COLORGREEN;

STICKLINE( IF(V4>=0,V4,1) AND EMA(V11,3)<13,0,20,2.8,0),COLORBLUE;

STICKLINE(IF(V4<=0,V4,1) AND EMA(V11,3)>90,0,10,2,0),COLORGREEN,LINETHICK1;

DRAWTEXT (CC,22,'庄家逐步出货'),COLORGREEN;

V10:=PEAKBARS(3,15,1)<10; V12:=IF(V10=1,50,0);

头部:= IF(V12=50,100,0);

VAR200:=(CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100;

VAR300:=SMA(SMA(VAR200,3,1),3,1)/28.57;

VAR400:=EMA(VAR300,5);

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

XXVAR2:=LLV(LOW,20);

XXVAR3:=HHV(HIGH,20);

操盘:=3*VAR300-2*VAR400;

PS1:=CROSS(操盘,VAR300) AND VAR300<2.1 AND C>O;

STICKLINE(PS1,0,85,2.8,0),COLORYELLOW;

STICKLINE(PS1,0,5,2.6,0),COLORYELLOW;

DRAWTEXT(PS1,105,'上车'),COLORRED;




未来函数检测结果如下:
该公式包含未来函数:PEAK
该公式包含未来函数:PEAKBARS
该公式包含未来函数:WINNER
该公式包含未来函数:CAPITAL
解密、定制、编写股票指标请联系QQ或微信同号:88652583
相关股票指标公式

联系我们  |  股票指标网  |  指标网   |  指标公式  |   加入收藏   |  设为主页

@2005-2023 粤ICP备2023063687号-2 股票指标网别名指标网仅为互联网文章,所有股票指标公式及文章仅供学习研究,并不构成投资建议,请勿以此为依据进行股票交易,由此引起的投资亏损与本站无关。股票指标网均来源互联网收集整理,如不慎侵犯了你的权益,请联系我们告知,我们将做删除处理
QQ:88652583 微信 88652583
sitemap站点地图