通达信系统指标公式.docx

上传人:豆**** 文档编号:23943078 上传时间:2022-07-02 格式:DOCX 页数:81 大小:1.49MB
返回 下载 相关 举报
通达信系统指标公式.docx_第1页
第1页 / 共81页
通达信系统指标公式.docx_第2页
第2页 / 共81页
点击查看更多>>
资源描述

《通达信系统指标公式.docx》由会员分享,可在线阅读,更多相关《通达信系统指标公式.docx(81页珍藏版)》请在taowenge.com淘文阁网|工程机械CAD图纸|机械工程制图|CAD装配图下载|SolidWorks_CaTia_CAD_UG_PROE_设计图分享下载上搜索。

1、Four short words sum up what has lifted most successful individuals above the crowd: a little bit more.-author-date通达信系统指标公式通达信系统指标公式通达信系统指标公式并非闲人编辑整理 2016年4月目 录目录2第一章 技术指标公式1第一节 大势型1第二节 超买超卖型3第三节 趋势型9第四节 能量型14第五节 成交量型16第六节 均线型19第七节 图表型22第八节 路径型23第九节 停损型25第十节 策略型25第十一节 神系28第十二节 龙系30第十三节 鬼系32第十四节 其他系

2、32第十五节 特色型37第二章 条件选股公式44第一节 指标条件选股44第二节 基本面选股49第三节 即时盘中选股50第四节 走势特征选股51第五节 形态特征选股57第三章 专家系统公式62第四章 五彩K线公式66-通达信系统指标公式第一章 技术指标公式第一节 大势型ABI 绝对广量指标ABI:100*ABS(ADVANCE-DECLINE)/(ADVANCE+DECLINE);MAABI:EMA(ABI,M);ADL 腾落指标ADL:SUM(ADVANCE-DECLINE,0);MAADL:MA(ADL,M);ADR 涨跌比率ADR:SUM(ADVANCE,N)/SUM(DECLINE,N)

3、;MAADR:MA(ADR,M);ARMS 阿姆氏指标ARMS:EMA(ADVANCE/DECLINE,N);MAARMS:MA(ARMS,M);BTI 广量冲力指标BTI:EMA(100*ADVANCE/(ADVANCE+DECLINE),N);MABTI:MA(BTI,M);MCL 麦克连指标DIF:=ADVANCE-DECLINE;EMA1:=EMA(DIF,N1);EMA2:=EMA(DIF,N2);MCL:EMA1-EMA2;MAMCL1:EMA1;MAMCL2:EMA2;MSI 麦氏综合指标(加密)OBOS 超买超卖指标OBOS:EMA(ADVANCE-DECLINE,N);MAO

4、BOS:MA(OBOS,M);STIX 指数平滑广量TBR:100*ADVANCE/(ADVANCE+DECLINE);MATBR:EMA(TBR,M);第二节 超买超卖型CCI 商品路径指标TYP:=(HIGH+LOW+CLOSE)/3;CCI:(TYP-MA(TYP,N)/(0.015*AVEDEV(TYP,N);KDJ 随机指标KDJRSV:=(CLOSE-LLV(LOW,N)/(HHV(HIGH,N)-LLV(LOW,N)*100;K:SMA(RSV,M1,1);D:SMA(K,M2,1);J:3*K-2*D;MFI 资金流量指标TYP := (HIGH + LOW + CLOSE)/

5、3;V1:=SUM(IF(TYPREF(TYP,1),TYP*VOL,0),N)/SUM(IF(TYP=0,DIF,0);VD:=IF(DIF0,-DIF,0);MAU1:=MEMA(VU,M1);MAD1:=MEMA(VD,M1);MAU2:=MEMA(VU,M2);MAD2:=MEMA(VD,M2);RSI10:MA(100*MAU1/(MAU1+MAD1),M1);RSI6:MA(100*MAU2/(MAU2+MAD2),M2);KD 随机指标KDRSV:=(CLOSE-LLV(LOW,N)/(HHV(HIGH,N)-LLV(LOW,N)*100;K:SMA(RSV,M1,1);D:SM

6、A(K,M2,1);SKDJ 慢速随机指标LOWV:=LLV(LOW,N);HIGHV:=HHV(HIGH,N);RSV:=EMA(CLOSE-LOWV)/(HIGHV-LOWV)*100,M);K:EMA(RSV,M);D:MA(K,M);UDL 引力线UDL:(MA(CLOSE,N1)+MA(CLOSE,N2)+MA(CLOSE,N3)+MA(CLOSE,N4)/4;MAUDL:MA(UDL,M);WR 威廉指标WR1:100*(HHV(HIGH,N)-CLOSE)/(HHV(HIGH,N)-LLV(LOW,N);WR2:100*(HHV(HIGH,N1)-CLOSE)/(HHV(HIGH

7、,N1)-LLV(LOW,N1);LWR 慢速威廉指标RSV:= (HHV(HIGH,N)-CLOSE)/(HHV(HIGH,N)-LLV(LOW,N)*100;LWR1:SMA(RSV,M1,1);LWR2:SMA(LWR1,M2,1);BIAS-QL 乖离率-传统版BIAS :(CLOSE-MA(CLOSE,N)/MA(CLOSE,N)*100;BIASMA :MA(BIAS,M);BIAS 乖离率BIAS1 :(CLOSE-MA(CLOSE,N1)/MA(CLOSE,N1)*100;BIAS2 :(CLOSE-MA(CLOSE,N2)/MA(CLOSE,N2)*100;BIAS3 :(C

8、LOSE-MA(CLOSE,N3)/MA(CLOSE,N3)*100;BIAS36 三六乖离BIAS36:MA(CLOSE,3)-MA(CLOSE,6);BIAS612:MA(CLOSE,6)-MA(CLOSE,12);MABIAS:MA(BIAS36,M);ACCER 幅度涨速ACCER:SLOPE(CLOSE,N)/CLOSE;CYD 承接因子CYDS:WINNER(CLOSE)/(VOL/CAPITAL);CYDN:WINNER(CLOSE)/MA(VOL/CAPITAL,N);CYF 市场能量CYF:100-100/(1+EMA(HSL,N);FSL 分水岭SWL:(EMA(CLOSE

9、,5)*7+EMA(CLOSE,10)*3)/10;SWS:DMA(EMA(CLOSE,12),MAX(1,100*(SUM(VOL,5)/(3*CAPITAL);ADTM 动态买卖气指标DTM:=IF(OPEN=REF(OPEN,1),0,MAX(OPEN-LOW),(OPEN-REF(OPEN,1);STM:=SUM(DTM,N);SBM:=SUM(DBM,N);ADTM:IF(STMSBM,(STM-SBM)/STM,IF(STM=SBM,0,(STM-SBM)/SBM);MAADTM:MA(ADTM,M);ATR 真实波幅MTR:MAX(MAX(HIGH-LOW),ABS(REF(CL

10、OSE,1)-HIGH),ABS(REF(CLOSE,1)-LOW);ATR:MA(MTR,N);DKX多空线MID:=(3*CLOSE+LOW+OPEN+HIGH)/6;DKX:(20*MID+19*REF(MID,1)+18*REF(MID,2)+17*REF(MID,3)+16*REF(MID,4)+15*REF(MID,5)+14*REF(MID,6)+13*REF(MID,7)+12*REF(MID,8)+11*REF(MID,9)+10*REF(MID,10)+9*REF(MID,11)+8*REF(MID,12)+7*REF(MID,13)+6*REF(MID,14)+5*REF

11、(MID,15)+4*REF(MID,16)+3*REF(MID,17)+2*REF(MID,18)+REF(MID,20)/210;MADKX:MA(DKX,M);TAPI 加权指数成交值(需下载日线)TAPI:AMOUNT/INDEXC;MATAIP:MA(TAPI,M);第三节 趋势型ASI 振动升降指标(加密)CHO 佳庆指标MID:=SUM(VOL*(2*CLOSE-HIGH-LOW)/(HIGH+LOW),0);CHO:MA(MID,N1)-MA(MID,N2);MACHO:MA(CHO,M);DMA 平均差DIF:MA(CLOSE,N1)-MA(CLOSE,N2);DIFMA:M

12、A(DIF,M);DMI 趋向指标MTR:=EXPMEMA(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1),ABS(REF(CLOSE,1)-LOW),N);HD :=HIGH-REF(HIGH,1);LD :=REF(LOW,1)-LOW;DMP:=EXPMEMA(IF(HD0&HDLD,HD,0),N);DMM:=EXPMEMA(IF(LD0&LDHD,LD,0),N);PDI: DMP*100/MTR;MDI: DMM*100/MTR;ADX: EXPMEMA(ABS(MDI-PDI)/(MDI+PDI)*100,MM);ADXR:EXPMEMA(ADX,M

13、M);DPO 区间震荡线DPO:CLOSE-REF(MA(CLOSE,N),N/2+1);MADPO:MA(DPO,M);EMV 简易波动指标VOLUME:=MA(VOL,N)/VOL;MID:=100*(HIGH+LOW-REF(HIGH+LOW,1)/(HIGH+LOW);EMV:MA(MID*VOLUME*(HIGH-LOW)/MA(HIGH-LOW,N),N);MAEMV:MA(EMV,M);MACD 平滑异同平均DIF:EMA(CLOSE,SHORT)-EMA(CLOSE,LONG);DEA:EMA(DIF,MID);MACD:(DIF-DEA)*2,COLORSTICK;VMACD

14、 量平滑异同平均DIF:EMA(VOL,SHORT)-EMA(VOL,LONG);DEA:EMA(DIF,MID);MACD:DIF-DEA,COLORSTICK;QACD 快速异同平均DIF:EMA(CLOSE,N1)-EMA(CLOSE,N2);MACD:EMA(DIF,M);DDIF:DIF-MACD;TRIX 三重指数平均线MTR:=EMA(EMA(EMA(CLOSE,N),N),N);TRIX:(MTR-REF(MTR,1)/REF(MTR,1)*100;MATRIX:MA(TRIX,M) ;UOS 终极指标TH:=MAX(HIGH,REF(CLOSE,1);TL:=MIN(LOW,

15、REF(CLOSE,1);ACC1:=SUM(CLOSE-TL,N1)/SUM(TH-TL,N1);ACC2:=SUM(CLOSE-TL,N2)/SUM(TH-TL,N2);ACC3:=SUM(CLOSE-TL,N3)/SUM(TH-TL,N3);UOS:(ACC1*N2*N3+ACC2*N1*N3+ACC3*N1*N2)*100/(N1*N2+N1*N3+N2*N3);MAUOS:EXPMEMA(UOS,M);VPT 量价曲线VPT:SUM(VOL*(CLOSE-REF(CLOSE,1)/REF(CLOSE,1),N);MAVPT:MA(VPT,M);WVAD 威廉变异离散量WVAD:SUM

16、(CLOSE-OPEN)/(HIGH-LOW)*VOL,N)/10000;MAWVAD:MA(WVAD,M);PAV 筹码引力(加密)DBQR 对比强弱ZS:(INDEXC-REF(INDEXC,N)/REF(INDEXC,N);GG:(CLOSE-REF(CLOSE,N)/REF(CLOSE,N);MADBQR1:MA(GG,M1);MADBQR2:MA(GG,M2);MADBQR3:MA(GG,M3);JS 加速线JS:100*(CLOSE-REF(CLOSE,N)/(N*REF(CLOSE,N);MAJS1:MA(JS,M1);MAJS2:MA(JS,M2);MAJS3:MA(JS,M3

17、);PAVE 强筹码引力(加密)CYE 市场趋势MAL:=MA(CLOSE,5);MAS:=MA(MA(CLOSE,20),5);CYEL:(MAL-REF(MAL,1)/REF(MAL,1)*100;CYES:(MAS-REF(MAS,1)/REF(MAS,1)*100;QR 强弱个股: (CLOSE-REF(CLOSE,N)/REF(CLOSE,N)*100; 大盘: (INDEXC-REF(INDEXC,N)/REF(INDEXC,N)*100; 强弱值:EMA(个股-大盘,2),COLORSTICK;GDX 鬼道线AA:=ABS(2*CLOSE+HIGH+LOW)/4-MA(CLOSE

18、,N)/MA(CLOSE,N); JAX:DMA(CLOSE,AA);压力线:(1+M/100)*JAX; 支撑线:(1-M/100)*JAX; JLHB 绝路航标VAR1:=(CLOSE-LLV(LOW,60)/(HHV(HIGH,60)-LLV(LOW,60)*80; B:SMA(VAR1,N,1); VAR2:SMA(B,M,1); 绝路航标:IF(CROSS(B,VAR2) AND BREF(CLOSE,1),N)/N*100;PSYMA:MA(PSY,M);VR 成交量变异率TH:=SUM(IF(CLOSEREF(CLOSE,1),VOL,0),N);TL:=SUM(IF(CLOSE

19、REF(CLOSE,1),VOL,0),N);TQ:=SUM(IF(CLOSE=REF(CLOSE,1),VOL,0),N);VR:100*(TH*2+TQ)/(TL*2+TQ);MAVR:MA(VR,M);WAD 威廉多空力度线MIDA:=CLOSE-MIN(REF(CLOSE,1),LOW);MIDB:=IF(CLOSEREF(CLOSE,1),MIDA,MIDB),0);MAWAD:MA(WAD,M);PCNT 幅度比PCNT:(CLOSE-REF(CLOSE,1)/CLOSE*100;MAPCNT:EXPMEMA(PCNT,M);CYR 市场强弱DIVE:=0.01*EMA(AMOUN

20、T,N)/EMA(VOL,N);CYR:(DIVE/REF(DIVE,1)-1)*100;MACYR:MA(CYR,M);NVI 负成交量(加密)PVI 正成交量(加密)第五节 成交量型AMO 成交金额AMO:AMOUNT,VOLSTICK;MAAMO1:MA(AMO,M1);MAAMO2:MA(AMO,M2);MAAMO3:MA(AMO,M3);OBV 累积能量线VA:=IF(CLOSEREF(CLOSE,1),VOL,-VOL);OBV:SUM(IF(CLOSE=REF(CLOSE,1),0,VA),0);MAOBV:MA(OBV,M);VOL 成交量VOLUME:VOL,VOLSTICK

21、;MAVOL1:MA(VOLUME,M1);MAVOL2:MA(VOLUME,M2);VOL-TDX 成交量(盘中虚拟)TOTAL:=IF(PERIOD=1,5,IF(PERIOD=2,15,IF(PERIOD=3,30,IF(PERIOD=4,60,IF(PERIOD=5,TOTALFZNUM,1);MTIME:=MOD(FROMOPEN,TOTAL);CTIME:=IF(MTIME1),VOL*TOTAL/CTIME,DRAWNULL),NODRAW;STICKLINE(CURRBARSCOUNT=1 AND DYNAINFO(8)1),VVOL,0,-1,-1),COLOR00C0C0;

22、VOLUME:VOL,VOLSTICK;MAVOL1:MA(VOLUME,M1);MAVOL2:MA(VOLUME,M2);CCL 持仓量(适用于期货)持仓量:VOLINSTK;MACCL:MA(持仓量,M);SHORTVOL 抛空量(适用于港股)抛空量:HKSHORTVOL,VOLSTICK;MACCL:MA(抛空量,M);VRSI 相对强弱量LC:=REF(VOL,1);RSI1:SMA(MAX(VOL-LC,0),N1,1)/SMA(ABS(VOL-LC),N1,1)*100;RSI2:SMA(MAX(VOL-LC,0),N2,1)/SMA(ABS(VOL-LC),N2,1)*100;R

23、SI3:SMA(MAX(VOL-LC,0),N3,1)/SMA(ABS(VOL-LC),N3,1)*100;HSL 换手线HSL:100*VOL/(FINANCE(7)/100);MAHSL:MA(HSL,N);HSCOL 换手柱HSCOL:100*VOL/(FINANCE(7)/100),VOLSTICK;MAHSL:MA(HSCOL,N);DBQRV 对比强弱量ZS:(INDEXV-REF(INDEXV,N)/REF(INDEXV,N);GG:(VOL-REF(VOL,N)/REF(VOL,N);DBLB 对比量比GG:=VOL/SUM(REF(VOL,1),N);ZS:=INDEXV/S

24、UM(REF(INDEXV,1),N);DBLB:GG/ZS;MADBLB:MA(DBLB,M);第六节 均线型MA 均线MA1:MA(CLOSE,M1);MA2:MA(CLOSE,M2);MA3:MA(CLOSE,M3);MA4:MA(CLOSE,M4);MA2 均线MA1:MA(CLOSE,M1);MA2:MA(CLOSE,M2);MA3:MA(CLOSE,M3);MA4:MA(CLOSE,M4);MA5:MA(CLOSE,M5);MA6:MA(CLOSE,M6);MA7:MA(CLOSE,M7);MA8:MA(CLOSE,M8);MA9:MA(CLOSE,M9);MA10:MA(CLOS

25、E,M10); ACD 升降线LC:=REF(CLOSE,1);DIF:=CLOSE-IF(CLOSELC,MIN(LOW,LC),MAX(HIGH,LC);ACD:SUM(IF(CLOSE=LC,0,DIF),0);MAACD:EXPMEMA(ACD,M);BBI 多空指标BBI:(MA(CLOSE,M1)+MA(CLOSE,M2)+MA(CLOSE,M3)+MA(CLOSE,M4)/4;EXPMA 指数平均线EXP1:EMA(CLOSE,M1);EXP2:EMA(CLOSE,M2);EXPMA-S 指数平均线-副图EXP1:EMA(CLOSE,M1);EXP2:EMA(CLOSE,M2);

26、HMA 高价平均线HMA1:MA(HIGH,M1);HMA2:MA(HIGH,M2);HMA3:MA(HIGH,M3);HMA4:MA(HIGH,M4);HMA5:MA(HIGH,M5); LMA 低价平均线LMA1:MA(LOW,M1);LMA2:MA(LOW,M2);LMA3:MA(LOW,M3);LMA4:MA(LOW,M4);LMA5:MA(LOW,M5); VMA 变异平均线VV:=(HIGH+OPEN+LOW+CLOSE)/4;VMA1:MA(VV,M1);VMA2:MA(VV,M2);VMA3:MA(VV,M3);VMA4:MA(VV,M4);VMA5:MA(VV,M5);AMA

27、 成本价均线AMOV:=VOL*(OPEN+CLOSE)/2;AMV1:SUM(AMOV,M1)/SUM(VOL,M1);AMV2:SUM(AMOV,M2)/SUM(VOL,M2);AMV3:SUM(AMOV,M3)/SUM(VOL,M3);AMV4:SUM(AMOV,M4)/SUM(VOL,M4);MCST 市场成本BBIBOLL 多空布林线CV:=CLOSE;BBIBOLL:(MA(CV,3)+MA(CV,6)+MA(CV,12)+MA(CV,24)/4;UPR:BBIBOLL+M*STD(BBIBOLL,N);DWN:BBIBOLL-M*STD(BBIBOLL,N);第七节 图表型ZXN

28、H 直线拟合(加密)ZX 重心线AV:0.01*AMOUNT/VOL;PUCU 逆时钟曲线PU:MA(CLOSE,N);CU:MA(VOL,N);第八节 路径型BOLL-M 布林线-主图叠加BOLL 布林线BOLL:MA(CLOSE,N);UB:BOLL+2*STD(CLOSE,N);LB:BOLL-2*STD(CLOSE,N);PXB 瀑布线PBX1:(EMA(CLOSE,M1)+MA(CLOSE,M1*2)+MA(CLOSE,M1*4)/3;PBX2:(EMA(CLOSE,M2)+MA(CLOSE,M2*2)+MA(CLOSE,M2*4)/3;PBX3:(EMA(CLOSE,M3)+MA(

29、CLOSE,M3*2)+MA(CLOSE,M3*4)/3;PBX4:(EMA(CLOSE,M4)+MA(CLOSE,M4*2)+MA(CLOSE,M4*4)/3;PBX5:(EMA(CLOSE,M5)+MA(CLOSE,M5*2)+MA(CLOSE,M5*4)/3;PBX6:(EMA(CLOSE,M6)+MA(CLOSE,M6*2)+MA(CLOSE,M6*4)/3;EXE 轨道线UPPER:(1+M1/100)*MA(CLOSE,N);LOWER:(1-M2/100)*MA(CLOSE,N);ENE:(UPPER+LOWER)/2;MIKE 麦克支撑压力HLC:=REF(MA(HIGH+LO

30、W+CLOSE)/3,N),1);HV:=EMA(HHV(HIGH,N),3);LV:=EMA(LLV(LOW,N),3);STOR:EMA(2*HV-LV,3);MIDR:EMA(HLC+HV-LV,3);WEKR:EMA(HLC*2-LV,3);WEKS:EMA(HLC*2-HV,3);MIDS:EMA(HLC-HV+LV,3);STOS:EMA(2*LV-HV,3);SSRP 筹码峰(加密)XS 薛斯通道(加密)XS2 薛斯通道AA:=MA(2*CLOSE+HIGH+LOW)/4,5); 通道1:AA*N/100; 通道2:AA*(200-N)/100; CC:=ABS(2*CLOSE+

31、HIGH+LOW)/4-MA(CLOSE,20)/MA(CLOSE,20); DD:=DMA(CLOSE,CC); 通道3:(1+M/100)*DD; 通道4:(1-M/100)*DD;第九节 停损型SAR 抛物线指标(加密)TDXWAVE 通达信趋势浪(加密)VTY 价格变异率(加密)第十节 策略型MA策略 MA交易策略该模型为示范模型,仅用于说明算法语法,用户需根据自己交易经验修改后再实际应用变量赋值MA1:=MA(CLOSE,SHORT);MA2:=MA(CLOSE,LONG);交易条件平空开多:=CROSS(MA1,MA2);平多开空:=CROSS(MA2,MA1);交易系统BUYSH

32、ORT_BUY(平空开多,LOW);SELL_SELLSHORT(平多开空,HIGH);交易信号过滤AUTOFILTER;MACD策略 MACD交易策略该模型为示范模型,仅用于说明算法语法,用户需根据自己交易经验修改后再实际应用DIFF:=EMA(CLOSE,SHORT)-EMA(CLOSE,LONG);DEA:=EMA(DIFF,MID);MACD:=2*(DIFF-DEA);平空开多:=CROSS(MACD,0);平多开空:=CROSS(0,MACD);BUYSHORT_BUY(平空开多,LOW);SELL_SELLSHORT(平多开空,HIGH);AUTOFILTER;KDJ策略 KDJ

33、交易策略该模型为示范模型,仅用于说明算法语法,用户需根据自己交易经验修改后再实际应用RSV:=(CLOSE-LLV(LOW,N)/(HHV(HIGH,N)-LLV(LOW,N)*100;K:=SMA(RSV,M1,1);D:=SMA(K,M1,1);J:=3*K-2*D;平空开多:=CROSS(J,0);平多开空:=CROSS(100,J);BUYSHORT_BUY(平空开多,LOW);SELL_SELLSHORT(平多开空,HIGH);AUTOFILTER;肯特纳 肯特纳通道交易策略该模型为示范模型,仅用于说明算法语法,用户需根据自己交易经验修改后再实际应用MA1:=REF(MA(HIGH+

34、LOW+CLOSE)/3,AVGLENGTH),1);UPPERBAND:=MA1+REF(MA(TR,ATRLENGTH),1);LOWERBAND:=MA1-REF(MA(TR,ATRLENGTH),1);开多条件:=MA1REF(MA1,1) AND HIGH=UPPERBAND;平多条件:=LOW=MA1;开空条件:=MA1REF(MA1,1) AND LOW=MA1;GL1:=NOT(开多条件=1 AND 平多条件=1);GL2:=NOT(开空条件=1 AND 平空条件=1);SELL(平多条件,HIGH);BUYSHORT(平空条件,LOW);BUY(开多条件 AND GL1,LO

35、W);SELLSHORT(开空条件 AND GL2,HIGH);AUTOFILTER;唐奇安 唐奇安通道交易策略该模型为示范模型,仅用于说明算法语法,用户需根据自己交易经验修改后再实际应用周期高点:=REF(HHV(H,X1),1);周期低点:=REF(LLV(L,X2),1);平空开多:=HIGH=周期高点;平多开空:=LOW=周期低点;BUYSHORT_BUY(平空开多,LOW);SELL_SELLSHORT(平多开空,HIGH);AUTOFILTER;日内突破 日内突破交易策略该模型为示范模型,仅用于说明算法语法,用户需根据自己交易经验修改后再实际应用变量赋值NBAR:=BARSLAST

36、(DATEREF(DATE,1)+1;HHN:REF(HHV(H,N),1);LLN:REF(LLV(L,N),1);MID:(HHN+LLN)/2;T1:=TIME900 AND TIME =1455;根据品种的交易时间和选择的周期做相应调整交易条件开多条件:=HHHN AND (HHN-MID)/MID=30 AND T1;开空条件:=LLLN AND (MID-LLN)/MID=30 AND T1;交易系统BUY(开多条件,LOW);SELLSHORT(开空条件,HIGH);SELL(T2,HIGH);BUYSHORT(T2,LOW);AUTOFILTER;HANS123 日内HANS交

37、易策略该模型为示范模型,仅用于说明算法语法,用户需根据自己交易经验修改后再实际应用变量赋值N:=BARSLAST(DATEREF(DATE,1)+1;HHH:=VALUEWHEN(TIME=900+NMIN1,HHV(H,N);LLL:=VALUEWHEN(TIME上轨;开空条件:=C900+NMIN1 AND TIME=1500-NMIN2;交易系统BUY(开多条件 AND 交易时间,LOW);SELLSHORT(开空条件 AND 交易时间,HIGH);SELL(平仓时间,HIGH);BUYSHORT(平仓时间,LOW);AUTOFILTER;第十一节 神系SG-XDT 心电图(需下载日线)

38、QR:CLOSE/INDEXC*1000;MQR1:MA(QR,5);MQR2:MA(QR,10);SG-NDB 脑电波HH:=IF(C/REF(C,1)1.093 AND LREF(H,1),2*C-REF(C,1)-H,2*C-H-L);V1:=BARSCOUNT(C);V2:=2*REF(C,V1)-REF(H,V1)-REF(L,V1);DK:SUM(HH,0)+V2;MDK5:MA(DK,P1);MDK10:MA(DK,P2);SG-SMX 生命线(需下载日线)H1:=HHV(HIGH,N);L1:=LLV(LOW,N);H2:=HHV(INDEXH,N);L2:=LLV(INDEX

39、L,N);ZY:=CLOSE/INDEXC*2000;ZY1:EMA(ZY,3);ZY2:EMA(ZY,17);ZY3:EMA(ZY,34);SG-LB 量比(需下载日线)ZY2:=VOL/INDEXV*1000;量比:ZY2;MA5:MA(ZY2,5);MA10:MA(ZY2,10);SG-PF 强势股评分(需下载日线)ZY1:=CLOSE/INDEXC*1000;A1:=IF(ZY1HHV(ZY1,3),10,0);A2:=IF(ZY1HHV(ZY1,5),15,0);A3:=IF(ZY1HHV(ZY1,10),20,0);A4:=IF(ZY1HHV(ZY1,2),10,0);A5:=COUNT(ZY1REF(ZY1,1) ,9)*5;强势股评分:A1+A2+A3+A4+A5;第十二节 龙系RAD 威力雷达SM:=(OPEN+HIGH+CLOSE+LOW)/4;SMID:=MA(SM,D);IM:=(INDEXO+INDEXH+INDEXL+INDEXC)/4;IMID:=MA(IM,D);SI1:=(SMID-REF(SMID,1)/SMID;II:=(IMID-REF(IMID,1)/IMID;RADER1:SUM(SI1-II)*2,S)*1000;RADERMA:SMA(RADE

展开阅读全文
相关资源
相关搜索

当前位置:首页 > 教育专区 > 小学资料

本站为文档C TO C交易模式,本站只提供存储空间、用户上传的文档直接被用户下载,本站只是中间服务平台,本站所有文档下载所得的收益归上传人(含作者)所有。本站仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。若文档所含内容侵犯了您的版权或隐私,请立即通知淘文阁网,我们立即给予删除!客服QQ:136780468 微信:18945177775 电话:18904686070

工信部备案号:黑ICP备15003705号© 2020-2023 www.taowenge.com 淘文阁