KP:=(VAR1-REF(VAR1,1))/REF(VAR1,1)*1000;
D:=CROSS(KP,0);
KSKP:=KP>REF(KP,1) AND KP>0;
A:=(C*2+H+L+O)/5;
B:=(A+REF(A,1))/2;
D:=(A+REF(A,1)+REF(A,2))/3;
紫薇現世:EMA(B,6),COLOR00FF00;
紫薇送福:EMA(D,28),COLORFF0000;
//
STICKLINE(紫薇送福,紫薇現世,紫薇送福,5,1),colormagenta;
STICKLINE(紫薇送福>紫薇現世,紫薇現世,紫薇送福,5,1),coloryellow;
DRAWTEXT(CROSS(紫薇現世,紫薇送福) AND KSKP,LOW*1.095,'紫n薇n花n開'),colorred,Linethick3;
VAR3:=PEAKBARS(3,15,1)<10;
VAR5:=IF(VAR3=1,2,0);
頂:= IF(VAR5=2,2,0);
頂A:=頂>REF(頂,1);
DRAWTEXT(頂A,LOW*1.095,'★'),coloreeff99;(南方財富網SOUTHMONEY.COM)
(責任編輯:張曉軒)