感恩612 发表于 2023-4-21 15:57:58

通达信指标公式源码实战操盘指标




MA20:MA(C,20),COLORMAGENTA;

牛熊界限:EMA(C,60),LINETHICK2;

买线:EMA(CLOSE,2),COLORBLUE;

卖线:EMA(((SLOPE(CLOSE,12) * 20) + CLOSE),43),DOTLINE,COLOR0099CC;

BBUY:=CROSS(买线,卖线);

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

STICKLINE((买线 >= 卖线),LOW,HIGH,0.4,0),COLORRED;

STICKLINE((买线 >= 卖线),CLOSE,OPEN,3,1),COLORRED;

STICKLINE((买线 >= 卖线),CLOSE,OPEN,2.6,1),COLORRED;

STICKLINE((买线 >= 卖线),CLOSE,OPEN,2,1),COLORRED;

STICKLINE((买线 >= 卖线),CLOSE,OPEN,1.3,1),COLORRED;

STICKLINE((买线 >= 卖线),CLOSE,OPEN,0.4,1),COLORRED;

STICKLINE((买线 < 卖线),LOW,HIGH,0.4,0),COLORFFFF00;

STICKLINE((买线 < 卖线),CLOSE,OPEN,3,1),COLOR777700;

STICKLINE((买线 < 卖线),CLOSE,OPEN,2.6,1),COLOR999900;

STICKLINE((买线 < 卖线),CLOSE,OPEN,2,1),COLORBBBB00;

STICKLINE((买线 < 卖线),CLOSE,OPEN,1.3,1),COLORDDDD00;

STICKLINE((买线 < 卖线),CLOSE,OPEN,0.4,1),COLORFFFF00;

STICKLINE((CROSS(买线,卖线)),OPEN,CLOSE,1.5,0),COLORYELLOW;

STICKLINE((CROSS(卖线,买线)),OPEN,CLOSE,1.5,0),COLORBLUE;

DRAWICON(BBUY,(LOW * 0.99),1);

DRAWICON(SEL,(HIGH * 1.01),2);

{VAR2:=SMA(ABS(LOW-VAR1),13,1)/SMA(MAX(LOW-VAR1,0),10,1);

VAR3:=EMA(VAR2,10);

VAR4:=LLV(LOW,33);

VAR5:=EMA(IF(LOW<=VAR4,VAR3,0),3);

主力进场:IF(VAR5>REF(VAR5,1),VAR5,0),COLORRED,NODRAW;

STICKLINE(VAR5>REF(VAR5,1),0,VAR5,3,0 ),COLOR000055;

STICKLINE(VAR5>REF(VAR5,1),0,VAR5,2.6,0 ),COLOR000077;

STICKLINE(VAR5>REF(VAR5,1),0,VAR5,2.1,0 ),COLOR000099;

STICKLINE(VAR5>REF(VAR5,1),0,VAR5,1.5,0 ),COLOR0000BB;

STICKLINE(VAR5>REF(VAR5,1),0,VAR5,0.9,0 ),COLOR0000DD;

STICKLINE(VAR5>REF(VAR5,1),0,VAR5,0.3,0 ),COLOR0000FF;

拉升:IF(VAR5<REF(VAR5,1),VAR5,0),COLORGREEN,NODRAW;

STICKLINE(VAR5<REF(VAR5,1),0,VAR5,3,0),COLOR005500;

STICKLINE(VAR5<REF(VAR5,1),0,VAR5,2.6,0),COLOR007700;

STICKLINE(VAR5<REF(VAR5,1),0,VAR5,2.1,0),COLOR009900;

STICKLINE(VAR5<REF(VAR5,1),0,VAR5,1.5,0),COLOR00BB00;

STICKLINE(VAR5<REF(VAR5,1),0,VAR5,0.9,0),COLOR00DD00;}

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


杨冉2017 发表于 2023-4-25 16:11:03

好好 学习了 确实不错

勇敢的飞蛾敢e 发表于 2023-5-1 02:20:14

看帖回帖是美德!:lol

我就是但丁徊 发表于 2023-5-5 16:25:28

帮帮顶顶!!

繁澕落浕该 发表于 2023-7-17 17:01:10

thanks for the sharing!

123458532 发表于 2023-7-21 06:59:34

过来看看的

wx123458sh2017 发表于 2023-8-6 15:30:00

一切尽在不言中,谢谢!

痞子蔡撒泼铺 发表于 2023-8-28 02:04:04

没看完~~~~~~ 先顶,好同志

曾经落红坪 发表于 2023-10-30 02:00:56

群众力量就是大,分享万岁!

人生回忆最美a 发表于 2023-10-31 21:50:32

如果想获取全部资源,怎么操作?
页: [1] 2
查看完整版本: 通达信指标公式源码实战操盘指标