|
STYS (水天一色) 缺省周期:日线
参数描述: N(1,100,9)M1(1,10,3)M2(1,10,3)
AA:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
BB:=SMA(AA,M1,1);
潮水:SMA(BB,M2,1)/10;
沉沙:(HHV(HIGH,21)/LLV(LOW,21));
CC:=(REF(OPEN,1)/REF(CLOSE,1))>1.03 OR ((REF(OPEN,2)/REF(CLOSE,2))>1.02
AND REF(CLOSE,1)<REF(OPEN,1));
DD:=MAX(CLOSE,OPEN)<REF(HIGH,1);
EE:=LOW>=REF(LOW,1);
FF:=(HHV(HIGH,13)/LLV(LOW,13))>=1.28 AND (CLOSE/OPEN)<1.035;
GG:=沉沙 AND CC AND DD AND EE ;
WW:=GG*10 OR FF*10;
YY:=COUNT(WW,10)=1;
水天:IF(YY,WW,0)*10; |
|