RSV1:=(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34))*100; 个股:MA(RSV1,3);
RSV2:=(INDEXC-LLV(INDEXL,34))/(HHV(INDEXH,34)-LLV(INDEXL,34))*100;
大盘:MA(RSV2,3);
0,colorred,POINTDOT,LINETHICK2;
20,colorred,POINTDOT,LINETHICK2;
50,colorred,POINTDOT,LINETHICK2;
80,colorred,POINTDOT,LINETHICK2;
100,colorred,POINTDOT,LINETHICK2;
A1:=COUNT(个股>REF(个股,1),2)=2;
A2:=COUNT(大盘<REF(大盘,1),2)=2;
A3:=COUNT(个股<REF(个股,1),2)=2;
A4:=COUNT(大盘>REF(大盘,1),2)=2;
逆势上涨:IF(A1 AND A2,25,0),LINETHICK0;
DRAWTEXT(逆势上涨,10,'涨'),colorred;
逆势下跌:IF(A3 AND A4,10,0),LINETHICK0;
DRAWTEXT(逆势下跌,10,'跌'),colorgreen;
MA13:MA(C,13),colorred;
PARTLINE(MA13,MA13>REF(MA13,1),colorred,MA13<REF(MA13,1),colorgreen),Linethick2;
|
