當前位置:首頁 » 操作系統 » 通達信軟體源碼

通達信軟體源碼

發布時間: 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:08:51 瀏覽:679
投影儀什麼配置好 發布: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