黄金坑副图公式
A:15,POINTDOT;
B:80,POINTDOT;
RSV1:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100;
RSV2:=(CLOSE-LLV(LOW,37))/(HHV(HIGH,37)-LLV(LOW,37))*100;
RSV3:=(CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100;
短线1:=SMA(SMA(RSV1,3,1),3,1)+3*STD(CLOSE,21),COLORGREEN;
中线1:=SMA(RSV2,5,1)+2*STD(CLOSE,37),COLORRED;
长线1:=SMA(RSV3,5,1),COLORYELLOW;
STICKLINE(短线1<15,短线1,15,8,0),COLORYELLOW;
STICKLINE(中线1<15 ,中线1,15,8,0),COLORYELLOW;
STICKLINE(长线1<15,长线1,15,8,0),COLORYELLOW;
STICKLINE(短线1<15 AND 中线1<15 AND 长线1<15,MAX(长线1,MAX(短线1,中线1)),15,8,0),COLORYELLOW;
842244939.jpg
选股公式
RSV1:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100;
RSV2:=(CLOSE-LLV(LOW,37))/(HHV(HIGH,37)-LLV(LOW,37))*100;
RSV3:=(CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100;
短线1:=SMA(SMA(RSV1,3,1),3,1)+3*STD(CLOSE,21);
中线1:=SMA(RSV2,5,1)+2*STD(CLOSE,37);
长线1:=SMA(RSV3,5,1);
AA:=短线1<15 AND 中线1<15 AND 长线1<15;
(第一个)XG:NOT(REF(AA,1)) AND AA;
(第二个)XG:REF(AA,1) AND NOT(AA);
|