通达信指标公式源码概况:

指标类别: 通达信指标公式

授权方式: 免费版

指标评级: ★★★★★

指标分类: 策略

画线方法: 副图

一、大赢家指标公式

  

一、{多空对比—检测无误}副图  

短期:100*(C-LLV(L,5))/(HHV(C,5)-LLV(L,5)),COLORWHITE;  

中期:100*(C-LLV(L,10))/(HHV(C,10)-LLV(L,10)),COLORYELLOW;  

中长期:100*(C-LLV(L,20))/(HHV(C,20)-LLV(L,20)),COLORMAGENTA;  

长期:100*(C-LLV(L,30))/(HHV(C,30)-LLV(L,30)),COLORRED,LINETHICK2;  

强市线:80,POINTDOT;  

弱市线:20,POINTDOT;  

分水岭:50,POINTDOT;  

多空对比四线归一选股公式:用于下跌中的抄底。  

短期:=100*(C-LLV(L,5))/(HHV(C,5)-LLV(L,5));  

中期:=100*(C-LLV(L,10))/(HHV(C,10)-LLV(L,10));  

中长期:=100*(C-LLV(L,20))/(HHV(C,20)-LLV(L,20));  

长期:=100*(C-LLV(L,30))/(HHV(C,30)-LLV(L,30));  

xg1:短期<6and中期<6and中长期<6and长期<6;  

多空对比单针下20选股公式:用于趋势向上股票的逢低买入(阴线买入)第二天逢低买入。  

短期:=100*(C-LLV(L,5))/(HHV(C,5)-LLV(L,5));  

中期:=100*(C-LLV(L,10))/(HHV(C,10)-LLV(L,10));  

中长期:=100*(C-LLV(L,20))/(HHV(C,20)-LLV(L,20));  

长期:=100*(C-LLV(L,30))/(HHV(C,30)-LLV(L,30));  

xg1:短期<20AND长期>60;  

二、短线资金波动指标(经对比无误)副图  

资金波动:EMA(100*(C-LLV(LOW,34))/(HHV(H,34)-LLV(LOW,34)),3),POINTDOT,COLORRED,LINETHICK4;  

超强势:84,POINTDOT,COLORMAGENTA;  

强势:60,POINTDOT,COLORGREEN;  

弱市:35,POINTDOT,COLORWHITE;  

用法:结合大盘,下跌后反弹,低点上移时,个股拉出大阳线后可否追高用。此指标刚进入超强,大阳线不可追  

高。在牛市中,低点不断上移,资金波动指标始终在80上下的强势区,这时拉出有大阳线可追高买进。  

三、个股资金生命线副图无误  

个股资金线:MA(C,1)/MA(REF(C,18),18)*100,LINETHICK2,COLOR00FFFF;  

资金生命线:MA(FORCAST(个股资金线,20),6),COLORMAGENTA,LINETHICK2;  

四、个股资金生命线副图无误  

个股资金线:MA(C,1)/MA(REF(C,18),18)*100,LINETHICK2,COLOR00FFFF;  

资金生命线:MA(FORCAST(个股资金线,20),6),COLORMAGENTA,LINETHICK2;  

五、资金指数,副图:指标在上海股中(600开头的)使用准确无误,但在深证股(000开头或其它)中应用时,  

非主流资金一项有差别。我琢磨此指标是引用了大盘价的原因。在深圳股中原指标可能引用了深证成指,但一般  

软件没有这个函数可引用。一般情况下上证和深证基本一样,所以此指标可以使用。  

{资金指数(副图指标)}  

主流资金:EMA(100*(C-LLV(LOW,34))/(HHV(H,34)-LLV(LOW,34)),3),COLORRED,linethick2;  

非主流资金:EMA(100*(INDEXC-LLV(INDEXL,34))/(HHV(INDEXH,34)-LLV(INDEXL,34)),3),colorgreen,linethick2;  

20,pointdot,colorf00ff0;  

50,pointdot,colorgreen;  

80,pointdot,colorwhite;  

指标说明:  

该指标是软件的精华所在,可以清楚的看出一只股票中主力散户的强弱关系。它由两条趋势线及三条水平线组  

成,紫色趋势线代表市场主流金,绿色趋势线代表非主流资金。指标有三条水平线,从上自下数值分别为80、  

50、20。80以上为超强区,20以下为超弱区,50为强弱分水岭(80—50为强势区,50—20为弱势区)。  

使用方法:  

当主流资金摆脱非主流资金上攻,且上穿50,表示主力在投入资金,股价上涨。当主流资金在80以上运行一段  

时间之后,向下穿越80,显示主力减仓股价可能走弱。  

六、{波段赢家主图无误}  

获利了结:EMA(EMA(EMA(HIGH,5),5),5)*1.15,ColorFFFFFF,linethick1;  

风险:EMA(EMA(EMA(HIGH,5),5),5)*1.1,COLORYELLOW;  

回档:EMA(EMA(EMA(HIGH,5),5),5)*1.05,Color00FF00;  

平衡:EMA(EMA(EMA(HIGH,5),5),5),ColorFF00FF,linethick1;  

反弹:EMA(EMA(EMA(HIGH,5),5),5)*0.95,COLORGRAY,linethick1;  

超跌:EMA(EMA(EMA(HIGH,5),5),5)*0.9,colorblue,linethick1;  

七、{机构能量线—检测无误}做空能量线:  

SMA((HHV(HIGH,36)-CLOSE)/(HHV(HIGH,36)-LLV(LOW,36))*100,2,1),COLORGREEN,LINETHICK3;  

做多能量线:SMA((CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100,5,1)-8,COLORRED,LINETHICK3;  

20,pointdot,colorf00ff0;  

50,pointdot,colorgreen;  

80,pointdot,colorwhite;  

八、{主力操盘轨迹,副图,与源码同,检测无误}  

RSV:=(CLOSE-LLV(LOW,7))/(HHV(HIGH,7)-LLV(LOW,7))*100;  

Y0:SMA(RSV,3,1),COLORRED,LINETHICK1;  

Y1:SMA(Y0,3,1),COLORYELLOW,LINETHICK1;  

RSV1:=(CLOSE-LLV(LOW,38))/(HHV(HIGH,38)-LLV(LOW,38))*100;  

Y2:SMA(RSV1,5,1),COLORMAGENTA,LINETHICK2;  

Y3:SMA(Y2,10,1),COLORGREEN,LINETHICK2;  

18,COLORWHITE;  

85,COLORBLUE;  

STICKLINE(Y0>Y1,Y0,Y1,6,0),COLORRED;  

STICKLINE(Y0<=Y1,Y0,Y1,6,0),COLORYELLOW;  

STICKLINE(Y2>Y3,Y2,Y3,6,0),COLORMAGENTA;  

STICKLINE(Y2<=Y3,Y2,Y3,6,0),COLORGREEN;  

九、顶底先知(大智慧L2用,无未来函数,其它软件可只用上半部分)  

CS:=(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100;  

YJD:(EMA(CS,3)-50)*2;  

极弱:-80;  

强势:60;  

风险:80;  

弱势:-60;  

YJD,COLORSTICK;  

今日保护价:(REF(C,1)+REF(C,2)+O)/3;  

VAR1:=REF(CLOSE,1);  

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

STICKLINE(CROSS(75.9,VAR2),YJD+5,YJD-5,3,0),COLORYELLOW;  

DRAWTEXT(BARSTATUS=2,78,'清仓'),COLORRED;  

DRAWTEXT(BARSTATUS=2,60,'减仓'),COLORYELLOW;  

DRAWTEXT(BARSTATUS=2,0,'控盘'),COLORWHITE;  

DRAWTEXT(BARSTATUS=2,-60,'回补'),COLORGREEN;  

DRAWTEXT(BARSTATUS=2,-80,'吸筹'),COLORBLUE;  

此指标为研判大盘和个股阶段性高点和低点的短线指标。当这一指标值达到最上部两条水平线(紫线和黄线)时,  

短期回落的可能性极大;当它达到最底部两条水平线(绿线和蓝线)时,短期反弹的可能性极大。该指标通常与  

波段高手或波段赢家指标一同使用,效果极佳  

可以选股,条件是YJD小于-80,可以用在各个周期。  

可以帮助判断顶底,自己多打开股票分析顶底的判断使用方法,有的顶后再顶,丢掉了不少利润,区分不同位置  

使用,盘整的时候准确率很高,趋势的时候就要小心了,第一次拉升调整以后还会继续上攻。  

十。动能运行轨迹(副图,无误):网上指标很多,但都与原版不同,此指标经我多次修改,三条线与赢在龙头数  

值完全一样,只是底线抄底(金元宝)信号少。完全精准可用。  

RSV:=(((CLOSE-LLV(LOW,36))/(HHV(HIGH,36)-LLV(LOW,36)))*100);  

Y0:SMA(RSV,7,1);  

Y1:SMA(SMA(RSV,7,1),3,1);  

Y2:(((CLOSE/COST(13))<=0.8)*10),COLORMAGENTA;  

Y3:SMA(Y0,7,1),COLORGREEN;  

DRAWICON(CROSS(18,Y0)ANDY1<21,10,1);  

DRAWTEXT(COUNT(CROSS(Y0,Y1),4)>=1ANDCROSS(Y0,Y3)ANDY3<70,Y3,'追涨'),COLORYELLOW;  

DRAWTEXT(COUNT(Y1>Y3,10)=10ANDCROSS(Y0,Y3)ANDY3<65,50,'短抄');  

超卖线:20,COLORBLUE;  

底线:80,COLORGRAY;  

顶部线:90,COLORBLUE;  

使用方法:  

1、当三条线在低位(超卖线之下)金叉向上,并且多头排列向上发散时,表示股价向上反弹的动能充足;反之,  

当三条线在高位死叉向下,并且空头排列时,表示股价上涨动能不足,将要产生调整。  

2、当股价严重超跌时,底部线还会有三角行突起提示您可以逢低吸纳。

image.png

二、超赢主图指标公式

  

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

A:=EMA(JJ,10);  

B:=REF(A,1);  

M3:=EMA(CLOSE,3);  

M8:=EMA(CLOSE,8);  

DRAWBAND(M3,RGB(140,70,30),M8,RGB(140,70,30));  

STICKLINE(A>B,A,B,5,0),COLORBLUE;  

STICKLINE(A<B,A,B,5,0),COLORGREEN;  

M13:EMA(M8,13),LINETHICK2,COLORWHITE;  

M55:EMA(M8,55),LINETHICK2,COLORYELLOW;  

VAR1:=EMA(M13,55),LINETHICK4;  

M81:EMA(M55,81),COLORRED,LINETHICK4;  

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

VAR3:=MA(CLOSE,21)+2*STD(CLOSE,21);  

VAR4:=REF(CLOSE,1);  

VAR5:=SMA(MAX(CLOSE-VAR4,0),7,1)/SMA(ABS(CLOSE-VAR4),7,1)*100;  

VAR6:=CROSS(79,VAR5);  

VAR7:=FILTER(VAR6,4);  

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

VAR10:=LLV(LOW,34);  

VAR11:=HHV(HIGH,34);  

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

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

JRH:=HHV(C,2);  

JRL:=LLV(C,2);  

MA3:=MA(CLOSE,3);  

YTSL:=(3*CLOSE+LOW+OPEN+HIGH)/6;  

VAR1Q:=(CLOSE>REF(CLOSE,1)ANDCLOSE>REF(CLOSE,2));  

VAR2Q:=(REF(VAR1Q,1)ANDCLOSE<=REF(CLOSE,1)  

CLOSE>=REF(CLOSE,2));  

VAR3Q:=(REF(VAR2Q,1)ANDCLOSE>=REF(CLOSE,1)  

CLOSE<=REF(CLOSE,2));  

VAR4Q:=(REF(VAR3Q,1)ANDCLOSE<=REF(CLOSE,1)  

CLOSE>=REF(CLOSE,2));  

VAR5Q:=(REF(VAR4Q,1)ANDCLOSE>=REF(CLOSE,1)  

CLOSE<=REF(CLOSE,2));  

AND  

AND  

AND  

AND  

VAR6Q:=(REF(VAR5Q,1)  

CLOSE>=REF(CLOSE,2));  

VAR7Q:=(REF(VAR6Q,1)  

CLOSE<=REF(CLOSE,2));  

VAR8Q:=(REF(VAR7Q,1)  

CLOSE>=REF(CLOSE,2));  

VAR9Q:=(REF(VAR8Q,1)  

CLOSE<=REF(CLOSE,2));  

VARAQ:=(REF(VAR9Q,1)  

CLOSE>=REF(CLOSE,2));  

VARBQ:=(REF(VARAQ,1)  

CLOSE<=REF(CLOSE,2));  

VARCQ:=(REF(VARBQ,1)  

CLOSE>=REF(CLOSE,2));  

AND  

AND  

AND  

AND  

AND  

AND  

AND  

CLOSE<=REF(CLOSE,1)  

CLOSE>=REF(CLOSE,1)  

CLOSE<=REF(CLOSE,1)  

CLOSE>=REF(CLOSE,1)  

CLOSE<=REF(CLOSE,1)  

CLOSE>=REF(CLOSE,1)  

CLOSE<=REF(CLOSE,1)  

VARDQ:=(CLOSE<REF(CLOSE,1)ANDCLOSE<REF(CLOSE,2));  

VAREQ:=(REF(VARDQ,1)  

CLOSE<=REF(CLOSE,2));  

VARFQ:=(REF(VAREQ,1)  

CLOSE>=REF(CLOSE,2));  

VAR10Q:=(REF(VARFQ,1)  

CLOSE<=REF(CLOSE,2));  

VAR11Q:=(REF(VAR10Q,1)  

CLOSE>=REF(CLOSE,2));  

VAR12Q:=(REF(VAR11Q,1)  

CLOSE<=REF(CLOSE,2));  

VAR13Q:=(REF(VAR12Q,1)  

CLOSE>=REF(CLOSE,2));  

VAR14Q:=(REF(VAR13Q,1)  

CLOSE<=REF(CLOSE,2));  

VAR15Q:=(REF(VAR14Q,1)  

CLOSE>=REF(CLOSE,2));  

VAR16Q:=(REF(VAR15Q,1)  

CLOSE<=REF(CLOSE,2));  

VAR17Q:=(REF(VAR16Q,1)  

CLOSE>=REF(CLOSE,2));  

VAR18Q:=(REF(VAR17Q,1)  

CLOSE<=REF(CLOSE,2));  

VAR19Q:=((REF(VARDQORVAREQORVARFQORVAR10QORVAR11QOR  

ANDCLOSE>=REF(CLOSE,1)AND  

ANDCLOSE<=REF(CLOSE,1)AND  

ANDCLOSE>=REF(CLOSE,1)AND  

ANDCLOSE<=REF(CLOSE,1)AND  

ANDCLOSE>=REF(CLOSE,1)AND  

ANDCLOSE<=REF(CLOSE,1)AND  

ANDCLOSE>=REF(CLOSE,1)AND  

ANDCLOSE<=REF(CLOSE,1)AND  

ANDCLOSE>=REF(CLOSE,1)AND  

ANDCLOSE<=REF(CLOSE,1)AND  

ANDCLOSE>=REF(CLOSE,1)AND  

VAR12QORVAR13QORVAR14QORVAR15QORVAR16QORVAR17QOR  

VAR18Q,1))ANDVAR1Q);  

VAR1AQ:=((REF(VAR1QORVAR2QORVAR3QORVAR4QORVAR5QORVAR6QOR  

VAR7QORVAR8QORVAR9QORVARAQORVARBQORVARCQ,1))ANDVARDQ);  

红色持股:=VAR1QORVAR2QORVAR3QORVAR4QORVAR5QORVAR6QOR  

VAR7QORVAR8QORVAR9QORVARAQORVARBQOR  

VARCQ,COLOR0000FF,NODRAW;  

离场:=IF(红色持股,JRL,DRAWNULL);  

明离场价:=离场,COLORFF99FF,NODRAW;  

今离场价:=REF(离场,1)COLOR0000FF,NODRAW;  

青色观望:=VARDQORVAREQORVARFQORVAR10QORVAR11QORVAR12QOR  

VAR13QORVAR14QORVAR15QORVAR16QORVAR17QOR  

VAR18Q,COLORFFFF00,NODRAW;  

进:=IF(青色观望,JRH,DRAWNULL);  

明进场价:=进,COLOR33AACC,NODRAW;  

今进场价:=REF(明进场价,1),COLORFF0000,NODRAW;  

黄色低买:=VAR19Q,COLOR33AACC,NODRAW;  

洋红离场:=VAR1AQ,COLORMAGENTA,NODRAW;  

急跌关注:=(CLOSE-MA(CLOSE,34))/MA(CLOSE,34)*100<-14,COLORWHITE,NODRAW;  

上市日期年:=REF(YEAR,BARSCOUNT(CLOSE)-1),NODRAW,COLOR0000FF;  

月:=REF(MONTH,BARSCOUNT(CLOSE)-1),NODRAW,COLORFF00FF;  

日:=REF(DAY,BARSCOUNT(CLOSE)-1),NODRAW,COLOR00FFFF;  

STICKLINE(C>=O,L,H,0.3,0),COLOR0000CC;  

STICKLINE(C<O,L,H,0.3,0),COLOR999900;  

STICKLINE(1,C,O,3.5,0),COLOR858500;  

STICKLINE(C>=O,C,O,3.5,0),COLOR0000E5;  

STICKLINE(红色持股,CLOSE,O,2.8,0),COLOR000055;  

STICKLINE(红色持股,CLOSE,O,2,0),COLOR000088;  

STICKLINE(红色持股,CLOSE,O,1.5,0),COLOR0000AA;  

STICKLINE(红色持股,CLOSE,O,1,0),COLOR0000CC;  

STICKLINE(红色持股,CLOSE,O,0.5,0),COLOR0000EE;  

STICKLINE(青色观望,CLOSE,O,2.8,0),COLOR454500;  

STICKLINE(青色观望,CLOSE,O,2,0),COLOR555500;  

STICKLINE(青色观望,CLOSE,O,1.5,0),COLOR656500;  

STICKLINE(青色观望,CLOSE,O,1,0),COLOR757500;  

STICKLINE(青色观望,CLOSE,O,0.5,0),COLOR858500;  

CO:=(C-O);  

STICKLINE(急跌关注,O,C-CO/2,2.8,0),COLOR555555;  

通达信168超赢主图指标公式  

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

A:=EMA(JJ,10);  

B:=REF(A,1);  

STICKLINE(A>B,A,B,5,0),COLORYELLOW;  

STICKLINE(A<B,A,B,5,0),COLORBLUE;  

M1:EMA(CLOSE,3);  

M2:EMA(CLOSE,8);  

M3:EMA(M2,13);  

M4:EMA(M2,55);  

VAR1:=EMA(M3,55);  

M5:EMA(M4,81),COLORRED,LINETHICK2;  

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

VAR3:=MA(CLOSE,21)+2*STD(CLOSE,21);  

DRAWICON(CROSS(VAR2,VAR3),HIGH*1.035,2);  

DRAWTEXT(CROSS(VAR2,VAR3),HIGH*1.02,'卖出'),COLORGREEN;  

VAR4:=REF(CLOSE,1);  

VAR5:=SMA(MAX(CLOSE-VAR4,0),7,1)/SMA(ABS(CLOSE-VAR4),7,1)*100;  

VAR6:=CROSS(79,VAR5);  

VAR7:=FILTER(VAR6,4);  

DRAWICON(VAR7,HIGH*1.035,2);  

DRAWTEXT(VAR7,HIGH*1.02,'卖出'),COLORGREEN;  

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

VAR10:=LLV(LOW,34);  

VAR11:=HHV(HIGH,34);  

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/10ANDVOL>=1.5*MA(VOL,5)  

AND  

COUNT(SK>=SD,3)ANDREF(LOW,1)=LLV(LOW,120),1,0),LOW,'●买进'),COLORRED;  

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

COUNT(SK>SD,6)ANDREF(LOW,5)=LLV(LOW,120)ANDREF(CLOSE>=OPEN,4)  

AND  

REF(CLOSE>OPEN,3)ANDREF(CLOSE>OPEN,2)ANDREF(OPEN>CLOSE,1)AND  

OPEN>REF(CLOSE,1),1,0),LOW,'●买进'),COLORRED;  

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

DRAWTEXT(IF(CLOSE<D  

CLOSE>REF(CLOSE,1)*1.08  

ANDCLOSE<MA(CLOSE,13)*1.3,1,0),LOW,'●抄底'),COLORRED;  

ANDVOL/240>MA(VOL,5)/240AND

image.png

[源码注释]通达信公式动态翻译结果

SJ赋值:1

输出严重超买:100*SJ,画红色,POINTDOT

输出超买:80,画红色,POINTDOT

输出超卖:20,COLOR00FF00,POINTDOT

输出严重超卖:0*SJ,COLOR00FF00,POINTDOT

N8赋值:80

M18赋值:3

M28赋值:3

RSV8赋值:(收盘价-N8日内最低价的最低值)/(N8日内最高价的最高值-N8日内最低价的最低值)*100

K98赋值:RSV8的M18日[1日权重]移动平均

D98赋值:K98的M28日[1日权重]移动平均

J8赋值:3*K98-2*D98

输出RK8:K98的80日简单移动平均*SJ,线宽为1

输出RD8:D98的80日简单移动平均*SJ,线宽为1

输出RJ8:J8的80日简单移动平均*SJ,线宽为1

当满足条件RK8上穿RD8*SJ并且RD8<12时,在RK8*0.80位置书写文字,COLORFF00FF

当满足条件RD8上穿RK8*SJ并且RD8>88时,在78位置书写文字,COLORFFFF00,显示在位置之上

推荐阅读:黑马赢家主力进场指标公式

  

N:=9;M1:=3;M2:=3;P:=9;  

RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;  

K:=SMA(RSV,M1,1),COLORRED,LINETHICK2;  

D:=SMA(K,M2,1),COLOR00FF00;  

JJ:=P*(3*D-2*K),COLOR00FF00;  

J:=((3*K)-(2*D));  

MAIRU:=CROSS(K,D)ANDK<20;  

MAICHU:=CROSS(D,K)ANDD>80;  

VAR2:=REF(LOW,1);  

VAR3:=SMA(ABS(LOW-VAR2),3,1)/SMA(MAX(LOW-VAR2,0),3,1)*100;  

VAR4:=EMA(IF(CLOSE*1.3,VAR3*10,VAR3/10),3);  

VAR5:=LLV(LOW,30);  

VAR6:=HHV(VAR4,30);  

VAR7:=IF(MA(CLOSE,58),1,0);  

VAR8:=EMA(IF(LOW<=VAR5,(VAR4+VAR6*2)/2,0),3)/618*VAR7;  

VAR9:=IF(VAR8>100,100,VAR8);  

吸筹:STICKLINE(VAR9>-120,0,VAR9,6,1),COLORF00FF0;  

快线:(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,COLORFF937F;  

慢线:SMA(快线,M1,1),COLORRED,LINETHICK2;  

空:SMA(慢线,M2,1),COLOR00FF00;  

牛股:IF(BARSLAST(CROSS(慢线,空))<PANDBARSLAST(CROSS(空,慢线))<PAND  

CROSS(慢线,空)AND慢线<20,90,0),STICK,COLORFF937F;  

STICKLINE(牛股,0,90,6,1),LINETHICK4,STICK,COLORFF937F;  

BB:=IF(BARSLAST(CROSS(慢线,快线))>=3ANDCROSS(快线,慢线)AND慢线<30,20,0);  

买:STICKLINE(BB,0,20,7,1),COLORYELLOW;  

AA:=IF(BARSLAST(CROSS(快线,慢线))>=4ANDCROSS(慢线,快线)AND快线>50,20,0);  

卖:STICKLINE(AA,80,100,7,1),COLOR00FF00;  

参数:N1(1,100,9),N2(1,100,5)  

MTM:=C-REF(C,1);  

ZLGJ:100*EMA(EMA(MTM,N1),N1)/EMA(EMA(ABS(MTM),N1),N1),COLORWHITE;  

MAZL:MA(ZLGJ,N2),COLORYELLOW;  

VAR1:=REF((LOW+OPEN+CLOSE+HIGH)/4,1);  

VAR2:=SMA(ABS(LOW-VAR1),13,1)/SMA(MAX(LOW-VAR1,0),10,1);  

VAR3:=EMA(VAR2,10);  

VAR4:=LLV(LOW,33);  

VAR5:=EMA(IF(LOW<=VAR4,VAR3,0),3);  

主力进场:IF(VAR5>REF(VAR5,1),VAR5,0),COLORRED,NODRAW;  

STICKLINE(VAR5>REF(VAR5,1),0,VAR5,3,0),COLOR000055;  

STICKLINE(VAR5>REF(VAR5,1),0,VAR5,2.6,0),COLOR000077;  

STICKLINE(VAR5>REF(VAR5,1),0,VAR5,2.1,0),COLOR000099;  

STICKLINE(VAR5>REF(VAR5,1),0,VAR5,1.5,0),COLOR0000BB;  

STICKLINE(VAR5>REF(VAR5,1),0,VAR5,0.9,0),COLOR0000DD;  

STICKLINE(VAR5>REF(VAR5,1),0,VAR5,0.3,0),COLOR0000FF;  

洗盘:IF(VAR5<REF(VAR5,1),VAR5,0),COLORGREEN,NODRAW;  

STICKLINE(VAR5<REF(VAR5,1),0,VAR5,3,0),COLOR005500;  

STICKLINE(VAR5<REF(VAR5,1),0,VAR5,2.6,0),COLOR007700;  

STICKLINE(VAR5<REF(VAR5,1),0,VAR5,2.1,0),COLOR009900;  

STICKLINE(VAR5<REF(VAR5,1),0,VAR5,1.5,0),COLOR00BB00;  

STICKLINE(VAR5<REF(VAR5,1),0,VAR5,0.9,0),COLOR00DD00;  

STICKLINE(VAR5<REF(VAR5,1),0,VAR5,0.3,0),COLOR00FF00;  

VAR1:=(3*CLOSE+HIGH+LOW)/4;  

VAR2:=EMA(EMA(EMA(VAR1,4),4),4);  

J:=(VAR2-REF(VAR2,1))/REF(VAR2,1)*100;  

D:MA(J,3)+0.03,LINETHICK1;  

K:MA(J,1),COLORRED,LINETHICK1;  

Y:=0;  

U:1.8,COLORGREEN;  

I:5.5,COLORRED;  

Y1:=100*VOL/FINANCE(7);  

DRAWICON(Y1>0.16,K*1.04,10);  

DRAWICON(CROSS(D,K),D+0.6,15),COLORGREEN;  

DRAWICON(CROSS(K,D),D-0.3,9),COLORYELLOW;  

AA:=WINNER(CLOSE+CLOSE*15/100)*100;  

BB:=WINNER(CLOSE+CLOSE*0/100)*100;  

CC:=AA-BB;  

DD:=(WINNER(CLOSE-CLOSE*0.1/100)-WINNER(CLOSE-CLOSE*15/100))*100;  

EE:=CC<3ANDDD<0.5AND(OPEN<LOWOROPEN>LOW);  

A1:=DYNAINFO(6);  

A2:=IF(LOW>A1,0,IF(HIGH<A1,1,(A1-LOW+0.01)/(HIGH-LOW+0.01)));  

A3:=VOL/WINNER(LOW);  

A4:=REF(HHV(CLOSE,120),1);  

A5:=REF(LLV(CLOSE,120),1);  

A6:=100*(CLOSE-A5)/(A4-A5);  

A7:=A2>0ORA2=1;  

A8:=A7ANDA3/REF(A3,3)>=3ANDA6<80;  

A9:=REF(A8,1)ORREF(A8,2)ORREF(A8,3)ORREF(A8,4);  

A10:=A8ANDA9;  

A11:=IF(FILTER(A8,3),5,0);  

A12:=IF(FILTER(A10,3)OREE,10,0);  

DRAWTEXT(A11=5,2,'资金进场'),COLORRED;  

DRAWTEXT(A12=10,-2,'资金增仓'),COLORYELLOW;  

VAR11:=REF(LOW,1);  

VAR12:=SMA(ABS(LOW-VAR11),13,1)/SMA(MAX(LOW-VAR11,0),13,1)*4;  

VAR13:=EMA(VAR12,13);  

VAR14:=LLV(LOW,34);  

VAR15:=EMA(IF(LOW<=VAR14,VAR13,0),3);  

主力进场:IF(VAR15>REF(VAR15,1),VAR15,0),COLORRED;  

STICKLINE(VAR15>REF(VAR15,1),0,VAR15,4,0),COLORRED;  

洗盘:IF(VAR15<REF(VAR15,1),VAR15,0),COLORLIGREEN;  

STICKLINE(VAR15<REF(VAR15,1),0,VAR15,4,0),COLORLIGREEN;  

VAR6:=100-3*SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20  

,1)+2*SMA(SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1  

),15,1);  

VAR7:=100-3*SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,  

1)+2*SMA(SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),  

15,1);  

VAR8:=VAR6<REF(VAR7,1)ANDVOL>REF(VOL,1)ANDCLOSE>REF(CLOSE,1);  

DRAWTEXT(VAR8ANDCOUNT(VAR8,30)=1,-3,'资金增筹');  

AA1:=DOWNNDAY(MA(C,10),1);  

AA2:=ABS(C-REF(C,1))/REF(C,1)<=0.03;  

AA3:=(C-O)/O<=0.03AND(REF(C,1)-REF(O,1))/REF(O,1)<=0.03;  

AA4:=COUNT(C<O,4)>=2;  

AA5:=C>OANDC>REF(C,1)AND(C-REF(C,5))/REF(C,5)<-0.02;  

B1:=CLOSE<MA(CLOSE,5)ANDMA(CLOSE,5)<MA(CLOSE,10)AND  

MA(CLOSE,10)<MA(CLOSE,30)ANDMA(CLOSE,30)<MA(CLOSE,60);  

预备:IF(AA1ANDAA2ANDAA3ANDAA4ANDAA5ANDNOT(B1),1,0),COLORMAGENTA;

image.png

声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。