- UID
- 2
- 积分
- 2892487
- 威望
- 1396275 布
- 龙e币
- 1496212 刀
- 在线时间
- 13313 小时
- 注册时间
- 2009-12-3
- 最后登录
- 2024-12-25
|
几个东方财富好用的公式
- (一)长下影线选股 (该公式为长下影,下影线为实体线的4倍)
- (MIN(CLOSE,OPEN)-LOW)/( MAX(CLOSE,OPEN)-MIN(CLOSE,OPEN))>4;
- (二)红三兵选股(该公式为红三兵选股公式,参数N,1,100,5)
-
- A1:=C>O AND (C>REF(C,1) AND REF(C,1)>REF(C,2));
- A2:=V>REF(V,1) AND (REF(V,1)>REF(V,2));
- A3:=C>OPEN AND REF(C,1)>REF(OPEN,1) AND REF(C,2)>REF(OPEN,2);
- A4:=OPEN>REF(OPEN,1) AND OPEN
- A5:=REF(OPEN,1)>REF(OPEN,2) AND REF(OPEN,1)
- COUNT(A1 AND A2 AND A3 AND A4 AND A5,N)>=1;
- (三)锤头选股
- OUT:HIGH=MAX(OPEN,CLOSE)&&
- HIGH-LOW>5*(HIGH-MIN(OPEN,CLOSE))&&
- CLOSE
- (四)身怀六甲选股
- KSTAR:ABS(REF(CLOSE,1)-REF(OPEN,1))/REF(CLOSE,1)>0.04&&
- ABS(CLOSE-OPEN)/CLOSE<0.005&&
- MAX(CLOSE,OPEN)
- MIN(CLOSE,OPEN)>MIN(REF(CLOSE,1),REF(OPEN,1));
-
- (五)均线粘合1 (参数N:1,2,1.01)
- M1:=MA(CLOSE,5);
- M2:=MA(CLOSE,10);
- M3:=MA(CLOSE,20);
- M4:=MA(CLOSE,30);
- Y1:=MAX(MAX(MAX(M1,M2),M3),M4);
- X1:=MIN(MIN(MIN(M1,M2),M3),M4);
- 黏合:Y1/X1
- (六)均线粘合2
- AA:=MA(CLOSE,10);
- BB:=MA(CLOSE,60);
- CC:=MA(CLOSE,125);
- T1:=AA>BB AND BB>CC;
- DD:=MA(VOL,10);
- EE:=MA(VOL,60);
- FF:=MA(VOL,125);
- T2:=DD>EE AND EE>FF;
- DIF:=EMA(CLOSE,9)-EMA(CLOSE,18);
- DEA:=EMA(DIF,7);
- MACD:=2*(DIF-DEA);
- 金叉:CROSS(DIF,DEA) AND DIF<0.05;
- (七)均线粘合3 ((参数N:1,2,1.1))
- M1:=MA(CLOSE,5);
- M2:=MA(CLOSE,30);
- M3:=MA(CLOSE,125);
- Y1:=MAX(MAX(M1,M2),M3);
- X1:=MIN(MIN(M1,M2),M3);
- 黏合:Y1/X1
- (八)均线粘合4
- AA:=MA(CLOSE,10);
- BB:=MA(CLOSE,60);
- CC:=MA(CLOSE,125);
- T1:=AA<1.1*BB AND BB<1.1*CC;
- DD:=MA(VOL,10);
- EE:=MA(VOL,60);
- FF:=MA(VOL,125);
- T2:=DD>EE AND EE>FF;
- DIF:=EMA(CLOSE,9)-EMA(CLOSE,18);
- DEA:=EMA(DIF,7);
- MACD:=2*(DIF-DEA);
- 金叉:CROSS(DIF,DEA) AND DIF<0.05;
- (九)三十日跌半
- XG:(HHV(C,30)-C)/HHV(C,30)>0.3;
- (十)九日跌两成
- XG:(HHV(C,9)-C)/HHV(C,9)>0.2;
- (十一)43天反弹
- XG:ABS(C-MA(C,43))/MA(C,43)<0.01;
- (十二)老鸭头
- MA5 := MA(CLOSE,5);
- MA10 := MA(CLOSE,10);
- MA60 := MA(CLOSE,60);
- PDAY1 := BARSLAST(CROSS(MA5,MA60));{5日均线上穿60日均线}
- PDAY2 := BARSLAST(CROSS(MA10,MA60));{10日均线上穿60日均线,至此形成鸭颈部}
- PDAY3 := BARSLAST(HIGH=HHV(HIGH,PDAY2));{形成头部,要下跌}
- PDAY4 := BARSLAST(CROSS(MA10,MA5));{下跌后,5日均线和10日均线死叉}
- PDAY5 := BARSLAST(CROSS(MA5,MA10));{回落不久,5日均线和10日均线形成金叉,形成嘴部}
- A1:= PDAY1>PDAY2 AND PDAY2>PDAY3 AND PDAY3>PDAY4 AND PDAY4>PDAY5 AND PDAY5<5;
- A2:= COUNT(CROSS(MA10,MA5),PDAY2)=1;
- A1 AND A2;
- (十三)放量下跌
- XG:C0.04 AND V/REF(VOL,1)>=3;
- (十四)单日放量(M:1,100,15 N:1,10,2)
- A1:=MA(VOL,5);
- A2:=REF(A1,1);
- A2/VOL>N;
- (十五)单日放量2(M:1,100,2 N:1,10,4)
- A1:=MA(VOL,5);
- A2:=REF(A1,1);
- VOL/A2>N AND 100*VOL/CAPITAL>M;
- (十六)单日缩量(M:1,100,15 N:1,10,2)
- A1:=MA(VOL,5);
- (十七)三金叉
- {KDJ三金叉}
- MA5:=EMA(C,5);
- MA10:=EMA(C,10);
- MV5:=EMA(V,5);
- MV10:=EMA(V,10);
- K:="KDJ.K"(9,3,3);
- D:="KDJ.D"(9,3,3);
- V1:=MA5>REF(MA5,1) AND MA10>REF(MA10,1) AND C>REF(C,1) AND C/O>1.01;
- VV1:=MV5>REF(MV5,1) AND MV10>=REF(MV10,1) AND V>REF(V,1)*1.12 ;
- KD1:=K>REF(K,1) AND D>=REF(D,1);
- VA:=COUNT(CROSS(K,D),4)>=1 AND COUNT(CROSS(MA5,MA10),4)>=1 AND
- COUNT(CROSS(MV5,MV10),4)>=1;
- {MACD二次金叉}
- DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);
- DEA:=EMA(DIF,9);
- MACD:=2*(DIF-DEA);
- A1:=CROSS(DIF,DEA);
- A2:=REF(A1,1);
- A3:=COUNT(A2,21);{今天之前3个星期以来曾经金叉}
- A4:=MA(C,5)>=MA(C,10) AND MA(C,10)>=MA(C,30) AND MA(C,30)>=MA(C,60)
- AND MA(C,60)>=MA(C,120) AND MA(C,120)>=MA(C,250) ;{均线多头排列}
- 选股:IF(V1 AND VV1 AND KD1 AND VA,1,0) AND A1 AND A3 AND A4 ;
- A2:=REF(A1,1);
- A2/VOL>N;
- (十八)螺旋桨
- DOWN:=OPEN>CLOSE;
- X1:=COUNT(DOWN,5)=4;
- X2:=(HHV(C,20)-LLV(C,1))/ LLV(C,1)/50*100;
- X3:=(MIN(CLOSE,OPEN)-LOW)/(HIGH-LOW)>0.667 AND (HIGH-MAX(CLOSE,OPEN))/(HIGH-LOW)<0.333 AND (C-O)<0.1;
- X4:=V
- 选:X1 AND X2 AND X3 AND X4;
- (十九)回抽20均线
- XG:REF(C,1)>MA(C,20) AND CROSS(MA(C,20),C);
- ================================================================================
- 以上是选股指标,下面是用于主图或者副图的指标
- 主图指标:自己改编的,增加了一些东西
- 名称 HYJX
- 参数 (M1,M2,M3,M4,M5,M6=5,10,20,30,60,144),(M,N=4,11)
- MA1:MA(CLOSE,M1);
- MA2:MA(CLOSE,M2);
- MA3:MA(CLOSE,M3)COLORMAGENTA,LINETHICK2;
- MA4:MA(CLOSE,M4);
- MA5:MA(CLOSE,M5),COLORRED,LINETHICK1;
- MA6:MA(CLOSE,M6),COLORWHITE,LINETHICK1;
- AA1:=CROSS(C,MA5);
- DRAWTEXT(AA1,LOW*0.98,'★A8')COLORYELLOW;
- CV:=CLOSE;
- BBIBOLL:(MA(CV,3)+MA(CV,6)+MA(CV,12)+MA(CV,24))/4;
- UPR:BBIBOLL+M*STD(BBIBOLL,N),COLORLICYAN,DOTLINE;
- DWN:BBIBOLL-M*STD(BBIBOLL,N),COLORLICYAN,DOTLINE;
- DRAWTEXT_FIX(CLOSE>0,0.7,0.1,1,' 严守纪律不追涨,冲动是魔鬼, 不赚不走,不到买入点,再好的票不要' ),COLORRED;
- DRAWTEXT_FIX(CLOSE>0,0.7,10,1,'涨了错过就错过了,注意20均线,看凤凰财经资金流向'),COLORGREEN;
- DRAWTEXT_FIX(CLOSE>0,0.9,10,1,'注意顶部,注意放量位置,注意买入点'),COLORYELLOW;
- DRAWTEXT_FIX(CLOSE>0,0.9,0.1,1,'当日涨幅超过4%,不买' ),COLORRED;
- DRAWTEXT_FIX(CLOSE>0,0.3,1.1,1,'均线粘合指标不得亏,老鸭头选股也可以' ),COLORRED;
- C2:=REF(C,1);
- 涨停:=IF((C-C2)*100/C2>=(10-0.01*100/C2),1,0);
- STICKLINE(涨停,OPEN,CLOSE,2,0),COLORYELLOW;
- STICKLINE(涨停,H,L,0,0),COLORYELLOW;
- 跌停:=IF((C2-C)*100/C2>=(10-0.01*100/C2),1,0);
- STICKLINE(跌停,OPEN,CLOSE,1,0),COLORMAGENTA;
- STICKLINE(跌停,H,L,2,0),COLORMAGENTA;
- DRAWTEXT_FIX(1,0.7,0,0,'所属板块:'),COLORFF6000;
- DRAWTEXT_FIX(1,0.77,0,0,HYBLOCK),COLORRED;
- DRAWTEXT_FIX(1,0.835,0,0,DYBLOCK),COLORYELLOW;
- =============================================================
- 以下是一些副图指标,用于监控买卖点
- (A1)超大主力买入(还比较准)
- {流通盘:CAPITAL/1000000,COLOR7F00FF,LINETHICK0;}
- N:=8;
- M:=13;
- P:=60;
- S:=3;
- V1:=(C*2+H+L)/4*10;
- V2:=EMA(V1,13)-EMA(V1,34);
- V3:=EMA(V2,5);
- V4:=2*(V2-V3)*5.5;
- 超大主力吃: IF(V4>=0,V4,0),COLOR7F00FF,LINETHICK3;
- 超大主力吐: IF(V4<=0,V4,0),COLOR66FF00,LINETHICK2;
- V5:=(HHV(INDEXH,8)-INDEXC)/(HHV(INDEXH,8)-LLV(INDEXL,8))*8;
- V6:=EMA(3*V5-2*SMA(V5,18,1),5);
- V7:=(INDEXC-LLV(INDEXL,8))/(HHV(INDEXH,8)-LLV(INDEXL,8))*10;
- V8:=(INDEXC*2+INDEXH+INDEXL)/4;
- V9:=EMA(V8,13)-EMA(V8,34);
- VA:=EMA(V9,3);
- VB:=(V9-VA)/2;
- 超大主力吃货线:8,COLORFF80FF,LINETHICK2,CROSSDOT;
- (A2) 底部指标
- LC:=REF(CLOSE,1);
- RSI5:=((SMA(MAX((CLOSE - LC),0),5,1) / SMA(ABS((CLOSE - LC)),5,1)) * 100);
- TR1:=SUM(MAX(MAX((HIGH - LOW),ABS((HIGH - REF(CLOSE,1)))),ABS((LOW - REF(CLOSE,1)))),10);
- HD:=(HIGH - REF(HIGH,1));
- LD:=(REF(LOW,1) - LOW);
- DMP:=SUM(IF(((HD > 0) AND (HD > LD)),HD,0),10);
- DMM:=SUM(IF(((LD > 0) AND (LD > HD)),LD,0),10);
- PDI:=((DMP * 100) / TR1);
- MDI:=((DMM * 100) / TR1);
- ADX:=MA(((ABS((MDI - PDI)) / (MDI + PDI)) * 100),5);
- AV:=(RSI5 + ADX);
- DXR:=(((ADX + REF(ADX,5)) / 2) + RSI5);
- WR10:=((100 * (HHV(HIGH,10) - CLOSE)) / (HHV(HIGH,10) - LLV(LOW,10)));
- NEWVOL:=(RSI5 - WR10);
- 天知买入:=(AV + NEWVOL);
- 最佳买入选股:=IF(CROSS(天知买入,0),1,0),STICK,COLORRED;
- VAR1:=SMA(最佳买入选股,3,1);
- VAR2:=SMA(VAR1,3,1),COLOR0000FF;
- VAR3:=SMA(VAR2,3,1),COLOR00FFFF;
- 天知买点:IF(CROSS(VAR2,VAR3) AND (VAR2<40),5,0* 10000),COLOR0000FF,LINETHICK1;
- STICKLINE(天知买点,0,2.5,8,0),COLORRED;
- STICKLINE(天知买点,0.45,4.0,2,0),COLORRED;
- RSV:=(((CLOSE - LLV(LOW,9)) / (HHV(HIGH,9) - LLV(LOW,9))) * 50);
- K:=SMA(RSV,3,1);
- D:=SMA(K,3,1);
- J:=3*K-2*D;
- X:=LLV(J,2)=LLV(J,8);
- 最佳买入时机: IF(CROSS(J,3),1,0),STICK,COLORFFFF00;
- STICKLINE(最佳买入时机,0,1,3,0),COLOR009999;
- STICKLINE(最佳买入时机,0,1,2,0),COLOR00DDDD;
- STICKLINE(最佳买入时机,0,1,1,0),COLOR00FFFF;
- 天知建仓: IF(最佳买入选股<5,-0.2,0),STICK,COLOR00FF00,LINETHICK1;
- 天知建仓日:STICKLINE(天知建仓,0,-0.2,3,0),COLOR00FF00,LINETHICK3;
-
- DIF1:=EMA(DCLOSE,12)-EMA(DCLOSE,26);
- DEA1:=EMA(DIF1,9);
- AAA1:=(DIF1-DEA1)*2*60;
- XP1:=10;
- XP2:=AAA1-REF(AAA1,1);
- 底部家族:CROSS(XP2,XP1);
- (A3)
- VAR1:=EMA(EMA(CLOSE,9),9);
- 控盘:=(VAR1-REF(VAR1,1))/REF(VAR1,1)*1000;
- STICKLINE(控盘<0,控盘,0,1,0),COLORWHITE,LINETHICK4;
- A10:=CROSS(控盘,0);
- 无庄控盘:IF(控盘<0,控盘,0),COLORWHITE,NODRAW;
- 开始控盘:IF(A10,5,0),LINETHICK1,COLORYELLOW;
- STICKLINE(控盘>REF(控盘,1) AND 控盘>0,控盘,0,1,0),COLORRED,LINETHICK4;
- 有庄控盘:IF(控盘>REF(控盘,1) AND 控盘>0,控盘,0),COLORRED,NODRAW;
- VAR2:=100*WINNER(CLOSE*0.95);
- STICKLINE(VAR2>50 AND COST(85)0,控盘,0,1,0),COLORFF00FF,LINETHICK4;
- 高度控盘:IF(VAR2>50 AND COST(85)0,控盘,0),COLORFF00FF,NODRAW;
- STICKLINE(控盘0,控盘,0,1,0),COLOR00FF00,LINETHICK4;
- 主力出货:IF(控盘0,控盘,0),COLOR00FF00,NODRAW;
- N3:=BARSLAST(CROSS(C,MA(C,20)));
- N4:=BARSLAST(CROSS(MA(C,20),C));
- 黑马跟踪:IF(N3
- 进攻:IF(开始控盘=5 AND 黑马跟踪=1,10,0),COLORFFFFFF,LINETHICK2;
-
- (A4)
- 参数 (short:2,200,2 long:2,200,26 mid:2,200,9)
- DIF:EMA(CLOSE,SHORT)-EMA(CLOSE,LONG);
- DEA:EMA(DIF,MID);
- MACD:(DIF-DEA)*2,COLORSTICK;
- 指标线1:=DIF;
- 指标线2:=DEA;
- 低位二次金叉:COUNT(CROSS(指标线1,指标线2) AND 指标线2<0,20)>=2 AND CROSS(指标线1,指标线2) AND 指标线2<0,NODRAW,COLORRED;
- DRAWTEXT(低位二次金叉,0.1,'★A8')COLORRED;
- A1:=DIF<-1;{DIF在底部上穿DIF买入信号,底部金叉,可以小量建仓,高位死叉减仓出局}
- A2:=DEA<-1;
- 底部金叉:CROSS(DIF,DEA) AND A1 AND A2,COLORGREEN;{DIF与DEA在0轴线发出信号是股价经过充分回调整理}
- {0轴线黄金叉}
- 中部金叉:CROSS(DIF,0),COLORYELLOW,NODRAW;{中部金叉,可以加仓,反之死叉出局}
- DRAWTEXT(中部金叉,0.1,'★A8')COLORYELLOW;
- N1:=DIF>=0;{轴线金叉,行情回调之后,建立顺势仓位。继续加码。反之死叉平仓}
- N2:=DEA>=0;
- N3:=DIF<=0.3;
- N4:=DEA<=0.3;
- 轴线金叉:CROSS(DIF,DEA) AND N1 AND N2 AND N3 AND N4,COLORMAGENTA,NODRAW;
- DRAWTEXT(轴线金叉,0.1,'★')COLORMAGENTA;
- (A5)
-
- DIF1:=EMA(CLOSE,7)-EMA(CLOSE,19),COLORWHITE;
- DEA1:=EMA(DIF1,9);
- MACD1:=(DIF1-DEA1)*100,COLORSTICK;
- STICKLINE(MACD1>REF(MACD1,1) AND MACD1>0,0,MACD1,0,0),COLORRED;
- STICKLINE(MACD1<=REF(MACD1,1) AND MACD1>0,0,MACD1,0,0),COLORYELLOW;
- STICKLINE(MACD1<0,0,MACD1,0,0),COLOR00FF00;
- STICKLINE(MACD1>=REF(MACD1,1) AND MACD1<0,0,MACD1,0,0),COLORMAGENTA;
- STICKLINE(C>0,0,0,50,1),COLORBLUE;
- RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
- K:SMA(RSV,5,1);
- D:SMA(K,3,1);
- J:3*K-2*D;
- VARB2:=(RSV/2+22)*1;
- 量:=EMA(VOL,13);
- 资金:=EMA(AMOUNT,13);
- 过滤:=((资金 /量) / 100);
- 提纯:=(((CLOSE -过滤) / 过滤) * 100);
- 黄金:=((提纯 < (0)) AND ZXNH),COLORRED;
- 低买:IF(黄金 AND RSV
- 高卖:IF(黄金 AND RSV>VARB2,80,120),COLORGREEN,LINETHICK2;
- 上涨分界:25;
- 底部:0,COLORF00FF0,LINETHICK2;
- DRAWICON(CROSS(J,底部),底部,1);
- VAR1:=REF(CLOSE,1);
- VAR2:=SMA(MAX(CLOSE-VAR1,0),7,1)/SMA(ABS(CLOSE-VAR1),7,1)*100;
- 特准:STICKLINE(FILTER(REF(VAR2,1)<20 AND VAR2>REF(VAR2,1),5),0,25,1,0),LINETHICK2,COLOR00FF00;
- BIAS1:=(C-MA(C,6))/MA(C,6)*100;
- BIAS2:=(C-MA(C,12))/MA(C,12)*100;
- BIAS3:=(C-MA(C,24))/MA(C,24)*100;
- BIAS:=(BIAS1+2*BIAS2+3*BIAS3)/6;
- 乖离:=MA(BIAS,3);
- 红柱抄底:STICKLINE(CROSS(BIAS,乖离) AND 乖离<-9.5,25,50,1,0),COLORRED;
- DIFF:=EMA(DCLOSE,12)-EMA(DCLOSE,26);
- DEA:=EMA(DIFF,9),COLORFFFF00;
- MACD:=(DIFF-DEA)*2;
- A1:=BARSLAST(REF(CROSS(DIFF,DEA),1));
- A2:=BARSLAST(REF(CROSS(DEA,DIFF),1));
- MACD底背离:STICKLINE(REF(CLOSE,A1+1)>CLOSE AND DIFF>REF(DIFF,A1+1) AND CROSS(DIFF,DEA),50,75,1,0),COLORYELLOW;
- VAR6:=LLV(LOW,10);
- VAR8:=HHV(HIGH,25);
- 减仓线:=3.2 ;
- 卖出线:=3.5;
- 动力线:=EMA((CLOSE-VAR6)/(VAR8-VAR6)*4,4);
- DRAWICON(CROSS(动力线,减仓线),80,2);
- DRAWICON(CROSS(卖出线,动力线),100,2);
- DRAWTEXT(CROSS(卖出线,动力线),120,'出局'),COLORRED;
- 编号(06) 指标名称:马克利指标公式 用于判断买入时机
- WY1001:=(2*CLOSE+HIGH+LOW)/4;
- WY1002:=EMA(WY1001,4);
- WY1003:=EMA(WY1002,4);
- WY1004:=EMA(WY1003,4);
- XYS0:(WY1004-REF(WY1004,1))/REF(WY1004,1)*100;
- STICKLINE(XYS0>=0,XYS0,0,2,0),COLORRED;
- STICKLINE(XYS0<0,XYS0,0,2,0),COLORGREEN;
- PJGJ:=AMOUNT/VOL/100;
- SSRYDJX:=MA(PJGJ,13);
- SSRCJL:=EMA(VOL,13);
- SSRCJE:=EMA(AMOUNT,13);
- SSRCBJX:=SSRCJE/SSRCJL/100;
- CYS13:=(CLOSE-SSRCBJX)/SSRCBJX*100;
- XYSHSL:=EMA(VOL/CAPITAL*100,13);
- ZZX:0,COLORWHITE;
- STICKLINE(XYSHSL>6.1 AND CYS13>5 ,2 ,0 ,2 ,0 ),COLORGREEN;
- STICKLINE(XYSHSL>3.8 AND CYS13>5 ,1.5 ,0 ,2 ,0 ),COLORYELLOW;
- STICKLINE(XYSHSL>2.1 AND CYS13>5 ,1 ,0 ,2 ,0 ),COLORCYAN;
- STICKLINE(XYSHSL>1.8 AND CYS13>5 ,0.5 ,0 ,2 ,0 ),COLORBLUE;
- XYS1:MA(XYS0,2),COLORYELLOW;
- XYS2:MA(XYS0,1),COLORMAGENTA;
- DRAWICON(CROSS(XYS2,XYS1),-0.25,1);
- 公式解释:
- WY1001赋值:(2*收盘价+最高价+最低价)/4
- WY1002赋值:WY1001的4日指数移动平均
- WY1003赋值:WY1002的4日指数移动平均
- WY1004赋值:WY1003的4日指数移动平均
- XYS0赋值:(WY1004-1日前的WY1004)/1日前的WY1004*100
- 当满足条件XYS0>=0时,在XYS0和0位置之间画柱状线,宽度为2,0不为0则画空心柱.,画红色
- 当满足条件XYS0<0时,在XYS0和0位置之间画柱状线,宽度为2,0不为0则画空心柱.,画绿色
- PJGJ赋值:成交额(元)/成交量(手)/100
- SSRYDJX赋值:PJGJ的13日简单移动平均
- SSRCJL赋值:成交量(手)的13日指数移动平均
- SSRCJE赋值:成交额(元)的13日指数移动平均
- SSRCBJX赋值:SSRCJE/SSRCJL/100
- CYS13赋值:(收盘价-SSRCBJX)/SSRCBJX*100
- XYSHSL赋值:成交量(手)/当前流通股本(手)*100的13日指数移动平均
- ZZX赋值:0,画白色
- 当满足条件XYSHSL>6.1ANDCYS13>5时,在2和0位置之间画柱状线,宽度为2,0不为0则画空心柱.,画绿色
- 当满足条件XYSHSL>3.8ANDCYS13>5时,在1.5和0位置之间画柱状线,宽度为2,0不为0则画空心柱.,画黄色
- 当满足条件XYSHSL>2.1ANDCYS13>5时,在1和0位置之间画柱状线,宽度为2,0不为0则画空心柱.,画青色
- 当满足条件XYSHSL>1.8ANDCYS13>5时,在0.5和0位置之间画柱状线,宽度为2,0不为0则画空心柱.,画蓝色
- XYS1赋值:XYS0的2日简单移动平均,画黄色
- XYS2赋值:XYS0的1日简单移动平均,画洋红色
- 当满足条件XYS2上穿XYS1时,在-0.25位置画1号图标
- (A7)
- DIFZ:=EMA(C,12)-EMA(C,26); DEAZ:=EMA(DIFZ,9); MACDZ:=2*(DIFZ-DEAZ); JJ:SUM(C*V,0)/SUM(V,0),COLOR00FFFF; RC:=DYNAINFO( 3);
- 量比超2.5:=IF(DYNAINFO(17)>2.5,RC-0.15,DRAWNULL),COLORFF9933; 量比超5:=IF(DYNAINFO(17)>5,RC-0.15,DRAWNULL),COLORBA75FF; DRAWBAND(量比超2.5,RGB(51,153,255),量比超2.5+0.015,RGB(51,153,255)); DRAWBAND(量比超5,RGB(255,118,188),量比超5+0.015,RGB(255,118,188));
- {MACD P:1,20,4;} {RC:=DYNAINFO( 3);} S2:=SMA(C,2,1); S6:=SMA(C,6,1); DK:=2*(S2-S6); STICKLINE(DK>0,RC,RC+DK,0,1),COLORRED; STICKLINE(DK<0,RC,RC+DK,0,1),COLORCYAN; 分时顶:HHV(H,480),COLORGREEN,DOTLINE;
复制代码 |
论坛官方微信、群(期货热点、量化探讨、开户与绑定实盘)
|