同花顺中线宝指标公式

中线宝包含短线宝在内,是中线持有加短线波段的组合指标,追求收益最大化。短线宝信号出现后,要是在压力位,或者在热高位,注意风险,低位和中位信号可靠,成功率几乎百分之95.在牛市中行情或者多头行情中,买如重仓,在熊市或空头行情中轻仓。

DIF1:=EMA(DCLOSE,12)-EMA(DCLOSE,26);

DEA1:=EMA(DIF1,9);

AAA1:=(DIF1-DEA1)*2*60;

短线宝:CROSS(AAA1-REF(AAA1,1),7),coloryellow,nodraw;

STICKLINE(短线宝>0 AND 短线宝>=REF(短线宝,1),0,短线宝,6,0),coloryellow;

RSV:=(CLOSE - LLV(LOW,18))/(HHV(HIGH,18) - LLV(LOW,18))*100;

K:=EMA(RSV,3);

D:=EMA(K,3);

J:=(3*K-2*D);

关注:IF(J<=0,-J*0.08,0),LINETHICK0,nodraw,colormagenta;

STICKLINE(关注>0 AND 关注>=REF(关注,1),0,关注,8,0),colormagenta;

DRAWTEXT(关注,1.3,'短线买?'),colormagenta;

RSV1:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100;

RSV2:=(CLOSE-LLV(LOW,37))/(HHV(HIGH,37)-LLV(LOW,37))*100;

短线:=SMA(SMA(RSV1,3,1),3,1)+3*STD(CLOSE,21);

中线:=SMA(RSV2,5,1)+2*STD(CLOSE,37);

RSV3:=(CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100;

长线:=SMA(RSV3,5,1);

金坑:短线<20 AND 中线<20 AND 长线<20,colorwhite,nodraw;

STICKLINE(金坑>0 AND 金坑>=REF(金坑,1),0,金坑,2,0),colorwhite;

个股:=EMA(100*(C-LLV(LOW,34))/(HHV(H,34)-LLV(LOW,34)),3),color1010FF;

黑马:IF(CROSS(个股,9),1,0)*0.5,STICK,linethick6,coloryellow;

DRAWTEXT(CROSS(个股,9),0.8,'黑马!')*0.5,coloryellow;

DIFF : EMA(CLOSE,12) - EMA(CLOSE,26),colorwhite;

DEA : EMA(DIFF,9),coloryellow;

MACD=2*(DIFF-DEA);

Zero : =0;

gj:=MAX(C,O);

STICKLINE(MACD>0 AND MACD>=REF(MACD,1),0,MACD,2,0),color0000ff;

STICKLINE(MACD>0 AND MACD<REF(MACD,1),0,MACD,2,0),colorffff00;

STICKLINE(MACD<0 AND MACD>=REF(MACD,1),0,MACD,2,0),colorff00ff;

STICKLINE(MACD<0 AND MACD<REF(MACD,1),0,MACD,2,0),color00ff00;

A0:=DIFF<0 AND DEA<0;

A11:=A0>REF(A0,1);

A3:=BARSLAST(A11);

A4:=COUNT(DEA>0 AND DIFF >0,A3)=0;

A5:=CROSS(DIFF ,DEA);

A6:=BARSLAST(A5);

A7:=REF(A6,A6+1)+A6;

A8:=(DIFF+DEA)/2;

A9:=(HIGH+LOW)/2;

A10:=A5 AND A7<A3 AND A4 AND A8>REF(A8,A7) AND A9<REF(A9,A7) AND MACD>0;

DRAWTEXT(A10,DIFF*0.95,'★金叉买入'),coloryellow;

AA:=(O+H+L+C)/4;

A1:=HHV(AA,15);

A2:=LLV(AA,15);

A3:=A1-A2;

A4:=EMA((AA-A2)/A3,2)*9;

RSV:= (HHV(HIGH,3)-CLOSE)/(HHV(HIGH,3)-LLV(LOW,3))*10;

空:=SMA(RSV,2,1)/5;

多:=A4;

STICKLINE(空>1.3 AND 多<0.3 AND C*0.02<(EMA(C,5)-C),0,ABS(SMA(MAX(MACD,0),5,1)-ABS(MACD))*0.5,8,0),colorwhite;

抄底粗白:0,colorwhite;




未来函数检测结果如下:
该公式包含未来函数:DCLOSE
解密、定制、编写股票指标请联系QQ或微信同号:88652583
相关股票指标公式

联系我们  |  股票指标网  |  指标网   |  指标公式  |   加入收藏   |  设为主页

@2005-2023 粤ICP备2023063687号-2 股票指标网别名指标网仅为互联网文章,所有股票指标公式及文章仅供学习研究,并不构成投资建议,请勿以此为依据进行股票交易,由此引起的投资亏损与本站无关。股票指标网均来源互联网收集整理,如不慎侵犯了你的权益,请联系我们告知,我们将做删除处理
QQ:88652583 微信 88652583
sitemap站点地图