九毛八公式指标
玄黄选股 VAR1:=HHV(HIGH,55); VAR2:=LLV(LOW,55); 空仓:= SMA((CLOSE-VAR2)/(VAR1-VAR2),8,1)*100,COLORYELLOW,LINETHICK2; 持股:= EMA(HHV(空仓,3),1),COLORRED,LINETHICK2; XG:持股=空仓 AND 持股<20 and not(ref(持股=空仓,1));黄金坑千载难逢RSV1:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100; 短线:=SMA(SMA(RSV1,3,1),3,1)+3*STD(CLOSE,21);RSV3:=(CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100; 长线:=SMA(RSV3,5,1); xg:cross(短线,长线) 长线<18 长线>REF(长线,1) OR CROSS(长线,5);
公式模块:
两种合并方法,第一种,两个公式中的两个选股条件,只要符合一个条件就把它选出的
VAR1:=HHV(HIGH,55);
VAR2:=LLV(LOW,55);
空仓:= SMA((CLOSE-VAR2)/(VAR1-VAR2),8,1)*100,COLORYELLOW,LINETHICK2;
持股:= EMA(HHV(空仓,3),1),COLORRED,LINETHICK2;
XG1:=持股=空仓 AND 持股<20 AND NOT(REF(持股=空仓,1));
RSV1:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100;
短线:=SMA(SMA(RSV1,3,1),3,1)+3*STD(CLOSE,21);
RSV3:=(CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100;
长线:=SMA(RSV3,5,1);
XG:=crOSS(短线,长线) AND 长线<18 AND 长线>REF(长线,1) OR CROSS(长线,5);
XG OR XG1;
第二种是两个条件都符合才选出的
VAR1:=HHV(HIGH,55);
VAR2:=LLV(LOW,55);
空仓:= SMA((CLOSE-VAR2)/(VAR1-VAR2),8,1)*100,COLORYELLOW,LINETHICK2;
持股:= EMA(HHV(空仓,3),1),COLORRED,LINETHICK2;
XG1:=持股=空仓 AND 持股<20 AND NOT(REF(持股=空仓,1));
RSV1:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100;
短线:=SMA(SMA(RSV1,3,1),3,1)+3*STD(CLOSE,21);
RSV3:=(CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100;
长线:=SMA(RSV3,5,1);
XG:=CROSS(短线,长线) AND 长线<18 AND 长线>REF(长线,1) OR CROSS(长线,5);
XG AND XG1;
20>