通达信金牛多空能量指标
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) AND REF(做空
{股旁网-股票公式网站 www.gupanG.com}
,1)空头:IF(做空{DRAWICON(做空<=REF(做空,1) AND REF(做空,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(红柱0,0,红柱,2,0),COLOR888800; STICKLINE(红柱0,0,红柱,1.5,0),COLORAAAA00; STICKLINE(红柱0,0,红柱,0.8,0),COLORDDDD00; STICKLINE(红柱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(蓝柱0,0,蓝柱,2,0),COLOR008800; STICKLINE(蓝柱0,0,蓝柱,1,0),COLOR00AA00; STICKLINE(蓝柱0,0,蓝柱,0.8,0),COLOR00DD00; STICKLINE(蓝柱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(红柱STICKLINE(红柱STICKLINE(红柱STICKLINE(红柱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) AND VAR300<2.1 AND C>O; 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:=BARSLAST((VOL = HHV(VOL,N))); VAR1:=(CLOSE+HIGH+LOW)/3; VAR2:=EMA(VAR1,10); VAR3:=REF(VAR2,1); 上升:STICKLINE(VAR2>VAR3,VAR2,VAR3,5,0),COLOR00FFFF; 下跌:STICKLINE(VAR2 STICKLINE(C>=O OR (C=O AND C>REF(C,1)),O,C,4,1),COLORRED; STICKLINE((C>=O AND C<>H) OR (C=O AND C>REF(C,1)),C,H,0.1,0),COLORRED; STICKLINE((C>=O AND L<>O) OR (C=O AND C>REF(C,1)),L,O,0.1,0),COLORRED; STICKLINE(C STICKLINE((C STICKLINE((C 压力:HHV(MA((LOW+HIGH+CLOSE)/3,1),34),LINETHICK2,COLORGREEN; 支撑:LLV(MA((LOW+HIGH+CLOSE)/3,1),34),LINETHICK2,COLORRED; RV:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100; RG:=(CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100; VA1:=SMA(RV,3,1); VA2:=SMA(VA1,3,1); ZZ:=EMA(SMA(RG,3,1),2); XX:=SMA(ZZ,3,1); DRAWICON(CROSS(VA1,VA2) AND CROSS(ZZ,XX),L,1); DRAWICON(CROSS(VA2,VA1) AND CROSS(XX,ZZ),H,2); N1:=20; N2:=34; C1:=EMA(C,5); C2:=EMA(C,8); C3:=EMA(C,10); C4:=EMA(C,15); C5:=EMA(C,20); RSV:=C1NOTEXTA:C1,LINETHICK2,colormagenta; NOTEXTB:IF(RSV,C1,DRAWNULL),LINETHICK2,colorblue; MA3:MA(CLOSE, N1); MA34:MA(CLOSE, N2); 稳赚中长线公式源码(含未来函数) 尖顶做多: ZIG(3,10)>REF(ZIG(3,10),1) AND REF(ZIG(3,10),1)(3,10),2), COLORRED,LINETHICK2; 尖顶做空: ZIG(3,10)REF(ZIG (3,10),2),COLORGREEN,LINETHICK2; DRAWTEXT(尖顶做多=1,0.8,'做多'),COLORRED; DRAWTEXT(尖顶做空=1,0.8,'做空'),COLORGREEN; 鳄鱼吃肉 var1:=(H+L)/2; 下颚:SMA(VAR1,13,1),COLORBLUE; 牙齿:SMA(VAR1,8,1),COLORRED; 上唇:SMA(VAR1,5,1),COLORGREEN; 搏杀生命带 Va1:=(2*CLOSE+HIGH+LOW)/4; Va2:=LLV(LOW,34); VarB:=HHV(HIGH,34); VarC:=EMA((Va1-Va2)/(VarB-Va2)*100,13); VarD:=EMA(0.667*REF(VarC,1)+0.333*VarC,2); 生命:EMA(VarD,5),colorcyan; VAR1:=((2)*(CLOSE)+HIGH+LOW)/(4); VAR2:=LLV(LOW,34); VAR3:=HHV(HIGH,34); b1:=EMA(((VAR1-VAR2)/(VAR3-VAR2))*(100),8); b2:=EMA(b1,5); STICKLINE(b1-b2 > 0,b1,b2,4,0),colorred; STICKLINE(b1-b2 < 0,b1,b2,4,0),colorgreen; 底:15,COLOR00BF00; 大底:5,COLOR007300; 顶:85,COLORFFA500; 大顶:95,COLORWHITE; 中间线: 50,COLORWHITE; 蓝黄带多空布林线(五线布林线删减加bbi) M:=20; N:=20; 趋势: MA(CLOSE,M),COLOR0080FF; 上极:趋势+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:=BARSLAST((VOL = HHV(VOL,N))); VAR1:=(CLOSE+HIGH+LOW)/3; VAR2:=EMA(VAR1,10); VAR3:=REF(VAR2,1); 上升:STICKLINE(VAR2>VAR3,VAR2,VAR3,5,0),COLOR00FFFF; 下跌:STICKLINE(VAR2 BBIBOLL:(MA(CV,3)+MA(CV,6)+MA(CV,12)+MA(CV,24))/4; 火车轨 上轨:ma(high,15); 下轨:ma(low,15); STICKLINE(CLOSE >= 上轨,CLOSE,OPEN,4,0),colorred; STICKLINE(CLOSE < 上轨 and CLOSE>下轨,CLOSE,OPEN,4,0),colorblue; STICKLINE(CLOSE <= 下轨,CLOSE,OPEN,4,0),colorgreen; STICKLINE(CLOSE >= 上轨,l,h,1,0),colorred; STICKLINE(CLOSE < 上轨 and CLOSE>下轨,l,h,1,0),colorblue; STICKLINE(CLOSE <= 下轨,l,h,1,0),colorgreen; {上轨:WMA(HIGH,30); 下轨:WMA(LOW,30); 日上轨:\"引用WMA.WMA_H#day\"(30); 日下轨:\"引用WMA.WMA_L#day\"(30); S:=CROSS(CLOSE,日上轨); X:=CROSS(日下轨,CLOSE); WS:=BARSLAST(S)+1; WX:=BARSLAST(X)+1; SS:=CROSS(SUM(S,WX),0.5); XX:=CROSS(SUM(X,WS),0.5); DRAWICON(SS,LOW*0.995,4); DRAWTEXT(SS,LOW, \\n \\n买入),ALIGN1,colorFFFFFF; DRAWICON(XX,HIGH*1.01,5); DRAWTEXT(XX,HIGH*1.02,卖出),ALIGN1,colorFFFFFF; 周上轨:\"引用WMA.WMA_H#week\"(30); 周下轨:\"引用WMA.WMA_L#week\"(30); STICKLINE(CLOSE > 日上轨,日上轨,日下轨,0.8,1),POINTDOT,LINETHICK1,colorFF; STICKLINE(CLOSE < 日下轨,日下轨,日上轨,0.8,1),POINTDOT,colorFF0000; STICKLINE(CLOSE > 周上轨,周上轨,周下轨,0.8,1),POINTDOT,colorFF; STICKLINE(CLOSE < 周下轨,周下轨,周上轨,0.8,1),POINTDOT,colorFF0000; PARTLINE(CLOSE > 上轨,上轨),LINETHICK2,colorFF; PARTLINE(CLOSE < 上轨,上轨),LINETHICK2,colorFF0000; PARTLINE(CLOSE > 下轨,下轨),LINETHICK2,colorFF; PARTLINE(CLOSE < 下轨,下轨),LINETHICK2,colorFF0000; PARTLINE(CLOSE > 日上轨,日上轨),LINETHICK2,colorFF; PARTLINE(CLOSE < 日上轨,日上轨),LINETHICK2,colorFF0000; PARTLINE(CLOSE > 日下轨,日下轨),LINETHICK2,colorFF; PARTLINE(CLOSE < 日下轨,日下轨),LINETHICK2,colorFF0000; PARTLINE(CLOSE > 周上轨,周上轨),LINETHICK2,colorFF; PARTLINE(CLOSE < 周上轨,周上轨),LINETHICK2,colorFF0000; PARTLINE(CLOSE > 周下轨,周下轨),LINETHICK2,colorFF; PARTLINE(CLOSE < 周下轨,周下轨),LINETHICK2,colorFF0000; STICKLINE(OPEN >= CLOSE,CLOSE,OPEN,9,0),colorFF5B00; STICKLINE(OPEN >= CLOSE,CLOSE,OPEN,8,0),colorFF6C00; STICKLINE(OPEN >= CLOSE,CLOSE,OPEN,7,0),colorFF7B00; STICKLINE(OPEN >= CLOSE,CLOSE,OPEN,6,0),colorFF9C00; STICKLINE(OPEN >= CLOSE,CLOSE,OPEN,5,0),colorFFBE00; STICKLINE(OPEN >= CLOSE,CLOSE,OPEN,3.5,0),colorFFCC00; STICKLINE(OPEN >= CLOSE,CLOSE,OPEN,1.5,0),colorFFFF00; STICKLINE(CLOSE >= OPEN,CLOSE,OPEN,9,0),color70084; STICKLINE(CLOSE >= OPEN,CLOSE,OPEN,8,0),colorA3; STICKLINE(CLOSE >= OPEN,CLOSE,OPEN,7,0),colorB7; STICKLINE(CLOSE >= OPEN,CLOSE,OPEN,6,0),colorCD; STICKLINE(CLOSE >= OPEN,CLOSE,OPEN,5,0),colorE9; STICKLINE(CLOSE >= OPEN,CLOSE,OPEN,3,0),color754E9; input:N(30,2,999); WMA_H:WMA(HIGH,N); WMA_L:WMA(LOW,N); WMA_C:WMA(CLOSE,N); }; 同花顺强化MACD VAR1:=(MA(CLOSE,80)-MA(CLOSE,13)/3); VAR2:=( MA((CLOSE-VAR1)/VAR1,1)); 测试版: IF(CROSS(VAR2,0) AND LOW/REF(HIGH,1)<1.012,20,0); 长黄柱抄底:IF(COUNT(VAR2>REF(VAR2,1),3)=3 AND COUNT(VAR2<0,10)=10 AND REF(VAR2,3)=LLV(VAR2,10),60,0); 短粉柱加仓: IF(REF(VAR2,2)=LLV(VAR2,20) AND REF(VAR2,2)<0.071 AND REF(VAR2,2)NOT(REF(LOW,1)>REF(HIGH,2) AND LOW>REF(HIGH,1)) AND CLOSE>REF(CLOSE,1),20,0); MMA:=EMA(VAR2,12)*0.7; MMB:=EMA(VAR2,3); DIFF:( EMA(CLOSE,12) - EMA(CLOSE,26))*100,colorred; DEA: EMA(DIFF,9),COLORFFFFFF,LINETHICK1; MACD:= 2*(DIFF-DEA); STICKLINE(MACD0,0,MACD,2,0),colorgreen;