九毛八公式指标
{出红柱选股} VAR01:=EMA((CLOSE-LLV(LOW,25))/(HHV(HIGH,25)-LLV(LOW,25))*100,5); VAR02:=(HHV(HIGH,25)-LLV(LOW,25))/EMA((CLOSE-LLV(LOW,25)),5); VAR03:=CROSS(VAR02,VAR01); VAR04:=REF(VAR02,2)0 AND VAR04,STICK,LINETHICK5,COLORRED; VAR05 AND COUNT(VAR05,5)=1,LINETHICK5,COLORRED; {买入} V6:=CLOSE/REF(CLOSE,3)>=1.1; V7:=BACKSET(V6,3); 买入:IF((V7 AND COUNT(V7,3)=1),30,0),STICK,LINETHICK3,COLORYELLOW; DRAWTEXT(买入,35,'买入 '),STICK,LINETHICK3,COLORYELLOW;
公式模块:
{出红柱选股}
VAR01:=EMA((CLOSE-LLV(LOW,25))/(HHV(HIGH,25)-LLV(LOW,25))*100,5); VAR02:=(HHV(HIGH,25)-LLV(LOW,25))/EMA((CLOSE-LLV(LOW,25)),5); VAR03:=crOSS(VAR02,VAR01); VAR04:=REF(VAR02,2)<REF(VAR02,1) AND VAR02<REF(VAR02,1); VAR05:=COUNT(VAR03,7)>0 AND VAR04,STICK,LINETHICK2,COLORRED; VAR05 AND COUNT(VAR05,5)=1,LINETHICK2,COLORRED; {买入} V6:=CLOSE/REF(CLOSE,3)>=1.1; V7:=BacKSET(V6,3); 买入:IF((V7 AND COUNT(V7,3)=1),1,0),STICK,LINETHICK3,COLORYELLOW; DRAWTEXT(买入,1,'买入 '),STICK,LINETHICK3,COLORYELLOW;