当前位置:分析家公式网 → 股票公式 → 通达信公式 → 一键转帖:日天波段和日天主图选股(通达信公式 主图/副图 贴图)和谐源码分享
软件名称:[B]日天波段和日天主图选股(通达信公式 主图/副图 贴图)和谐源码分享[/B]
软件类型:国产软件
运行环境:Win9X/Win2000/WinXP/Win2003/Win7/
软件语言:简体中文
授权方式:免费版
软件大小:9.00 KB
官方主页:Home Page
更新时间:2019-04-09 01:42:13
软件简介:
{公式名称: 日天波段
画线方法: 主图叠加}
DRAWGBK(OPEN>0,RGB(185,198,78),RGB(36,118,78),0,4,0);
DRAWKLINE(HIGH,OPEN,LOW,CLOSE);
压力:PEAK(CLOSE,10,1)*0.98,COLORRED,LINETHICK2;
支撑:TROUGH(CLOSE,10,1)*1.02,COLORGREEN,LINETHICK2;
VAR1:=ABS((2*CLOSE+HIGH+LOW)/4-MA(CLOSE,20))/MA(CLOSE,20);
VAR2:=DMA(CLOSE,VAR1);
安全线:(1-10/100)*VAR2,DOTLINE,COLORMAGENTA;
VAR3:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
VAR4:=SMA(VAR3,2,1);
VAR5:=SMA(VAR4,2,1);
VAR6:=3*VAR4-2*VAR5;
VAR7:=CROSS(VAR6,0);
VAR8:=EMA(CLOSE,15)-EMA(CLOSE,26);
VAR9:=EMA(VAR8,5);
VAR10:=2*(VAR8-VAR9);
VAR11:=VAR10<0 AND VAR10>REF(VAR10,1) AND REF(VAR10,1)<REF(VAR10,2);
DRAWICON(VAR7 AND VAR11,LOW*0.93,11);
VAR12:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
VAR13:=SMA(VAR12,2,1);
VAR14:=SMA(VAR13,2,1);
VAR15:=3*VAR13-2*VAR14;
VAR16:=CROSS(VAR15,0) AND HIGH>=安全线;
DRAWICON(VAR16,LOW*0.97,25);
VAR17:=(CLOSE+HIGH+LOW)/3;
VAR18:=EMA(VAR17,5);
VAR19:=REF(VAR18,1);
持股:STICKLINE(VAR18>VAR19,VAR18*0.98,VAR19*0.98,3,0),COLORYELLOW;
DRAWTEXT_FIX(1,0.85,0,0,STRCAT(1,0)),COLORBLUE;
DRAWTEXT_FIX(1,0.85,0.1,0,STRCAT(2,0)),COLORBLUE;
{公式名称: 日天主图选股
副图}
VAR1:=ABS((2*CLOSE+HIGH+LOW)/4-MA(CLOSE,20))/MA(CLOSE,20);
VAR2:=DMA(CLOSE,VAR1);
VAR3:=(1-10/100)*VAR2;
VAR4:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
VAR5:=SMA(VAR4,2,1);
VAR6:=SMA(VAR5,2,1);
VAR7:=3*VAR5-2*VAR6;
VAR8:=CROSS(VAR7,0);
VAR9:=EMA(CLOSE,15)-EMA(CLOSE,26);
VAR10:=EMA(VAR9,5);
VAR11:=2*(VAR9-VAR10);
VAR12:=VAR11<0 AND VAR11>REF(VAR11,1) AND REF(VAR11,1)<REF(VAR11,2);
VAR13:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
VAR14:=SMA(VAR13,2,1);
VAR15:=SMA(VAR14,2,1);
VAR16:=3*VAR14-2*VAR15;
买入:VAR8 AND VAR12 AND HIGH>=VAR3;
[url=http://www.70822.com/soft/sort013/sort05/down-135430.html]日天波段和日天主图选股(通达信公式 主图/副图 贴图)和谐源码分享[/url]