您好,欢迎访问三七文档
当前位置:首页 > 商业/管理/HR > 项目/工程管理 > 自己收集的好用的指标源码
通达信金牛多空能量指标VAR1:=(HHV(HIGH,21)-CLOSE)/(HHV(HIGH,21)-LLV(LOW,21))*100-10;VAR2:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100;VAR3:=SMA(VAR2,13,8);高抛:90,POINTDOT;低吸:0,POINTDOT;多方能量:SMA(VAR3,13,8),COLORRED;空方能量:SMA(VAR1,21,8),COLOR00FF00;买进:IF(CROSS(多方能量,45),18,-4),COLORRED;卖出:IF(CROSS(45,多方能量),18,-4),COLOR00FF00;强弱分界:45;短线灵敏指标猎狐先觉(用法:LHXJ(猎狐先觉)使用此指标是直接在K线图上输入LHXJ则可以在技术窗口里显示出来,使用此指标,先区分三个关键的图示:0轴,主力弃盘和主力控盘.白线为主力弃盘,表示的是主力或者庄家这个时候不作为;黄线为主力控盘,表示的是主力或者庄家这个时候会有动作或者开始拉升.0轴则是从指标图右边的刻度图上可找到.此指标是由主力弃盘和主力控盘以0轴为中心,由白线和黄线组成的一个个圈子.之所以着重提示找到0轴,是因为当白线在0轴上方和黄线在0轴上方的反转提示买点:当黄线(主力控盘)在0轴下方形成最高点(峰顶),此时也是白线(主力弃盘)在0轴上方去到最高点(峰顶),对应此时在K线上的股价则是阶段性的低点,这就是此时的最佳买点.卖点:当白线(主力弃盘)从0轴下方形成最高点(峰顶),此时也是黄线(主力控盘)从0轴上方形成最高点(峰顶),对应此时在K线上的股价则是阶段性的高点,也就是短线的最佳卖点.)VAR1:=(CLOSE*2+HIGH+LOW)/4;VAR2:=EMA(VAR1,13)-EMA(VAR1,34);VAR3:=EMA(VAR2,5);主力弃盘:(-2)*(VAR2-VAR3)*3.8;主力控盘:2*(VAR2-VAR3)*3.8;博易超级短线指标VAR1:=(2*CLOSE+HIGH+LOW)/4;VAR2:=EMA(EMA(EMA(VAR1,4),4),4);J:(VAR2-REF(VAR2,1))/REF(VAR2,1)*100000,COLORSTICK;D:MA(J,3);K:MA(J,1);金博士波段王拉升力:=(CLOSE-LLV(LOW,28))/(HHV(HIGH,30)-LLV(LOW,36))*0.6*CLOSE;拉升力A:=SMA(拉升力,6.3,1);波峰波谷:SMA(拉升力A,3,1),COLORFF00FF;拉升力B:=3*拉升力A-2.1*波峰波谷;空方:=3*波峰波谷-1*拉升力A;做空:IF(空方拉升力B,拉升力B,空方),LINETHICK2,COLOR00FF00;做空周期:HHV(做空,21),COLORBLUE,LINETHICK2;多头:IF(做空=REF(做空,1),做空,DRAWNULL),COLORRED,LINETHICK3;DRAWICON(做空=REF(做空,1)ANDREF(做空{股旁网-股票公式网站},1)REF(做空,2),做空,23);空头:IF(做空REF(做空,1),做空,DRAWNULL),COLORGREEN,LINETHICK3;{DRAWICON(做空=REF(做空,1)ANDREF(做空,1)REF(做空,2),做空,19);}短线:(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*20,LINETHICK0,COLORWHITE;中线:(CLOSE-MA(CLOSE,4))/MA(CLOSE,4)*20,LINETHICK0,COLORYELLOW;红柱:SMA(短线,3,1),LINETHICK0,COLOR0000FF;蓝柱:SMA(中线,3,1),COLORSTICK,COLORFFFF00;{红柱}STICKLINE(红柱REF(红柱,1)AND红柱0,0,红柱,2,0),COLOR888800;STICKLINE(红柱REF(红柱,1)AND红柱0,0,红柱,1.5,0),COLORAAAA00;STICKLINE(红柱REF(红柱,1)AND红柱0,0,红柱,0.8,0),COLORDDDD00;STICKLINE(红柱REF(红柱,1)AND红柱0,0,红柱,0.3,0),COLORFFFF00;STICKLINE(红柱REF(红柱,1)AND红柱0,0,红柱,2,0),COLOR000088;STICKLINE(红柱REF(红柱,1)AND红柱0,0,红柱,1.5,0),COLOR0000AA;STICKLINE(红柱REF(红柱,1)AND红柱0,0,红柱,0.8,0),COLOR0000DD;STICKLINE(红柱REF(红柱,1)AND红柱0,0,红柱,0.3,0),COLOR0000FF;STICKLINE(蓝柱REF(蓝柱,1)AND蓝柱0,0,蓝柱,2,0),COLOR008800;STICKLINE(蓝柱REF(蓝柱,1)AND蓝柱0,0,蓝柱,1,0),COLOR00AA00;STICKLINE(蓝柱REF(蓝柱,1)AND蓝柱0,0,蓝柱,0.8,0),COLOR00DD00;STICKLINE(蓝柱REF(蓝柱,1)AND蓝柱0,0,蓝柱,0.3,0),COLOR00FF00;{蓝柱}STICKLINE(红柱REF(红柱,1)AND红柱0,0,红柱,2,0),COLOR880088;STICKLINE(红柱REF(红柱,1)AND红柱0,0,红柱,1.5,0),COLORAA00AA;STICKLINE(红柱REF(红柱,1)AND红柱0,0,红柱,0.8,0),COLORDD00DD;STICKLINE(红柱REF(红柱,1)AND红柱0,0,红柱,0.3,0),COLORFF00FF;STICKLINE(红柱REF(红柱,1)AND红柱0,0,红柱,2,0),COLOR888800;STICKLINE(红柱REF(红柱,1)AND红柱0,0,红柱,1.5,0),COLORAAAA00;STICKLINE(红柱REF(红柱,1)AND红柱0,0,红柱,0.8,0),COLORDDDD00;STICKLINE(红柱REF(红柱,1)AND红柱0,0,红柱,0.3,0),COLORFFFF00;STICKLINE(蓝柱REF(蓝柱,1)AND蓝柱0,0,蓝柱,2,0),COLOR009999;STICKLINE(蓝柱REF(蓝柱,1)AND蓝柱0,0,蓝柱,1.5,0),COLOR00BBBB;STICKLINE(蓝柱REF(蓝柱,1)AND蓝柱0,0,蓝柱,0.8,0),COLOR00DDDD;STICKLINE(蓝柱REF(蓝柱,1)AND蓝柱0,0,蓝柱,0.3,0),COLOR00FFFF;VAR200:=(CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100;VAR300:=SMA(SMA(VAR200,3,1),3,1)/28.57;VAR400:=EMA(VAR300,5);操盘:=3*VAR300-2*VAR400;A1:=CROSS(操盘,VAR300)ANDVAR3002.1ANDCO;STICKLINE(A1,5,0,4,0),COLOR770077;STICKLINE(A1,5,0,3,0),COLOR990099;STICKLINE(A1,5,0,2,0),COLORBB00BB;STICKLINE(A1,5,0,1,0),COLORDD00DD;STICKLINE(A1,5,0,0.3,0),COLORFF00FF;DRAWTEXT(A1,5.2,'全仓'),COLORRED;VAR2:=LLV(LOW,10);VAR3:=HHV(HIGH,25);阶段卖出:3.2,COLORYELLOW;3.5,COLOR0088FF;顶部清仓:3.5,COLORGREEN,LINETHICK1;动力线:=EMA((CLOSE-VAR2)/(VAR3-VAR2)*4,4);STICKLINE(动力线REF(动力线,1),动力线,REF(动力线,1),3,1),COLORRED;STICKLINE(动力线=REF(动力线,1),动力线,REF(动力线,1),3,1),COLOR00FF00;底部:0.2,COLORRED,LINETHICK1;关注:0.5,COLORYELLOW;DRAWICON(FILTER(CROSS(动力线,关注),20),动力线+0.02,1);DRAWICON(FILTER(CROSS(顶部清仓,动力线),20),动力线+0.02,2);DRAWICON(FILTER(CROSS(动力线,底部),20),动力线+0.02,1);DRAWICON(FILTER(CROSS(阶段卖出,动力线),20),动力线+0.02,2);DRAWICON(FILTER(CROSS(动力线,关注),20),动力线+0.02,1);DRAWTEXT(CROSS(动力线,关注),关注,'买底'),COLORWHITE;吉猴天机均线(要设参数N、M)均:=(3*C+H+L+O)/6;短线:(8*均+7*REF(均,1)+6*REF(均,2)+5*REF(均,3)+4*REF(均,4)+3*REF(均,5)+2*REF(均,6)+REF(均,7))/36,COLORWHITE;中线:(LLV(短线,2)+LLV(短线,4)+LLV(短线,6))/3,COLORYELLOW;布林线:MA(CLOSE,N);布林线上限:布林线+2.0*STD(CLOSE,N);布林线下限:布林线-2.0*STD(CLOSE,N);超级抄底逃顶var2:=llv(low,10);var3:=hhv(high,25);阶段卖出:3.2,colorcyan;3.5,color0088ff;清仓卖出:3.5;动力线:=ema((close-var2)/(var3-var2)*4,4);stickline(动力线ref(动力线,1),动力线,ref(动力线,1),8,1),colorred;stickline(动力线=ref(动力线,1),动力线,ref(动力线,1),8,1),colorgreen;底部:0.2,colorgreen;关注:0.5,coloryellow;drawicon(filter(cross(动力线,关注),20),动力线+0.02,1);drawicon(filter(cross(清仓卖出,动力线),20),动力线+0.02,2);drawicon(filter(cross(动力线,底部),20),动力线+0.02,1);drawicon(filter(cross(阶段卖出,动力线),20),动力线+0.02,2);强弱分界线:1.75,pointdot,linethick2,Color70DB93;数值:动力线,ColorFFFFFF;通达信五线布林带M:=20;N:=20;趋势:MA(CLOSE,M),COLOR0080FF;上轨:趋势+STD(CLOSE,M),COLORFFFF00;下轨:趋势-STD(CLOSE,M),COLORFFFF00;上极:趋势+2*STD(CLOSE,M),COLORGREEN;下极:趋势-2*STD(CLOSE,M),COLORGREEN;AA:=CLOSE/REF(CLOSE,1)=1.09;STICKLINE(AA,OPEN,CLOSE,8,0),COLORYELLOW;STICKLINE(AA,LOW,HIGH,0.5,0),COLORYELLOW;TTJ:=BARSLA
本文标题:自己收集的好用的指标源码
链接地址:https://www.777doc.com/doc-2051449 .html