很多朋友问公式对吗?准吗?还是那句话,股市没有绝对,正确的东西只能增加成功的概率,话不多说,直接见公式。更多炒股知识技巧,行情资讯,股票公式顶点牛股网topniugu

同花顺MACD强势指标公式

SHORT:=12;

LONG:=26;

M:=9;

DIFF : EMA(CLOSE,SHORT) – EMA(CLOSE,LONG);

DEA : EMA(DIFF,M);

MACD : 2*(DIFF-DEA);

Zero : 0;

斜率12:= REF(DIFF,1) – REF(DIFF,2);

斜率01:= DIFF – REF(DIFF,1);

DRAWTEXT(((斜率01 > 斜率12)AND(MACD>0)

AND (斜率12>0.0006)

// AND(REF(MACD,1)>MACD)

),DIFF,'强势↑'), colorlired;

DRAWTEXT(((斜率01 > 斜率12)AND(MACD>0)

AND(REF(MACD,1)>MACD)

AND (斜率12>0.0006)

),Zero ,'强势↑必买'), colorlired;

DRAWTEXT(((REF(DIFF,2)>REF(DIFF,1))AND(REF(DIFF,1)<DIFF)),DIFF,' ↑上攻'), colorgreen;

//IF((斜率01 > 斜率12) AND(MACD>0) )THEN BUY;

同花顺短线操作指标公式

N:=IF(BARSCOUNT(C)>=10,10,BARSCOUNT(C));

D1:=DATE;

DC:= IF(D1<20180131,1,0);

STICKLINE(C>=MA(C,N) AND DC,MA(C,N),MA(C,N*0.7),14,0),colorred;

//IF(D1<20180131,DRAWICON(C>=MA(C,N) AND REF(C,1) < MA(C,N),LOW,1),0);

STICKLINE(C<MA(C,N) AND DC,MA(C,N),MA(C,N*0.7),14,0),colorgreen;

//IF(D1<20180131,DRAWICON(C<MA(C,N) AND REF(C,1)>= MA(C,N),LOW,2),0);)

同花顺黄金布林主图指标公式

N:=26;

P:=2;

MID : MA(CLOSE,N);

UPPER: MID + P*STD(CLOSE,N);

LOWER: MID – P*STD(CLOSE,N);

MA5:MA(CLOSE,5);

MA250:MA(CLOSE,250);

晴天线S:MID+(UPPER-MID)*0.382;

晴天线X:MID-(MID-LOWER)*0.382;

MID:MA(C,20),colorred;

上升:IF(MID>REF(MID,1),MID,DRAWNULL),colorred,LINETHICK3;

下降:IF(MID<=REF(MID,1),MID,DRAWNULL),colorgreen,LINETHICK3

同花顺双线合一上涨指标公式

N1:=3;

N2:=21;

Var1:=HHV(HIGH,1*5);

Var2:=LLV(LOW,1*5);

二线分开空仓: SMA((CLOSE-Var2)/(Var1-Var2),8,1)*100,colorgreen;

二线合一持股: EMA(HHV(二线分开空仓,3),1),colorred,linethick2;

s:n1,DOTLINE,colorgreen;

b:n2,DOTLINE,colorred;

相关推荐