九毛八公式指标
公式模块:
C1:=REF(CLOSE,1);
O1:=REF(OPEN,1);
C2:=REF(CLOSE,2);
O2:=REF(OPEN,2);
V1:=C1<O1;
V2:=C2<O2;
V3:=CLOSE>OPEN;
V4:=C2>C1 AND O2>O1 AND CLOSE>O1;
V5:=O2-C2>O1-C1 AND CLOSE-OPEN>O1-C1;
VIC1:=V1 AND V2 AND V3 AND V4;
LC := REF(CLOSE,1);
rsi1:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;
RSI2:=SMA(MAX(CLOSE-LC,0),12,1)/SMA(ABS(CLOSE-LC),12,1)*100;
RSI3:=SMA(MAX(CLOSE-LC,0),24,1)/SMA(ABS(CLOSE-LC),24,1)*100;
VV4:=crOSS(RSI1,RSI2) AND RSI1>50 ;
VV5:= RSI1>RSI2+2 AND RSI2>RSI3+1 AND RSI1>62;
VIC2:=VV4 OR VV5;
VIC1 AND VIC2; C1:=REF(CLOSE,1);
O1:=REF(OPEN,1);
C2:=REF(CLOSE,2);
O2:=REF(OPEN,2);
V1:=C1<O1;
V2:=C2<O2;
V3:=CLOSE>OPEN;
V4:=C2>C1 AND O2>O1 AND CLOSE>O1;
V5:=O2-C2>O1-C1 AND CLOSE-OPEN>O1-C1;
VIC1:=V1 AND V2 AND V3 AND V4;
LC := REF(CLOSE,1);
RSI1:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;
RSI2:=SMA(MAX(CLOSE-LC,0),12,1)/SMA(ABS(CLOSE-LC),12,1)*100;
RSI3:=SMA(MAX(CLOSE-LC,0),24,1)/SMA(ABS(CLOSE-LC),24,1)*100;
VV4:=CROSS(RSI1,RSI2) AND RSI1>50 ;
VV5:= RSI1>RSI2+2 AND RSI2>RSI3+1 AND RSI1>62;
VIC2:=VV4 OR VV5;
VIC1 AND VIC2;