黄金坑指标:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(黄金坑指标,3,1);{炒股公式-炒股指标www.gs6699.com}
D:=SMA(K,3,1);
J:=3*K-2*D;
STICKLINE(REF(J,7)<0 AND J>1,10,0,10,0),COLOR00FF00;
选股公式:=(CLOSE-LLV(LOW,45))/(HHV(HIGH,45)-LLV(LOW,45))*100;
ccfff2:=SMA(选股公式,3,1);
ccfff3:=SMA(ccfff2,3,1);
N:=13;M:=5;
ccfff4:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-
LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1);
ccfff5:=CROSS(ccfff4,10) AND ccfff3<N;
ccffa1:IF(ccfff5,90,1),COLORRED;
DRAWICON(ccfff5,65,1);
DRAWTEXT(ccfff5,30,'ccffa1'),COLORYELLOW;
ccffa2:IF(CROSS(10,ccfff4),40,1),COLORFF00FF;
DRAWICON(CROSS(10,ccfff4),45,1);
DRAWTEXT(IF(CROSS(10,ccfff4),1,0),20,'$ccffa2'),COLORWHITE;
ccffa3: 80,COLORRED,POINTDOT,LINETHICK2;
ccffa4: 50,COLORFFCCCC,POINTDOT,LINETHICK2;
ccffa5: 10,COLORFF00FF,POINTDOT,LINETHICK2;
ccfff6:=(2*CLOSE+HIGH+LOW)/4;
ccfff7:=LLV(LOW,M);
ccfff8:=HHV(HIGH,M);
ccfff9:=EMA((ccfff6-ccfff7)/(ccfff8-ccfff7)*100,13);
ccfffA:=EMA(0.667*REF(ccfff9,1)+0.333*ccfff9,2);
ccffa6: ccfff9,COLORYELLOW,LINETHICK2;
ccffa7: EMA(0.382*REF(ccfff9,2)+0.618*ccfff9,12),COLORBLUE;
STICKLINE(ccfff9>ccfffA,ccfff9,ccfffA,6,0),COLORRED;
STICKLINE(ccfff9<=ccfffA,ccfff9,ccfffA,6,0),COLOR00FF00;
ccfffB:=SUM(IF(CLOSE>REF(CLOSE,7),VOL,IF(CLOSE<REF(CLOSE,7),0-VOL,0)),0);
ccfffC:=SUMBARS(VOL,CAPITAL);
ccfffD:=IF(CLOSE>LLV(CLOSE,ccfffC),1,-1);
ccfffE:=IF(ccfffB>LLV(ccfffB,ccfffC),1,-1);
ccfffF:=ccfffD*ccfffE;
选股公式0:=IF(ccfffF=-1,1,0);
关注:IF(选股公式0 AND CLOSE=LLV(CLOSE,20) AND ccfff3<N,70,1),COLORFFCC66;
A1:=EMA(CLOSE,5);
A2:=EMA(CLOSE,10);
A3:=EMA(CLOSE,20);
A4:=EMA(CLOSE,40);
A5:=EMA(CLOSE,60);
I:=MA(BARSLAST(HIGH=HHV(HIGH,16))*IF(CLOSE<OPEN,VOL,1),3);
R:=MA(BARSLAST(LOW=LLV(LOW,18))*IF(CLOSE>OPEN,VOL,1),4);
ccffa9:=IF(I,0,1),COLORGREEN;
DRAWICON(ccffa9,90,2);