您的位置 首页 通达信公式

通达信飞龙出海指标公式

趋势顶底:(C-MA(C,30))/MA(C,30)*500,COLORMAGENTA;
赢利技术:=BArslAST(crOSS(C,MA(C,30)));
指标:=BARSLAST(CROSS(MA(C,30),C));
山坡线:IF(赢利技术<指标,赢利技术+1,0);
压力线:HHV(趋势顶底,山坡线),LINETHICK2,COLORGREEN;
DRAWBAND(压力线,RGB(0,55,155),0,RGB(0,55,155));
绿龙线:(C-REF(C,山坡线))/REF(C,山坡线)*500,DOTLINE,COLORRED;
DRAWBAND(绿龙线,RGB(155,55,0),压力线,RGB(0,55,155));
VVVDD4:=BARSLAST(CROSS(C,MA(C,20)));
VVVDD5:=BARSLAST(CROSS(MA(C,20),C));
VVVDD6:=IF(VVVDD4<VVVDD5,VVVDD4+1,0),DOTLINE,COLORWHITE;
青龙线:(C-REF(C,VVVDD6))/REF(C,VVVDD6)*500,COLOR00FFFF,DOTLINE,;
DRAWBAND(青龙线,RGB(255,55,0),压力线,RGB(0,55,255));
飞龙线:=IF(绿龙线>青龙线,绿龙线,青龙线);
VVVDD8:=vol/CAPITAL*100 LINETHICK0;
VVVDD9:=SUM(VVVDD8,100) LINETHICK0;
VVVDD0:=SUM(VVVDD8,0)-REF(SUM(VVVDD8,0),VVVDD6),COLORFF937F LINETHICK1;
趋势线:EMA(青龙线,3),DOTLINE,COLORYELLOW;
趋势角:ATAN((趋势线/REF(趋势线,1)-1)*100)*180/3.1416,NODRAW;
IF(趋势角>REF(趋势角,1),趋势线,DRAWNULL),COLORRED,LINETHICK4;
VVVDD01:=VVVDD0/青龙线,COLOR00FF00 LINETHICK1;
{DRAWTEXT(CROSS(青龙线,压力线) AND REF(青龙线,1)<REF(压力线,1),青龙线,'升');
DRAWTEXT(CROSS(压力线,青龙线) AND REF(青龙线,1)>REF(压力线,1),压力线,'降');
DRAWTEXT(CROSS(趋势顶底,山坡线) AND REF(趋势顶底,1)<REF(山坡线,1),山坡线-1,'上');
DRAWTEXT(CROSS(趋势顶底,山坡线) AND REF(趋势顶底,1)<REF(山坡线,1),山坡线-18,'坡');
DRAWTEXT(CROSS(山坡线,趋势顶底) AND REF(趋势顶底,1)>REF(山坡线,1),山坡线-1,'下');
DRAWTEXT(CROSS(山坡线,趋势顶底) AND REF(趋势顶底,1)>REF(山坡线,1),山坡线-18,'坡');
DRAWTEXT(CROSS(0,趋势顶底) AND REF(趋势顶底,1)>0,-1,'必');
DRAWTEXT(CROSS(0,趋势顶底) AND REF(趋势顶底,1)>0,-18,'跌');
DRAWTEXT(CROSS(绿龙线,压力线) AND REF(绿龙线,1)<REF(压力线,1),绿龙线,'升');
DRAWTEXT(CROSS(压力线,绿龙线) AND REF(绿龙线,1)>REF(压力线,1),压力线,'降');
DRAWTEXT(REF(趋势顶底,1)=REF(压力线,1) AND 趋势顶底<压力线,压力线-5,'下');
DRAWTEXT(REF(趋势顶底,1)=REF(压力线,1) AND 趋势顶底<压力线,趋势顶底-10,'调');}
N:=3;
M:=6;
VARS:=100;
VARZQ:=30;
RSV:=(CLOSE-LLV(LOW,VARZQ))/(HHV(HIGH,VARZQ)-LLV(LOW,VARZQ))*VARS;
K:=SMA(RSV,5,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
HS:=VOL/CAPITAL;
SH:=(HHV(HIGH,VARZQ)-CLOSE)/(HHV(HIGH,VARZQ)-LLV(LOW,VARZQ))*VARS-10;
JG:=(CLOSE-LLV(LOW,VARZQ))/(HHV(HIGH,VARZQ)-LLV(LOW,VARZQ))*VARS;
GF:=SMA(JG,13,8);
DDJG:=JG-REF(JG,1);
DTJG:=HS*DDJG*100/4;
VARZLSCJG:=(90+SUM(DTJG,0));
主力筹码:SUM(DTJG,0)+90,LINETHICK1,COLORRED,NODRAW;
DDSH:=SH-REF(SH,1);
DTSH:=HS*DDSH*100/4;
VARZLSCSH:= (60+SUM(DTSH,0));
散户筹码:=SUM(DTSH,0)+60,LINETHICK1,COLORWHITE;
{机构筹码:=主力筹码, COLORRED ,LINETHICK2;
散户筹码:=散户筹码, COLORGREEN ,LINETHICK2;}
主持仓:=EMA(100*(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34)),3),COLORMAGENTA,LINETHICK2;
主力仓位:=主持仓,COLORRED NODRAW;
{散户筹码:=散户线,COLORYELLOW,LINETHICK2 NODRAW;}
ddeE:=1;
A1:=(WINNER(C)-REF(WINNER(C),1))/REF(WINNER(C),1);
A2:=VOL/CAPITAL;
A3:=A1/A2;
A4:=1-WINNER(C);
A5:=(A4-REF(A4,1))/REF(A4,1);
A6:=A5/A2;
{主力仓位:SUM(IF(A3=REF(A3,1),0,A3),0),COLOR00FFFF NODRAW;
散户筹码:=EMA((WINNER(C*1.1)-WINNER(C*0.9))*70,5),COLORYELLOW,LINETHICK2 NODRAW;}
昨天主力仓位:REF(主力仓位,1),COLORGREEN NODRAW;
主力仓位增减:主力仓位-昨天主力仓位,COLOR00FFFF NODRAW;
散户筹码增减:散户筹码-REF(散户筹码,1),COLORFFFF00 NODRAW;
V1:=MIN(REF(主力仓位,1),REF(主力仓位,2));
V2:=MIN(REF(主力仓位,3),REF(主力仓位,4));
V3:=MIN(REF(主力仓位,5),REF(主力仓位,6));
V4:=MIN(REF(主力仓位,7),REF(主力仓位,8));
V5:=MIN(REF(主力仓位,9),REF(主力仓位,10));
V6:=MIN(REF(主力仓位,11),REF(主力仓位,12));
V7:=MIN(REF(主力仓位,13),REF(主力仓位,14));
V8:=MIN(REF(主力仓位,15),REF(主力仓位,16));
W1:=MIN(MIN(V1,V2),MIN(V3,V4));
W2:=MIN(MIN(V5,V6),MIN(V7,V8));
ZM1:=MIN(W1,W2);
低量:=ZM1*DDEE,COLOR9999FF CIRCLEDOT;
MAH:=MA(H,3);
MA5:=MA(C,5);
MA10:=MA(C,10);
MA20:=MA(C,20);
大:=MAX(MAX(MAH,MA5),MAX(MA10,MA20));
小:=MIN(MIN(MAH,MA5),MIN(MA10,MA20));
粘:(大-小)/小*100,NODRAW,COLORRED;
IF(趋势顶底>=压力线,趋势顶底,0),COLORGREEN;
上升线:=IF(趋势顶底>=压力线,趋势顶底,0);
EMA(趋势顶底,5),COLORMAGENTA,DOTLINE;
DRAWBAND(上升线,RGB(100,10,0),EMA(趋势顶底,5),RGB(0,10,100));
DRAWBAND(0,RGB(0,100,0),EMA(趋势顶底,5),RGB(0,10,100));
DRAWBAND(趋势顶底,RGB(100,10,0),EMA(趋势顶底,5),RGB(0,10,100));
STICKLINE(粘<=5,-20,-20+粘,3,0),COLORYELLOW;
STICKLINE(粘>=REF(粘,1) AND MAH>=REF(MAH,1),-20,-20+粘,2,0),COLORRED;
STICKLINE(粘>=REF(粘,1) AND MAH>=REF(MAH,1),-20,-20+粘,2.6,0),COLOR000099;
STICKLINE(粘>=REF(粘,1) AND MAH>=REF(MAH,1),-20,-20+粘,2,0),COLOR0000AA;
STICKLINE(粘>=REF(粘,1) AND MAH>=REF(MAH,1),-20,-20+粘,1,0),COLOR0000DD;
STICKLINE(粘>=REF(粘,1) AND MAH>=REF(MAH,1),-20,-20+粘,0,0),COLORAA33DD;
STICKLINE(粘>=REF(粘,1) AND MAH>=REF(MAH,1) AND 粘<=5 ,-20,-20+粘,0.5,0),COLORWHITE;
趋势顶底,COLOR80FFFF,LINETHICK2;
0,COLORRED,LINETHICK4;
上升线,COLORGREEN,LINETHICK2;
STICKLINE(主力仓位>低量,REF(主力仓位,1),主力仓位,3,0),COLOR005555;
STICKLINE(主力仓位>低量,REF(主力仓位,1),主力仓位,2,0),COLOR007777;
STICKLINE(主力仓位>低量,REF(主力仓位,1),主力仓位,1,0),COLOR009999;
STICKLINE(主力仓位>低量,REF(主力仓位,1),主力仓位,0,0),COLOR00CCCC;
STICKLINE(主力仓位<=低量,REF(主力仓位,1),主力仓位,3,0),COLOR005500;
STICKLINE(主力仓位<=低量,REF(主力仓位,1),主力仓位,2,0),COLOR007700;
STICKLINE(主力仓位<=低量,REF(主力仓位,1),主力仓位,1,0),COLOR009900;
STICKLINE(主力仓位<=低量,REF(主力仓位,1),主力仓位,0,0),COLOR00CC00;
STICKLINE(主力仓位<REF(主力仓位,1) AND 主力仓位<=低量,REF(主力仓位,1),主力仓位,3,0),COLOR555500;
STICKLINE(主力仓位<REF(主力仓位,1) AND 主力仓位<=低量,REF(主力仓位,1),主力仓位,2,0),COLOR777700;
STICKLINE(主力仓位<REF(主力仓位,1) AND 主力仓位<=低量,REF(主力仓位,1),主力仓位,1,0),COLOR999900;
STICKLINE(主力仓位<REF(主力仓位,1) AND 主力仓位<=低量,REF(主力仓位,1),主力仓位,0,0),COLORCCCC00;
VD1:=MAX(REF(主力仓位,1),REF(主力仓位,2));
VD2:=MAX(REF(主力仓位,3),REF(主力仓位,4));
VD3:=MAX(REF(主力仓位,5),REF(主力仓位,6));
VD4:=MAX(REF(主力仓位,7),REF(主力仓位,8));
VD5:=MAX(REF(主力仓位,9),REF(主力仓位,10));
VD6:=MAX(REF(主力仓位,11),REF(主力仓位,12));
VD7:=MAX(REF(主力仓位,13),REF(主力仓位,14));
VD8:=MAX(REF(主力仓位,15),REF(主力仓位,16));
WD1:=MAX(MIN(VD1,VD2),MIN(VD3,VD4));
WD2:=MAX(MIN(VD5,VD6),MIN(VD7,VD8));
ZDM1:=MAX(WD1,WD2);天量:=ZDM1*DDEE,COLOR9999FF CIRCLEDOT;
STICKLINE(主力仓位>=天量,主力仓位,REF(主力仓位,1),2.6,0),COLOR990099;
STICKLINE(主力仓位>=天量,主力仓位,REF(主力仓位,1),2,0),COLORAA00AA;
STICKLINE(主力仓位>=天量,主力仓位,REF(主力仓位,1),1,0),COLORDD00DD;
STICKLINE(主力仓位>=天量,主力仓位,REF(主力仓位,1),0,0),COLORFF33DD;
STICKLINE(主力仓位>=REF(主力仓位,1) AND 主力仓位>=天量,主力仓位,REF(主力仓位,1),2.6,0),COLOR000099;
STICKLINE(主力仓位>=REF(主力仓位,1) AND 主力仓位>=天量,主力仓位,REF(主力仓位,1),2,0),COLOR0000AA;
STICKLINE(主力仓位>=REF(主力仓位,1) AND 主力仓位>=天量,主力仓位,REF(主力仓位,1),1,0),COLOR0000DD;
STICKLINE(主力仓位>=REF(主力仓位,1) AND 主力仓位>=天量,主力仓位,REF(主力仓位,1),0,0),COLORAA33DD;
{纠正青柱}
青柱1:=主力仓位增减<0 AND REF(主力仓位增减,1)>0 AND Abs(主力仓位增减)>ABS(REF(主力仓位增减,1));
STICKLINE(主力仓位增减<0 AND REF(主力仓位增减,1)>0 AND ABS(主力仓位增减)>ABS(REF(主力仓位增减,1)),REF(主力仓位,1),主力仓位,3,0),COLOR555500;
STICKLINE(主力仓位增减<0 AND REF(主力仓位增减,1)>0 AND ABS(主力仓位增减)>ABS(REF(主力仓位增减,1)),REF(主力仓位,1),主力仓位,2,0),COLOR777700;
STICKLINE(主力仓位增减<0 AND REF(主力仓位增减,1)>0 AND ABS(主力仓位增减)>ABS(REF(主力仓位增减,1)),REF(主力仓位,1),主力仓位,1,0),COLOR999900;
STICKLINE(主力仓位增减<0 AND REF(主力仓位增减,1)>0 AND ABS(主力仓位增减)>ABS(REF(主力仓位增减,1)),REF(主力仓位,1),主力仓位,0,0),COLORCCCC00;
{MA5:MA(主力仓位,5)*DDEE,COLORFFFFFF LINETHICK2;
MA10:MA(主力仓位,10)*DDEE,COLOR00FFFF LINETHICK2;
MA20:MA(主力仓位,20)*DDEE,COLOR00FF00 LINETHICK2;}
{MA60:MA(主力仓位,60)*DDEE,COLORFF9900 LINETHICK2;MA120:MA(主力仓位,120)*DDEE,COLORFF00FF LINETHICK2;MA250:MA(主力筹码,250)*DDEE,COLORRED LINETHICK2;};
{DRAWTEXT_FIX(1,0.0,0.0,0,'青芯-机构低位深度洗盘或高位出货坚决'),COLORFFFF00;
DRAWTEXT_FIX(1,0.00,0.06,0,'绿芯-机构在做高抛低吸或低吸高抛'),COLOR00FF00;
DRAWTEXT_FIX(1,0.00,0.12,0,'黄芯-机构洗盘'),COLOR00FFFF;
DRAWTEXT_FIX(1,0.00,0.18,0,'粉芯-机构吸筹进货'),COLORFF00FF;
DRAWTEXT_FIX(1,0.00,0.24,0,'红芯-机构吸筹进货积极主动'),COLORRED;
DRAWTEXT_FIX(C>O,0.01,0.9,0,'☆胤夫收藏精品☆'),COLOR00FFFF;
DRAWICON(主力仓位增减>0 AND 主力仓位增减>=HHV(主力仓位增减,90),主力仓位+主力仓位增减/10,25);}
DRAWICON(CROSS(飞龙线,主力仓位) AND MA(C,20)>REF(MA(C,20),1) AND C>MA(C,60),飞龙线,30);
DRAWICON(CROSS(主力仓位,压力线) AND 主力仓位增减>0,主力仓位+主力仓位增减,25);

通达信飞龙出海指标公式

本文来自网络,不代表公式指标立场,转载请注明出处:https://www.gszb.top/92800.html

为您推荐

联系我们

联系我们

在线咨询: QQ交谈

邮箱: admin@gszb.top

关注微信
微信扫一扫关注我们

微信扫一扫关注公众号

加入QQ群
   
微信扫一扫关注我们

QQ扫一扫加入公式群

返回顶部