求高手将通达信指标改为可用的博易大师指标,
D1:=BACKSET((FILTER((REF(CLOSE,13)=HHV(CLOSE,2*13+1)),13)),13+1);D2:=REF(CLOSE,13)=LL...
D1:=BACKSET((FILTER((REF(CLOSE,13)=HHV(CLOSE,2*13+1)),13)),13+1);
D2:=REF(CLOSE,13)=LLV(CLOSE,2*13+1);
D3:=FILTER((BACKSET((FILTER(D2,13)),13+1)),13);
D4:=REF(H,BARSLAST((FILTER(D1,13))));
D5:=REF(L,BARSLAST(D3));
D6:=BARSLAST((FILTER(D1,13)))>BARSLAST(D3) AND NOT(D3);
鬼:IF(D6,D5,D5);
R1:=BACKSET((FILTER((REF(CLOSE,7)=HHV(CLOSE,2*7+1)),7)),7+1);
R2:=REF(CLOSE,7)=LLV(CLOSE,2*7+1);
R3:=FILTER((BACKSET((FILTER(R2,7)),7+1)),7);
R4:=REF(H,BARSLAST((FILTER(R1,7))));
R5:=REF(L,BARSLAST(R3));
R6:=BARSLAST((FILTER(R1,7)))>BARSLAST(R3) AND NOT(R3);
人:IF(R6,R5,R5);
地:IF(CLOSE,R4,R4);
天:IF(C,D4,D4);
KS:=(C-MA(C,13))/MA(C,13)*(-100);
RKS:=REF(KS,1);
MLS:=RKS/KS>=1.23 AND RKS>=8 AND C/REF(C,1)>=1.02;
MLS2:=RKS/KS>=1.23 AND RKS>=8 AND C/REF(C,1)>=1.02 AND C>REF(H,1) ;
VAR1:=(VOL/REF(VOL,1))>1.95 AND C>=O;
VAR2:=(VOL/REF(VOL,1))>1.95 AND C<O;
STICKLINE(VAR1,C,L,1.8,0),COLORYELLOW;
STICKLINE(VAR2,H,C,1.8,0),COLORYELLOW;
VAR3:=C<REF(C,1) AND C>O AND (VOL/REF(VOL,1))>2;
STICKLINE(VAR3,C,O,1.8,0),COLORGREEN;
VAR4:=CROSS(C,IF(CLOSE,R4,R4)) OR CROSS(C,IF(C,D4,D4));
STICKLINE(VAR4,C,O,1.8,0),COLORBLUE;
MA(C,30),COLORRED,LINETHICK2;
MA(C,50),COLORWHITE ,LINETHICK2;
MA(C,100),COLORYELLOW,LINETHICK2;
MA(C,144),COLORWHITE,LINETHICK3; 展开
D2:=REF(CLOSE,13)=LLV(CLOSE,2*13+1);
D3:=FILTER((BACKSET((FILTER(D2,13)),13+1)),13);
D4:=REF(H,BARSLAST((FILTER(D1,13))));
D5:=REF(L,BARSLAST(D3));
D6:=BARSLAST((FILTER(D1,13)))>BARSLAST(D3) AND NOT(D3);
鬼:IF(D6,D5,D5);
R1:=BACKSET((FILTER((REF(CLOSE,7)=HHV(CLOSE,2*7+1)),7)),7+1);
R2:=REF(CLOSE,7)=LLV(CLOSE,2*7+1);
R3:=FILTER((BACKSET((FILTER(R2,7)),7+1)),7);
R4:=REF(H,BARSLAST((FILTER(R1,7))));
R5:=REF(L,BARSLAST(R3));
R6:=BARSLAST((FILTER(R1,7)))>BARSLAST(R3) AND NOT(R3);
人:IF(R6,R5,R5);
地:IF(CLOSE,R4,R4);
天:IF(C,D4,D4);
KS:=(C-MA(C,13))/MA(C,13)*(-100);
RKS:=REF(KS,1);
MLS:=RKS/KS>=1.23 AND RKS>=8 AND C/REF(C,1)>=1.02;
MLS2:=RKS/KS>=1.23 AND RKS>=8 AND C/REF(C,1)>=1.02 AND C>REF(H,1) ;
VAR1:=(VOL/REF(VOL,1))>1.95 AND C>=O;
VAR2:=(VOL/REF(VOL,1))>1.95 AND C<O;
STICKLINE(VAR1,C,L,1.8,0),COLORYELLOW;
STICKLINE(VAR2,H,C,1.8,0),COLORYELLOW;
VAR3:=C<REF(C,1) AND C>O AND (VOL/REF(VOL,1))>2;
STICKLINE(VAR3,C,O,1.8,0),COLORGREEN;
VAR4:=CROSS(C,IF(CLOSE,R4,R4)) OR CROSS(C,IF(C,D4,D4));
STICKLINE(VAR4,C,O,1.8,0),COLORBLUE;
MA(C,30),COLORRED,LINETHICK2;
MA(C,50),COLORWHITE ,LINETHICK2;
MA(C,100),COLORYELLOW,LINETHICK2;
MA(C,144),COLORWHITE,LINETHICK3; 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询