软件名称:[B]小王主图[/B]
软件类型:国产软件
运行环境:Win9X/Win2000/WinXP/Win2003/Win7/
软件语言:简体中文
授权方式:免费版
软件大小:3.00 KB
官方主页:Home Page
更新时间:2018-12-08 01:14:28
软件简介:
{公式名称: 小王公众号
公式描述:
无参数
公式类型: 技术指标公式-其他类型
画线方法: 主图叠加
公式版本: 0
显示小数: 缺省位数
坐标线位置: 自动
额外Y轴分界: 无
参数精灵:无
用法注释:无
公式源码:}
DRAWTEXT_FIX(1,0.25,0.1,0,1),COLORYELLOW;
VAR1:=IF((HIGH-REF(CLOSE,1))*100/REF(CLOSE,1)>=10-0.01*100/REF(CLOSE,1),1,0) AND CLOSE<HIGH;
VAR2:=REF(CLOSE,1);
VAR3:=IF((VAR2-LOW)*100/VAR2>=10-0.01*100/VAR2,1,0) AND CLOSE>LOW;
STICKLINE(VAR1,OPEN,HIGH,3,(-1)),COLORRED;
DRAWKLINE(HIGH,OPEN,LOW,CLOSE);
STICKLINE(VAR1,CLOSE,OPEN,1,0),COLORMAGENTA;
STICKLINE(VAR3,OPEN,LOW,3,(-1)),COLORGREEN;
DRAWKLINE(HIGH,OPEN,LOW,CLOSE);
{}
{
DRAWTEXT_FIX(1,0,0.06,0,2),COLORYELLOW;
DRAWTEXT_FIX(1,0.06,0.06,0,EXTERNSTR(0,666)),COLORYELLOW;
DRAWTEXT_FIX(1,0.03,0.88,0,STRCAT(3,EXTERNSTR(0,888))),COLORYELLOW;
DRAWTEXT_FIX(ISLASTBAR,0,0,0,HYBLOCK);
DRAWTEXT_FIX(ISLASTBAR,0.05,0,0,DYBLOCK);
DRAWTEXT_FIX(ISLASTBAR,0.1,0,0,GNBLOCK);
}
MA21:MA(CLOSE,21);
MA60:MA(CLOSE,60);
MA89:MA(CLOSE,89);
VAR4:=IF((CLOSE-VAR2)*100/VAR2>=10-0.01*100/VAR2,1,0);
STICKLINE(VAR4,OPEN,CLOSE,2,0),COLORMAGENTA;
STICKLINE(VAR4,HIGH,LOW,0,0),COLORMAGENTA;
VAR5:=IF((VAR2-CLOSE)*100/VAR2>=10-0.01*100/VAR2,1,0);
STICKLINE(VAR5,OPEN,CLOSE,2,0),COLORGREEN;
STICKLINE(VAR5,HIGH,LOW,0,1),COLORGREEN;
VAR6:=10;
{}
DRAWTEXT_FIX(1,0,0.12,0,4),COLORGREEN;
DRAWTEXT_FIX(1,0.08,0.12,0,EXTERNSTR(0,555)),COLORGREEN,LINETHICK2;
VAR7:=FINANCE(30)/100000000;
VAR8:=STRCAT(STRCAT(6,CON2STR(VAR7,2)),7);
DRAWTEXT_FIX(ISLASTBAR,0,0.18,0,VAR8),COLORGREEN;
VAR9:=BARSCOUNT(CLOSE)>35;
VAR10:=BARSCOUNT(CLOSE)<35;
VAR11:=COUNT(VAR4,250);
VAR12:=COUNT(VAR4,500);
VAR13:=COUNT(VAR1,500);
VAR14:=VAR12+VAR13;
VAR15:=VAR12/VAR14;
VAR16:=STRCAT(STRCAT(8,CON2STR(VAR15,2)),9);
VAR17:=COUNT(VAR4,30);
VAR18:=COUNT(VAR4,10);
VAR19:=VAR4 AND VAR9;
VAR20:=VAR4 AND VAR10 AND OPEN!=CLOSE;
VAR21:=COUNT(VAR19 OR VAR20,2)=2;
VAR22:=COUNT(VAR21,250);
VAR23:=COUNT(VAR4,3)=3;
VAR24:=COUNT(VAR23,250);
DRAWTEXT_FIX(1,0.61,0.94,0,VAR16),COLORWHITE;
DRAWTEXT_FIX(ISLASTBAR,0.38,0.94,0,11),COLORYELLOW;
DRAWTEXT_FIX(ISLASTBAR,0.46,0.94,0,CON2STR(VAR11,1)),COLORWHITE;
DRAWTEXT_FIX(ISLASTBAR,0.21,0.94,0,12),COLORYELLOW;
DRAWTEXT_FIX(ISLASTBAR,0.3,0.94,0,CON2STR(VAR24,1)),COLORWHITE;
DRAWTEXT_FIX(ISLASTBAR,0.03,0.94,0,15),COLORYELLOW;
DRAWTEXT_FIX(ISLASTBAR,0.11,0.94,0,CON2STR(VAR22,1)),COLORWHITE;
[url=http://www.70822.com/soft/sort013/sort05/down-131304.html]小王主图[/url]