飞狐精品指标-黄金坑
-
相关简介:C/C++ Code 复制内容到剪贴板 {10-黄金坑} VAR1:=MA(WINNER(CLOSE),9)*100; 买入:CROSS(VAR1,2)*30,LINETHICK3,colorFF; VAR2:=(1-EMA((HHV(HIGH,15)-CLOSE)/(HHV(HIGH,15)-LLV(LOW,15)),15))*100; VAR3:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100; VAR4:=SMA
-
文章来源:择股网作者:股海网发布时间:2009-06-13浏览次数:
C/C++ Code复制内容到剪贴板
- {10-黄金坑}
- VAR1:=MA(WINNER(CLOSE),9)*100;
- 买入:CROSS(VAR1,2)*30,LINETHICK3,colorFF;
- VAR2:=(1-EMA((HHV(HIGH,15)-CLOSE)/(HHV(HIGH,15)-LLV(LOW,15)),15))*100;
- VAR3:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100;
- VAR4:=SMA(VAR3,9,1);
- VAR5:=SMA(VAR4,9,1);
- VAR6:=(CLOSE-SMA(CLOSE,13,1))/SMA(CLOSE,13,1)*(-100);
- VAR7:=REF(VAR6,1)>13 AND REF(VAR6,1)/VAR6>1.23 AND CLOSE/REF(CLOSE,1)>1.03;
- 春笋:IF(VAR7 AND REF(CLOSE,1)<=COST(5),20,0),LINESTICK,LINETHICK2,colorFF00;
- VAR8:=MA(CLOSE,27);
- VAR9:=(CLOSE-VAR8)/VAR8*100;
- VARA:=MA(VAR9,2);
- VARB:=BARSLAST(CROSS(-10,VARA)=1);
- VARC:=BARSLAST(CROSS(VARA,10)=1);
- VARD:=VARA<-10 AND VARB>3;
- VARE:=VARA>10 AND VARC>3;
- 黄金坑:IF(VARD,VARA,0),LINESTICK,LINETHICK2,colorFFFF;
- 财神到:IF(VARE,VARA,0),LINESTICK,colorFF00;
- 贪嘴乐:IF(VARA>REF(VARA,1) AND VARD AND VARA<-15,30,0),LINESTICK,LINETHICK2,colorFFA2AF;
- DRAWICON(贪嘴乐>0,40,1);
- VARF:=REF(LOW,1)*0.9;
- VAR10:=LOW*0.9;
- VAR11:=(VAR10*VOL+VARF*(CAPITAL-VOL))/CAPITAL;
- VAR12:=EMA(VAR11,30);
- VAR13:=CLOSE-REF(CLOSE,1);
- VAR14:=MAX(VAR13,0);
- VAR15:=ABS(VAR13);
- VAR16:=SMA(VAR14,7,1)/SMA(VAR15,7,1)*100;
- VAR17:=SMA(VAR14,13,1)/SMA(VAR15,13,1)*100;
- VAR18:=BARSCOUNT(CLOSE);
- VAR19:=SMA(MAX(VAR13,0),6,1)/SMA(ABS(VAR13),6,1)*100;
- VAR1A:=(-200)*(HHV(HIGH,60)-CLOSE)/(HHV(HIGH,60)-LLV(LOW,60))+100;
- VAR1B:=(CLOSE-LLV(LOW,15))/(HHV(HIGH,15)-LLV(LOW,15))*100;
- VAR1C:=SMA((SMA(VAR1B,4,1)-50)*2,3,1);
- VAR1D:=(INDEXC-LLV(INDEXL,14))/(HHV(INDEXH,14)-LLV(INDEXL,14))*100;
- VAR1E:=SMA(VAR1D,4,1);
- VAR1F:=SMA(VAR1E,3,1);
- VAR20:=(HHV(HIGH,30)-CLOSE)/CLOSE*100;
- VAR21:=VAR19<=25 AND VAR1A<-95 AND VAR20>20 AND VAR1C<-30 AND VAR1F<30 AND VAR12-CLOSE>=-0.25 AND VAR16<22 AND VAR17<28 AND VAR18>50;
- 血战超跌:STICKLINE(VAR21,0,60,5,0);
- {11-爆发力度}
- input:N(20,1,100);
- DRAWGBK(CLOSE,COLORRGB(5,2,0),COLORRGB(5,2,0),1);
- BB:=BARPOS=SYSPARAM(1);
- VARIABLE:WDAY[7]='星期六';
- WDAY[1]:='星期日';
- WDAY[2]:='星期一';
- WDAY[3]:='星期二';
- WDAY[4]:='星期三';
- WDAY[5]:='星期四';
- WDAY[6]:='星期五';
- FY:=YEAR;
- FM:=MONTH;
- FD:=DAY;
- WD:=WEEKDAY;
- P:=SYSPARAM(1);
- STR1:=' '+'今日: '+NUMTOSTR(FY[P],0)+'年'+NUMTOSTR(FM[P],0)+'月'+NUMTOSTR(FD[P],0)+'日 '+WDAY[WD[P]+1];
- DRAWTEXT(BARPOS=SYSPARAM(2),CLOSE,STR1),ALIGN5,colorFF00;
- STR2:D '╭☆╯爆发力╰☆╮';
- DRAWTEXT(BARPOS=P,HIGH,'\n \n \n \n \n'+STR2),ALIGN4,PXDN2,color88FF;
- DRAWTEXT(BARPOS=P,HIGH,'\n \n \n \n \n'+STR2),ALIGN4,PXDN1,color88FF;
- SAT:=IF(AMOUNT/CLOSE/(HHV(AMOUNT,N)/HHV(CLOSE,N))*100>100,100,AMOUNT/CLOSE/(HHV(AMOUNT,N)/HHV(CLOSE,N))*100);
- 饱和度:=SAT;
- STICKLINE(CLOSE>0 AND BARPOS=SYSPARAM(1),0,101,10,1),colorFFFFFF;
- STICKLINE(SAT<=5 AND BARPOS=SYSPARAM(1),1,SAT,8,0),colorFFFFFF;
- STICKLINE(SAT>5 AND SAT<=20 AND BARPOS=SYSPARAM(1),1,SAT,8,0),colorFF00;
- STICKLINE(SAT>20 AND SAT<=40 AND BARPOS=SYSPARAM(1),1,SAT,8,0),colorFF00FF;
- STICKLINE(SAT>40 AND BARPOS=SYSPARAM(1),1,SAT,8,0),colorFF;
- DRAWTEXT(SAT AND BARPOS=SYSPARAM(1),111,'爆发力度: '),ALIGN2,color88FF;
- DRAWNUMBER(SAT AND BARPOS=SYSPARAM(1),111,SAT,0),ALIGN2,colorFF00;
- 100,POINTDOT,colorFFFF00;
- 115,color10000;
- 爆发力度:SAT=100,LINETHICK0;
上一篇:飞狐精品指标-快速短线
下一篇:飞狐精品指标-筹码天机