飞狐精品指标-买卖均线
-
相关简介:C/C++ Code 复制内容到剪贴板 {买卖均线} PARTLINE(EMA((2*CLOSE+HIGH+LOW)/4,6)REF(EMA((2*CLOSE+HIGH+LOW)/4,6),1),EMA((2*CLOSE+HIGH+LOW)/4,5)),colorFF; PARTLINE(EMA((2*CLOSE+HIGH+LOW)/4,6)REF(EMA((2*CLOSE+HIGH+LOW)/4,6),1),EMA((2*CLOSE+HIGH+LOW)/4,5)),colorFF0
-
文章来源:择股网作者:股海网发布时间:2009-06-13浏览次数:
C/C++ Code复制内容到剪贴板
- {买卖均线}
- PARTLINE(EMA((2*CLOSE+HIGH+LOW)/4,6)>REF(EMA((2*CLOSE+HIGH+LOW)/4,6),1),EMA((2*CLOSE+HIGH+LOW)/4,5)),colorFF;
- PARTLINE(EMA((2*CLOSE+HIGH+LOW)/4,6)<REF(EMA((2*CLOSE+HIGH+LOW)/4,6),1),EMA((2*CLOSE+HIGH+LOW)/4,5)),colorFF00;
- PARTLINE(EMA((2*CLOSE+HIGH+LOW)/4,10)>REF(EMA((2*CLOSE+HIGH+LOW)/4,13),1),EMA((2*CLOSE+HIGH+LOW)/4,13)),colorFF;
- PARTLINE(EMA((2*CLOSE+HIGH+LOW)/4,10)<REF(EMA((2*CLOSE+HIGH+LOW)/4,13),1),EMA((2*CLOSE+HIGH+LOW)/4,13)),LINETHICK2,colorFF00;
- PARTLINE(EMA((LOW+CLOSE+OPEN)/3,28)>REF(EMA((LOW+CLOSE+OPEN)/3,28),1),REF(EMA((LOW+CLOSE+OPEN)/3,25),1)),LINETHICK3,colorFF;
- PARTLINE(EMA((LOW+CLOSE+OPEN)/3,28)<REF(EMA((LOW+CLOSE+OPEN)/3,28),1),REF(EMA((LOW+CLOSE+OPEN)/3,25),1)),LINETHICK3,colorFF00;
- PARTLINE((EMA(LOW,125)+EMA((CLOSE+LOW)/2,250))/2>REF((EMA(LOW,125)+EMA((CLOSE+LOW)/2,250))/2,1),(EMA(LOW,125)+EMA((CLOSE+LOW)/2,125))/2),POINTDOT,colorFF;
- PARTLINE((EMA(LOW,125)+EMA((CLOSE+LOW)/2,250))/2<REF((EMA(LOW,125)+EMA((CLOSE+LOW)/2,250))/2,1),(EMA(LOW,125)+EMA((CLOSE+LOW)/2,125))/2),POINTDOT,colorFF00;
- DRAWTEXT(BARPOS=SYSPARAM(2),SYSPARAM(4),STKNAME+' '+STKLABEL+'\n所属板块:'+BLKNAME),colorFFFFFF;
- 四条变色线,分别为短期、中期、长期和趋势。用户可以根据自身情况选择相应的进场点和离场点。
- 在同一时间区间内如果多条变色线出现进场点,为最佳进场点。
- {短线狙击}
- 空:=EMA(CLOSE,5);
- 均衡:EMA(空,0),colorFFFFFF;
- 下趋势、双线持币:HHV(MA(HIGH,3),2),LINETHICK2,colorFF00;
- 上趋势、单线持股:LLV(MA(HIGH,3),1),LINETHICK2,colorFF;
- VARA:D (CLOSE-REF(OPEN,29))/REF(OPEN,29)*100;
- VARB:D EMA(0.667*REF(VARA,1)+0.333*VARA,5);
- DRAWTEXT(IF(VOL>=1.3*MA(VOL,5) AND COUNT(VARA>=VARB AND VARA<-17,3) AND REF(LOW,1)=LLV(LOW,120),1,0),LOW,'买入');
- VARC:=(SMA(MAX(CLOSE-REF(CLOSE,1),0),6,1))/(SMA(ABS(CLOSE-REF(CLOSE,1)),6,1))*100;
- VAR1:=(HIGH+LOW+OPEN+2*CLOSE)/5;
- VAR2:=REF(VAR1,1);
- VAR3:=(SMA(MAX(VAR1-VAR2,0),10,1))/(SMA(ABS(VAR1-VAR2),10,1))*100;
- VAR4:=FILTER(IF(COUNT(VAR3<20,5)>=1 AND COUNT(VAR1=LLV(VAR1,10),10)>=1 AND CLOSE>=OPEN*1.038 AND VOL>MA(VOL,5)*1.2,1,0),5);
- VAR5:=FILTER(均衡>REF(均衡,1) AND 下趋势、双线持币<REF(下趋势、双线持币,1) AND CLOSE>REF(CLOSE,1),11);
- VAR6:=REF(CLOSE,1);
- VAR7:=(SMA(MAX(CLOSE-VAR6,0),6,1))/(SMA(ABS(CLOSE-VAR6),6,1))*100;
- {黄金波浪线}
- input:N(17,1,100),N1(7,1,100),N2(69,1,100),LH(79,1,100);
- M8:=EMA(CLOSE,8);
- M13:=EMA(M8,13);
- VAR1:=EMA(M13,62);
- VAR2:=(CLOSE+HIGH+LOW)/3;
- VAR3:=EMA(VAR2,10);
- VAR4:=REF(VAR3,1);
- STICKLINE(VAR3>VAR4,VAR3,VAR4,8,0),colorFFFF;
- STICKLINE(VAR3<VAR4,VAR3,VAR4,8,0),colorFF0000;
- VAR5:=(REF(HIGH,1)+REF(LOW,1))/2;
- VAR6:=MA(CLOSE,N)+2*STD(CLOSE,N);
- VAR7:=REF(CLOSE,1);
- VAR8:=(SMA(MAX(CLOSE-VAR7,0),N1,1))/(SMA(ABS(CLOSE-VAR7),N1,1))*100;
- VAR9:=CROSS(N2,VAR8);
- VARA:=FILTER(VAR9,4);
- VARB:=(2*CLOSE+HIGH+LOW)/4;
- VARC:=LLV(LOW,34);
- VARD:=HHV(HIGH,34);
- VARE:=EMA((VARB-VAR1)/(VAR5-VAR1)*100,7);
- VARF:=EMA(0.667*REF(VARE,1)+0.333*VARE,5);
- VAR10:=MA(CLOSE,80)-MA(CLOSE,10)/3;
- DRAWTEXT(IF(CLOSE<VAR10 AND VOL/240>MA(VOL,5)/240 AND CLOSE>REF(CLOSE,1)*1.08 AND CLOSE<MA(CLOSE,13)*1.3,1,0),LOW,'●进场'),colorFF00;
- VAR11:=REF(CLOSE,1);
- VAR12:=(SMA(MAX(CLOSE-VAR11,0),N,1))/(SMA(ABS(CLOSE-VAR11),N,1))*100;
- DRAWICON(CROSS(LH,VAR12),HIGH*1.035,1);
- DRAWTEXT(CROSS(LH,VAR12),HIGH*1.04,'获利减仓');
- DRAWTEXT(BARPOS=SYSPARAM(2),SYSPARAM(4),STKNAME+' '+STKLABEL+'\n所属板块:'+BLKNAME),colorFFFFFF;
- 买入:CROSS(VAR3,VAR4),LINETHICK0;
上一篇:飞狐精品指标-与庄共舞
下一篇:精品飞狐指标:预测、均线、波浪、买卖提示一个都少