趋龙量指标+选股公式

[复制链接]
查看107 | 回复0 | 2022-7-24 07:45:30 | 显示全部楼层 |阅读模式

趋龙量指标+选股公式

趋势指标的趋势线是红色的;龙指标的方格子也是红色的;量指标的之力线的值大于前一天的主线线的值。
 
趋龙量指标 为三个独立的指标
 
指标:趋源码
 VAR1:=LLV(LOW,10);
VAR2:=HHV(HIGH,25);
趋势线: EMA((CLOSE-VAR1)/(VAR2-VAR1)*4,4);
大底:0.3,LINETHICK2,COLOR0000FF;
短底:1,LINETHICK2,COLORBLUE;
短顶:3,COLORGREEN;
大顶:3.5,LINETHICK2,COLORFF00FF;
分界:2,COLOR00FFFF;
 VAR3:=EMA(EMA(1.5-(CLOSE-VAR1)/(VAR2-VAR1)*1.5,4),10);
 VAR4:=LLV(LOW,33);
 VAR5:=EMA(IF(LOW<=VAR4,VAR3,0),2);
 主力进场:IF(VAR5>REF(VAR5,1),VAR5,0),COLORRED,NODRAW;
 STICKLINE(VAR5>REF(VAR5,1),0,VAR5,2,0 ),COLORRED;
 洗盘:IF(VAR5<REF(VAR5,1),VAR5,0),COLORGREEN,NODRAW;
 STICKLINE(VAR5<REF(VAR5,1),0,VAR5,2,0),COLORGREEN;
 AA:=EMA((CLOSE-VAR1)/(VAR2-VAR1)*4,4);
 NOTEXT1:IF(AA<=REF(AA,1),AA,DRAWNULL),COLORWHITE;
 NOTEXT2:IF(AA>REF(AA,1),AA,DRAWNULL),COLORRED;
 X:=MA(AMOUNT,5)/MA(V,5)/100;
 VAR33:=(X-MA(AMOUNT,125)/MA(V,125)/100)/X;
 VAR44:=MA((LLV(L,45)-C)/(HHV(H,45)-LLV(L,45))*100,3);
 VAR55:=C/MA(C,60)-1;
 大底2:IF(CROSS(-5,VAR44) AND VAR33<-0.4,0,-0.5);
 中底2:IF(CROSS(-5,VAR44) AND VAR33<-0.25 AND VAR33>-0.4,0,-0.5);
 小底2:IF(CROSS(-5,VAR44) AND VAR33<-0.15 AND VAR33>-0.25,0,-0.5);
 减仓2:IF(CROSS(VAR44,-95) AND VAR55<0.2 AND VAR55>=0.1,1,0);
 中顶2:IF(CROSS(VAR44,-95) AND VAR55<0.35 AND VAR55>=0.2,1,0);
 大顶2:IF(CROSS(VAR44,-95) AND VAR55>=0.35,1,0);
 指标: 龙 源码
 N:=6;
 VAR1:=(HHV(HIGH,N)-CLOSE)/(HHV(HIGH,N)-LLV(LOW,N))*1000-700;
 VAR2:=SMA(VAR1,N,1)+100;
 VAR3:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*10000;
 VAR4:=SMA(VAR3,3,1);
 VAR5:=SMA(VAR4,3,1)+100;
 VAR6:=VAR5-VAR2;
 DDDD:= IF(VAR6>100,VAR6-100,0);
 STICKLINE(REF(DDDD,1)<DDDD,DDDD,REF(DDDD,1),8,0),COLORRED;
 STICKLINE(REF(DDDD,1)>DDDD,DDDD,REF(DDDD,1),8,0),COLORCYAN;
 低吸:IF(CROSS(RSI,11),8000,0),COLORFF9900,LINETHICK3;
 STICKLINE(低吸,6000,0,3,0),COLORFF9900;
 DRAWTEXT(低吸,8500,'低吸!') ,COLORWHITE;
 VAR7:=EMA(AMOUNT/VOL/100,3);
 VAR8:=EMA(VAR7,88);
 VAR9:=EMA(VAR7,88)*0.85;
 VARA:=VAR9*0.87;
 VARB:=LOW<VARA AND CLOSE>REF(CLOSE,1)*1.02;
 STICKLINE(FILTER(VARB,6),1500,0,7,0),COLORRED;
 坚决买进:IF(FILTER(VARB,6),2000,0),COLORCYAN,LINETHICK3;
 VAR1R:=(CLOSE-LLV(LOW,24))/(HHV(HIGH,24)-LLV(LOW,24))*100;
 VAR2R:=SMA(VAR1R,3,1);
 VAR3R:=SMA(VAR2R,3,1)*VAR1R,LINETHICK2,COLORRED;
 VAR4R:=SMA(VAR3R,3,1),LINETHICK2,COLOR0099FF;
 VAR9R:=CROSS(VAR4R,VAR3R) AND VAR3R>80;
 STICKLINE(VAR9R,VAR3R-5,100,1,0),LINETHICK2,COLORYELLOW;
 HL99 := MA(COST(99 ),5);{获利99}
 HL80:=MA(COST(80),5);{获利80}
 HL20:=MA(COST(20),5);{获利20}
 A5:=(HL99-HL80)/HL80*100;
 A6:=(HL80-HL20)/HL20*100;
 A8:=IF(A6<10 ,10000 ,0 );
 A9:=IF(A6<15 ,5000 ,0 );
 A10:=IF(A6<20 ,2500 ,0 );
 高密集:A8,COLORFF1493,LINETHICK2;
 中密集:A9,COLORWHITE,LINETHICK2;
 低密集:A10,COLORC187FF,LINETHICK2;
 VARF:=(2*CLOSE+HIGH+LOW)/4;
 VA4:=LLV(LOW,34);
 VA5:=HHV(HIGH,34);
 VA6:=EMA((VARF-VA4)/(VA5-VA4)*100,6);
 VA7:=EMA(0.667*REF(VA6,1)+0.333*VA6,4);
 出击:IF(IF(COUNT(CLOSE<REF(CLOSE,1),8)/8>0.3 AND COUNT(VA6>VA7,3) AND REF(LOW,1)=LLV(LOW,120) AND
 CLOSE>OPEN,1,0),5000,0),COLORRED,POINTDOT;
 STICKLINE(IF(COUNT(CLOSE<REF(CLOSE,1),8)/8>0.3 AND COUNT(VA6>VA7,3) AND
 REF(LOW,1)=LLV(LOW,120) AND CLOSE>OPEN,1,0),5000,0,3,0),COLORRED;
 A:=(3*CLOSE+LOW+OPEN+HIGH)/6;
 D1:=(20*A+19*REF(A,1)+18*REF(A,2)+17*REF(A,3)+16*REF(A,4)+15*REF(A,5)+14*REF(A,6)
 +13*REF(A,7)+12*REF(A,8)+11*REF(A,9)+10*REF(A,10)+9*REF(A,11)+8*REF(A,12)
 +7*REF(A,13)+6*REF(A,14)+5*REF(A,15)+4*REF(A,16)+3*REF(A,17)+2*REF(A,18)+
 REF(A,20))/211;
 D2:=EMA(D1,2);
 D3:=EMA(D2,2);
 K1:=EMA(D3,2);
 波段买入:IF(CROSS(D1,K1),2500,0),COLOR0099FF,POINTDOT;
 STICKLINE(CROSS(D1,K1),2500,0,3,0),COLOR0099FF;
 多方趋势:=7*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*30,4,1)
 -3*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*30,4,1),3,1)
 -SMA(SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*30,4,1)
 ,3,1),2,1);
 天线:=7500.8900;
 STICKLINE(CROSS(天线,多方趋势),7500,8900,6,0),COLOR00FF00;
 DRAWTEXT(CROSS(天线,多方趋势),8000,'卖吧!别贪了!') ,COLORWHITE;
 DRAWICON(CROSS(天线,多方趋势),8000,5);
 VARL:=TROUGHBARS(3,15,1)<10;
 VARK:=PEAKBARS(3,15,1)<10;
 VARJ:=IF(VARL=1,5000,0);
 VARH:=IF(VARK=1,5000,0);
 底部:=IF(VARJ=5000,1000,0);
 多头能量:0,COLORWHITE,LINETHICK2;
 神仙脚买入:IF(底部=1000 AND REF(底部,1)=1000 AND REF(底部,2)=0,5000,0),COLORFFFF00,LINETHICK3;
 DRAWTEXT(底部=1000 AND REF(底部,1)=1000 AND REF(底部,2)=0,7000,'神仙脚买入')COLORCYAN;
 买入延迟线:底部,LINETHICK3 ,COLOR00CCFF;
 VARQ:=LLV(LOW,3)<=LLV(LOW,240);
 VARW:= C>O AND (C/O>1.08 OR C>=1.08*REF(C,1));
 绝地反击:IF(VARQ AND VARW,2500,0),COLORYELLOW,LINETHICK2;
 吸货线:1500,POINTDOT,LINETHICK5,COLORCYAN;
 DRAWTEXT(ISLASTBAR,1500,'吸货线'),COLORFF9900;
 强弱分界线:5000,POINTDOT,LINETHICK5,COLOR70DB93;
 DRAWTEXT(ISLASTBAR,5000,'强弱分界'),COLOR70DB93;
 卖股线:8000,POINTDOT,LINETHICK5,COLORCYAN;
 DRAWTEXT(ISLASTBAR,8000,'卖股线'),COLORYELLOW;
 DRAWTEXT(FILTER(VARB,6),4000,'买吧!别等了!'),COLORYELLOW;
DRAWTEXT(VAR9R AND COUNT(VAR9R,10)=1,VAR3R-15,'庄逃了!'),LINETHICK2,COLORWHITE;
 指标:量源码
 A1:=REF(CLOSE,2);
 A2:=SMA(MAX(CLOSE-A1,0),7,1)/SMA(ABS(CLOSE-A1),7,1)*100;
 A3:=DATE <= 1070615;
 A4:=REF(LOW,1);
 A5:=SMA(ABS(LOW-A4),3,1)/SMA(MAX(LOW-A4,0),3,1)*100;
 A6:=EMA(IF(CLOSE*1.3,A5*10,A5/10),3);
 A7:=LLV(LOW,29);
 A8:=HHV(A6,37);
 A9:=IF(MA(CLOSE,90),1,0);
 A10:=EMA(IF(LOW<=A7,(A6+A8*2)/2,0),3)/1688*A9;
 A11:=IF(A10>100,100,A10);
 STICKLINE(A11,0,A11,4,1) * A3,COLORYELLOW;
 
主力:EMA(WINNER(C)*100,5),LINETHICK2,COLORRED;
 散户:EMA((WINNER(C*1.1)-WINNER(C*0.9))*100,5),LINETHICK1,COLORGREEN;
 吸筹:A11,COLORYELLOW;
 

获利盘%:WINNER(CLOSE)*100,LINETHICK2,COLORFFFFFF;
 
换手:SUM(VOL,1)/CAPITAL*100,COLORMAGENTA,NODRAW;
 
涨家:INDEXADV,COLOR0066FF,NODRAW;
 跌家:INDEXDEC,COLOR99FF99,NODRAW;

750199205.jpg

750199205.jpg

 

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则