ADX+KD交易模型源码源码: TR:=SUM(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(LOW-REF(CLOSE,1))),14); HD:=HIGH-REF(HIGH,1); LD:=REF(LOW,1)-LOW; DMP:=SUM(IFELSE(HD0 HDLD,HD,0),14); DMM:=SUM(IFELSE(LD0 LDHD,LD,0),14); PDI:=DMP*100/TR; MDI:=DMM*100/TR;...
咨询内容: 问题一30分钟k线走势中,20均线走平开始上拐,kdj种的j值小于10; 5分钟中k线中j值小于5发出买入信号如何表示? 问题二':日k线下,10天内kdj种的j值出现过一次小于-2的,而30分钟kdj已经出现kdj背离,金叉时在k线最低价处在显示向上的红箭头,谢谢! 赢顺技...
一、模型算法 开盘后1小时,价格上穿前1小时高点,买入开仓 开盘后1小时,价格下穿前1小时低点,卖出开仓 二、模型源码 源码: HH:=VALUEWHEN(TIME=1000,HHV(HIGH,12)); LL:=VALUEWHEN(TIME=1000,LLV(LOW,12)); UPPERBAND:HH,BOLD,COLORRED; LOWERBAND:LL,BOLD,COLORGR...
咨询内容: 5日,10日,20日均线同时斜率大于零,开多仓。条件不符合,平仓。 5日,10日,20日均线同时斜率小于零,开空单。条件不符合,平仓。 这个怎么编成模型转换成程序化交易???? 赢顺技术人员: AA:MA(C,5)REF(MA(C,5),1)MA(C,10)REF(MA(C,10),1)MA(C,20)REF...
源码: QQ:=ISLASTBAR; DRAWTEXT(QQBACKSET(REF(CLOSE,2)/REF(OPEN,2)0.95REF(OPEN,1)REF(CLOSE,2)ABS(REF(OPEN,1)-REF(CLOSE,1))/REF(CLOSE,1)0.03CLOSE/OPEN1.05CLOSEREF(CLOSE,2),3),LOW,'早晨之星'); DRAWTEXT(QQBACKSET(REF(CLOSE,2)/REF(OPEN,2)1.03REF(OPEN,1)R...
咨询内容: 买入条件1 B1:= REF(CMA(C,10),1); 卖出条件1 S1:= REF(CMA(C,10),1); 买入条件2 B2:= REF(CMA(C,30),1); 卖出条件2 S2:= REF(CMA(C,30),1); 系统的规则如下: 1.当目前无因B1/S1条件的持仓,首次满足条件B1或S1信号时,买入或卖出1手;之后再有相同的信号...
参数: [N,1.000000,20.000000,5.000] 源码: TR:=MAX(MAX((HIGH-LOW),ABS(REF(CLOSE,1)-HIGH)),ABS(REF(CLOSE,1)-LOW)); R:=MA(TR,10); Z:=REF(HHV(HIGH,N),1); D:=REF(LLV(LOW,N),1); Z-CLOSE=2*R,SPK; CLOSE-D=2*R,BPK; 点击复制上述代码粘贴到到公式管理器...
文华WH3实用价值模型源码 DIFF : EMA(CLOSE,12) - EMA(CLOSE,6); DEA : EMA(DIFF,9); BB:IFELSE(BKPRICE0,BKPRICE,REF(C,BARSBK)); SS:IFELSE(SKPRICE0,SKPRICE,REF(C,BARSSK)); (CROSS(DIFF,DEA)BUYVOL=0)||(CBB+10BUYVOL=1),BK(1); (CROSS(DEA,DIFF)SELLVOL=0)||(CSS...
文华股指期货交易模型 : 源码: D:=0.2;WWW.CXH99.COM:C,NODRAW;(EVERY(ISUP,2)||H-L5*D)TIME1511,BK;(EVERY(ISDOWN,2)||H-L5*D)TIME1511,SK;EVERY(ISUP,2)||H-L5*D||TIME=1511,BP;EVERY(ISDOWN,2)||H-L5*D||TIME=1511,SP;AUTOFILTER 点击复制上述代码粘贴到到公式管...
文华30%资金开仓模型 SETDEALPERCENT(30); DIFF := EMA(CLOSE,SHORT) - EMA(CLOSE,LONG); DEA := EMA(DIFF,M); CROSS(DIFF,DEA),BPK; CROSS(DEA,DIFF),SPK; AUTOFILTER;...
模型源码如下 HX:=HHV(HIGH,3); LX:=LLV(LOW,3); H1:=IFELSE(HXREF(HX,1)HXREF(HX,2)HXREF(HX,4)LXREF(LX,1)LXREF(LX,3)LXREF(LX,5)OPENCLOSE(HHV(OPEN,0)-CLOSE)0,REF(HX,4),0); L1:=IFELSE(LXREF(LX,1)LXREF(LX,3)LXREF(LX,5)HXREF(HX,1)HXREF(HX,2)HXREF(HX,4)OPENC...
模型源码: MA5:=MA(C,5); MA10:=MA(C,10); HH:=VALUEWHEN(DATEREF(DATE,1),H); LL:=VALUEWHEN(DATEREF(DATE,1),L); NN:=BARSLAST(DATEREF(DATE,1))+1; HHH:=HHV(H,NN); LLL:=LLV(L,NN); MA5MA10TIME0902TIME1457CLOSEHH,BK; (TIME0902TIME1457CLOSE(LLL+HHH)/2)||TIME...
咨询内容: //同花顺缠论分笔及中枢主图源码 KU1:=IF(HIGH=HHV(HIGH,3),1,0); KD1:=IF(LOW=LLV(LOW,3),1,0); UL:=IF(REF(KU1,2)=1 AND REF(KU1,1)=0 AND KU1=0,REF(HIGH,2),REF(HIGH,2+BARSLAST(REF(KU1,2)=1 AND REF(KU1,1)=0 AND KU1=0))); DL:=IF(REF(KD1,2)=1 AND...
文华金蛇成交量指标源码: 选股源码:VAR0:=HOUR; VAR1:=VOL; VAR2:=VAR1/CAPITAL; VAR3:=BIGORDER(1,2) + BIGORDER(2,2); VAR4:=BIGORDER(1,2) - BIGORDER(2,2); VAR5:=VAR2 * VAR3 * 100; VAR6:=VAR2 * VAR4 * 100; IF VAR0 0 THEN BEGIN VOLUME:VAR1,VOLSTICK; END...
咨询内容: //{价格中枢-日内多空认同} AS:=(C*3+O+H+L)/6; XJ:=(AS+0.618*REF(AS,1)+0.382*REF(AS,2)+0.236*REF(AS,3)+0.146*REF(AS,4))/2.382; //{回调认同} HLX:=EMA(HHV(XJ,3),15); LLX:=EMA(LLV(XJ,3),15); CH=CROSS(XJ,HLX); CL:=CROSS(LLX,XJ); CHH:=BARSLAST(C...
参数:ZY[0 9999 10] ZS[0 99998] 适用于豆粕 一分钟线 只用于WH3版本,不能用于MYTRADE赢顺版 源码如下: JJX:SETTLE; OOJJ:=VALUEWHEN(DATEREF(DATE,1),JJX); KD:=JJXOOJJTIME=0905; KK:=JJXOOJJTIME=0905; DFS:=JJXOOJJTIME=0930; KFS:=JJXOOJJTIME=0930; DZS:=CBKP...
内容源码: VAR1:=HHV(HIGH,9)-LLV(LOW,9); VAR2:=HHV(HIGH,9)-CLOSE; VAR3:=CLOSE-LLV(LOW,9); VAR4:=VAR2/VAR1*100-70; VAR5:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100; VAR6:=(2*CLOSE+HIGH+LOW)/4; VAR7:=SMA(VAR3/VAR1*100,2,1); VAR8:=LLV(LOW,34);...
咨询内容: input:N1(55,6,99),N2(20,2,99); LC:=REF(CLOSE,1); TR:=MAX((HIGH - LOW),MAX((HIGH - LC),(LC - LOW))); ATR:=SMA(TR,20,1); AA:=(HHV(HIGH,N1) - (2 * ATR)); BB:=CROSS(CLOSE,REF(HHV(HIGH,55),1)); SSS:=CROSS(MIN(MA(CLOSE,13),AA),CLOSE); BBB:=BARS...
咨询内容: 老师,我想在下面公式划的五根线后面标注价格,能不能帮忙改一下?谢谢了 ZC:=VALUEWHEN(DATEREF(DATE,1),REF(C,1)); C9:=VALUEWHEN(TIME=959,C); C10:=VALUEWHEN(TIME=1059,C); C11:=VALUEWHEN(TIME=1129,C); C13:=VALUEWHEN(TIME=1359,C); //A:IFELSE(TIM...
咨询内容: 我一直用博易大师里的多空线做单。但博易大师看以前的看不久。所以我想用文华看,谁能帮我做一下多空线的指标到文华里来。谢谢 文华技术人员: 您可以提供下多空线的源码,我们看是否可以为您改写。 文华客服: A:=(3*C+L+O+H)/6; B:(20*A+19*REF(A,1)+18*R...