提示:公式有未来函数
{N1: 1,100,45,5; N2:1,100,67,10; N3:1,100,25,30; Q:3,30,5,10}
VARM2:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100;
VARM3:=SMA(SMA(VARM2,9,4),9,4)/7.777777;
VARM4:=EMA(VARM3,5);
VARM5:=3*VARM3-2*VARM4;
AAM:=CROSS(VARM5,VARM3) AND VARM3<1.7777777 AND C>O;
A1:=3*EMA((C-LLV(L,30))/(HHV(H,30)-LLV(L,30))*100,5)
-2*EMA((C-LLV(L,30))/(HHV(H,30)-LLV(L,30))*100,5);
A2:=LLV(L,21);
A3:=LLV(L,30);
A4:=EMA(A1,5);
A5:=(HHV(H,34)-C)/(HHV(H,34)-LLV(L,34))*100;
A6:=MA(C,20);
DIFF := EMA(CLOSE,12) - EMA(CLOSE,26);
DEA :=EMA(DIFF,9);
?ù′?:=(DIFF<-0.1 AND DIFF>DEA);
QQ:=CROSS(A1,A4) AND (A5-A4)>40 AND ?ù′? ,1,0;
MACD:=(2*(DIFF-DEA))*25;
DIF?o:=IF(DIFF<0,1,0);
KK:=CROSS(DIF?o,128);
VARY1:=REF(CLOSE,1);
VARY2:=SMA(MAX(CLOSE-VARY1,0),18,1)/SMA(ABS(CLOSE-VARY1),13,1)*100;
VARY3:=SMA(MAX(CLOSE-VARY1,0),24,1)/SMA(ABS(CLOSE-VARY1),20,1)*100;
VARY4:=BARSLAST(VARY3<48)<=3 AND CROSS(VARY2,VARY3);
VARY5:=(CLOSE-MA(CLOSE,48))/MA(CLOSE,20)*100<-12.5;
VARY6:=LLV(LOW,5);
VARY7:=HHV(HIGH,10);
VARY8:=EMA((CLOSE-VARY6)/(VARY7-VARY6)*100,4);
VARY9:=EMA(0.667*REF(VARY8,1)+0.333*VARY8,2);
VARYB:=VARY5;
μí?ü:= 0-(-1)*VARY4 AND VARY5 AND CROSS(VARY8,VARY9) AND VARY8<=25;
M1:=MA(C,N1);{?ìÆú2?êy£o5}
M2:=MA(C,N2);{?ÐÆú2?êy£o10}
M3:=MA(C,N3);{3¤Æú2?êy£o30}
D1:=BARSLAST(CROSS(M1,M2));{?ìé?′??Ð}
D2:=BARSLAST(CROSS(M1,M3));{?ìé?′?3¤}
D3:=BARSLAST(CROSS(M2,M3));{?Ðé?′?3¤}
T1:=CROSS(M2,M3);{??ìì?Ð??é?′?3¤??}
T2:=D1>=D2 AND D2>=D3;{??2?°′???¨μ??èoó3???}
T3:=COUNT(CROSS(M2,M1) OR CROSS(M3,M2) OR CROSS(M3,M1),D1)=0;{?Ð???Þ?Ð?óÆ??ü??2?}
T4:=REF(M1<M3 AND M2<M3,D1+1);{?ìé?′??Ð?°ò?ìì?ì?¢?Ð???ú3¤??????}
PP:=T1 AND T2 AND T3 AND T4;{??íÐè·?¨};
GJTJ1:=100*(C-LLV(L,5))/(HHV(C,5)-LLV(L,5));
GJTJ2:=100*(C-LLV(L,10))/(HHV(C,10)-LLV(L,10));
GJTJ3:=100*(C-LLV(L,20))/(HHV(C,20)-LLV(L,20));
GJTJ4:=100*(C-LLV(L,30))/(HHV(C,30)-LLV(L,30));
A:=BARSLAST(CROSS(30,GJTJ1))<2 AND BARSLAST(CROSS(GJTJ1,50))<2;
B:=BARSLAST(CROSS(GJTJ4,GJTJ1))<2 AND GJTJ1>GJTJ4;
E:=GJTJ1>60 AND GJTJ4>70;
UU:=A AND B AND E;
GJTJT1:=100*(C-LLV(L,5))/(HHV(C,5)-LLV(L,5));
GJTJT2:=100*(C-LLV(L,10))/(HHV(C,10)-LLV(L,10));
GJTJT3:=100*(C-LLV(L,20))/(HHV(C,20)-LLV(L,20));
GJTJT4:=100*(C-LLV(L,30))/(HHV(C,30)-LLV(L,30));
AT:=BARSLAST(CROSS(50,GJTJT1))<3 AND BARSLAST(CROSS(GJTJT1,50))<3;
BT:=BARSLAST(CROSS(GJTJT4,GJTJT1))<2 AND GJTJT1>GJTJT4;
TT:=AT AND BT;
GJTJS1:=100*(C-LLV(L,5))/(HHV(C,5)-LLV(L,5));
GJTJS2:=100*(C-LLV(L,10))/(HHV(C,10)-LLV(L,10));
GJTJS3:=100*(C-LLV(L,20))/(HHV(C,20)-LLV(L,20));
GJTJS4:=100*(C-LLV(L,30))/(HHV(C,30)-LLV(L,30));
AS:=BARSLAST(CROSS(GJTJS4,GJTJS1))>3 AND BARSLAST(CROSS(GJTJS1,GJTJS4))<3;
BS:=BARSLAST(CROSS(GJTJS4,GJTJS2));
DS:=GJTJS3<GJTJS4 AND GJTJS2<GJTJS4;
ES:=BARSLAST(CROSS(GJTJS4,GJTJS3))>3 AND BARSLAST(CROSS(GJTJS1,GJTJS4))<3;
FS:=GJTJS2<GJTJS3 AND GJTJS2<GJTJS4 AND GJTJS2<GJTJS1 AND GJTJS1=100;
B1:=AS>0 AND REF(AS,1)=0 AND REF(AS,2)>0;
SS:=AS AND BS AND DS AND ES AND FS;
VARW1:=(CLOSE-LLV(LOW,100))/(HHV(HIGH,100)-LLV(LOW,100))*200;
VARW2:=SMA(VARW1,3,1);
VARW3:=SMA(VARW2,3,1);
VARW4:=3*VARW2-2*VARW3;
VARW5:=LLV(LOW,5);
VARW6:=HHV(HIGH,5);
VARW7:=EMA((CLOSE-VARW5)/(VARW6-VARW5)*100,4)*2;
VARW8:=EMA(0.667*REF(VARW7,1)+0.333*VARW7,2);
VARW9:=3*VARW7-2*VARW8;
VARWA:=POW(MA(CLOSE,5),2)+MA(CLOSE,5);
VARWB:=POW(MA(LOW,5),2)+MA(LOW,5);
VARWC:=POW(MA(HIGH,5),2)+MA(HIGH,5);
VARWD:=(VARWA-LLV(VARWB,64))/(HHV(VARWC,64)-LLV(VARWB,64))*150+65-10;
VARWE:=SMA(VARWD,3,1)*1.5-100;
VARWF:=SMA(VARWE,3,1);
VARW10:=3*VARWE-2*VARWF;
VARW11:=(HIGH+LOW+CLOSE*2)/4;
VARW12:=EMA(VARW11,13);
VARW13:=STD(VARW11,13);
VARW14:=(VARW11-VARW12)*100/VARW13;
VARW15:=EMA(VARW14,5);
VARW16:=EMA(VARW15,13);
VARW17:=EMA(VARW15,13)+200-100;
VARW18:=EMA(VARW17,10);
VARW19:=3*VARW17-2*VARW18;
VARW1A:=VARW2+VARW7+VARWE+VARW17;
VARW1B:=VARW3+VARW8+VARWF+VARW18;
VARW1C:=VARW4+VARW9+VARW10+VARW19;
VARW1D:=(HIGH+LOW+CLOSE)/3;
VARW1E:=AMOUNT/VOL/100;
VARW1F:=SUM(AMOUNT,5)/SUM(VOL,5)/100;
VARW20:=(VARW1D-MA(VARW1D,34))/(0.015*AVEDEV(VARW1D,34));
VARW21:=DMA(AMOUNT/VOL/100,VOL/CAPITAL);
VARW22:=(HIGH+LOW+CLOSE+VARW1D)/4;
VARW23:=EMA(VARW22,24);
VARW24:=STD(VARW22,24);
VARW25:=(VARW22-VARW23)/VARW24*100;
VARW26:=(VARW1D-MA(VARW1D,24))/(0.015*AVEDEV(VARW1D,24));
VARW27:=EMA(VARW25,5);
VARW28:=(VARW1E-MA(VARW1E,21))/(0.015*AVEDEV(VARW1E,21));
VARW29:=(VARW1F-MA(VARW1F,90))/(0.015*AVEDEV(VARW1F,90));
VARW2A:=((VARW29+VARW28+VARW27+VARW26+VARW20)/5+165)/4;
VARW2B:=(VARW1A+VARW1B+VARW1C*30)/32/5-15;
VARW2C:=(VARW2A+VARW2B)/2/1.1;
?ì??:=VARW2C;
MIDW:=MA(?ì??,26);
UPPER:=MIDW+2*STD(?ì??,26);
LCJ2:=IF(?ì??>MIDW,MIDW,?ì??);
?ò:= DRAWICON(CROSS(?ì??,MIDW),MIDW*0.97,1);
??μ?:= DRAWICON(CROSS(UPPER,?ì??),UPPER*0.97,2);
GJTJH1:=100*(C-LLV(L,5))/(HHV(C,5)-LLV(L,5));
GJTJH2:=100*(C-LLV(L,10))/(HHV(C,10)-LLV(L,10));
GJTJH3:=100*(C-LLV(L,20))/(HHV(C,20)-LLV(L,20));
GJTJH4:=100*(C-LLV(L,30))/(HHV(C,30)-LLV(L,30));
AH:=GJTJH1=GJTJH2 AND GJTJH2=GJTJH3 AND GJTJH1=100 AND GJTJH4>96;
BH:=COUNT(AH,2)=1;
DH:=GJTJH1<GJTJH2 AND GJTJH1<GJTJH3 AND GJTJH1<GJTJH4 AND GJTJH2
<GJTJH3 AND GJTJH4<95;
YHH:=INDEXC/REF(INDEXC,1)*REF(C,1);
YHH1:=REF(C,1)+C-INDEXC/REF(INDEXC,1)*REF(C,1);
XH1:=EMA(YHH,7);
XH2:=EMA(YHH1,14);
XH3:=EMA(XH1,14);
EH:=XH1>XH2 AND XH2>XH3;
HHH:=BH AND DH AND EH;
VT1:=(CLOSE-MA(CLOSE,20))/MA(CLOSE,20)*100,COLORYELLOW;
VT2:=IF(VT1>0,VT1,0),COLOR00FF00;
VT3:=STICKLINE(VT1>0,VT1,0,5,1),COLOR00FF00;
MU3:=EMA(EMA(VT1,30),3)*2<-28,COLORFF99FF,LINETHICK2;
VAR1P:=(CLOSE-LLV(LOW,60.135))/(HHV(HIGH,60.135)-LLV(LOW,60))*80;
VAR2P:=SMA(VAR1P,7,1);
VAR3P:=SMA(VAR2P,5,1);
FFF:=IF(CROSS(VAR2P,VAR3P) AND VAR2P<20,85,0);
VARMY1:=REF(CLOSE,1);
VARMY2:=SMA(MAX(CLOSE-VARMY1,0),13,1)/SMA(ABS(CLOSE-VARMY1),13,1)*100;
VARMY3:=CROSS(69,VARMY2);
VARMYA:=FILTER(VARMY3,4);
Æ?òÆ:=XMA(H,Q);
1?2ì:=MA(H,Q);
A168:=DRAWICON(LONGCROSS(Æ?òÆ,1?2ì,0.5),L*0.9975,1) ;
B861:=DRAWICON(LONGCROSS(1?2ì,Æ?òÆ,0.5),H*1.0025,2) ;
?ˉ:=(IF(CROSS(69,SMA(MAX(CLOSE-REF(CLOSE,1),0),13,1)/SMA(ABS(CLOSE-
REF(CLOSE,1)),13,1)*100),1,0),HIGH*1.045,2),COLORWHITE;
?ìÆú1?à??ê:=(((CLOSE - MA(CLOSE,13)) / MA(CLOSE,13)) * 100);
VARA:=EMA(((AMOUNT / VOL) / 100),3);
EW:=LLV(CLOSE,20); |