VAR1:=1;
VAR2:=(2*CLOSE+HIGH+LOW)/4;
VAR3:=IF(YEAR>=2099 AND MONTH>2,0,1);
VAR4:=LLV(LOW,5);
VAR5:=HHV(HIGH,4);
散:=EMA((VAR2-VAR4)/(VAR5-VAR4)*100,4)*VAR3*VAR1;
庄:=EMA(0.667*REF(散,1)+0.333*散,2)*VAR3*VAR1;
红箭头:crOSS(散,庄) AND 散<30;
VAR1:=1;
VAR2:=(2*CLOSE+HIGH+LOW)/4;
VAR3:=IF(YEAR>=2099 AND MONTH>2,0,1);
VAR4:=LLV(LOW,5);
VAR5:=HHV(HIGH,4);
散:=EMA((VAR2-VAR4)/(VAR5-VAR4)*100,4)*VAR3*VAR1;
庄:=EMA(0.667*REF(散,1)+0.333*散,2)*VAR3*VAR1;
红箭头:crOSS(散,庄) AND 散<30;