偶然找会一个炒股群里多年前的公式,听说是买来了
B1:=MA(C,1);
B2:=SMA(SMA(SMA(B1,2,1),2,1),2,1);
SMA2:=MA(B2,3);
个股红:=B2>SMA2;
个股绿:=B2<SMA2;
IF(个股红,B2,DRAWNULL),COLORRED,LINETHICK2;
IF(个股绿,B2,DRAWNULL),COLORGREEN,LINETHICK1;
王子控盘线:HHV(MA(B2,1),13),COLORYELLOW,DOTLINE;
HM1:=ABS((3.48*C+H+L)/4-EMA(C,20)/EMA(C,20)); HM2:=DMA((2.15*C+L+H)/4,HM1);
王子强弱线:EMA(HM2,200)*1.118,LINETHICK2,COLORMAGENTA;
J1:=MA(C,5);
J2:=MA(C,10);
J3:=MA(C,30);
J4:=MA(C,60);
J5:=MA(C,120);
时间:=BARSLAST((((CROSS(J2,J1) AND (J2 > J3)) AND (J3 > J4)) AND (J4 > J5)));
前高:=REF(HHV(C,200),时间);
PT:=REFDATE(前高,DATE);
N:=20;
MIDA:=MA(C,N);
VART1:=POW((C - MIDA),2);
VART2:=MA(VART1,N);
VART3:=SQRT(VART2);
UPPERA:=(MIDA + (2 * VART3));
LOWERA:=(MIDA - (2 * VART3));
长线:=MA(C,133),LINETHICK2,COLORC0C0C0;
XX:=HHV(EMA(H,75),100);
中线:=IF((XX > REF(XX,1)),XX,DRAWNULL),LINETHICK2,COLORCYAN;
短线:=EMA(REF(MIDA,1),2),LINETHICK2,COLORFF6EC7;
评台:IF((短线 > 长线),PT,DRAWNULL),COLORRED,LINETHICK2;
ZF:=(((C - REF(C,1)) / REF(C,1)) * 100);
S1:=(((L > REF(H,1)) OR (ZF > 9.6)) OR (REF(ZF,1) > 9.6));
强势预选:=((CROSS(C,PT) AND (S1 > 0)) * 8);
VAR011:=(((((SMA((MAX((C - (REF(C,1))),0)),24,1)) / (SMA(ABS((C - (REF(C,1)))),24,1))) * 100) > 65) AND (((((EMA(C,5)) * 7) + ((EMA(C,10)) * 3)) / 10) > (EMA(C,13))));
VAR012:=((VAR011 AND ((EMA(C,13)) > (EMA(C,55)))) AND (((MA(C,26)) + (2 * (STD(C,26)))) > (REF(((MA(C,26)) + (2 * (STD(C,26)))),1))));
漂亮2:=((((VAR012 AND (C > (EMA((((H + L) + C) / 3),13)))) AND (DYNAINFO(7) > 0)) AND ((MA(C,5)) > (MA(C,10)))) AND ((CROSS((HHV(C,5)),((MA(H,10)) * (1 + (5 / 100))))) AND ((((C - (REF(C,1))) / (REF(C,1))) * 100) > 7.5))) ;
漂亮板:=强势预选 AND 漂亮2;
DRAWTEXT(漂亮板,L*0.96,'漂亮板')COLORFF00FF;
STICKLINE(漂亮板,(C+O)/2,CLOSE,5,0),COLORRED;
STICKLINE(漂亮板,O,(C+O)/2,5,0),COLOR0099FF;
STICKLINE(漂亮板,CLOSE,OPEN,0,0),COLORWHITE;
DRAWICON(漂亮板,L,1);
70822.com@097.png
|