J1:=MA(C,5);
J2:=MA(C,10);
J3:=MA(C,30);
J4:=MA(C,60);
J5:=MA(C,120);
时间X:=BARSLAST((((CROSS(J2,J1) AND (J2 > J3)) AND (J3 > J4)) AND (J4 > J5)));
前高X:=REF(HHV(C,200),时间X);
PT:=REFDATE(前高X,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);
XX:=HHV(EMA(H,75),100);
中期趋势:=IF((XX > REF(XX,1)),XX,DRAWNULL);
短期趋势:=EMA(REF(MIDA,1),2);{分析家公式网}
注意止损:=MA(C,11);
上轨:=EMA(REF(UPPERA,1),2);
主升持股:=IF(EXIST((C > PT),10),上轨,DRAWNULL);
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),LINETHICK2,COLORYELLOW;
普通板:((((C > PT) AND (MA(C,5) > PT)) AND (C > 注意止损)) * 5),LINETHICK2,COLORFF8800;
强势板:(((C > PT) AND (C > 主升持股)) * 3),LINETHICK2,COLORRED;
202111282323450710.png
|