beyond202104 发表于 2023-4-18 11:25:51

【通达信指标】通达信五彩峰登主图指标源码公式

通达信五彩峰登主图指标源码公式

A4:=MA(CLOSE,20);

A5:=(CLOSE>MA(CLOSE,5));

A6:=(MA(CLOSE,5)>MA(CLOSE,10));

A7:=(CLOSE>MA(CLOSE,10));

A8:=(MA(CLOSE,5)>MA(CLOSE,20));

A9:=(CLOSE>MA(CLOSE,20));

A10:=REF(A4,1);

A11:=(A4> A10);

AVX:=(((((IF(A5,10,(0 - 10)) + IF(A6,10,(0 - 10))) + IF(A7,10,(0 -10))) +

IF(A8,10,(0 - 10))) + IF(A9,10,(0 - 10))) + IF(A11,10,(0 -10)))+50,COLORFF00FF;

AAB:= AVX>=90;

BBBB:= AVX>=70 AND AVX<90;

DDB:= AVX>=50 AND AVX<70;

EEB:=AVX<50 AND AVX>=30;

FFB:=AVX<30;

STICKLINE(AAB,C,O,3.4,0),COLOR000088;

STICKLINE(AAB,C,O,3.0,0),COLOR000099 ;

STICKLINE(AAB,C,O,2.4,0),COLOR0000AA;

STICKLINE(AAB,C,O,2.0,0),COLOR0000BB ;

STICKLINE(AAB,C,O,1.2,0),COLOR0000DD;

STICKLINE(AAB,C,O,0.6,0),COLOR0000EE;

STICKLINE(AAB,H,L,0,0),COLOR0000FF;

STICKLINE(BBBB,C,O,3.4,0),COLOR880088;

STICKLINE(BBBB,C,O,3.0,0),COLOR990099;

STICKLINE(BBBB,C,O,2.4,0),COLORAA00AA;

STICKLINE(BBBB,C,O,2.0,0),COLORBB00BB;

STICKLINE(BBBB,C,O,1.2,0),COLORDD00DD;

STICKLINE(BBBB,C,O,0.6,0),COLOREE00EE;

STICKLINE(BBBB,H,L,0,0),COLORFF00FF;

STICKLINE(DDB,C,O,3.4,0),COLOR008888;

STICKLINE(DDB,C,O,3.8,0),COLOR00AA99;

STICKLINE(DDB,C,O,2.2,0),COLOR00BBBB;

STICKLINE(DDB,C,O,1.2,0),COLOR00CCDD;

STICKLINE(DDB,C,O,0.6,0),COLOR00EEEE;

STICKLINE(DDB,H,L,0,0),COLOR00EEFF;

STICKLINE(EEB,C,O,3.4,0),COLORAAAA00;

STICKLINE(EEB,C,O,2.8,0),COLORBBBB00;

STICKLINE(EEB,C,O,2.2,0),COLORCCCC00;

STICKLINE(EEB,C,O,1.2,0),COLORDDDD00;

STICKLINE(EEB,C,O,0.6,0),COLOREEEE00;

STICKLINE(EEB,H,L,0,0),COLORFFFF00;

STICKLINE(FFB,C,O,3.4,0),COLOR882200;

STICKLINE(FFB,C,O,2.8,0),COLOR995500;

STICKLINE(FFB,C,O,2.2,0),COLORAA7700;

STICKLINE(FFB,C,O,1.2,0),COLORDD8800;

STICKLINE(FFB,C,O,0.6,0),COLOREE9900;

STICKLINE(FFB,H,L,0,0),COLORFF9900;

底部:LLV(HIGH,30),COLOR00FFFF,LINETHICK1;

超跌:IF(ISLASTBAR,底部,DRAWNULL),COLORRED,LINETHICK2;

STICKLINE(ISLASTBAR ,超跌,超跌,60,0),LINETHICK2,COLORRED;

TT:=IF(ISLASTBAR,240/FROMOPEN,1);

NN:=120;

HH:=HHV(V*TT,NN);

LL:=LLV(V,NN);

最高:=CONST(HH);

最低:=CONST(LL);

最高2:=CONST(HHV(H,NN));

最低2:=CONST(LLV(L,NN));

PP:=IF((最高2*0.9-(最高2-最低2)*0.5)>CONST(LLV(L,20)),0.9,IF((最高2*0.9-(最高2-最低2)*0.5)>CONST(LLV(L,50)),0.7,0.6)),NODRAW;

RCC1:=最高2*0.9-(最高2-最低2)*PP;

最低3:=MIN(RCC1,最低2);

AAD:=最低3;

DRAWTEXT_FIX(1,0,0.0,0,'★★ 黄色线--底部线★★'),COLORFFFF00;

DRAWTEXT_FIX(C>O,0.01,0.9,0,'微信公众号:天地人股事汇'),COLORRED;

STICKLINE(AAB,AAD-0.000*AAD,AAD-0.030*AAD,4,0),COLORRED;

STICKLINE(BBBB,AAD-0.000*AAD,AAD-0.030*AAD,4,0),COLORFF00FF;

STICKLINE(DDB,AAD-0.0000*AAD,AAD-0.030*AAD,4,0),COLOR00FFFF;

STICKLINE(EEB,AAD-0.0*AAD,AAD-0.03*AAD,4,0),COLORFFFF00;

STICKLINE(FFB,AAD-0.0*AAD,AAD-0.03*AAD,4,1),COLORFF6600;

**** Hidden Message *****

IF(REF(MA20,1)>MA20,MA20,DRAWNULL),COLOR00FF00,LINETHICK3;

通达信指标图例








穿雨捶 发表于 2023-4-18 22:00:11

好好 学习了 确实不错

礼记离 发表于 2023-4-19 04:07:04

感谢楼主分享好资源

上海庐冠计算机 发表于 2023-4-19 04:08:35

只为积分!感谢!

123458513 发表于 2023-4-19 10:06:23

帮帮顶顶!!

一声叹息呜呜钟 发表于 2023-4-19 20:27:28

如果想获取全部资源,怎么操作?

天下非公呵 发表于 2023-4-21 10:18:16

写的真的很不错

123457191 发表于 2023-6-27 13:19:02

不容易啊!好东西!

Doris247 发表于 2023-7-15 18:12:51

thanks for the sharing!

开门查水门e 发表于 2023-7-16 15:22:53

沙发,多多点赞好好学习
页: [1] 2
查看完整版本: 【通达信指标】通达信五彩峰登主图指标源码公式