软件名称:[B]大趋势主图[/B]
软件类型:国产软件
运行环境:Win9X/2000/XP/2003/
软件语言:简体中文
授权方式:解密版
软件大小:3.00 KB
官方主页:Home Page
更新时间:2008-11-16 19:41:59
软件简介:
大趋势主图
大趋势主图
思路简单,把握大方向。源码如下,供参考。
tt:=BARSCOUNT(C);
CC:=(h+l+2*c)/4;
zz:=SUM(cc*v,0)/SUM(VOL,0);
多空线:ema(cc*v,50)/ema(v,50),coloryellow,linethick0;
PARTLINE(多空线,多空线>ref(多空线,1),RGB(255,255,0),多空线<ref(多空线,1),RGB(0,255,0),1,RGB(0,0,255)),linethick2;
生命线:zz,COLOR0099ff,LINETHICK2;
压力:zz + 2.1*AVEDEV(C,tt),colorgreen,LINETHICK2;
支撑:zz - 2.1*AVEDEV(C,tt),colorgreen,LINETHICK2;
上轨:zz + 1.3*AVEDEV(C,tt),colorff00ff,LINETHICK2;
下轨:zz - 1.3*AVEDEV(C,tt),colorff00ff,LINETHICK2;
drawtext(cross(多空线,压力),压力,'疯牛'),coloryellow;
drawtext(多空线>压力 and cross(多空线,c),h,'★'),color00ff00;
drawtext(cross(压力,多空线),压力,'主跌'),coloryellow;
drawtext(cross(多空线,zz),zz,'上升'),coloryellow;
drawtext(cross(zz,多空线),zz,'下跌'),coloryellow;
drawtext(cross(支撑,多空线),支撑,'疯熊'),coloryellow;
思路简单,把握大方向。源码如下,供参考。
tt:=BARSCOUNT(C);
CC:=(h+l+2*c)/4;
zz:=SUM(cc*v,0)/SUM(VOL,0);
多空线:ema(cc*v,50)/ema(v,50),coloryellow,linethick0;
PARTLINE(多空线,多空线>ref(多空线,1),RGB(255,255,0),多空线<ref(多空线,1),RGB(0,255,0),1,RGB(0,0,255)),linethick2;
生命线:zz,COLOR0099ff,LINETHICK2;
压力:zz + 2.1*AVEDEV(C,tt),colorgreen,LINETHICK2;
支撑:zz - 2.1*AVEDEV(C,tt),colorgreen,LINETHICK2;
上轨:zz + 1.3*AVEDEV(C,tt),colorff00ff,LINETHICK2;
下轨:zz - 1.3*AVEDEV(C,tt),colorff00ff,LINETHICK2;
drawtext(cross(多空线,压力),压力,'疯牛'),coloryellow;
drawtext(多空线>压力 and cross(多空线,c),h,'★'),color00ff00;
drawtext(cross(压力,多空线),压力,'主跌'),coloryellow;
drawtext(cross(多空线,zz),zz,'上升'),coloryellow;
drawtext(cross(zz,多空线),zz,'下跌'),coloryellow;
drawtext(cross(支撑,多空线),支撑,'疯熊'),coloryellow;
[url=http://www.70822.com/soft/sort013/sort03/down-4443.html]大趋势主图[/url]