P:=14;
均價:=(0.618*(0.809*C+0.191*O)+0.382*(IF(H=C,C,H)+IF(L=C,C,L))/2);
LJ:=IF(STKTYPE=0,均價,AMOUNT/(V*100));
R:=(0.809*IF(L=C,C,L)+0.191*LJ);R1:=(0.809*IF(H=C,C,H)+0.191*LJ);
HR:=(HHV(R1,34)*0.618+(HHV(R1,55)+HHV(R1,89))/2+HHV(R1,144)*0.382)/2;
LR:=(LLV(R,34)*0.618+(LLV(R,55)+LLV(R,89))/2+LLV(R,144)*0.382)/2;
XLR:=(LLV(LJ,13)*0.618+(LLV(LJ,21)+LLV(LJ,34))/2+LLV(LJ,55)*0.382)/2;
GZ:=(WMA(LJ,1)*0.618+(WMA(LJ,3)+WMA(LJ,5))/2+WMA(LJ,8)*0.382)/2;
跟莊線:(REF(GZ,2)+REF(GZ,1)+REF(GZ,0))/3,COLORWHITE,LINETHICK1;
GZX:=(WMA(LJ,8)*0.618+(WMA(LJ,13)+WMA(LJ,21))/2+WMA(LJ,34)*0.382)/2;
工作線:(REF(GZX,2)+REF(GZX,1)+REF(GZX,0))/3;
AA:=(WMA(LJ,34)*0.618+(WMA(LJ,55)+WMA(LJ,89))/2+WMA(LJ,144)*0.382)/2;
黃金線:(REF(AA,2)+REF(AA,1)+REF(AA,0))/3;
XP:=BARSLAST(CROSS(LJ,REF(XLR,1)));
CB:=WMA(MA(LJ,XP+1),1);
天:REF(HR,XP+1)*0.9618;{加粗紅線}
地:REF(LR,XP+1)*1.0382;{加粗青線}
人間:(天+地)/2;{加粗白線}
AAA:=(WMA(CB,34)*0.618+(WMA(CB,55)+WMA(CB,89))/2+WMA(CB,144)*0.382)/2;
狐線:=(REF(AAA,2)+REF(AAA,1)+REF(AAA,0))/3;
SV:=SUM(V,XP+1);
籌:=IF(INDEXC=C OR SV=0,WMA(MA(均價,XP+1),15),WMA(SUM(AMOUNT,XP+1)/SV/100,8));
峰:=WMA(SUM(籌,XP+1)/(XP+1),89);
獵狐線:IF(籌>峰,籌,峰);
莊拉線:獵狐線*(1+P/100);{虛線}
看莊線:獵狐線*(1-P/100);{虛線};
聯(lián)系客服