设为首页加入收藏

微信关注
官方微信号:71712643
加关注获取每日精选资讯
股票入门欢迎您加入
广告服务联系我们网站地图

股票的公式有哪些?大智慧招招绝主图公式源码

2016-6-14 10:49:11 股票入门 http://rumen.southmoney.com

股票的公式有哪些大智慧招招绝主图公式源码 附:大智慧绝对转化炒股指标公式 南方财富网小编为您提供


【大智慧招招绝主图公式源码】

WRAP: break-word; WHITE-SPACE: normal; TEXT-TRANSFORM: none; WORD-SPACING: 0px; COLOR: rgb(51,51,51); PADDING-BOTTOM: 0px; PADDING-TOP: 0px; FONT: 14px/24px 宋体, arial, sans-serif, 'DejaVu Sans', 'Lucida Grande', Tahoma, 'Hiragino Sans GB', STHeiti, SimSun, sans-serif; PADDING-LEFT: 0px; MARGIN: 0px; WIDOWS: 1; LETTER-SPACING: normal; PADDING-RIGHT: 0px; TEXT-INDENT: 0px; -webkit-text-stroke-width: 0px">A3 :(EMA(CLOSE,5)+MA(CLOSE,10)+MA(CLOSE,15))/3,colorff00ff;
 a4 :(EMA(CLOSE,20)+MA(CLOSE,25)+MA(CLOSE,30))/3,color00ff00;
 A5 :(EMA(CLOSE,40)+MA(CLOSE,50)+MA(CLOSE,60))/3,coloryellow;
 a6 :(EMA(CLOSE,80)+MA(CLOSE,85)+MA(CLOSE,90))/3,colorff9900;
 A7 :(EMA(CLOSE,120)+MA(CLOSE,130)+MA(CLOSE,150))/3,color0000ff;
 a8 :(EMA(CLOSE,160)+MA(CLOSE,170)+MA(CLOSE,180))/3,coloryellow;
 A9 :(EMA(CLOSE,200)+MA(CLOSE,225)+MA(CLOSE,250))/3,color00ff00;
 V1:EMA(CLOSE,5),Color00FFFF;
 V2:EMA((EMA(CLOSE,29))*(1.01),10),ColorFF00FF;
 DRAWICON(CROSS(V1,V2),V2,1),Color00FF00;
 V3:EMA(CLOSE,10),ColorFFFFFF;
 V4:EMA((EMA(CLOSE,60))*(0.99),10),ColorFFFF00;
 DRAWICON(CROSS(V3,V4),V2,1),Color0000FF;
 VF1:=MA(CLOSE,60)-MA(CLOSE,5)/3.2;
 DRAWTEXT(IF(CLOSE<VF1 AND VOL/240>MA(VOL,5)/240 AND CLOSE>=REF(CLOSE,1)*1.08 AND CLOSE<MA(CLOSE,13)*1.3,1,0),LOW,'☆'),colorred;
 VarA:=(CLOSE-REF(OPEN,29))/REF(OPEN,29)*100;
 VarB:=EMA(0.667*REF(VarA,1)+0.333*VarA,5);
 DRAWTEXT(IF(VOL>=1.3*MA(VOL,5) AND COUNT(VarA>=VarB and VarA<-17,3) AND REF(LOW,1)=LLV(LOW,120),1,0),LOW,'★注意买入');
Varr1:=SMA(MAX(CLOSE-ref(c,1),0),12,1)/SMA(ABS(CLOSE-ref(c,1)),15,1)*100;
 DRAWICON(CROSS(82,Varr1),HIGH,2);
 DRAWTEXT(CROSS(82,Varr1),high,'快卖&darr;'),coloryellow;
 Var1:=(HIGH+LOW+OPEN+2*CLOSE)/5;
 Var2:=REF(Var1,1);
 Var3:=SMA(MAX(Var1-Var2,0),10,1)/SMA(ABS(Var1-Var2),10,1)*100;
 HY3:=IF(COUNT(Var3<20,5)>=1 AND COUNT(Var1=LLV(Var1,10),10)>=1 AND CLOSE>=OPEN*1.038 AND VOL>MA(VOL,5)*1.2,1,0);
 DRAWTEXT(hy3,low,'▲买入'),colorred;

Var1:=EMA(C,3);
 Var2:=EMA(C,5);
 Var3:=EMA(C,10);
 Var4:=EMA(C,20);
 Var5:=EMA(C,30);
 Var6:=(Var2+Var3+Var4+Var5)/4;
 Var7:=(Var6-REF(Var6,15))/REF(Var6,15)*100;
 Var8:=(Var6-REF(Var6,15))/REF(Var6, 15)*100;
 Var9:=EMA(Var7,8);
 STICKLINE(Var7<1*REF(Var7,1),h,l,0.5,0),COLORBLUE;{蓝-持币}
STICKLINE(Var7<1*REF(Var7,1),o,c,5,  1),COLORBLUE;
 STICKLINE(Var7>1*REF(Var7,1),h,l,0.5,0),COLORRED;{红-持股}
STICKLINE(Var7>1*REF(Var7,1),o,c,5,  1),COLORRED;
 STICKLINE(Var7<1*REF(Var7,1) AND Var9>1*REF(Var9,1),h,l,0.5,0),COLORGREEN;{绿-洗盘}
STICKLINE(Var7<1*REF(Var7,1) AND Var9>1*REF(Var9,1),o,c,5,  1),COLORGREEN;
买进价:=((c-ref(ma(c,6),1))/6+ma(c,6))*1.004;
买进条件:=cross(c,买进价) and 买进价>ref(买进价,1);
 STICKLINE(买进条件,h,l,0.5,1),colorwhite,linethick2;{白-买进}
STICKLINE(买进条件,o,c,6,0),colorwhite,linethick2;
加码价:=((c-ref(ma(c,18),1))/18+ma(c,18))*1.004;
加码条件:=cross(c,加码价) and 加码价>ref(加码价,1);
 STICKLINE(加码条件,h,l,0.5,1),coloryellow,linethick2;{黄-加码}
STICKLINE(加码条件,o,c,6,0),coloryellow,linethick2;
 X1:EMA(C,7),color0088ff;
 X2:EMA(c,21),coloree00ee;
 X3:EMA(X2,21),colorwhite;
 x4:ema(x3,27),color009900;
 x5:ema(x2,100),colorFFAA00;
 x6:ema(x5,100),color009999;
 v1:ema(close,5);
 v2:ema(ema(close,29)*1.01,10);
 DRAWICON(cross(v1,v2),v2,1);
                                        LC:=REF(CLOSE,1);
 RSI:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;
逃 :if(CROSS(84,RSI) , HIGH,high+1),pointdot,linethick7,COLORYELLOW ;high+1,pointdot,linethick7,COLOR000000;
 DIFF:=EMA(CLOSE,12) - EMA(CLOSE,26);
 DEA:=EMA(DIFF,9);
 MACD:=2*(DIFF-DEA);
 A1:=BARSLAST(REF(CROSS(DIFF,DEA),1));
 B1:=REF(C,A1+1)>C AND REF(DIFF,A1+1)<DIFF AND CROSS(DIFF,DEA);
 DRAWICON(FILTER(B1>0,5),L*0.94,10);
 DRAWTEXT(FILTER(B1>0,5),L*0.94,'M底'),COLORGREEN;{MACD背离}
A2:=BARSLAST(REF(CROSS("KDJ.K"(9,3,3),"KDJ.D"(9,3,3)),1));
 B2:=REF(C,A2+1)>C AND REF("KDJ.K"(9,3,3),A2+1)<"KDJ.K"(9,3,3) AND CROSS("KDJ.K"(9,3,3),"KDJ.D"(9,3,3));
 DRAWICON(FILTER(B2>0,5),L*0.96,10);
 DRAWTEXT(FILTER(B2>0,5),L*0.96,'K底'),COLORYELLOW;{KDJ底背离}
A3:=BARSLAST(REF(CROSS("RSI.RSI1"(6,12,24),"RSI.RSI2"(6,12,24)),1));
 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));
 DRAWICON(FILTER(B3>0,5),L*0.98,10);
 DRAWTEXT(FILTER(B3>0,5),L*0.98,'R底'),COLORFFFF00;{RSI底背离}

C1:=BARSLAST(REF(CROSS(DEA,DIFF),1));
 D1:=REF(C,C1+1)<C AND REF(DIFF,C1+1)>DIFF AND CROSS(DEA,DIFF);
 DRAWICON(FILTER(D1>0,5),H*1.07,12);
 DRAWTEXT(FILTER(D1>0,5),H*1.07,'M顶'),COLOR0066FF;{MACD顶背离}
C2:=BARSLAST(REF(CROSS("KDJ.D"(9,3,3),"KDJ.K"(9,3,3)),1));
 D2:=REF(C,C2+1)<C AND REF("KDJ.K"(9,3,3),C2+1)>"KDJ.K"(9,3,3) AND CROSS("KDJ.D"(9,3,3),"KDJ.K"(9,3,3));
 DRAWICON(FILTER(D2>0,5),H*1.05,12);
 DRAWTEXT(FILTER(D2>0,5),H*1.05,'K顶'),COLORRED;{KDJ顶背离}
C3:=BARSLAST(REF(CROSS("RSI.RSI2"(6,12,24),"RSI.RSI1"(6,12,24)),1));
 D3:=REF(C,C3+1)<C AND REF("RSI.RSI1"(6,12,24),C3+1)>"RSI.RSI1"(6,12,24) AND CROSS("RSI.RSI2"(6,12,24),"RSI.RSI1"(6,12,24));
 DRAWICON(FILTER(D3>0,5),H*1.03,12),;
 DRAWTEXT(FILTER(D3>0,5),H*1.03,'R顶'),COLORFF00FF;{RSI顶背离};

附:【大智慧绝对转化炒股指标公式】

{[38-16]指向对立绝对转化}
金牛1:=MA((100-100*(HHV(HIGH,10)-CLOSE)/(HHV(HIGH,10)-LLV(LOW,10))),1),color0080ff,linethick1;
金凤1:=MA((100-100*(HHV(HIGH,20)-CLOSE)/(HHV(HIGH,20)-LLV(LOW,20))),1),colorYELLOW,linethick1;
玉龙1:=(100-100*(HHV(HIGH,40)-CLOSE)/(HHV(HIGH,40)-LLV(LOW,40))),colorwhite,linethick1;
C1:=BARSLAST(ref(LLV(金凤1,13),1));
优1:=玉龙1<=20 and 金凤1<=22 and 金牛1<=22 and 金牛1<REF(金牛1,1) AND 金凤1>REF(金凤1,1) AND 玉龙1>REF(玉龙1,1) and c<=ref(c,1)*0.9738 and ref(c,C1+1)>C;
STICKLINE(优1,5,100,4,100),COLORgreen;
选1:=玉龙1<=44  and 金牛1<=66 AND 金牛1<REF(金牛1,1) AND 金凤1>=REF(金凤1,1) AND 玉龙1>=REF(玉龙1,1) and c<ref(c,1),COLORgreen;
STICKLINE(选1,5,100,2,100),COLORgreen;
STICKLINE(优1,5,100,4,100),COLORgreen;
选股:选1,COLORgreen;
优选:优1,colorgreen;
20,colorgreen;
W40:(100-100*(HHV(HIGH,40)-CLOSE)/(HHV(HIGH,40)-LLV(LOW,40))),colorc0c0c0,linethick1;
W20:MA((100-100*(HHV(HIGH,20)-CLOSE)/(HHV(HIGH,20)-LLV(LOW,20))),1),color808080,linethick1;
W10:MA((100-100*(HHV(HIGH,10)-CLOSE)/(HHV(HIGH,10)-LLV(LOW,10))),1),colorwhite,linethick1;
80,colorgreen;
50,colorgreen;

{威廉绝对转化3个 [58-12] [58-13] [58-31]}
WR6:=MA((100-100*(HHV(HIGH,6)-CLOSE)/(HHV(HIGH,6)-LLV(LOW,6))),1),color808080,linethick1;
WR12:=MA((100-100*(HHV(HIGH,12)-CLOSE)/(HHV(HIGH,12)-LLV(LOW,12))),1),colorc0c0c0,linethick1;
WR24:=(100-100*(HHV(HIGH,24)-CLOSE)/(HHV(HIGH,24)-LLV(LOW,24))),colorwhite,linethick1;
亲密:=WR12=WR24 and REF(WR12,1)=REF(WR24,1) and REF(WR12,2)=REF(WR24,2) AND REF(WR12,2)<=22;
选1:WR24>=20 AND 亲密 AND WR12>REF(WR12,1),COLORwhite;
选2:CROSS(MA(C,12),MA(C,24)) AND WR6<=22 AND WR12>=50 AND WR24>=50 AND WR12=WR24,COLORwhite;
选3:CROSS(WR24,WR12) AND WR6<=22 AND WR12>=50 AND WR24>=50 AND WR12<REF(WR12,1) AND WR24<REF(WR24,1),COLORwhite;
优1:WR24>=20 AND 亲密 AND WR12>REF(WR12,1) AND REF(WR12,1)>=REF(WR12,2) AND MA(C,6)<MA(C,12) AND MA(C,6)<REF(MA(C,6),1) AND MA(C,12)<=REF(MA(C,12),1),COLORGREEN;
优2:((ma(v,6)>=ma(v,12) and ma(v,12)>=ma(v,24)) OR (MA(C,24)<=REF(MA(C,24),1) AND REF(MA(C,24),1)<REF(MA(C,24),2))) and 选2,COLORGREEN;
JC:=CROSS(MA(C,24),MA(C,48));
优3:(MA(C,12)<MA(C,24) OR (MA(C,24)<REF(MA(C,24),1) AND MA(C,48)<REF(MA(C,48),1)) OR (JC OR REF(JC,1) OR REF(JC,2))) and 选3,COLORGREEN;
STICKLINE(选1 OR 选2 OR 选3,5,100,2,100),COLORGREEN;
STICKLINE(优1 OR 优2 OR 优3,5,100,4,100),COLORGREEN;
W6:WR6,color808080,linethick1;
W12:WR12,colorc0c0c0,linethick1;
W24:WR24,colorwhite,linethick1;
50,colorgreen;
80,colorgreen;
20,colorgreen;

{[58-5]均价线6、12、24底部多排}
底部多排:MA(C,6)>MA(C,12) AND MA(C,12)>MA(C,24) AND MA(C,6)<REF(MA(C,6),1) AND MA(C,24)<REF(MA(C,24),1) AND MA(C,12)>REF(MA(C,12),1) AND REF(MA(C,12),1)>=REF(MA(C,12),2) AND C>MA(C,24);
优选:底部多排 AND MA(C,24)>MA(C,48) AND (MA(C,48)>=MA(C,96) OR MA(C,96)>=MA(C,192));

{[108-12]潜在均线多排 [108-6]均价线MA6、12、24金叉死叉绝对介入法}
潜在均线多排:MA(C,6)>MA(C,12) AND MA(C,12)>MA(C,24) AND MA(C,24)>MA(C,48) AND MA(C,96)>MA(C,48) AND CROSS(MA(C,96),REF(MA(C,96),1));
优选:潜在均线多排 AND MA(C,6)>REF(MA(C,6),1)  AND MA(C,12)>REF(MA(C,12),1) AND MA(C,96)>MA(C,24);
金叉死叉:CROSS(MA(C,12),MA(C,6)) AND CROSS(MA(C,12),MA(C,24)) and ref(MA(C,12),3)<=ref(MA(C,12),2) and ref(MA(C,12),2)<ref(MA(C,12),1) and ref(MA(C,12),1)<MA(C,12) and ref(MA(C,24),1)>MA(C,24) AND ref(MA(C,24),1)<ref(MA(C,6),1);
金叉死叉优选:(ma(c,48)>HHV(H,10) OR LLV(L,10)>ma(c,48)) and 金叉死叉 and (ref(MA(C,24),1)*0.883<MA(C,24) or (v<=ma(v,6) and v<=ma(v,12) and v<=ma(v,24)) or (ma(c,48)>=ma(c,96) and ma(c,96)>=ma(c,192)));

{[58-1]均价线MA96、192两线持续粘合内多排介入法[58-2]均价线MA12、24两线持续粘合向上介入法}
m6:=MA(C,96);
m1:=MA(C,192);
m2:=MA(C,192);
m5:=MA(C,96);
d:=max(max(max(m6,m1),m2),m5);
x:=min(min(min(m6,m1),m2),m5);
粘度1:=(d/x-1)*1000,colorgreen,POINTDOT;
m0:=MA(C,12);
m11:=MA(C,24);
m22:=MA(C,24);
m55:=MA(C,12);
d0:=max(max(max(m0,m11),m22),m55);
x0:=min(min(min(m0,m11),m22),m55);
粘度2:=(d0/x0-1)*1000,colorgreen,POINTDOT;
选股1:=REF(MA(C,192),3)=REF(MA(C,96),3) AND REF(MA(C,192),1)=REF(MA(C,96),1) AND REF(MA(C,96),2)=REF(MA(C,192),2);
选股2:=粘度1<=1.83 AND REF(粘度1,2)<=1.83 AND REF(粘度1,1)<=1.83;
短期均线粘合:粘度2<=1.83 AND REF(粘度2,2)<=1.83 AND REF(粘度2,1)<=1.83 AND REF(MA(C,12),1)>=REF(MA(C,12),2) AND MA(C,12)>=REF(MA(C,12),1);
短线粘合优选:粘度2<=1.18 AND REF(粘度2,2)<=1.18 AND REF(粘度2,1)<=1.18 AND REF(MA(C,24),1)>REF(MA(C,24),2) AND MA(C,24)>REF(MA(C,24),1);
长期均线粘合:(CROSS(选股1,0.7) OR 选股2 OR 选股1) AND MA(C,1)>=MA(C,24) AND MA(C,12)>=MA(C,24) AND MA(C,24)>=MA(C,48) AND MA(C,48)>=MA(C,96);
长线粘合优选:(长期均线粘合 AND CROSS(MA(C,5),MA(C,10))) OR (COUNT(选股2,10)/10>=5/100 AND 选股2 AND MA(C,1)>=MA(C,24) AND MA(C,12)>=MA(C,24) AND MA(C,24)>=MA(C,48) AND MA(C,48)>=MA(C,96)),colorred;

{[38-18]价量排列对立绝对转化法}
价量排列对立:MA(C,40)>MA(C,20) AND MA(C,20)>MA(C,10) AND MA(V,10)>MA(V,20) AND MA(V,20)>MA(V,40) AND MA(C,10)>REF(MA(C,10),1) AND MA(C,40)>REF(MA(C,40),1) AND MA(C,20)<REF(MA(C,20),1);
V1:=DMA((((HIGH + LOW) + (CLOSE * 2)) / 4),0.9);
HY1:=REF(EMA(V1,3),1);
月均获利:=EMA(100*WINNER(CLOSE),20),color00ff00;
周均获利:=EMA(100*WINNER(CLOSE),5),colorwhite;
日获利盘:=100*WINNER(CLOSE),colorRED;
买1:=日获利盘>=周均获利;
买2:=EMA(C,1)>=HY1;
买3:=MA(C,3)>=REF(MA(C,3),1);
亚:=((HIGH + LOW + CLOSE)/3-MA((HIGH + LOW + CLOSE)/3,14))*100/(1.5*avedev((HIGH + LOW + CLOSE)/3,14));
夏:=SMA(亚,4,1);
买4:=(亚>=-100 and 亚<=100 and 亚>=ref(亚,1) and 亚>=夏) or 亚>100;
买:=买1 OR 买2 OR 买3 or 买4;
优选:(COUNT(价量排列对立,7)/7>=10/70 and CROSS(买,0.7)) or (价量排列对立 and 买)

{[38-14]交叉反转选股}
前交叉:CROSS(MA(C,6),MA(C,12)) and MA(C,6)>REF(MA(C,6),1) AND MA(C,12)<=REF(MA(C,12),1) and REF(MA(C,12),1)<REF(MA(C,12),2);
后交叉:CROSS(MA(C,12),MA(C,6)) and MA(C,6)<=REF(MA(C,6),1) AND MA(C,12)>REF(MA(C,12),1) and REF(MA(C,6),1)<REF(MA(C,6),2),colorwhite;
C1:=BARSLAST(ref(前交叉,1));
反转式:COUNT(前交叉,15)/15>=1/15 and ref(c,C1+1)>C and 后交叉;
买点:=ref(反转式,1);
优选:买点 and MA(C,48)>MA(C,24) and MA(C,96)>MA(C,48) AND MA(C,192)>MA(C,96),colorff00ff;
V1:=DMA((((HIGH + LOW) + (CLOSE * 2)) / 4),0.9);
HY1:=REF(EMA(V1,3),1);
月均获利:=EMA(100*WINNER(CLOSE),20),color00ff00;
周均获利:=EMA(100*WINNER(CLOSE),5),colorwhite;
日获利盘:=100*WINNER(CLOSE),colorRED;
买1:=日获利盘>=周均获利;
买2:=EMA(C,1)>=HY1;
买3:=MA(C,3)>=REF(MA(C,3),1);
亚:=((HIGH + LOW + CLOSE)/3-MA((HIGH + LOW + CLOSE)/3,14))*100/(1.5*avedev((HIGH + LOW + CLOSE)/3,14));
夏:=SMA(亚,4,1);
买4:=(亚>=-100 and 亚<=100 and 亚>=ref(亚,1) and 亚>=夏) or 亚>100;
买:=买1 OR 买2 OR 买3 or 买4;
优点:(COUNT(买点,5)/5>=1/5 and CROSS(买,0.7)) or (COUNT(反转式,5)/5>=1/5 and CROSS(买,0.7)) or ((反转式 or 买点) and 买),colorred,linethick1;

{[58-11] 均线递增多列排空}
均线递增:=MA(C,12)>MA(C,24) AND MA(C,24)>MA(C,48) AND MA(C,48)>MA(C,96) AND MA(C,12)>REF(MA(C,12),1) AND MA(C,24)>REF(MA(C,24),1) AND MA(C,48)>REF(MA(C,48),1) AND MA(C,96)>REF(MA(C,96),1);
递增:=MA(C,6)>REF(MA(C,6),1) AND MA(C,6)>=MA(C,12) AND MA(C,12)>MA(C,24) AND MA(C,24)>MA(C,48) AND MA(C,48)>MA(C,96) AND MA(C,12)>REF(MA(C,12),1) AND MA(C,24)>REF(MA(C,24),1) AND MA(C,48)>REF(MA(C,48),1) AND MA(C,96)>REF(MA(C,96),1);
选股:均线递增 AND CROSS(MA(C,12),MA(C,6)) AND MA(C,6)<REF(MA(C,6),1);
优:=选股 AND MA(C,6)<REF(MA(C,6),1) AND (MA(V,6)<REF(MA(V,6),1) OR V<0.77*REF(V,1));
关注:=CROSS(递增,0.8);
优选:COUNT(选股,15)/15<=1/15 and 优;

{[108-1]接连三跌均线3、6多排__最好用月线}
接连三跌:C<REF(C,1) AND REF(C,1)<REF(C,2) AND REF(C,2)<REF(C,3) AND MA(C,3)>MA(C,6);
优选:接连三跌 AND MA(C,96)<REF(MA(C,96),1) AND MA(C,48)<REF(MA(C,48),1) AND MA(C,24)<REF(MA(C,24),1);
优点:REF(优选,1) AND C>REF(C,1) AND MA(C,6)>=REF(MA(C,6),1) AND MA(C,6)>=MA(C,12);

{[58-8]均线MA12、6、3空排与KDJ多排}
RSV:=(CLOSE-LLV(LOW,12))/(HHV(HIGH,12)-LLV(LOW,12))*100;
K:=SMA(RSV,6,2),colorwhite;
D:=SMA(K,12,2),coloryellow;
选股:(K-D)>1 AND K<=80 AND CROSS(MA(C,12),MA(C,6)) AND MA(C,6)<REF(MA(C,6),1) AND MA(C,12)>REF(MA(C,12),1) AND REF(MA(C,12),1)>REF(MA(C,12),2) AND MA(C,12)>MA(C,6) AND MA(C,6)>MA(C,3);
优选:选股 AND ((K-D)>=10 OR (C>MA(C,48) AND MA(C,48)<REF(MA(C,48),1))) AND REF(MA(C,12),2)>REF(MA(C,12),3);

[58-6]均线3、6、12、24强弱绝对 [58-32]BOLL6尝试进攻
强弱绝对:CROSS(MA(C,12),MA(C,6)) AND MA(C,6)<REF(MA(C,6),1) AND MA(C,12)>MA(C,6) AND MA(C,6)>MA(C,3) AND MA(C,12)>MA(C,24) AND CROSS(C,MA(C,3)) AND CROSS(C,MA(C,6)) AND CROSS(C,MA(C,12)) AND CROSS(C,MA(C,24));
TJ1:=CROSS(MA(C,24),MA(C,48)) OR CROSS(REF(MA(C,24),1),REF(MA(C,48),1)) OR CROSS(REF(MA(C,24),2),REF(MA(C,48),2));
TJ2:=CROSS(MA(C,96),MA(C,48)) OR CROSS(REF(MA(C,96),1),REF(MA(C,48),1)) OR CROSS(REF(MA(C,96),2),REF(MA(C,48),2));
TJ3:=CROSS(C,MA(C,48)) AND CROSS(C,MA(C,96));
强弱绝对优选:强弱绝对 AND (TJ1 OR TJ2 OR TJ3);
MID:=MA(CLOSE,6),colorwhite;
UPPER:=MID + 2*STDDEV(CLOSE,6),coloryellow;
LOWER:=MID - 2*STDDEV(CLOSE,6),colorff00ff;
CS:=MA(C,24)<REF(MA(C,24),1) AND MA(C,24*2)<REF(MA(C,24*2),1) AND MA(C,24*4)<REF(MA(C,24*4),1) AND MA(C,24*8)<REF(MA(C,24*8),1) AND ((H>MA(C,24) AND L<MA(C,24)) OR (H>MA(C,24*2) AND L<MA(C,24*2)) OR (H>MA(C,24*4) AND L<MA(C,24*4)) OR (H>MA(C,24*8) AND L<MA(C,24*8)));
布林尝试进攻:H>UPPER AND C<MID AND LOWER<REF(LOWER,1) AND CS;
布林进攻优选:布林尝试进攻 AND ((H>MA(C,24) AND L<MA(C,24) AND H>MA(C,24*2) AND L<MA(C,24*2) AND H>MA(C,24*4) AND L<MA(C,24*4) AND H>MA(C,24*8) AND L<MA(C,24*8)) OR (MA(C,6)>MA(C,12) AND MA(C,192)>MA(C,96) AND MA(C,96)>MA(C,48) AND MA(C,48)>MA(C,24)) OR (MA(C,6)>REF(MA(C,6),1) AND MA(C,12)>REF(MA(C,12),1)));

[58-4]均线MA12回抽强势
LC := REF(CLOSE,1);
RSI1:=SMA(MAX(CLOSE-LC,0),12,1)/SMA(ABS(CLOSE-LC),12,1)*100;
RSI2:=SMA(MAX(CLOSE-LC,0),24,1)/SMA(ABS(CLOSE-LC),24,1)*100;
M12回抽强势:RSI1>RSI2 AND CROSS(MA(C,6),MA(C,12)) AND CROSS(MA(C,24),MA(C,12)) AND MA(C,12)<REF(MA(C,12),1) AND MA(C,24)>REF(MA(C,24),1) AND MA(C,6)>REF(MA(C,6),1);
优选:M12回抽强势 AND (RSI1>=50 AND RSI2>=50 AND MA(C,48)<MA(C,6) AND MA(C,48)<MA(C,12) AND MA(C,48)<MA(C,24) AND (CROSS(MA(C,48),REF(MA(C,48),1)) OR CROSS(REF(MA(C,48),1),REF(MA(C,48),2)) OR CROSS(REF(MA(C,48),2),REF(MA(C,48),3))));
 
[108-68]最大化KDJ金叉
RSV:=(CLOSE-LLV(LOW,6))/(HHV(HIGH,6)-LLV(LOW,6))*100;
K:=SMA(RSV,3,2),colorwhite;
D:=SMA(K,3,2),coloryellow;
最大化KDJ金叉:CROSS(K,D) AND MA(C,6)<REF(MA(C,6),1) AND MA(C,12)>REF(MA(C,12),1);
RSV2:=(CLOSE-LLV(LOW,12))/(HHV(HIGH,12)-LLV(LOW,12))*100;
K2:=SMA(RSV2,3,2),colorwhite;
D2:=SMA(K2,3,2),coloryellow;
RSV22:=(CLOSE-LLV(LOW,24))/(HHV(HIGH,24)-LLV(LOW,24))*100;
K22:=SMA(RSV22,3,2),colorwhite;
D22:=SMA(K22,3,2),coloryellow;
SJC:=K2>=D2 AND K22>=D22;
优选:最大化KDJ金叉 AND (SJC OR REF(SJC,1) OR REF(SJC,2));

[108-67]KDJ三多一死叉 [58-46]KDJ急挫反弹
RSV:=(CLOSE-LLV(LOW,6))/(HHV(HIGH,6)-LLV(LOW,6))*100;
K:=SMA(RSV,3,2),colorwhite;
D:=SMA(K,3,2),coloryellow;
RSV2:=(CLOSE-LLV(LOW,12))/(HHV(HIGH,12)-LLV(LOW,12))*100;
K2:=SMA(RSV2,3,2),colorwhite;
D2:=SMA(K2,3,2),coloryellow;
RSV22:=(CLOSE-LLV(LOW,24))/(HHV(HIGH,24)-LLV(LOW,24))*100;
K22:=SMA(RSV22,3,2),colorwhite;
D22:=SMA(K22,3,2),coloryellow;
RSV222:=(CLOSE-LLV(LOW,48))/(HHV(HIGH,48)-LLV(LOW,48))*100;
K222:=SMA(RSV222,3,2),colorwhite;
D222:=SMA(K222,3,2),coloryellow;
三多一死叉:CROSS(D222,K222) AND K222<50 AND K>D AND K2>D2 AND K22>D22;
三多优选:三多一死叉 AND (K222<=20 OR MA(C,48)>=MA(C,96));
RSV20:=(CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100;
K20:=SMA(RSV,3,2),colorwhite;
D20:=SMA(K20,3,2),coloryellow;
J20:=3*K20-2*D20;
TJ20:=(CROSS(D20,K20) AND D20>=80) OR (CROSS(REF(D20,1),REF(K20,1)) AND REF(D20,1)>=80) OR (CROSS(REF(D20,2),REF(K20,2)) AND REF(D20,2)>=80) OR (CROSS(REF(D20,3),REF(K20,3)) AND REF(D20,3)>=80) OR (CROSS(REF(D20,4),REF(K20,4)) AND REF(D20,4)>=80) OR (CROSS(REF(D20,5),REF(K20,5)) AND REF(D20,5)>=80) OR (CROSS(REF(D20,6),REF(K20,6)) AND REF(D20,6)>=80);
急挫反弹:CROSS(20,J20) AND TJ20;
急挫反弹优选:急挫反弹 AND ((K20>=50 AND D20>=50) OR (MA(C,13)>=MA(C,34) AND MA(C,34)>=MA(C,55)));

更多股票公式相关资讯请关注南方财富网

股票入门声明:资讯来源于互联网,属作者个人观点,仅供投资者参考,并不构成投资建议。投资者据此操作,风险自担。