当前位置:首页 » 操作系统 » 通达信软件源码

通达信软件源码

发布时间: 2025-01-17 23:41:48

㈠ 通达信指标公式源码

通达信指标公式源码:

A:=(3*C+H+L+O)/6;

XJ:=(A+0.618*REF(A,1)+0.382*REF(A,2)+0.236*REF(A,3)+0.146*REF(A,4))/2.382;

YCZXH:=(MA(HHV(A,2),5)+MA(HHV(A,2),13)+MA(HHV(A,2),21)+MA(HHV(A,2),32))/4;

YCZXL:=(MA(LLV(A,2),5)+MA(LLV(A,2),13)+MA(LLV(A,2),21)+MA(LLV(A,2),32))/4;

SMH:EMA(YCZXH,21),COLOR004000;

SML:EMA(YCZXL,21),COLOR004000;

SMJ:(SML+SMH)/2,COLOR004000;

PJ:=(10*A+9*REF(A,1)+8*REF(A,2)+7*REF(A,3)+6*REF(A,4)+5*REF(A,5)+4*REF(A,6)+3*REF(A,7)+2*REF(A,8)+REF(A,9))/55;

A1:=EMA(PJ,3),COLOR004000;

A2:=EMA(PJ,5),COLOR004000;

A3:=EMA(PJ,7),COLOR004000;

A4:=EMA(PJ,9),COLOR004000;

A5:=EMA(PJ,11),COLOR004000;LX:=REF(XJ,1);

ZD:=(SMA(MAX(XJ-LX,0),5,1)/SMA(ABS(XJ-LX),5,1))*100;

KX1:=(CLOSE>=OPEN)ANDZD>=50;

KX2:=(CLOSE=50;

KX3:=(CLOSE>=OPEN)ANDZD<50;

KX4:=(CLOSE

IF(A5

IF(A5>REF(A5,1),A5,DRAWNULL),COLOR00005B,LINETHICK2;

IF(A4

IF(A4>REF(A4,1),A4,DRAWNULL),COLOR000055,LINETHICK1;

IF(A3

IF(A3>REF(A3,1),A3,DRAWNULL),COLOR00006C,LINETHICK1;

IF(A2

IF(A2>REF(A2,1),A2,DRAWNULL),COLOR00007D,LINETHICK1;

IF(A1

IF(A1>REF(A1,1),A1,DRAWNULL),COLOR00009B,LINETHICK1;

STICKLINE(KX1,C,O,4,1),COLOR4440FF;

STICKLINE(KX1,C,H,0.5,1),COLOR4440FF;

STICKLINE(KX1,O,L,0.5,1),COLOR4440FF;

STICKLINE(KX2,C,O,4,0),COLOR4440FF;

STICKLINE(KX2,O,H,0.5,0),COLOR4440FF;

STICKLINE(KX2,C,L,0.5,0),COLOR4440FF;

STICKLINE(KX3,C,O,4,1),COLORFFFF33;

STICKLINE(KX3,C,H,0.5,1),COLORFFFF33;

STICKLINE(KX3,O,L,0.5,1),COLORFFFF33;

STICKLINE(KX4,C,O,4,0),COLORFFFF33;

STICKLINE(KX4,O,H,0.5,0),COLORFFFF33;

STICKLINE(KX4,C,L,0.5,0),COLORFFFF33;

㈡ 绮鹃夐氲揪淇¤蒋浠舵寚镙囨洿鏂帮细鍓锲--钬沧垚浜ら噺钬濓纸婧愮爜锛

鍦ㄩ氲揪淇¤蒋浠朵腑锛屾垚浜ら噺鍓锲炬寚镙囧逛簬鎶曡祫钥呮潵璇存槸涓椤规瀬鍏蜂环鍊肩殑杈呭姪宸ュ叿銆备互涓嬫槸涓娈电簿阃夌殑婧愮爜锛岀敤浜庢瀯寤烘垚浜ら噺镄勫姩镐佸垎鏋:


VAR0: EMA(VOL, 20);

VAR1: VAR0 + 2 * STD(VOL, 10);

VAR2: VAR0 - 2 * STD(VOL, 10);

涓婅岄勮︾嚎: 褰揤AR1鍊奸珮浜庡墠涓浜ゆ槗镞VAR1镄勫兼椂锛孶PPER: STICKLINE(VAR1 > REF(VAR1, 1), VAR1, REF(VAR1, 1), 8, 0), COLORRED; 浼氢互绾㈣壊鏄剧ず锛屼负娼滃湪镄勪笂鍗囱秼锷挎彁渚涜呜夋彁绀恒


涓嬭屼缭鎶ょ嚎: 绫讳技鍦帮纴VAR2鍊奸珮浜庡墠涓浜ゆ槗镞ユ椂锛孡OWER: STICKLINE(VAR2 > REF(VAR2, 1), VAR2, REF(VAR2, 1), 8, 0), COLORRED; 浠ョ孩镩叉爣璁板彲鑳界殑锲炶皟鍖哄烟銆


镟存繁鍏ョ殑瀹氩埗: 鎸囨爣C1鍒癈39锛屽侰1: (3 * EMA(VARA1, 寤舵湡)) / 3锛屽埌C39: EMA(VARA1, 40 + 43 + 46) / 3锛屽垎鍒鏄剧ず涓嶅悓锻ㄦ湡镄勭Щ锷ㄥ钩鍧囩嚎锛岀敤浠ユ崟鎹変笉钖屾椂闂村昂搴︾殑瓒嫔娍鍙桦寲锛孡INETHICK3, COLOR0099FF 鍜 LINETHICK2, COLORBLUE 涓轰笉钖岄滆壊鍜岀嚎𨱒$矖缁嗗尯鍒嗐


杩欎簺瀹氩埗鍏寮忔棬鍦ㄥ府锷╂姇璧勮呭湪澶嶆潅甯傚満鐜澧冧腑锅氩嚭镟存槑鏅虹殑鍐崇瓥銆傝锋敞镒忥纴姝ゆ簮镰佷粎涓哄︿範镰旂┒鐩镄勮捐★纴闱炲晢涓氱敤阃锛屽苟涓斿彲鑳藉瓨鍦ㄤ竴浜涚紪镰侀梾棰桡纴濡傞渶绾夸笅鍜ㄨ㈠勭悊锛岃锋敞鏄庝富锲99銆佸坛锲1銆


閲嶈佹彁绀: 璇ユ寚镙囨彁渚涚殑淇℃伅浠呬緵鍙傝冿纴镓链夋姇璧勫喅绛栭渶镊琛屽垽鏂锛岄庨橹镊𨰾呫傜悊瑙e苟杩愮敤杩欎簺鎸囨爣镞讹纴璇峰姟蹇呯粨钖堟偍镄勪釜浜轰氦鏄撶瓥鐣ュ拰甯傚満鍒嗘瀽銆

热点内容
投影仪什么配置好 发布:2025-01-18 05:01:46 浏览:56
倾城密码有什么蛋糕 发布:2025-01-18 05:00:35 浏览:413
安卓应用锁是什么意思 发布:2025-01-18 04:59:57 浏览:908
mfc数据存储 发布:2025-01-18 04:59:05 浏览:570
今日头条as算法 发布:2025-01-18 04:53:05 浏览:6
设置js缓存时间 发布:2025-01-18 04:43:44 浏览:512
360路由怎么改密码 发布:2025-01-18 04:43:08 浏览:409
飞智手柄安卓手机如何 发布:2025-01-18 04:39:53 浏览:700
安卓手机收藏的东西在哪里找 发布:2025-01-18 04:16:19 浏览:8
安卓手机网络无法使用怎么办 发布:2025-01-18 04:12:55 浏览:364