当前位置:分析家公式网 → 股票公式 → 同花顺公式 → 一键转帖:买卖狗(同花顺公式 源码 K线图)
软件名称:[B]买卖狗(同花顺公式 源码 K线图)[/B]
软件类型:国产软件
运行环境:Win9X/Win2000/WinXP/Win2003/Win7/
软件语言:简体中文
授权方式:免费版
软件大小:8.00 KB
官方主页:Home Page
更新时间:2019-07-14 02:11:25
软件简介:
HH:= (2*HIGH+LOW+OPEN+2*CLOSE)/6;
HLC: MA(HH,3),colormagenta;
HLC2: MA(HLC,2),colorgreen;
HLC5:= MA(HLC2,5);
AA:= MA((2*C+H)/3,3),colorred;
BB:= MA((2*O+L)/3,3),colorgreen;
OC:= MA((C+O)/2,3);
M5:= MA(O,5);
M13:=MA(HH,13),coloryellow;
MA8:= MA(HH,8),colorred;
MA10:MA(HH,10),coloryellow;
MID := MA(C,20),coloryellow;
UPP:= MID + 2.6*STD(C,20),colorlicyan;
LPP:= MID - 2.6*STD(C,20),colorlicyan;
LP: MA(HH,4)-2*STD(H-L,20),colorlicyan;
HP: MA(HH,4)+2*STD(H-L,20),colorlicyan;
MID:= MA(C,6),colorgreen;
RSV=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,3,1)+30;
D:=SMA(K,3,1);
J:=3*K-2*D;
RSV1=(OC-LLV(OC,9))/(HHV(OC,9)-LLV(OC,9))*100;
K1:=SMA(RSV1,3,1)+30;
D1:=SMA(K1,3,1);
J1:=3*K1-2*D1,colorred;
J转:= REF(J,2)/REF(J,1)+J/REF(J,1);
J1转:= REF(J1,2)/REF(J1,1)+J1/REF(J1,1);
HLC转:= REF(HLC,2)/REF(HLC,1)+HLC/REF(HLC,1);
LPP转:= REF(LPP,2)/REF(LPP,1)+LPP/REF(LPP,1);
UPP转:= REF(UPP,2)/REF(UPP,1)+UPP/REF(UPP,1);
KK:= IF(REF(HLC<HLC2,1),COUNT(HLC<HLC2,3)<2,REF(HLC>HLC2,1));
高1:=H>UPP AND J>60 AND UPP/LPP>1.08 AND H/L>1.04 AND KK;
高2:=COUNT(J>100,2)>=1 AND (C<O OR J<REF(J,1)) AND (H/L>1.04 OR COUNT(H/L>1.06,3)>=1) AND REF(J>REF(J,1),1) AND KK;
高3:=J转<2 AND H=HHV(H,3) AND ((H-MAX(C,O))>(MIN(C,O)-L) OR C<O) AND H/L>1.04 AND J>REF(J,1) AND KK;
高:= 高1 OR 高2 OR 高3;
卖1:= ((REF(HLC>HLC2,1) AND REF(HLC-HLC2,1)/(HLC-HLC2)>2.05) OR (REF(HLC>HLC2,1) AND HLC<=HLC2 AND REF(REF(HLC-HLC2,1)/(HLC-HLC2)<=2.05,1))) AND COUNT(高,2)<1 AND IF(HLC2>M13,COUNT(HLC>REF(HLC,1),5)>=4,HLC2<M13) AND HLC2/REF(HLC2,1)>1 AND MAX(C,O)>HLC AND REF(C>O,1);
卖2:= H=HHV(H,5) AND J<D AND REF(J>D,1);
卖3:= H=HHV(H,5) AND C<O AND H=O;
卖4:= H=HHV(H,5) AND C<O AND (O>REF(C,1) OR C<REF(C,1)) AND COUNT(HLC>HLC2,4)=4;
卖:= 卖1 OR 卖2 OR 卖3 OR 卖4;
OC3:=MA((C+O)/2,3);
J转:= REF(J,2)/REF(J,1)+J/REF(J,1);
J1转:= REF(J1,2)/REF(J1,1)+J1/REF(J1,1);
OC3转:=REF(OC3,2)/REF(OC3,1)+OC3/REF(OC3,1);
买1:= COUNT(J1转>2.01,2)=2 AND J1<REF(J1,1) AND J<110;
买2:= ABS(J-REF(J,1))<10 AND J>REF(J,1) AND REF(J,1)<REF(J,2) AND J<110;
买3:= J>REF(J,1) AND REF(J,1)<REF(J,2) AND REF(J<J1,1) AND J1转>2 AND (MAX(C,O)>REF(C,1) OR C>O) AND ABS(J-REF(J,1))<50 AND (J-REF(J,1))>REF(J-REF(J,1),1);
买4:= J>REF(J,1) AND REF(J,1)<REF(J,2) AND J<110;
买5:= J1>REF(J1,1) AND J<REF(J,1) AND C<O AND C<REF(C,1) AND REF(C>REF(C,1),1) AND J<90 AND IF(COUNT(J>REF(J,1),2)=2,REF(OC3,1)/OC3<1.025,REF(OC3,1)/OC3<1.015 OR (C<O AND J转>2.5));
买:= (买1 OR 买2 OR 买3 OR 买4 OR 买5) AND J<110 AND (REF(J,1)-J)<50;
DRAWTEXT(IF(REF(C,1)/C>1.01,买,买 AND COUNT(买,3)=1) AND COUNT(卖,1)<1,L*0.99,'买'),coloryellow;
[url=http://www.70822.com/soft/sort013/sort036/down-138704.html]买卖狗(同花顺公式 源码 K线图)[/url]