beyond202104 发表于 2023-4-18 11:15:39

通达信指标公式源码操盘线买卖指标





买线:=EMA(C,2);

卖线:=EMA(SLOPE(C,21)*20+C,42);

BU:=cross(买线,卖线);

SEL:=cross(卖线,买线);

drawtext(bu,LOW*0.989,'B'),colorred,linethick3;

DRAWTEXT(bu,LOW,''),Color208FFF,LINETHICK3;

DRAWTEXT(sel,HIGH,''),ColorFFFF00,LINETHICK3;

drawtext(sel,HIGH*1.0175,'S'),colorffff00,linethick3;

stickline(买线>=卖线,low,high,1,0),colorred;

stickline(买线>=卖线,close,open,4.5,0),color0000aa;

stickline(买线>=卖线,close,open,4,0),color0000cc;

stickline(买线>=卖线,close,open,3,0),color0000cc;

stickline(买线>=卖线,close,open,2,0),color0000ee;

stickline(买线<卖线,close,open,4.5,0),coloraaaa00;

stickline(买线<卖线,close,open,4,0),colorbbbb00;

stickline(买线<卖线,close,open,3,0),colorcccc00;

stickline(买线<卖线,close,open,2,0),coloreeee00;

stickline(买线<卖线,low,high,1,0),colorffff00;

stickline(cross(买线,卖线) or cross(卖线,买线),open,close,3,0),color00ffff;

指导线: EMA((EMA(CLOSE,4)+EMA(CLOSE,6)+EMA(CLOSE,12)+EMA(CLOSE,24))/4,2),linethick1,ColorFFffFF;

界: MA(CLOSE,27),linethick1,Color00FFFF;

DRAWTEXT(cross(指导线,界),界,''),Colorffffff;

DRAWTEXT(cross(界,指导线),界,''),Color00ffff;

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

K:=SMA(RSV,3,1);

D:=SMA(K,3,1);

J:=3*K-2*D;

G:=95;

DRAWTEXT(cross(J,D),L*0.999,''),Color00ffff,linethick4;

DRAWTEXT(cross(J,D),L,''),Color00ffff;

DRAWTEXT(cross(J,G),H*1.005,''),Colorffff00,linethick4;

DRAWTEXT(cross(J,G),H,''),Colorffff00;

风险提示:本指标公式仅作为知识分享,不构成任何投资建议,不作投资依据。





想不到918 发表于 2023-4-21 21:19:43

这是什么东东啊

JESUS60 发表于 2023-4-23 08:54:16

太棒了吧,真的很好

123457439 发表于 2023-5-7 03:06:53

好人啊!

拢不住的时光拢f 发表于 2023-5-29 20:18:14

谢谢楼主,共同发展

孤傲的旋律 发表于 2023-6-4 01:25:28

为你点赞

123458466 发表于 2023-6-11 09:45:39

我抢、我抢、我抢沙发~

小海海fjd 发表于 2023-7-27 08:23:27

我抢、我抢、我抢沙发~

落木萧萧329 发表于 2023-9-6 07:24:19

群众力量就是大,分享万岁!
页: [1]
查看完整版本: 通达信指标公式源码操盘线买卖指标