版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進行舉報或認領(lǐng)
文檔簡介
1、通達信指標公式凝碼大""標準化小組ifhhmhgn#【通達信】魔鬼操盤(主圖)-指標公式源碼均 5:MA(CLOSE, 5)COLORYELLOW;均 10:MA(CLOSE, 10)COLORGREEN;均 30:MA(CLOSE, 30)COLORMAGENTA;均 60:MA(CLOSE, 60)C0L0RREDP0INTD0TLINETHICK3;均 250:MA(CLOSE, 250)C0L0RBLUELINETHICK2;魔鬼通道上:均 30+2*STD (CLOSE, 60) COLORYELLO%POINTDOTLINETHICK2;魔鬼通道下:均 30-2
2、*STD (CLOSE, 60) C0L0RYELL01AP0INTD0TLINETHICK2;VARI: = (CLOSE-LLV(LOW, 9)/(HHV(HIGH, 9)-LLV(LOW, 9)*100;VAR2:=SMA(VAR1,3, 1);VAR3: =SMA (VAR2, 3,1);VAR4:=VAR1*;VAR5:=MA(CLOSE, 5);VAR6: = (HHV(HIGH, 36)-CLOSE)/(HHV(HIGH, 36)-LLV(LOW, 36)*100;VAR7:=SMA(VAR6, 5,1);VAR8:=VOL>REF(VOL, 1);VAR9:=MA(V0L
3、/CAPITAL, 30)*MA(VOL, 60)/10000+MA(CLOSE, 30);【通達信】平均價格(主圖)-指標公式源碼A:=(3*C+H+L+O)/6;XJ: = (A+*REF(A, 1) +*REF(A, 2) +*REF(A, 3) +*REF(A, 4)/;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), 3
4、2)/4;SMH:EMA(YCZXH, 21), C0L0R004000;SML:EMA(YCZXL, 21), C0L0R004000;SMJ:(SML+SMH)/2, C0L0R004000;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;Al:=EMA(PJ, 3), C0L0R004000;A2:=EMA(PJ, 5), C0L0R004000;A3:=EMA(PJ, 7),
5、 C0L0R004000;A4:二EMA(PJ, 9), C0L0R004000;A5:=EMA(PJ, 11), C0L0R004000;LX:=REF(XJ, 1);ZD: = (SMA(MAX(XJ-LX, 0),5, D/SMA(ABS(XJ-LX),5, 1)*100;KX1:=(CLOSE>=OPEN)ANDZD>=50;KX2:=(CLOSE<OPEN)ANDZD>=50;KX3:=(CLOSE>=OPEN)ANDZD<50;KX4:=(CLOSE<OPEN)ANDZD<50;IF(A5<REF(A5, 1), A5, DRA
6、WNULL), C0L0R820000, LINETHICK2 IF(A5>REF(A5, 1),A5, DRAWLL), C0L0R00005B, LINETHICK2 IF(A4<REF(A4, 1), A4, DRAWLL), C0L0R8C0000, LINETHICK1 IF(A4>REF(A4, 1), A4, DRAWNULL), C0L0R000055, LINETHICK1 IF(A3<REF(A3, 1), A3, DRAWLL), C0L0R9B0000, LINETHICK1 IF(A3>REF(A3, 1), A3, DRAWNULL),
7、 C0L0R00006C, LINETHICK1 IF(A2<REF(A2, 1),A2, DRAWLL), COLORBBOOOO, LINETHICK1 IF(A2>REF(A2, 1), A2, DRAWLL), C0L0R00007D, LINETHICK1 IF(AKREF(Al, 1),A1, DRAWLL), COLORCCOOOO, LINETHICK1 IF(A1>REF(A1, 1), Al, DRAWLL), C0L0R00009B, LINETHICK1 STICKLINE(KX1, C, 0, 4, 1), C0L0R4440FF;STICKLINE
8、(KX1, C, H, 1), C0L0R4440FF;STICKLINE(KX1, 0, L, 1), C0L0R4440FF;STICKLINE(KX2, C, 0, 4, 0), C0L0R4440FF;STICKLINE(KX2, 0, H, 0), C0L0R4440FF;STICKLINE(KX2,C, L, 0), C0L0R4440FF;STICKLINE(KX3, C, 0, 4, 1), C0L0RFFFF33;STICKLINE(KX3, C, H, 1), C0L0RFFFF33;STICKLINE(KX3, 0, L, 1), C0L0RFFFF33;STICKLIN
9、E(KX4, C, 0, 4, 0), C0L0RFFFF33;STICKLINE(KX4, 0, H, 0), C0L0RFFFF33;STICKLINE(KX4, C, L, 0), C0L0RFFFF33;【通達信】牛勁十足(副圖)-指標公式源碼VAR1:=VOL/(HIGH-LOW)*2-ABS(CLOSE-OPEN);ZM:=IF(CLOSE>OPEN, VARI*(HIGH-LOW), IF(CLOSE<OPEN, VARI*(HIGH-OPEN) + (CLOSE-LOW) ),VOL/2), COLORRED, POINTDOT;ZM1:=IF(CLOSE>O
10、PEN, O-VAR1*(HIGH-CLOSE) + (OPEN-LOW), IF(CLOSE<OPEN, O-VARI*(HIGH-LOW) ,O-VOL/2), COLOROOFFOO, POINTDOT;MMB: = (SUM(ZM, 3O)+SUM(ZM1, 30) )/10, COLORYELLOW;SG:=MMB>OANDREF(MMB, 1)<MMB;上攻周期:COUNT (SG, 5), LINESTICK, COLORWHITE;JSC:二上攻周期1;DBQD:二FILTER(COUNT(JSC, 5)>3ANDN0T(JSC), 10);DRAWIC
11、ON(DBQD, 2, 1);DRAWBAND(上攻周期,RGB(255,120,120),3, RGB(O, 0, 0);DRAWBAND (JSC, RGB (0, 0, 255), RGB(O, 0,0);STICKLINE (COUNT (上攻周期>3, 5) >=3ANDSG, 0,上攻周期,0), COLORRED;XG: COUNT (COUNT (上攻周期>3, 5) >=3ANDSG, 20) >4;【通達信】魔鬼K線(副圖)-指標公式源碼VAR1:=REF(OPEN, 1);VAR2:=SMA (MAX (OPEN-VAR1, 0), 6, D
12、/SMA (ABS (OPEN-VAR1), 6, 1) *100;VAR3:=REF(CLOSE, 1);VAR4:=SMA(MAX(CL0SE-VAR3, 0), 6, 1)/SMA(ABS(CL0SE-VAR3), 6, 1)*100;VAR5:=REF(HIGH, 1);VAR6:=SMA(MAX(HIGH-VAR5, 0), 6, 1)/SMA(ABS(HIGH-VAR5), 6, 1)*100;VAR7:=REF(LOW, 1);VAR8:=SMA(MAX(L0W-VAR7, 0),6, D/SMA(ABS(L0W-VAR7),6, 1)*100;STICKLINE(VAR4<
13、;VAR2, VAR2, VAR4, 5, 0), COLORGREEN,;STICKLINE(VAR4>VAR2, VAR2, VAR4, 5, 0), COLORRED,;STICKLINE(VAR4>VAR2ANDVAR6>VAR8ANDVAR8>VAR4, VAR4, VAR6, 1), COLORRED,;STICKLINE(VAR4>VAR2ANDVAR6>VAR8ANDVAR8<VAR4, VAR4, VAR6, 1), COLORRED,;STICKLINE(VAR4>VAR2ANDVAR6<VAR8ANDVAR6>V
14、AR4, VAR4, VAR8, 1), COLORRED,;STICKLINE(VAR4>VAR2ANDVAR6>VAR8ANDVAR6<VAR2, VAR2, VAR8, 1), COLORRED,;STICKLINE(VAR4>VAR2ANDVAR6>VAR8ANDVAR6>VAR2, VAR2, VAR8, 1), COLORRED,;STICKLINE(VAR4>VAR2ANDVAR6<VAR8ANDVAR8<VAR2, VAR2, VAR6, 1), COLORRED,;STICKLINE(VAR4>VAR2ANDVAR6
15、<VAR8ANDVAR8>VAR2, VAR2, VAR6, 1), COLORRED,;STICKLINE(VAR4<VAR2ANDVAR6>VAR8ANDVAR6<VAR4, VAR4, VAR8, 1), COLORGREEN,; STICKLINE(VAR4<VAR2ANDVAR6<VAR8ANDVAR8<VAR4, VAR4, VAR6, 1), COLORGREEN,; STICKLINE(VAR4<VAR2ANDVAR6<VAR8ANDVAR6>VAR4, VAR4, VAR8, 1), COLORGREEN,;
16、STICKLINE(VAR4<VAR2ANDVAR6>VAR8ANDVAR6<VAR4, VAR2, VAR8, 1), COLORGREEN,;STICKLINE(VAR4<VAR2ANDVAR6>VAR8ANDVAR6>VAR4, VAR2, VAR8, 1), COLORGREEN,; STICKLINE(VAR4<VAR2ANDVAR6<VAR8ANDVAR8<VAR2, VAR2, VAR6, 1), COLORGREEN,; STICKLINE(VAR4<VAR2ANDVAR6<VAR8ANDVAR8>VAR2
17、, VAR2, VAR6, 1), COLORGREEN,;【通達信】牛熊分界(立樁量、中線)-指標公式源碼AAA: = (3*C+H+L+0)/6;VAR1: = (8*AAA+7*REF(AAA, 1)+6*REF(AAA, 2)+5*REF(AAA, 3)+4*REF(AA A, 4)+3*REF(AAA, 5)+2*REF(AAA, 6)+REF(AAA, 8)/36;VAR2: = (HHV(VARI, 5)+HHV(VARI, 10)+H HV (VARI, 20) )/3; VAR3: = (LLV(VAR1, 5)+LLV(VARl, 10)+LLV(VARI, 20) )/3
18、; VAR4: = (HHV (VAR2, 5)+HHV(VAR2, 10)+HHV(VAR2, 20)/3;VAR5: = (LLV(VAR3, 5)+LLV(VAR3, 10)+LLV(VAR3, 20)/3 ;VAR6: = (LLV(VARI, 2)+LLV(VAR1, 4)+LLV(VARI, 6)/3;DRAWBAND(VARI, RGB(155, 50, 50), VAR 6, RGB(250, 250, 0);短線:VARI, COLORWHITE;中線:VAR6, COLORYELLOW;金義:短線)中線 ANDREF(短線,1)=REF(中線,1), NODRAW;下跌:I
19、F(VARI二VAR6, VAR6, DRAWNULL), COLORGREEN;TJI:二VOL=HHV(VOL, 10)ANDVOL>2*REF(VOL,1)ANDCLOSE>VAR1;立樁量:=FILTER (TJ1, 5) ;TJ2:=IF(BARSLAST (立樁量)=1ANDCLOSE>REF(HIGH, 1), 1, IF(BARSLAST(立樁量)=2ANDCL0SE>REF (HIGH, 2), 1, IF (BARSLAST (立樁量)=3ANDCL0SE>REF (HIGH, 3), 1, 0);突 破:TJ2=1, NODRAW; STIC
20、KLINE (CLOSE, REF (HIGH, BARSLAST (立樁量),REF (HIGH, BARSLAST (立 樁量),1,0), COLORCYAN; STICKLINE (CLOSE, REF (LOW, BARSLAST (立樁量),REF (LOW, BARSLAST (立樁量),1, 0), COLORYELLOW;STICKLINE(0=0, C, 0, 3, 0), C0L0R000045;STICKLINE(0=0, C, 0, 0 ),C0L0R000065; STICKLINE (0=0, C, 0, 2, 0), C0L0R000085; STICKLINE
21、 (0=0, C, 0, 0), COLORO 000A5; STICKLINE (0=0, C, 0, 1,0), C0L0R0000C5; STICKLINE (0=0, C, 0, 0), C0L0R0000E5 ;ST ICKLINE (0=0, H, L, 0, 0), C0L0R0000F5; STICKLINE (C<0, C, 0, 3, 0), C0L0R353500; STICKLINE ( C<0, C, 0, 0), C0L0R454500; STICKLINE (C<0, C, 0, 2, 0), C0L0R555500; STICKLINE (C&
22、lt;0, C, 0, 0 ),C0L0R656500;STICKLINE(C<0, C, 0, 1,0), C0L0R757500;STICKLINE(C<0, C, 0, 0), C0L0R858 500;STICKLINE(C<0, H, L, 0, 0), C0L0R959500;ZRR: = (YEAR-1992)*365+INTPART(YEAR-1989)/4)+IF (MONTH二2, DAY+(MONTH-1)*31, DAY+INTPART(13*(MONTH+1)/5)-7+(MONTH-1)*28+IF(INTPART(YEAR/4)=YEAR/4,
23、1,0), NODRAW;!:=BARSLAST(ZRR-REF(ZRR, 1)>WEEKDAY-REF(WEEKDAY, 1)+1,NODRAW;T1:=REF(T, T)+T,NODRAW;T2:二REF(T, T1)+T1,NODRAW;T3:二REF( T, T2)+T2, NODRAW;T4:=REF(T, T3)+T3, NODRAW;T5:=REF(T, T4)+T4, NODRAW;T6:=REF(T, T5) +T5, NODRAW;T7:二REF(T, T6)+T6, NODRAW;T8:二REF(T, T7)+T7, NODRAW;周10:(REF(CLOSE, T
24、)+REF(CLOSE, H)+REF(CLOSE, T2)+REF(CLOSE, T3)+REF(CLOSE, T4)+REF(CL OSE, T5) +REF (CLOSE, T6) +REF (CLOSE, T7) +REF (CLOSE, T8) KLOSE) /IO, LINETHICK2;【通達信】牛準反彈(快線、慢線)-指標公式源碼N:二9;Ml:=3;M2:=3;P:=9;快線:=(CLOSE-LLV (LOW, N) / (HHV (HIGH, N) -LLV (LOW, N) )*100;慢線:二SMA (快線,ELI 空:二SMA (慢線,M2, 1);ELI 牛股:=I
25、F (BARSLAST (CROSS (慢線,ELI 空)PANDCROSS (慢線,ELI 空)AND 慢線<20, 90, 0);LC:=REF(CLOSE, 1);RSI: =SMA (MAX (CLOSE-LC, 0), D/SMA (ABS (CLOSE-LC), 1)*100;牛準反彈:=CROSS (RSI, 11)*80;XG:牛準反彈ORELI牛股;【通達信】啟動提示(平臺線、啟動線)-指標公式源碼啟動線:SUM (EMA (C+L) /2, 2), 5) /, COLORRED; 平衡線:LLV (SUM (EMA (C+L) /2, 2), 5)/, 4), COL
26、ORFFOOFF;平臺線:LLV (SUM (EMA(C+D/2, 2), 5)/, 10), COLORFFFFFF;強弱線:EMA(啟動線,21), COLORYELLOW;STICKLINE (平價線啟動線,啟動線,平臺線,,0), COLORFFCCAA;STICKLINE (平衡線啟動線,啟動線,平衡線,,0), COLORRED;VAR1:=2*MA(LLV(C+L)/2, 8)*, 13)-EMA(C+L)/2, 3)-(C+L)/2)*;VAR2: =IF(EMA(C+L)/2, 3)-VARl)*5>0, POW(EMA(C+L)/2, 3)-VARI)*5, 2)/10,- 1*POW(EMA(C+L)/2, 3)-VARI)*5, 2)/10);VAR3:=IF(VAR2>0, VAR2-0, 0);STICKLINE(VAR3>0ANDREF(VAR3, 1)=0AND(C+L)/2>MA(C+L)/2, 8), 強弱線,強弱線+, 4, 0), COLORFFAACC;DRAWTEXT(VAR3>0ANDREF(VAR3, 1)二OAND(C+L)/2>MA(C+L)/2, 8), 強弱線+,'注意控制'),LINETHICK3, COLORFFAACC;【通達信】
溫馨提示
- 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負責。
- 6. 下載文件中如有侵權(quán)或不適當內(nèi)容,請與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準確性、安全性和完整性, 同時也不承擔用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。
最新文檔
- 2024離婚財產(chǎn)分割協(xié)議公證與子女撫養(yǎng)權(quán)
- 2025年度水利工程招標投標廉潔保證協(xié)議3篇
- 2024物流公司與國際快遞公司之間的國際快遞服務(wù)合同
- 2024資產(chǎn)包居間合同協(xié)議書范本
- 2025年度智能倉儲物流園區(qū)物業(yè)管理合同4篇
- 2025年度綠色能源風力發(fā)電項目承包合同范本3篇
- 2025年度生態(tài)旅游區(qū)樹木承包合同范本4篇
- 2024經(jīng)濟合同范文集合
- 2025年度個人房屋轉(zhuǎn)租中介服務(wù)協(xié)議4篇
- 2025年度綠色校園豬肉配送服務(wù)合同3篇
- 安徽省淮南四中2025屆高二上數(shù)學期末統(tǒng)考模擬試題含解析
- 2025屆重慶南開中學數(shù)學高二上期末教學質(zhì)量檢測試題含解析
- 2024年重點信訪人員穩(wěn)控實施方案
- 保險專題課件教學課件
- 常見癥狀腹痛課件
- 《生活垃圾的回收與利用》(教案)-2024-2025學年四年級上冊綜合實踐活動教科版
- 汽車租賃行業(yè)的利潤空間分析
- 電商代運營合作協(xié)議書2024年
- 2024年中考英語閱讀理解D篇真題匯編(附答案)0117
- 牛津上海版小學英語一年級上冊同步練習試題(全冊)
- 多數(shù)據(jù)中心數(shù)據(jù)同步保存
評論
0/150
提交評論