T加1指标编写思路为 今天介入次日冲高抛出.两天套利的一种优秀超短线炒股指标 T加1操盘家炒股指标编写要求较高.编写条件十分苛刻.计算也较为复杂 因此 在编写这套指标时 我们将攻击状态强升型的波段短线当成超短线操作 通常情况下 T加1操盘家第二天冲高卖一半.还有半仓在第二天第三天或N天左右抛出 因为后面还会有一个长长的波段 新股民在看不懂个股的情况下也可以第二天冲高抛出
{副图指标源码}
{VOL基本}
V5:=MA(V,5);
VOL趋势:=V5>REF(V5,1);
{MACD基本}
DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);DEA:=EMA(DIF,9);
MACD形态:=DIF>REF(DIF,1) AND DEA>REF(DEA,1);
{均线形态}
MA5:=MA(C,5);
MA10:=MA(C,10);
MA21:=MA(C,21);
MA55:=MA(C,55);
MA144:=MA(C,144);
MA250:=MA(C,250);
均线形态:=(MA5>REF(MA5,1) AND MA10>REF(MA10,1) AND MA21>REF(MA21,1) AND MA55>MA144 AND MA55>MA250)*(0.2);
{KDJ基本}
N:=9;M1:=3;M2:=3;
RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
K:=SMA(RSV,M1,1);
D:=SMA(K,M2,1);
J:=3*K-2*D;
KDJ形态:=J>REF(J,1) AND K>REF(K,1) AND D>REF(D,1);
{趋势}
AL:=(C+L+H+O)/4;
A71:=EMA(AL,1)-EMA(AL,60);
A72:=(EMA(A71,3)-EMA(A71,20));
A73:=(EMA(A72,3)-EMA(A72,5))*100;
M5:=SUM(A73,0);
M10:=MA(M5,5);
M20:=MA(M10,5);
精准趋势:=M5>=0 AND M5>REF(M5,1) AND M10>REF(M10,1) AND M20>REF(M20,1);
{市盈率}
市盈率:=C/FINANCE(33)<100;
去除ST:=EXIST(C/REF(C,1)>1.055,60);
去除停牌:=DYNAINFO(4)>0;
ZF1:=(C-REF(C,1))/REF(C,1)*100;
LB:=V/REF(MA(V,5),1);
LTP:=CAPITAL/1000000;
T加1操盘家:(ZF1>=1.2 AND LB>2 AND LTP<10 AND MACD形态 AND 均线形态 AND KDJ形态 AND 市盈率 AND 去除ST AND 去除停牌 AND 精准趋势);
DRAWTEXT(T加1操盘家,0.9000,'第二天冲高走或减仓持股到^_^'),COLORRED;
{选股公式源码}
{VOL基本}
V5:=MA(V,5);
VOL趋势:=V5>REF(V5,1);
{MACD基本}
DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIF,9);
MACD形态:=DIF>REF(DIF,1) AND DEA>REF(DEA,1);
{均线形态}
MA5:=MA(C,5);
MA10:=MA(C,10);
MA21:=MA(C,21);
MA55:=MA(C,55);
MA144:=MA(C,144);
MA250:=MA(C,250);
均线形态:=(MA5>REF(MA5,1) AND MA10>REF(MA10,1) AND MA21>REF(MA21,1) AND MA55>MA144 AND MA55>MA250)*(0.2);
{KDJ基本}
N:=9;M1:=3;M2:=3;
RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
K:=SMA(RSV,M1,1);
D:=SMA(K,M2,1);
J:=3*K-2*D;
KDJ形态:=J>REF(J,1) AND K>REF(K,1) AND D>REF(D,1);
{趋势}
AL:=(C+L+H+O)/4;
A71:=EMA(AL,1)-EMA(AL,60);
A72:=(EMA(A71,3)-EMA(A71,20));
A73:=(EMA(A72,3)-EMA(A72,5))*100;
M5:=SUM(A73,0);
M10:=MA(M5,5);
M20:=MA(M10,5);
精准趋势:=M5>=0 AND M5>REF(M5,1) AND M10>REF(M10,1) AND M20>REF(M20,1);
{市盈率}
市盈率:=C/FINANCE(33)<100;
去除ST:=EXIST(C/REF(C,1)>1.055,60);
去除停牌:=DYNAINFO(4)>0;
ZF1:=(C-REF(C,1))/REF(C,1)*100;
LB:=V/REF(MA(V,5),1);
LTP:=CAPITAL/1000000;
T加1操盘家:(ZF1>=1.2 AND LB>2 AND LTP<10 AND MACD形态 AND 均线形态 AND KDJ形态 AND 市盈率 AND 去除ST AND 去除停牌 AND 精准趋势);