UID344192
积分37
学分
推广 个
预报后涨停 支
阅读权限20
在线时间 小时
注册时间2016-5-7
最后登录1970-1-1
|
LC:=REF(CLOSE,1);
WW1:=FILTER(OPEN<REF(LOW,1) AND CLOSE>OPEN AND VOL>REF(VOL,1),13);
JH:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;
SZ:=FILTER(CROSS(JH,35),13);
SX:=FILTER(CROSS(JH,30),7);
AA1:=IF(CAPITAL<1,SZ,SX);
STICKLINE(WW1,CLOSE,OPEN,1,0),COLOR990066;
STICKLINE(AA1,CLOSE,OPEN,1,0),COLOR00FFFF;
KU1B:=IF(HIGH=HHV(HIGH,80),1,0);
KD1B:=IF(LOW=LLV(LOW,80),1,0);
ULB:=IF(REF(KU1B,2)=1 AND REF(KU1B,1)=0
AND KU1B=0,REF(HIGH,2),REF(HIGH,2+BARSLAST(REF(KU1B,2)=1
AND REF(KU1B,1)=0 AND KU1B=0)));
DLB:=IF(REF(KD1B,2)=1 AND REF(KD1B,1)=0
AND KD1B=0,REF(LOW,2),REF(LOW,2+BARSLAST(REF(KD1B,2)=1
AND REF(KD1B,1)=0 AND KD1B=0)));
HVB:=H>ULB AND H>REF(H,1) ;
LVB:=L<DLB AND L<REF(L,1) ;
GPB:=BARSLAST(HVB);
DPB:=BARSLAST(LVB);
IPB:=IF(GPB=0,DPB,GPB)>3;
HV1B:=HVB AND IPB AND H>=HHV(H,BARSLAST(LVB));
LV1B:=LVB AND IPB AND L<=LLV(L,BARSLAST(HVB));
DRAWLINE(LV1B,LOW,HV1B, HIGH,0),COLORMAGENTA,LINETHICK4;
DRAWLINE(HV1B,HIGH,LV1B, LOW,0),COLORMAGENTA,LINETHICK4;
KU1A:=IF(HIGH=HHV(HIGH,30),1,0);
KD1A:=IF(LOW=LLV(LOW,30),1,0);
ULA:=IF(REF(KU1A,2)=1 AND REF(KU1A,1)=0
AND KU1A=0,REF(HIGH,2),REF(HIGH,2+BARSLAST(REF(KU1A,2)=1
AND REF(KU1A,1)=0 AND KU1A=0)));
DLA:=IF(REF(KD1A,2)=1 AND REF(KD1A,1)=0
AND KD1A=0,REF(LOW,2),REF(LOW,2+BARSLAST(REF(KD1A,2)=1
AND REF(KD1A,1)=0 AND KD1A=0)));
HVA:=H>ULA AND H>REF(H,1) ;
LVA:=L<DLA AND L<REF(L,1) ;
GPA:=BARSLAST(HVA);
DPA:=BARSLAST(LVA);
IPA:=IF(GPA=0,DPA,GPA)>3;
HV1A:=HVA AND IPA AND H>=HHV(H,BARSLAST(LVA));
LV1A:=LVA AND IPA AND L<=LLV(L,BARSLAST(HVA));
DRAWLINE(LV1A,LOW,HV1A, HIGH,0),COLORLIGRAY,LINETHICK3;
DRAWLINE(HV1A,HIGH,LV1A, LOW,0),COLORLIGRAY,LINETHICK3;
KU1:=IF(HIGH=HHV(HIGH,3),1,0);
KD1:=IF(LOW=LLV(LOW,3),1,0);
UL:=IF(REF(KU1,2)=1 AND REF(KU1,1)=0
AND KU1=0,REF(HIGH,2),REF(HIGH,2+BARSLAST(REF(KU1,2)=1
AND REF(KU1,1)=0 AND KU1=0)));
DL:=IF(REF(KD1,2)=1 AND REF(KD1,1)=0
AND KD1=0,REF(LOW,2),REF(LOW,2+BARSLAST(REF(KD1,2)=1
AND REF(KD1,1)=0 AND KD1=0)));
HV:=H>UL AND H>REF(H,1) ;
LV:=L<DL AND L<REF(L,1) ;
GP:=BARSLAST(HV);
DP:=BARSLAST(LV);
IP:=IF(GP=0,DP,GP)>3;
HV1:=HV AND IP AND H>=HHV(H,BARSLAST(LV));
LV1:=LV AND IP AND L<=LLV(L,BARSLAST(HV));
DRAWLINE(LV1,LOW,HV1, HIGH,0),COLORRED,LINETHICK2;
DRAWLINE(HV1,HIGH,LV1, LOW,0),COLORGREEN,LINETHICK2;
6---------分笔公式
分笔公式密码TMXKNB
{分型}
HH:=REF(H,5)=HHV(H,11);
LL:=REF(L,5)=LLV(L,11);
FG01:=BACKSET(HH,7)>BACKSET(HH,5) ;
FD01:=BACKSET(LL,7)>BACKSET(LL,5) ;
FG0:=FG01 AND H=HHV(H,BARSLAST(FD01));
FD0:=FD01 AND L=LLV(L,BARSLAST(FG01));
GP:IF(FG0,H,DRAWNULL),CIRCLEDOT,COLORCYAN;
DP:IF(FD0,L,DRAWNULL),CIRCLEDOT,COLORCYAN;
{分笔}
J0:=(H+L)/2;
FGH:=REF(H,BARSLAST(FG0));
FGH1:=REF(H,BARSLAST(FG0)+1);
FGL1:=REF(L,BARSLAST(FG0)+1);
FGH2:=REF(H,BARSLAST(FG0)+2);
FGL2:=REF(L,BARSLAST(FG0)+2);
FGJ0:=REF(J0,BARSLAST(FG0));
FGL:=REF(L,BARSLAST(FG0));
FDH:=REF(H,BARSLAST(FD0));
FDL:=REF(L,BARSLAST(FD0));
FDH1:=REF(H,BARSLAST(FD0)+1);
FDL1:=REF(L,BARSLAST(FD0)+1);
FDH2:=REF(H,BARSLAST(FD0)+2);
FDL2:=REF(L,BARSLAST(FD0)+2);
FDJ0:=REF(J0,BARSLAST(FD0));
FGZH:=IF(FGL<FGL1,FGH2,FGH1);
FGZL:=IF(FGL<FGL1,FGL2,FGL1);
FDZH:=IF(FDH>FDH1,FDH2,FDH1);
FDZL:=IF(FDH>FDH1,FDL2,FDL1);
FG1:=IF(((FGL>FDH AND FGH>FDZH) OR (FGH>FDH1 AND FDH1>FDH AND FDH>FDH2)),FG0
,FG0 AND FGJ0>FDH AND FGH>FDZH);
FD1:=IF(((FDH<FGL AND FDL<FGZL) OR (FDL<FGL1 AND FGL1<FGL AND FDL<FGL2)),FD0
,FD0 AND FDJ0<FGL AND FDL<FGZL);
FG2:=FG1 AND H>=HHV(H,BARSLAST(FD1));
FD2:=FD1 AND L<=LLV(L,BARSLAST(FG1));
FG:=FG1 AND FGL>FDJ0 AND KDJ.K>20;FD:=FD1 AND FDH<FGJ0 AND KDJ.K<80;
BK:=IF((FGL1>=FGL AND FG0) OR (FDH1<=FDH AND FD0) OR (FDH>FGL),4,3);
G1:=FG AND BARSLAST(FD)>BK;
D1:=FD AND BARSLAST(FG)>BK;
G2:=G1 AND H=HHV(H,BARSLAST(D1));
D2:=D1 AND L=LLV(L,BARSLAST(G1));
G3:=G1 OR (FG AND KDJ.J>100);
D3:=D1 OR (FD AND KDJ.J<0);
G4:=G3 OR (FG0 AND REF(H,BARSLAST(FG0))>REF(H,BARSLAST(G2)) AND BARSLAST(D2)>BARSLAST(G2));
D4:=D3 OR (FD0 AND REF(L,BARSLAST(FD0))<REF(L,BARSLAST(D2)) AND BARSLAST(G2)>BARSLAST(D2));
G5:=G4 AND H=HHV(H,BARSLAST(D4));
D5:=D4 AND L=LLV(L,BARSLAST(G4));
GPB:IF(G4,H,DRAWNULL),CIRCLEDOT,COLORYELLOW;
DPB:IF(D4,L,DRAWNULL),CIRCLEDOT,COLORYELLOW;
{画线}
NN:=G5;UU:=D5;
DRAWLINE(UU,L,NN, H,0),COLORYELLOW;DRAWLINE(NN,H,UU, L,0),COLORYELLOW;
CONST(C);
{标注有可能的笔端点数值} |
|