N:=15;N1:=8;N2:=-26;N3:=-40;
量化模型选股:=MA(CLOSE, 5);
指标公式:=MA(CLOSE, 10);
dssss4:=MA(CLOSE, 20);
dssss5:=MA(CLOSE, 30);{炒股公式-炒股指标www.gs6699.com}
dssss6:=(量化模型选股+指标公式+dssss4+dssss5)/4;
dssss7:=(dssss6-REF(dssss6,N))/REF(dssss6,N)*100;
dssss8:=(dssss6-REF(dssss6,N))/REF(dssss6,N)*100;
dssss9:=EMA(dssss7,N1);
dssa1:STICKLINE(dssss9>1*REF(dssss9, 1), dssss7, 0, 5, 0), COLOREE00EE;
dssa2:STICKLINE(dssss7>1*REF(dssss7, 1), dssss7, dssss9, 5, 0), COLORRED;
dssa3:STICKLINE(dssss7<1*REF(dssss7, 1), dssss7, dssss9, 5, 1), COLORGREEN;
dssa6:STICKLINE(dssss7<1*REF(dssss7, 1) AND dssss9>1*REF(dssss9, 1), dssss7, dssss9, 10, 0), COLOR00EEFF;
dssss10:=(CLOSE-MA(CLOSE, 58))/MA(CLOSE, 58)*100;
dssss11:=(dssss10>1*REF(dssss10, 1) AND dssss10<N2 AND dssss10>N3)*1.5;
dssss12:=VOL/CAPITAL*100;
dssss13:=LLVBARS(LOW, 50);
dssss14:=SUM(VOL, dssss13);
dssss15:=HHVBARS(HIGH, 50);
dssss16:=SUM(VOL, dssss15);
dssss17:=(CLOSE-REF(OPEN, dssss15))/REF(OPEN, dssss15)*100;
dssss18:=dssss16/CAPITAL*100;
dssss19:=(CLOSE-REF(OPEN, dssss13))/REF(OPEN, dssss13)*100;
量化模型选股0:=dssss14/CAPITAL*100;
量化模型选股1:=MA(CLOSE, 3);
量化模型选股2:=REF(CLOSE, 2)*0.865;
量化模型选股3:=REF(CLOSE, 13)*0.772;
量化模型选股4:=MIN(量化模型选股2, 量化模型选股3);
量化模型选股5:=MA(CLOSE, 13);
抄底王:IF((CLOSE-量化模型选股4)/CLOSE<0.030 AND dssss17<(-35) AND SUM(dssss12, 5)/5<1.800, 1, 0)*10, COLORWHITE;
DRAWTEXT(抄底王, 抄底王, ' '), COLORFFAA00;
量化模型选股6:=(CLOSE-REF(CLOSE, 1))/REF(CLOSE, 1)*100;
量化模型选股7:=(EMA(CLOSE, 12)-EMA(CLOSE, 26))*100;
量化模型选股8:=EMA(量化模型选股7, 9);
量化模型选股9:=2*(量化模型选股7-量化模型选股8);
DRAWTEXT(量化模型选股7<(-50) AND 量化模型选股6>7 AND 量化模型选股7<量化模型选股8, (-10), ''), COLORWHITE;
DRAWTEXT(量化模型选股7<(-50) AND 量化模型选股6>7 AND 量化模型选股7>=量化模型选股8, 5, ''), COLORWHITE;
STICKLINE(量化模型选股7<(-50) AND 量化模型选股6>7, 0,(-10), 5, 0), COLORFFFF66;