当前位置:分析家公式网 → 股票公式 → 通达信公式 → 一键转帖:股海淘金(通达信公式,副图 ,源码 测试图)
软件名称:[B]股海淘金(通达信公式,副图 ,源码 测试图)[/B]
软件类型:国产软件
运行环境:Win9X/Win2000/WinXP/Win2003/Win7/
软件语言:简体中文
授权方式:免费版
软件大小:12.0 KB
官方主页:Home Page
更新时间:2020-04-15 00:17:28
软件简介:
上次发过一套,少了这个公式,这里补上
{股海淘金}
MA5:=MA(C,5);
MA20:=MA(C,20);
角度5:=ATAN((MA(C,5)/REF(MA(C,5),1)-1)*100)*57.3;
角度60:=ATAN((MA(C,60)/REF(MA(C,60),1)-1)*100)*57.3;
A51:= REF(MA5,1)*0.98;
A52:= REF(MA5,2)*0.98;
B52:= BARSLAST(REF(C,2)>=REF(MA5,2) AND REF(C,1)<REF(MA5,1))+2;
B51:= BARSLAST(REF(C,2)>=REF(MA5,2) AND REF(C,1)<REF(MA5,1))+1;
DZ:=IF((REF(C,2)>=REF(MA5,2)) AND (REF(C,1)<REF(MA5,1)),IF(REF(MA5,2)<REF(MA5,1),A51,A52),IF(BARSSINCE(REF(C,2)>=REF(MA5,2) AND REF(C,1)<REF(MA5,1))>0,IF(REF(MA5, B52)< REF(MA5, B51),REF(MA5,B51)*0.98, REF(MA5,B52)*0.98), REF(MA5,1)));
A201:= REF(MA20,1)*0.98;
A202:= REF(MA20,2)*0.98;
B202:= BARSLAST(REF(C,2)>=REF(MA20,2) AND REF(C,1)<REF(MA20,1))+2;
B201:= BARSLAST(REF(C,2)>=REF(MA20,2) AND REF(C,1)<REF(MA20,1))+1;
ZZ:=IF((REF(C,2)>=REF(MA20,2)) AND (REF(C,1)<REF(MA20,1)),IF(REF(MA20,2)<REF(MA20,1),A201,A202),IF(BARSSINCE(REF(C,2)>=REF(MA20,2) AND REF(C,1)<REF(MA20,1))>0,IF(REF(MA20, B202)< REF(MA20, B201),REF(MA20,B201)*0.98, REF(MA20,B202)*0.98), REF(MA20,1)));
短止:=DZ,COLORWHITE,LINETHICK2;
紫线:=ZZ,COLORMAGENTA;
绿线:=LLV(REF(LOW,1),2)+(HHV(REF(HIGH,1),2)-LLV(REF(LOW,1),2))/2,COLORGREEN;
黄线:=MA(CLOSE,25)+MA(CLOSE,25)*6/100,COLORYELLOW,LINETHICK2;
白轨:=MA(CLOSE,25)+MA(CLOSE,25)*20/100,COLORWHITE;
影子线:=MA(CLOSE,25)+MA(CLOSE,25)*13/100,COLORGRAY;
AZZ:=LLV(REF(LOW,1),2)+(HHV(REF(HIGH,1),2)-LLV(REF(LOW,1),2))/2,COLORGREEN;
AXX:=((((MA(C,10) > MA(C,25)) && CROSS(C,MA(C,5))) && (V > MA(V,10))) && (MA(C,10) > REF(MA(C,10),1)));
ASS:=C>=黄线 AND AXX ;
角度黄线:=ATAN((黄线/REF(黄线,1)-1)*100)*180/3.1416;
BIAS:=(O-黄线)/黄线*100;
XA_1:=(CLOSE/REF(CLOSE,1)-1)*100>9.5;
XA_2:=BARSLAST(XA_1);
XA_3:=BARSLAST(XA_1);
XA_4:=(REF(CLOSE,XA_3)+REF(OPEN,XA_3))/2;
XA_5:=REF(CLOSE,1);
XA_6:=IF((XA_5-CLOSE)*100/XA_5>=10-0.01*100/XA_5,1,0);
MA13:=MA(CLOSE,13);
MA21:=MA(CLOSE,21);
MA55:=MA(CLOSE,55);
XA_7:=CLOSE>MA21 AND MA13>REF(MA13,1) AND XA_6!=1;
XA_8:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4;
XA_9:=REF(CLOSE,1);
XA_10:=SMA(MAX(CLOSE-XA_9,0),2,1)/SMA(ABS(CLOSE-XA_9),2,1)*100;
XA_11:=SMA(MAX(CLOSE-XA_9,0),14,1)/SMA(ABS(CLOSE-XA_9),14,1)*100;
XA_12:=45;
XA_13:=80;
XA_14:=20;
XA_15:=5;
XA_16:=XA_10<XA_12 AND REF(XA_10,1)>XA_12;
XA_17:=XA_10<XA_14 AND REF(XA_10,1)>XA_14;
XA_18:=COUNT(XA_1,13)>=1;
XA_19:=SMA(LOW,4,3);
XA_20:=XA_16 OR XA_17 AND XA_18;
XA_21:=REF(XA_16,1) OR REF(XA_17,1) AND LOW<MA(CLOSE,5) AND XA_18 AND XA_7 AND CLOSE>REF(LOW,XA_3);
LC:=REF(CLOSE,1);
操作线:=SMA(MAX(CLOSE-LC,0),2,1)/SMA(ABS(CLOSE-LC),2,1)*100,COLORWHITE,LINETHICK2;
震仓线2:=45,COLORGRAY;
抄底线:=25,COLORGREEN;
PP:=操作线<震仓线2 AND REF(操作线,1)>震仓线2 AND C>MA(C,21);
PP3:=操作线<抄底线 AND REF(操作线,1)>抄底线 AND C>MA(C,21);
涨停:=IF(REF(C,1)*1.1-C<0.01 ,1,0);
HH:=COUNT(涨停,13)>=1;
HJ1:=(REF(PP3,1) AND HH),COLORGREEN;
HJ2:=(REF(PP,1) AND HH),COLORGREEN;
绿柱子选股L:=HJ1 OR HJ2;
上趋势:=MA(LOW,20)*1.2,COLORBLACK;
次上趋势:=MA(LOW,20)*1.12,COLORBLACK;
次下趋势:=MA(HIGH,20)*1,COLORBLACK;
下趋势:=MA(HIGH,20)*0.92,COLORBLACK;
HJ_1:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100;
HJ_2:=(HHV(HIGH,20)-CLOSE)/(HHV(HIGH,20)-LLV(LOW,20));
HJ_3:=IF(CLOSE>次上趋势,IF(CLOSE>上趋势,4,3),IF(CLOSE>次下趋势 AND CLOSE<次上趋势,2,IF(CLOSE<下趋势,0,1)));
HJ11:=(HJ_3=3),COLORYELLOW;
HJ12:=(HJ_3=4),COLORMAGENTA;
上升趋势:=HJ11 OR HJ12;
XG1:=XA_21 OR 绿柱子选股L;
预选:=XG1 AND C>O;
DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIF,9);
MACD:=2*(DIF-DEA);
K:=BARSLAST(妖股);
淘金:K>=1 AND K <=15 AND 预选 AND 角度黄线>10 AND DIF>DEA AND ZJTJ.有庄控盘>0,COLORMAGENTA;
STICKLINE(淘金,0,0.5,3,0),COLORCYAN;
STICKLINE(淘金,0.5,1,3,0),COLORMAGENTA;
STICKLINE(淘金,0,0.5,3,0),COLORCYAN;
STICKLINE(淘金,0.5,1,3,0),COLORMAGENTA;
DRAWTEXT(淘金,0.5,' ★股海淘金'),COLORYELLOW;
[url=http://www.70822.com/soft/sort013/sort05/down-146763.html]股海淘金(通达信公式,副图 ,源码 测试图)[/url]