VARA2:=LLV(MA(LOW,3),3);
VARA3:=HHV(MA(HIGH,3),3);
KK:=EMA((CLOSE-VARA2)/(VARA3-VARA2)*100,4)*0.7+20;
DD:=EMA(0.667*REF(KK,1)+0.333*KK,2)*0.7+20;
好趋势2:=MA((3*SMA((C-LLV(L,M))/(HHV(H,M)-LLV(L,M))*100,3,1)),2)
-MA((2*SMA(SMA((C-LLV(L,M))/(HHV(H,M)-LLV(L,M))*100,3,1),3,1)),2);
动态底部2:=IF(EMA(IF(L<=LLV(L,13),SMA(ABS(L-REF(L,1)),5,1)
/SMA(MAX(L-REF(L,1),0),5,1),0),3)*10 AND 好趋势2<REF(好趋势2,1)
AND 好趋势2<50,-5,-2.5);
好趋势:=MA((3*SMA((C-LLV(L,N))/(HHV(H,N)-LLV(L,N))*100,3,1)),2)
-MA((2*SMA(SMA((C-LLV(L,N))/(HHV(H,N)-LLV(L,N))*100,3,1),3,1)),2);
动态底部:=IF(EMA(IF(L<=LLV(L,13),SMA(ABS(L-REF(L,1)),5,1)
/SMA(MAX(L-REF(L,1),0),5,1),0),3)*10 AND 好趋势<REF(好趋势,1)
AND 好趋势<50,-5,-3);
买警:=IF(好趋势<=-3 AND 好趋势<REF(好趋势,1),13,
IF(好趋势<=0 AND 好趋势<REF(好趋势,1),12,
IF(好趋势<=3 AND 好趋势<REF(好趋势,1),10,
IF(好趋势<=6 AND 好趋势<REF(好趋势,1),9,
IF(好趋势<=9 AND 好趋势<REF(好趋势,1),8,
IF(好趋势<=12 AND 好趋势<REF(好趋势,1),7,
IF(好趋势<=15 AND 好趋势<REF(好趋势,1),6,
IF(好趋势<=18 AND 好趋势<REF(好趋势,1),5,
IF(好趋势<=21 AND 好趋势<REF(好趋势,1),4,
IF(好趋势<=24 AND 好趋势<REF(好趋势,1),3,
IF(好趋势<=27 AND 好趋势<REF(好趋势,1),2,
IF(好趋势<=30 AND 好趋势<REF(好趋势,1),1,0))))))))))));
CROSS(动态底部,-4) AND BARSLAST(CROSS(动态底部2,-4))<2 AND REF(买警,1)>P AND DYNAINFO(39)>0 AND DYNAINFO(17)>0 AND C<20 AND KK>REF(KK,1) ; |