股票论坛
标题:
请老师把亮剑,大牛改成通达信选股公式,谢谢
[打印本页]
作者:
夜谈天方
时间:
2016-7-21 16:49
标题:
请老师把亮剑,大牛改成通达信选股公式,谢谢
EMA5: EMA(C,5),COLORWHITE;
EMA13:EMA(C,13),COLORYELLOW;
EMA34:EMA(C,34),COLORF00FF0;
EMA55:EMA(C,55),COLORGREEN;
AA05:=EMA5;
角度1:=ATAN((AA05/REF(AA05,1)-1)*100)*180/3.1416;
AA051:=EMA13;
角度2:=ATAN((AA051/REF(AA051,1)-1)*100)*180/3.1416;
AA052:=EMA34;
角度3:=ATAN((AA052/REF(AA052,1)-1)*100)*180/3.1416;
IF(角度1>60,EMA5,DRAWNULL),COLORRED,LINETHICK1;
IF(角度2>45,EMA13,DRAWNULL),COLORRED,LINETHICK1;
IF(角度3>30,EMA34,DRAWNULL),COLORRED,LINETHICK1;
涨停:=IF(REF(C,1)*1.1-C<0.01 ,1,0);
STICKLINE (涨停, OPEN ,CLOSE,2.5,0),COLORYELLOW;
{亮剑“逗号”}
S1:=DMI.PDI;
S2:=S1>EMA(EMA(EMA(S1,2),2),2);
S3:= C/REF(C,1)>1.05;
DRAWTEXT(BETWEEN(DMI.PDI,37,45) AND S3 AND S2,L*0.98,'↖亮剑')COLORYELLOW;
{小牛}
DRAWTEXT(BETWEEN(DMI.PDI,45,50) AND S3 AND S2,L*0.98, '↖小牛'),COLORYELLOW;
{大牛}
DRAWTEXT(BETWEEN(DMI.PDI,50,53) AND S3 AND S2,L*0.98, '↖大牛'),COLORYELLOW;
{疯牛}
DRAWTEXT((DMI.PDI>53) AND S3 AND S2,L*0.98,'↖疯牛')COLORYELLOW;
{变盘}
DRAWTEXT(REF(DMI.ADX,1)>50 AND CROSS(REF(DMI.ADX,1),DMI.ADX),H*1.01,'↙变盘'),COLORMAGENTA;
{大顶}
DRAWTEXT(REF(DMI.PDI,1)>53 AND CROSS(REF(DMI.PDI,1),DMI.PDI),H*0.98, '←大顶'),COLORGREEN;
{大底}
DRAWTEXT(REF(DMI.PDI,1)<7 AND CROSS(DMI.PDI,REF(DMI.PDI,1)),L*1.02,'←大底'),COLORRED;
作者:
新人报道
时间:
2016-7-21 16:49
S1:=DMI.PDI;
S2:=S1>EMA(EMA(EMA(S1,2),2),2);
S3:= C/REF(C,1)>1.05;
BETWEEN(DMI.PDI,37,45) AND S3 AND S2
欢迎光临 股票论坛 (http://100000w.com/)
Powered by Discuz! X3.2