导航:首页 > 源码编译 > 通达信海洋状态指标源码

通达信海洋状态指标源码

发布时间:2025-01-14 19:06:41

1. 谁有航海家通达信指标公式源码

{航海家通达信指标全套公式}
{1.海洋状态}
XY_S1101:=(2*CLOSE+HIGH+LOW)/4;
XY_S1102:=LLV(LOW,34);
XY_S1103:=HHV(HIGH,34);
XY_SZQQS1:EMA((XY_S1101-XY_S1102)/(XY_S1103-XY_S1102)*100,13),COLOR00FF00;
XY_SZQQS2:EMA(0.667*REF(XY_SZQQS1,1)+0.333*XY_SZQQS1,2),COLORFF0000;
AA:20,COLORFF0000;
BB:50,COLOR808080;
CC:80,COLOR00FF00;
XY_SSY1300:=REF(CLOSE,1);
XY_SSY1302:=SMA(MAX(CLOSE-XY_SSY1300,0),6,1);
XY_SSY1303:=SMA(ABS(CLOSE-XY_SSY1300),6,1);
XY_SDFX:=(CLOSE-LLV(CLOSE,250))/LLV(CLOSE,250)*100;
XY_SKFX:=(HHV(CLOSE,250)-CLOSE)/CLOSE*100;
XY_SSY1301:=XY_SSY1302/XY_SSY1303*100;
XY_SMC1:IF(REF(XY_SSY1301,1)>80 AND XY_SSY1301<80 AND XY_SKFX>XY_SDFX,50,0),COLORFFFFFF;
STICKLINE(XY_SDFX>XY_SKFX,0,5,3,0),COLOR0000FF;
STICKLINE(XY_SDFX<XY_SKFX,0,5,3,0),COLORFF0000;
-------------------------------

{2.主力控盘}
VUR1:=VOL/CAPITAL;
VUR2:=1.1*(MAX(HIGH,REF(CLOSE,1))/MIN(LOW,REF(CLOSE,1))-1);
VUR3:=2.5*MAX(VUR1,VUR2);
VUR4:=DMA(CLOSE,VUR3);
VUR5:=20*(VUR4/REF(VUR4,1)-1)*38;
VUR6:=EMA(VUR5,2);
VUR7:=EMA(VUR5,2);
VUR8:=EMA(VUR7,3);
VURS:=EMA(VUR7,8);
VUR9:=1.1*(MAX(INDEXH,REF(INDEXC,1))/MIN(INDEXL,REF(INDEXC,1))-1);
VURA:=2.5*MAX(VUR1,VUR9);
VURB:=DMA(INDEXC,VURA);
VURC:=EMA(20*(VURB/REF(VURB,1)-1),1)*38;
VURD:=EMA(VURC,2);
VURE:=EMA(VURC,2);
D强:STICKLINE(VURD>0,0,VURD,6.5,1),COLORB210E4;
D弱:STICKLINE(VURD<0,0,VURD,6.5,1),COLORFFA6A6;
极强:STICKLINE(VUR5>0,0,VUR5,6.5,0),COLOR00FFFF;
强势:STICKLINE(VUR6>0,0,VUR6,6.5,0),COLOR0000FF;
极弱:STICKLINE(VUR5<0,0,VUR5,6.5,0),COLOR10D010;
弱势:STICKLINE(VUR6<0,0,VUR6,6.5,0),COLORE4E410;
DX:VURE,LINETHICK2,COLOR1088FF;
界:VURS,LINETHICK2,COLOR6CBC10;
控:VUR8,COLORFF10FF;
指:VUR7,COLOR10E4E4;
--------------------------------

{3.分时买卖}
MA1:MA(CLOSE,5);
MA2:MA(CLOSE,10);
MA3:MA(CLOSE,30);
MA4:MA(CLOSE,60);
WYA001:=(2*CLOSE+HIGH+LOW)/4;
WYA002:=EMA(WYA001,4);
WYA003:=EMA(WYA002,4);
WYA004:=EMA(WYA003,4);
WYA柱:=(WYA004-REF(WYA004,1))/REF(WYA004,1)*100;
WYA线1:=MA(WYA柱,2);
WYA线2:=MA(WYA柱,1);
WY分时1线:=MA(CLOSE,1);
WY分时21线:=MA(CLOSE,21);
DRAWICON(WYA线1>0.25 AND WYA线2>0.25 AND CROSS(WYA线1,WYA线2),HIGH*1.0128,9);
DRAWICON(WYA线1<0 AND WYA线2<0 AND CROSS(WYA线1,WYA线2),HIGH*1.0128,9);
DRAWICON( CROSS(WY分时21线,WY分时1线),HIGH*1.0128,9) ;
DRAWICON(WYA线1<-0.25 AND WYA线2<-0.25 AND CROSS(WYA线2,WYA线1),LOW,8);
DRAWICON(WYA线1>0 AND WYA线2>0 AND CROSS(WYA线2,WYA线1),LOW,8),COLORYELLOW;
DRAWICON(CROSS(WY分时1线,WY分时21线),LOW,8),COLORYELLOW;
----------------------------------------
{4.主力监控}
A:=VOL*100/CAPITAL;
MA(A,120),POINTDOT,COLOR996633;
MA(A,2),POINTDOT,COLORFFFF00;
游资:MA(A,4),POINTDOT,COLOR3399FF;
主力:MA(A,9),POINTDOT,COLOR00FF00;
大户:MA(A,17),POINTDOT,COLOR0000FF;
散户:MA(A,34),POINTDOT,COLORF2E9E7;
警戒线:MA(A,180),COLORFF0000;
STICKLINE(MA(A,120)>0,0,MA(A,120),1,0),COLOR996633;
STICKLINE(MA(A,2)>0,0,MA(A,2),1,0),COLORFFFF00;
STICKLINE(游资>0,0,游资,1,0),COLOR3399FF;
STICKLINE(主力>0,0,主力,1,0),COLORFF0000;
STICKLINE(大户>0,0,大户,1,0),COLOR0000FF;
STICKLINE(散户>0,0,散户,1,0),COLORF2E9E7;

阅读全文

与通达信海洋状态指标源码相关的资料

热点内容
androidmars源码 浏览:552
编译器怎样从c盘到d盘 浏览:263
南拳pdf 浏览:472
怎么获得联通app登陆密码 浏览:217
压力大就试试解压神器 浏览:185
dedecmsphp文件修改 浏览:536
贷款解压省内都可以办理吗 浏览:469
思科服务器如何发布www任务 浏览:682
怎么在苹果里面下王者安卓版的 浏览:686
c语言改编程序没保存 浏览:437
msdos编译教程 浏览:978
怎么去文件夹后缀 浏览:445
粉笔app笔试真题在哪里 浏览:108
晋江小说阅读app怎么注册填写验证 浏览:157
安卓手机如何将手机app安装到u盘 浏览:520
指针编译在哪运行 浏览:810
dnf大枪压缩补丁 浏览:355
linux命令env 浏览:914
浙江app遥控锁哪里有 浏览:708
qq别人加密了怎样才能给他解开 浏览:253