您的当前位置:首页正文

自己收集的好用的指标源码

2023-02-02 来源:步旅网


通达信金牛多空能量指标

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(CREF(C,1)),O,C,4,0),COLORCYAN;

STICKLINE((CH) OR (C=O AND C>REF(C,1)),C,H,0.1,1),COLORCYAN;

STICKLINE((CO) OR (C=O AND C>REF(C,1)),L,O,0.1,1),COLORCYAN;

压力: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(VAR2CV:=CLOSE;

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;

STICKLINE(MACDSTICKLINE(MACD>REF(MACD,1)AND MACD,0,MACD,2,0),coloryellow;

STICKLINE(MACD>REF(MACD,1)AND MACD>0,0,MACD,3,0),COLORFF75FF;

波段稳赢

N:=20;

N1:=7;

N2:=69;

M3:=EMA(CLOSE,3);

M8:=EMA(CLOSE,8),CoLor008000;

M13:=EMA(M8,13),CoLor0000FF;

M62:=EMA(M8,55),CoLorF0F000;

VAR1:=EMA(M13,62);

M81:EMA(M62,81),CoLor00FFFF;

M144:=EMA(VAR1,144),Linethick2,CoLor0000FF;

M250:=EMA(VAR1,250),POINTDOT,Linethick2,CoLorF00FF0;

VAR2:=(CLOSE+HIGH+LOW)/(3);

VAR3:=(EMA(VAR2,10));

VAR4:=(REF(VAR3,1));

STICKLINE((VAR3 > VAR4),VAR3,VAR4,4,0),CoLor00FFFF;

STICKLINE((VAR3 < VAR4),VAR3,VAR4,4,0),CoLorFF0000;

VAR5:=((REF(HIGH,1)+REF(LOW,1))/(2));

VAR6:=MA(CLOSE,N)+((2)*(STD(CLOSE,N)));

DRAWTEXT(CROSS(VAR3,VAR4),(VAR3)*(0.98),'★'),CoLor00FFFF;

DRAWTEXT(CROSS(VAR5,VAR6),(HIGH)*(1.04),'↓卖'),CoLor008000;

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));

DRAWTEXT(VARA,(HIGH)*(1.04),'↓卖'),CoLorFFFFFF;

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));

DRAWTEXT(IF(((COUNT((CLOSE < REF(CLOSE,1)),8))/(8) > 0.6) AND (VOL >= (1.5)*(MA(VOL,5))) AND COUNT((VARE >= VARF),3) AND (REF(LOW,1)=LLV(LOW,120)),1,0),LOW,'●买进'),CoLorFF00FF;

DRAWTEXT(IF(((COUNT((CLOSE < REF(CLOSE,1)),13))/(13) > 0.6) AND

COUNT((VARE > VARF),6) AND (REF(LOW,5)=LLV(LOW,120)) AND REF((CLOSE >= OPEN),4) AND REF((CLOSE > OPEN),3) AND REF((CLOSE > OPEN),2) AND REF((OPEN > CLOSE),1) AND (OPEN > REF(CLOSE,1)),1,0),LOW,'●买进'),CoLor00FFFF;

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,'●抄底'),CoLor0000FF;

压力提示(未来函数)

VAR1:=ZIG(3,2.88) < REF(ZIG(3,2.88),1) AND REF(ZIG(3,2.88),1) > REF(ZIG(3,2.88),2);

VAR2:=ZIG(3,2.88) > REF(ZIG(3,2.88),1) AND REF(ZIG(3,2.88),1) < REF(ZIG(3,2.88),2);

STICKLINE(VAR1,C,O,8,0),COLOR00FF00;

STICKLINE(VAR1,C,O,5,0),COLOR00FF00;

STICKLINE(VAR1,H,L,2,0),COLOR00FF00;

DRAWTEXT(VAR1,H*1.007,' 上阻力'),COLOR80FFFF;

STICKLINE(VAR2,C,O,7,0),COLOR0000FF;

STICKLINE(VAR2,C,O,5,0),COLOR0000FF;

STICKLINE(VAR2,H,L,2,0),COLOR0000FF;

DRAWTEXT(VAR2,L*0.993,' 下阻力'),COLOR43D0FA;

VAR3:=ZIG(3,4.88) < REF(ZIG(3,4.88),1) AND REF(ZIG(3,4.88),1) > REF(ZIG(3,4.88),2);

VAR4:=ZIG(3,4.88) > REF(ZIG(3,4.88),1) AND REF(ZIG(3,4.88),1) < REF(ZIG(3,4.88),2);

STICKLINE(VAR3,C,O,8,0),COLOR00FF00;

STICKLINE(VAR3,C,O,5,0),COLOR00FF00;

STICKLINE(VAR3,H,L,2,0),COLOR00FF00;

DRAWTEXT(VAR3,H*1.007,'强上阻力'),COLOR43D0FA;

STICKLINE(VAR4,C,O,7,0),COLOR0000FF;

STICKLINE(VAR4,C,O,5,0),COLOR0000FF;

STICKLINE(VAR4,H,L,2,0),COLOR0000FF;

DRAWTEXT(VAR4,L*0.993,'强下阻力'),COLOR43D0FA;

VAR5:=ZIG(3,5.88) < REF(ZIG(3,5.88),1) AND REF(ZIG(3,5.88),1) > REF(ZIG(3,5.88),2);

VAR6:=ZIG(3,5.88) > REF(ZIG(3,5.88),1) AND REF(ZIG(3,5.88),1) < REF(ZIG(3,5.88),2);

STICKLINE(VAR5,C,O,9,0),COLOR00FFFF;

STICKLINE(VAR5,C,O,6,0),COLOR00FF00;

STICKLINE(VAR5,H,L,3,0),COLOR00FF00;

DRAWTEXT(VAR5,H*1.007,'■强上阻力■'),COLOR00FF00;

STICKLINE(VAR6,C,O,8,0),COLOR00FFFF;

STICKLINE(VAR6,C,O,6,0),COLOR0000FF;

STICKLINE(VAR6,H,L,3,0),COLOR0000FF;

DRAWTEXT(VAR6,L*0.993,'■强下阻力■'),COLOR00FFFF;

VAR7:=ZIG(3,6.88) < REF(ZIG(3,6.88),1) AND REF(ZIG(3,6.88),1) > REF(ZIG(3,6.88),2);

VAR8:=ZIG(3,6.88) > REF(ZIG(3,6.88),1) AND REF(ZIG(3,6.88),1) < REF(ZIG(3,6.88),2);

STICKLINE(VAR7,C,O,9,0),COLOR00FFFF;

STICKLINE(VAR7,C,O,6,0),COLOR00FF00;

STICKLINE(VAR7,H,L,2,0),COLOR00FF00;

DRAWTEXT(VAR7,H*1.007,'■■强上阻力■■'),COLOR00FF00;

DRAWTEXT(VAR8,L*0.993,'■■强下阻力■■'),COLOR00FFFF;

VAR9:=ZIG(3,8.88) < REF(ZIG(3,8.88),1) AND REF(ZIG(3,8.88),1) > REF(ZIG(3,8.88),2);

VAR10:=ZIG(3,8.88) > REF(ZIG(3,8.88),1) AND REF(ZIG(3,8.88),1) < REF(ZIG(3,8.88),2);

DRAWTEXT(VAR9,H*1.007,'■■■强上阻力■■■'),COLOR00FF00;

DRAWTEXT(VAR10,L*0.993,'■■■强下阻力■■■'),COLOR00FFFF;

VAR13:=ZIG(3,15.88) < REF(ZIG(3,15.88),1) AND REF(ZIG(3,15.88),1) > REF(ZIG(3,15.88),2);

VAR14:=ZIG(3,15.88) > REF(ZIG(3,15.88),1) AND REF(ZIG(3,15.88),1) < REF(ZIG(3,15.88),2);

DRAWTEXT(VAR13,H*1.02,'★★★大逆转趋势★★★'),COLOR00FF00;

DRAWTEXT(VAR14,L*0.975,'★★★大逆转趋势★★★'),COLOR00FFFF;

VAR15:=ZIG(3,0.23) < REF(ZIG(3,0.23),1) AND REF(ZIG(3,0.23),1) > REF(ZIG(3,0.23),2);

VAR16:=ZIG(3,0.23) > REF(ZIG(3,0.23),1) AND REF(ZIG(3,0.23),1) < REF(ZIG(3,0.23),2);

DRAWICON(VAR15,H,5);

DRAWICON(VAR16,L,4);

现货指标(通道突破)倚天版指标

上线:=SMA(C,6.5,1);

下线:=SMA(C,13.5,1);

上线界:=SMA(C,3,1);

下线界:=SMA(C,8,1);

STICKLINE(上线 > 下线 , 上线,下线 ,2.5, 0),COLORRED,LINETHICK2;

STICKLINE(下线 > 上线,上线,下线,2.5,0),COLORGREEN,LINETHICK2;

DRAWTEXT( CROSS(上线,下线),LOW *0.98,'反手做多' ),COLORYELLOW;

DRAWTEXT(CROSS(下线界,上线界),H*1.02,'反手做空'),COLORYELLOW;

BBI:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4;

UPR:=BBI+3*STD(BBI,13);

DWN:=BBI-3*STD(BBI,13);

安全:=MA(CLOSE,60);

LC:=REF(CLOSE,1);

RSI:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;

A7:=(2*C+H+L)/4;

操作:MA(A7,5),LINETHICK2;

操作界:=MA(A7,5)*1.03;

操作界限:=MA(A7,5)*0.97;

VAR1:LLV(A7,21);

VAR2:HHV(A7,21);

SK:=EMA((A7-VAR1)/(VAR2-VAR1)*100,7);

SD:=EMA(0.667*REF(SK,1)+0.333*SK,5);

DRAWTEXT(IF(COUNT(CLOSE < REF(CLOSE,1),8)/8 > 6/10 AND VOL >= 1.5*MA(VOL,5) AND COUNT(SK >= SD,3) AND

REF(LOW,1)=LLV(LOW,120),1,0),LOW*0.98,'买进') ,COLOR0099FF;

DRAWTEXT(IF(COUNT(CLOSE < REF(CLOSE,1),13)/13 > 6/10 AND COUNT(SK > SD,6) AND REF(LOW,5)=LLV(LOW,120) AND REF(CLOSE >= OPEN,4) AND REF(CLOSE > OPEN,3) AND REF(CLOSE > OPEN,2) AND REF(OPEN > CLOSE,1) AND OPEN > REF(CLOSE,1),1,0),LOW*0.98,'买进') ,COLORYELLOW;

D:=MA(CLOSE,80)-MA(CLOSE,10)/3;

DRAWTEXT(IF(CLOSE < D AND VOL/240 > MA(VOL,5)/240 AND CLOSE > REF(CLOSE,1)*1.08 AND CLOSE < MA(CLOSE,13)*1.3,1,0),LOW*0.98,'抄底'),COLORYELLOW;

顺势而为

MGT2008:=DATE <= 511619931;

MGT2008上持多:(MA(C,15)) * MGT2008,COLOR0000FF;

MGT2008下持空:(MA(C,40)) * MGT2008,COLOR00FF00;

STICKLINE(((C >= MGT2008下持空) AND (C >= O)),H,L,0.5,1),COLORRED;

STICKLINE(((C >= MGT2008下持空) AND (C >= O)),O,C,8,1),COLORRED;

STICKLINE(((C >= MGT2008下持空) AND (C <= O)),H,L,0.5,0),COLORRED;

STICKLINE(((C >= MGT2008下持空) AND (C <= O)),O,C,8,0),COLORRED;

STICKLINE(((C < MGT2008下持空) AND (C >= O)),H,L,0.5,1),COLORGREEN;

STICKLINE(((C < MGT2008下持空) AND (C >= O)),O,C,8,1),COLORGREEN;

STICKLINE(((C < MGT2008下持空) AND (C <= O)),H,L,0.5,0),COLORGREEN;

STICKLINE(((C < MGT2008下持空) AND (C <= O)),O,C,8,0),COLORGREEN;

STICKLINE(((C >= MGT2008下持空) AND (C >= O)),H,L,0.5,1),COLORRED;

STICKLINE(((C >= MGT2008下持空) AND (C >= O)),O,C,8,1),COLORRED;

STICKLINE(((C >= MGT2008下持空) AND (C <= O)),H,L,0.5,0),COLORRED;

STICKLINE(((C >= MGT2008下持空) AND (C <= O)),O,C,8,0),COLORRED;

STICKLINE(((C < MGT2008下持空) AND (C >= O)),H,L,0.5,1),COLORGREEN;

STICKLINE(((C < MGT2008下持空) AND (C >= O)),O,C,8,1),COLORGREEN;

STICKLINE(((C < MGT2008下持空) AND (C <= O)),H,L,0.5,0),COLORGREEN;

STICKLINE(((C < MGT2008下持空) AND (C <= O)),O,C,8,0),COLORGREEN;

因篇幅问题不能全部显示,请点此查看更多更全内容