公式指标论坛

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索

单阳不破主图(大智慧版本)

2023-5-17 19:42| 发布者: admin| 查看: 40| 评论: 0

MA1:MA(CLOSE,5);
MA2:MA(CLOSE,60);

单阳涨幅:=4.5;
单阳量涨幅:=20;
单阳:=C>=O*(1+单阳涨幅/100) AND C>REF(C,1) AND VOL>REF(VOL,1)*(1+单阳量涨幅/100);
FT:=BARSLAST(单阳);
单阳L:=REF(L,FT);
单阳H:=REF(C,FT);
单阳V:=REF(V,FT);
ZF:=HHV(MAX(O,C),FT);
DF:=LLV(L,FT);
DV:=IF(FT=1,V*0.7,HHV(V,FT-1));
单阳不破:=ZF<单阳H*1.05 AND DF>单阳L AND FT>0 AND DV<单阳V AND FT<15;
YTSL:=(3*C+L+O+H)/6;
火线:(20*YTSL+19*REF(YTSL,1)+18*REF(YTSL,2)+17*REF(YTSL,3)+16*REF(YTSL,4)
+15*REF(YTSL,5)+14*REF(YTSL,6)+13*REF(YTSL,7)+12*REF(YTSL,8)+11*REF(YTSL,9)
+10*REF(YTSL,10)+9*REF(YTSL,11)+8*REF(YTSL,12)+7*REF(YTSL,13)+6*REF(YTSL,14)
+5*REF(YTSL,15)+4*REF(YTSL,16)+3*REF(YTSL,17)+2*REF(YTSL,18)+
REF(YTSL,20))/211,COLORFFFF00,LINETHICK2;
缩量:=V<单阳V/2;
缩量2:=V<单阳V/3;
DYBP:IF(单阳不破 ,单阳L,DRAWNULL),COLOR00FFFF,LINETHICK2;
DRAWTEXT(单阳,LOW*0.98,'阳');
菩提:=MEMA(H,20);
般:=MEMA(CLOSE,7),COLORBROWN;
若:=MEMA(CLOSE,3),COLORLIBLUE;
DRAWICON(LONGCROSS(般,若,0.25) AND 菩提>H ,L*0.98,1),COLORRED;
YM:=(H+O+L+3*C)/6;
XM:=EMA(100-(100/(1+SUM(IF(YM>REF(YM,1),YM*VOL,0),14)/SUM
(IF(YM ZM:=DRAWLINE(XM>=HHV(XM,4),XM,XM<=LLV(XM,4),XM,1);
TJ1:=XM=ZM;
TJ2:=XM DRAWTEXT(TJ1 AND TJ2,LOW*0.95,'买进'),COLORYELLOW;
趋势线:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1), , COLORBLUE;
DRAWTEXT(CROSS(趋势线,10),LOW*0.90,'底买'),COLORMAGENTA;
DRAWTEXT(TJ1 AND TJ2,LOW*0.95,ZM),COLORYELLOW;


鲜花

握手

雷人

路过

鸡蛋
返回顶部