单阳:=FILTER(C>REF(C,1)*1.089 AND (H-L)/REF(C,1)*100>9.5 AND NOT(C=O AND L=H),10); LS0:=BARSLAST(单阳); 不破价:=REF(L,LS0); 高点:=REF(H,LS0); DRAWTEXT(单阳,L-L*0.02,"阳"),COLOR00FFFF; 位置1:=不破价 *0.998; 位置2:=不破价 *0.98; LS11:=IF(1,LS0=1,单阳); LS21:=IF(1,LLV(L,1)>REF(L,1),1); 单阳不破:=LS11 AND LS21 AND LREF(L,2),1); 单阳不破2:=LS12 AND LS22 AND LREF(L,3),1); 单阳不破3:=LS13 AND LS23 AND LREF(L,4),1); 单阳不破4:=LS14 AND LS24 AND LREF(L,5),1); 单阳不破5:=LS15 AND LS25 AND LREF(L,6),1); 单阳不破6:=LS16 AND LS26 AND LREF(L,7),1); 单阳不破7:=LS17 AND LS27 AND LREF(L,8),1); 单阳不破8:=LS18 AND LS28 AND LREF(L,9),1); 单阳不破9:=LS19 AND LS29 AND LREF(L,10),1); 单阳不破10:=LS110 AND LS210 AND L
|