最强选股战法推荐:
源码正文:
[波段财神]使用此指标方法:当此指标短期波动线简单移动平均线方向,向上金叉多空分水线时为买入点,每当短期波动线向上金叉加速线时加仓买入点,及时买进做多,然后隔日择机逢高卖出.(持股最难避免的是出现暴跌,形态趋势一旦走坏,就必须及时清仓,这一点很重要..........),此指标三快(快进.快出.快赢)恭祝你发财..........
Var1:=ma(LOW,1){XG51};
Var2:=MA(HIGH,2){XG51};
Var3:=MA(CLOSE,2){XG51};
Var4:=(Var3-LLV(Var1,8))/(HHV(Var2,8)-LLV(Var1,8))*100{XG51};
Var5:=SMA(Var4,3,1){XG51};
多空分水:SMA(Var5,1,1),colorred,linethick2{XG51};
Var6:=(HHV(Var1,10)-Var1)/(HHV(Var1,10)-LLV(Var1,10))*100{XG51};
加速拉升:SMA(Var6,5,5),colorff8888,linethick1{XG51};
波动:=100*(LLV(LOW,6)-CLOSE)/(LLV(LOW,6)-HHV(HIGH,6)){XG51};
短期波动:波动,COLOR0099FF,LINETHICK2{XG51};
PARTLINE(多空分水,多空分水>REF(多空分水,1),RGB(255,0,0),多空分水<REF(多空分水,1),RGB(0,255,255)),LINETHICK2{XG51};
短线:ema(短期波动,2),COLORCYAN{XG51};
DRAWTEXT(crOSS(短期波动,加速拉升),短期波动,'加速'),colorff8888{XG51};
★守仓待涨:stICKLINE(短期波动>多空分水 AND 短期波动-多空分水>=0,0,8,6,1),colorred {XG51};
★乌云翻滚:STICKLINE(短期波动<多空分水 AND 短期波动-多空分水<0,0,8,6,1),colorffff00 {XG51};
Var7:=CROSS(短期波动,多空分水){XG51};
★开仓进宝: STICKLINE(Var7,0,10,8,0),COLORffffff{XG51};
Var8:=CROSS(多空分水,短期波动){XG51};
★丰收在望: STICKLINE(Var8,0,8,6,0),COLORff00ff{XG51};
Var9:=IF(TROUGHBARS(3,16,1)=0 AND HIGH>LOW+0.04,4,0){XG51};
Var10:=IF(TROUGHBARS(3,21,1)=0 AND HIGH>LOW+0.04,4,0){XG51};
STICKLINE(Var9>0,0,100,4,0),coloryellow{XG51};
STICKLINE(Var10>0,0,100,4,0),COLORWHITE{XG51};
DRAWTEXT(Var9>0,100,' 探底1'),coloryellow{XG51};
DRAWTEXT(Var10>0,100,' 探底2'),COLORWHITE{XG51};
LC:=REF(CLOSE,1){XG51};
rsi1:=ema("RSI.RSI1#WEEK",1){XG51};
RSI2:=ema("RSI.RSI2#WEEK",1){XG51};
RSI3:=ema("RSI.RSI3#WEEK",1){XG51};
周金买:IF(CROSS(RSI1,RSI2),50,0),COLORWHITE,linethick1{XG51};
DRAWTEXT(周金买,50,'转强'),COLORWHITE,linethick1{X_G_5_1_C_N_{};
源码正文:
A:=(REF(ema(CLOSE,5),1)){XG51};
b:=crOSS(Ema(CLOSE,5),EMA(SLOPE(CLOSE,21)*20+CLOSE,42)){XG51};
s:=CROSS(EMA(SLOPE(CLOSE,21)*20+CLOSE,42),EMA(CLOSE,5)){XG51};
DRAWTEXT(b,LOW-0.1,'←买 '),colorred,linethick2{XG51};
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100{XG51};
K:=SMA(RSV,3,1){XG51};
D:=SMA(K,3,1){XG51};
J:=3*K-2*D{XG51};
G:=95{XG51};
DRAWTEXT(CROSS(J,D),L*0.999,'←加仓'),COLOR00FFFF,LINETHICK2{XG51};
VAR29:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100{XG51};
VAR2A:=SMA(VAR29,5,1){XG51};
VAR2B:=SMA(VAR2A,10,1){XG51};
VAR2C:=CROSS(VAR2B,VAR2A){XG51};
VAR2D:=VAR2B>80 OR VAR2A>80{XG51};
VAR2E:=VAR2C AND VAR2D{XG51};
VAR33:=HIGH{XG51};
VAR34:=LOW{XG51};
逃顶:=stICKLINE(VAR2E,VAR33,VAR34,4,0){XG51};
DRAWTEXT(CROSS((REF(HIGH,1)+REF(LOW,1))/2,MA(CLOSE,20)+2*STD(CLOSE,20)),HIGH*1.03,'- 落袋为安'),COLORBLUE,linethick3{XG51};
mms:=MA(SMA((L+H+2*C)/4-REF((L+H+2*C)/4,1),5,1)/SMA(Abs((L+H+2*C)/4-REF((L+H+2*C)/4,1)),5,1)*100,1)+50{XG51};
G1:=IF(-MMS>95,0,20){XG51};
UOO:=(-(((CLOSE-LLV(CLOSE,7))/(HHV(CLOSE,7)-LLV(CLOSE,7))*100=100)>0 AND G1)+1){XG51};
KS:=(((CLOSE - EMA(CLOSE,13)) / EMA(CLOSE,13)) * (0 - 100)){XG51};
KS1:=IF(BARSCOUNT(C)=1,C/10000,(1-C/SMA(C,13,1))*100){XG51};
趋势线:=EMA(((KS / 10) + EMA(CLOSE,10)),3){XG51};
AA:=-100*(趋势线-CLOSE)/趋势线{XG51};
ac:=(EMA(AA,5) ){XG51};
ssl:=EMA(CLOSE,3){XG51};
MMV:=EMA(((SLOPE(CLOSE,22) * 20) + CLOSE),55){XG51};
MM:=MA(MMV,1){XG51};
STICKLINE(((SSL>MM)),SSL,MM,0.01,0),COLORWHITE{XG51};
SA:=(MM*0.985){XG51};
SS:=(MA(CLOSE,5)){XG51};
DD:=(MA(CLOSE,13)){XG51};
GG:=(MA(CLOSE,21)){XG51};
捞钱手:IF(((SSL>MM)),MM,SA),LINETHICK2,COLORBLUE{XG51};
能量线:=dma(((CLOSE + OPEN) / 2),(vol / (SMA(VOL,4,1) *4))){XG51};
上开:=O{XG51};
上收:=C{XG51};
上高:=H{XG51};
上低:=L{XG51};
JJ:=(上开+上高+上低)/3{XG51};
A:=EMA(JJ,4){XG51};
智能黄金线:A,COLORRED,LINETHICK1{XG51};
B:=REF(A,1){XG51};
STICKLINE(((SSL<MM)),捞钱手,智能黄金线,0.01,0),COLORFFFF00{XG51};
VA1:=EMA(上收,8){XG51};
VA2:=EMA(上收,20){XG51};
DRAWTEXT(CROSS(zig(3,8),REF(ZIG(3,8),1)),LOW*0.978,'★绝佳') ,LINETHICK3,COLORWHITE{XG51};
DRAWTEXT(CROSS(REF(ZIG(3,10),1),ZIG(3,10)),HIGH*1.02,'★卖 '),linethick2,COLORgreen{XG51};
DRAWTEXT(CROSS(VA1,VA2)AND(C>=O)AND 智能黄金线>REF(智能黄金线,1),VA1*0.97,'★买'),COLOR00FF00{XG51};
选手A:=MA(上收,3){XG51};
箱顶A:=MA(REF(HHV(上收,6),1),3){XG51};
箱底A:=MA(REF(LLV(上收,3),1),3){XG51};
T1:=MA(上收,20)>=REF(MA(上收,20),1){XG51};
T2:=CROSS(选手A,箱底A) AND 箱顶A/箱底A>100/100 AND T1{XG51};
T3:=CROSS(箱顶A,选手A) AND 箱顶A/箱底A>100/100{XG51};
选手:=MA(上收,2){XG51};
箱顶:MA(REF(HHV(上收,30),1),2),COLOR0000FF,LINETHICK2{XG51};
箱底:MA(REF(LLV(上收,30),1),2),COLOR00FF00,LINETHICK2{XG51};
T4:=CROSS(选手,箱底) AND 箱顶/箱底>110/100{XG51};
T5:=CROSS(箱顶,选手) AND 箱顶/箱底>110/100{XG51};
VAR1:=(上收-LLV(上低,27))/(HHV(上高,27)-LLV(上低,27))*100{XG51};
VAR2:=SMA(VAR1,3,1){XG51};
VAR3:=SMA(VAR2,3,1){XG51};
VAR4:=SMA(VAR3,3,1){XG51};
DRAWTEXT(CROSS(VAR3,VAR4)AND(C>=O)AND VAR3<40 AND UOO>0,LOW*0.96,'★'),COLORF00FF0{XG51};
STICKLINE(C>=O,C,O,5,0),COLORWHITE{XG51};
STICKLINE(C>=O,H,L,0,0),COLORBLUE{XG51};
STICKLINE(C<=O,C,O,5,0),COLORCYAN{XG51};
STICKLINE(C<=O,H,L,0,0),COLORFFFF00{XG51};
买线:=EMA(C,2){XG51};
卖线:=EMA(SLOPE(C,21)*20+C,42);
DRAWTEXT(CROSS(买线,卖线)AND 箱顶>=REF(箱顶,1),LOW*0.95,'★跟'),COLOR00FFFF{XG51};
STICKLINE(CROSS(买线,卖线),OPEN,CLOSE,3,0),COLOR00FFFF{XG51};
difF:=EMA(CLOSE,21) - EMA(CLOSE,34){XG51};
DEA:=EMA(DIFF,8){XG51};
A1:=BArslAST(REF(CROSS(DIFF,DEA),1)){XG51};
B1:=REF(C,A1+1)>C AND REF(DIFF,A1+1)<DIFF AND CROSS(DIFF,DEA){XG51};
A2:=BARSLAST(REF(CROSS("kdj.K"(21,3,3),"kdJ.D"(21,3,3)),1)){XG51};
B2:=REF(C,A2+1)>C AND REF("KDJ.K"(21,3,3),A2+1)<"KDJ.K"(21,3,3) AND CROSS("KDJ.K"(21,3,3),"KDJ.D"(21,3,3)){XG51};
A3:=BARSLAST(REF(CROSS("rsi.RSI1"(6,12,24),"RSI.RSI2"(6,12,24)),1)){XG51};
B3:=REF(C,A3+1)>C AND REF("RSI.RSI1"(6,12,24),A3+1)<"RSI.RSI1"(6,12,24) AND CROSS("RSI.RSI1"(6,12,24),"RSI.RSI2"(6,12,24)){XG51};
B4:=CROSS(DIFF,DEA) AND CROSS("KDJ.K"(21,3,3),"KDJ.D"(21,3,3)){XG51};
DRAWTEXT(B1,L-0.20,'▲'),COLORRED,LINETHICK2{XG51};
DRAWTEXT(B1,L-0.40,'macd底背'),COLORRED,LINETHICK2{XG51};
DRAWTEXT(B2,L-0.20,'●'),COLORFF00FF,LINETHICK2{XG51};
DRAWTEXT(B2,L-0.40,'KDJ底背'),COLORFF00FF,LINETHICK2{XG51};
DRAWTEXT(B3,L-0.20,'◆'),COLORBLUE,LINETHICK2{XG51};
DRAWTEXT(B3,L-0.40,'RSI底背'),COLORBLUE,LINETHICK2{XG51};
DRAWTEXT(B4,L-0.20,'★'),COLOR0099FF,LINETHICK2{XG51};
DRAWTEXT(B4,L-0.40,'金叉共振'),COLOR0099FF,LINETHICK2{X-G-5_1-C-N-{};
上一篇:大智慧反映获利盘套牢盘浮筹的六彩神龙未加密选股指标公式源码
栏 目:大智慧公式
本文标题:大智慧波段财神未加密选股指标公式源码
本文地址:https://www.xg51.cn/a/dzhgs/31877.html
重要申明:本站所有的文章、图片、评论等,均由网友发表或上传并维护或收集自网络,属个人行为,与本站立场无关。
如果侵犯了您的权利,请与我们联系,我们将在24小时内进行处理、任何非本站因素导致的法律后果,本站均不负任何责任。
选股无忧网是股票软件指标公式分享平台,不开展相关证券业务,平台展示的所有股票资料由网络收集,不保障实时性和真实性,请勿以此为依据进行股票交易。
联系QQ:875328188 | 邮箱:875328188@qq.com
Copyright © 2002-2021 选股无忧网桂ICP备18001383号-7