关于临界起涨点主图的改进 和选股公式(源码 有图 说明 思路)
{DRAWBAND(MA(CLOSE,5),RGB(140,42,43),MA(CLOSE,24),RGB(31,72,46));
DRAWKLINE(H,O,L,C);}
TJ:=VOL>=REF(V,1)*1.91 AND C>REF(C,1)*1.01;
{DRAWTEXT(TJ,LOW*0.986,'↖高量柱'),COLORYELLOW;}
STICKLINE(TJ,OPEN,CLOSE,1.5,0),COLORYELLOW;
K1:=SUMBARS(TJ,1);
STICKLINE(K1,REF(C,K1-1),REF(C,K1-1),10,0),COLORYELLOW;
M:=88;N1:=6;VAR0A:=EMA(EMA(EMA(CLOSE,2),2),2);MA13:(MA(VAR0A,13)*0.99),COLORYELLOW;
TLAMSENR:=MAX(MAX((HIGH-LOW),ABS((REF(CLOSE,1)-HIGH))),ABS((REF(CLOSE,1)-LOW)));
ATR:=MA(TLAMSENR,13);VAR1A:=(REF(CLOSE,1)-REF(ATR,1));
黄金线:(HHV(VAR1A,12)),LINETHICK2,COLOR0080FF;VAR1:=EMA(AMOUNT/VOL/100,3);
控盘成本:EMA(VAR1,M),LINETHICK1,COLORRED;低吸伏击:EMA(VAR1,M)*0.85,COLORCYAN ,LINETHICK1;
走势铁底:低吸伏击*0.87,LINETHICK1,COLORLIMAGENTA;VAR2:=LOW<=走势铁底 AND CLOSE>REF(CLOSE,1)*1.02;
IF(控盘成本<REF(控盘成本,1),控盘成本,DRAWNULL),LINETHICK1,COLORGREEN;DRAWICON(FILTER(VAR2,N1),L-0.55,5);
DRAWICON(CROSS(MA13,黄金线)AND MA13>REF(MA13,1),L,1);
DRAWICON(CROSS(黄金线,MA13)AND MA13>REF(MA13,1),L,1);
{涨跌停显示}
涨停:=IF((C-REF(C,1))*100/REF(C,1)>=(10-0.01*100/REF(O,1)),1,0);
STICKLINE(涨停,O,C,3,0),COLORRED;
ZDF:=(C-REF(C,1))/REF(C,1)*100;
STICKLINE(ZDF<-9.9,O,C,3,0),COLORGREEN;
选股公式为:VAR0A:=EMA(EMA(EMA(CLOSE,2),2),2);
MA13:=(MA(VAR0A,13)*0.99),COLORYELLOW;
TLAMSENR:=MAX(MAX((HIGH-LOW),ABS((REF(CLOSE,1)-HIGH))),ABS((REF(CLOSE,1)-LOW)));
ATR:=MA(TLAMSENR,13);VAR1A:=(REF(CLOSE,1)-REF(ATR,1));
黄金线:=(HHV(VAR1A,12)),LINETHICK2,COLOR0080FF;VAR1:=EMA(AMOUNT/VOL/100,3);
XG:DRAWICON(CROSS(MA13,黄金线)AND MA13>REF(MA13,1),L,1)OR DRAWICON(CROSS(黄金线,MA13)AND MA13>REF(MA13,1),L,1);
- 上一篇公式:黄底买进,蓝顶买出的主图(源码 贴图)
- 下一篇公式:转最全分时叠加指标(大盘+板块+概念+地域