编个第二次K线上穿30日线的选股指标公式
编个第二次K线上穿30日线的选股指标公式
【股票资源馆】同花顺实时港股破解,同花顺财富主力破解,大智慧财富破解版,通达信财富破解版,通达信专业版破解,通达信研究版破解,通达信超赢版破解,股票公式,股票指标公式,股票公式大全,指南针软件破解,炒股书籍,k线图怎么看,股票k线图,。
编写条件:
编写方法:
网友求助:
请老师编个选股公式,条件为红箭头出现。谢谢!
天线:80,COLORRED;
地线:20,COLORGREEN;
HQ0:=IF(ZIG(MA((H+L)/2,3),5)>REF(ZIG(MA((H+L)/2,3),5),1),1,0);
STICKLINE(HQ0=1,0,0.5,1,0),COLORRED;
STICKLINE(HQ0=1,100,99.5,1,0),COLORRED;
STICKLINE(HQ0=0,0,0.5,1,0),COLORGREEN;
STICKLINE(HQ0=0,100,99.5,1,0),COLORGREEN;
LOWV:=LLV(LOW,9);
HIGHV:=HHV(HIGH,9);
RSV:=EMA((CLOSE-LOWV)/(HIGHV-LOWV)*100,3);
F:EMA(RSV,3),COLORWHITE;
S:MA(F,3),COLORYELLOW;
买进:0,COLORMAGENTA;
悬崖:0,COLORLIBLUE;
止损:0,COLORYELLOW;
RSVZ:=(CLOSE-LLV(LOW,18))/(HHV(HIGH,18)-LLV(LOW,18))*100;
PKZ:=SMA(RSVZ,5,1);
PDZ:=SMA(PKZ,6,1);
PJZ:=3*PKZ-2*PDZ;
LC:=REF(CLOSE,1);
VSI1:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;
LX:=DATATYPE;
ZQ:=IF(LX=4,4,IF(LX=3,4,IF(LX=1,8,4)));
DXW:=IF((ZIG(3,5)>REF(ZIG(3,5),1)) AND (REF(ZIG(3,5),1)<=REF(ZIG(3,5),2)) AND (REF(ZIG(3,5),2)<=REF(ZIG(3,5),3)),1,0);
DXWMC:=IF((ZIG(3,5)<REF(ZIG(3,5),1)) AND (REF(ZIG(3,5),1)>=REF(ZIG(3,5),2)) AND (REF(ZIG(3,5),2)>=REF(ZIG(3,5),3)),1,0);
MR1:=SUM(DXW,ZQ);
ZS2:=IF(MR1>0,1,0);
RSV1:=(CLOSE - LLV(LOW,18))/(HHV(HIGH,18) - LLV(LOW,18))*100;
K1:=EMA(RSV1,3);
D1:=EMA(K1,3);
J1:=(3*K1-2*D1);
KDJ1:=REF(COUNT(J1<REF(J1,1),5)>=3,1) AND REF(J1,1)<20;
KDJ2:=J1>REF(J1,1);
FZ:=SUM(IF(FILTER(KDJ1 AND KDJ2,3),30,0),ZQ);
ZS3:=IF(FZ>0,1,0);
MD1:=ZS2 AND ZS3;
TYP:=(HIGH+LOW+CLOSE)/3;
AZZ:=(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14));
ZBPD:=CROSS(F,S) OR CROSS(AZZ,-100);
MR:=MD1 AND ZBPD;
XSZQ:=IF(DATATYPE=4,3,4);
DYC:=FILTER(MR,XSZQ);
STICKLINE(MR AND DYC,0,35,1,0),COLORMAGENTA;
DRAWICON(DXW,10,4);
底部:IF(CLOSE<MA(L+(H-L)/2,25)*0.95,1,0),COLORMAGENTA;
STICKLINE(底部,0,5,5,1),COLORMAGENTA;
HSL:=(VOL/CAPITAL)*100;
ZF:=(ABS(CLOSE-OPEN)/REF(CLOSE,1))*100;
ZHB:=(ZF/HSL)*100;
ZHB10:=MA(ZHB,10);
NOSL:=IF((VOL>REF(MA(VOL,3),1)*0.8),1,0);
ZX:=OPEN+(CLOSE-OPEN)/2;
ZXMAX:=HHV(ZX,10);
YH1:=BARSLAST(DXW);
YH2:=BARSLAST(DXWMC);
DQPD:=IF(YH2=0,1,IF(YH1>YH2,0,1));
GD1:=IF(PJZ>=100,1,0);
GD2:=COUNT(PJZ>=100,3);
GDCS:=IF(GD2>0,1,0);
KDJPD:=IF(GD1 OR GDCS,1,0);
RS2:=IF(VSI1>=80,1,0);
RS3:=COUNT(VSI1>=80,3);
RSICS:=IF(RS3>0,1,0);
RSIPD:=IF(RS2 OR RSICS,1,0);
ZBPD1:=IF(KDJPD AND VSI1>60,1,0);
ZBPD2:=IF(RSIPD AND PJZ>80,1,0);
ZBPD0:=ZBPD1 OR ZBPD2;
ZHBMAX:=HHV(ZHB10,5);
TD2:=IF(ZX=ZXMAX AND ZHB10<ZHBMAX,1,0);
TD3:=IF(DQPD AND TD2 AND NOSL,1,0);
TD33:=IF(ZBPD0 AND TD3,1,0);
SD1:=FILTERX(TD33,4);
STICKLINE(TD33 AND SD1,100,70,1,0),COLORLIBLUE;
顶部:IF(HIGH>MA(L+(H-L)/2,25)*1.15,1,0),COLORCYAN;
STICKLINE(顶部,100,95,5,1),COLORCYAN;
ZS:=CROSS(S,F) OR CROSS(100,AZZ);
ZS11:=IF(ZS,SUM(DXWMC,ZQ),0);
ZS22:=IF(ZS11>0,1,0);
DYC1:=FILTER(ZS22,XSZQ);
STICKLINE(ZS22 AND DYC1,100,70,1,0),COLORYELLOW;
DRAWICON(DXWMC,90,5);
A:=(3*C+L+O+H)/6;
XX:=(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))/210;
CB:=EMA(XX,13);
CBMA:=MA(CB,30);
KA:=(CBMA-REF(CBMA,5))/5;
∠A:=INTPART(ATAN(KA)*100);
RSV2:=(CLOSE-LLV(LOW,30))/(HHV(HIGH,30)-LLV(LOW,30))*100;
K:=SMA(RSV2,5,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
ZLX:=EMA(J,6);
ZLXMA:=MA(ZLX,10);
KB:=(ZLXMA-REF(ZLXMA,5))/5;
∠B:=ATAN(KB);
强势:IF(∠A>=0 AND ∠B>0,1,0),COLORRED;
中强:IF(∠A>=0 AND ∠B<0,1,0),COLORLIRED;
稍强:IF(∠A<0 AND ∠B>0,1,0),COLORYELLOW;
弱势:IF(∠A<0 AND ∠B<=0,1,0),COLORGREEN;
(ZIG(3,5)>REF(ZIG(3,5),1)) AND (REF(ZIG(3,5),1)<=REF(ZIG(3,5),2)) AND (REF(ZIG(3,5),2)<=REF(ZIG(3,5),3));
{股票资源馆:www.lixiangluntan.com专业和谐高端炒股软件--公式编写交流--加QQ751161480--}炒股教程
在不同周期的最高、最低点位置显示股价数值
在不同周期的最高、最低点位置显示股价数值