1 WR1:=110*(HHV(HIGH,10)-EMA(C,1))/(HHV(HIGH,10)-LLV(LOW,10)); WR2:=110*(HHV(HIGH,2)-EMA(C,1))/(HHV(HIGH,2)-LLV(LOW,2)); G:=BARSLAST(CROSS(WR1,WR2))/2+49; XG1:WR2>G; XG2:G>WR2; DRAWICON(CROSS(XG2,XG1),XG2,1); DRAWICON(CROSS(XG1,XG2),XG1,2); 2 WR1:=110*(HHV(HIGH,20)-EMA(C,5))/(HHV(HIGH,20)-LLV(LOW,20)); WR2:=110*(HHV(HIGH,5)-EMA(C,1))/(HHV(HIGH,5)-LLV(LOW,5)); G:=BARSLAST(CROSS(WR1,WR2))/2+49; XG1:WR2>G; XG2:G>WR2; DRAWICON(CROSS(XG2,XG1),XG2,1); DRAWICON(CROSS(XG1,XG2),XG1,2); 3 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; G:=BARSLAST(CROSS(RSI1,RSI2))/2+28; XG1:RSI1>G; XG2:G>RSI1; DRAWICON(CROSS(XG1,XG2),XG1,1); DRAWICON(RSI1>80,XG1,12);
爱约股解答:
WR1:=110*(HHV(HIGH,10)-EMA(C,1))/(HHV(HIGH,10)-LLV(LOW,10));
WR2:=110*(HHV(HIGH,2)-EMA(C,1))/(HHV(HIGH,2)-LLV(LOW,2));
G:=BARSLAST(CROSS(WR1,WR2))/2+49;
XG1:=WR2>G;
XG2:=G>WR2;
WR10:=110*(HHV(HIGH,20)-EMA(C,5))/(HHV(HIGH,20)-LLV(LOW,20));
WR20:=110*(HHV(HIGH,5)-EMA(C,1))/(HHV(HIGH,5)-LLV(LOW,5));
G1:=BARSLAST(CROSS(WR10,WR20))/2+49;
XG10:=WR2>G1;
XG20:=G1>WR2;
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;
G2:=BARSLAST(CROSS(RSI1,RSI2))/2+28;
XG100:=RSI1>G2;
XG200:=G2>RSI1;
XG:CROSS(XG2,XG1) AND CROSS(XG20,XG10) AND CROSS(XG100,XG200);