麻烦给转成通达信的!!!谢谢

1469 0
设置
1127822 Lv.4

专栏

发表于 2009-6-22 11:16 复制 显示全部楼层 正序浏览 |
跳转到指定楼层
DRAWGBKLAST(C>0,STRIP(RGB(90,90,90),RGB(0,0,0),0));
买线:=EMA(C,2);
卖线:=EMA(SLOPE(C,21)*20+C,42);   
BU:=cross(买线,卖线);
SEL:=cross(卖线,买线);
drawtext(bu,LOW,'B'),ALIGN1,VALIGN0,color00ffff,linethick3;
DRAWTEXT(bu,LOW,'﹉'),ALIGN1,VALIGN0,Color208FFF,LINETHICK3;
DRAWTEXT(sel,HIGH,'﹉'),ALIGN1,VALIGN0,ColorFFFF00,LINETHICK3;
drawtext(sel,HIGH,'S'),ALIGN1,VALIGN2,colorgreen,linethick3;
stickline(买线>=卖线,close,open,8,0),color0000aa;
stickline(买线>=卖线,close,open,6,0),color0000cc;
stickline(买线>=卖线,close,open,2,0),color0000ee;
stickline(买线>=卖线,low,high,0.1,0),colorred;

stickline(买线<卖线,close,open,8,0),coloraaaa00;
stickline(买线<卖线,close,open,6,0),colorcccc00;
stickline(买线<卖线,close,open,2,0),coloreeee00;  
stickline(买线<卖线,low,high,0.1,0),colorffff00;
stickline(cross(买线,卖线) or cross(卖线,买线),open,close,4.5,0),color00ffff;
指导线: EMA((EMA(CLOSE,4)+EMA(CLOSE,6)+EMA(CLOSE,12)+EMA(CLOSE,24))/4,2),linethick1,ColorFFffFF;
界: MA(CLOSE,27),linethick1,Color00FFFF;
DRAWTEXT(cross(指导线,界),界,'﹉'),ALIGN1,VALIGN0,Colorffffff;
DRAWTEXT(cross(界,指导线),界,'﹉'),ALIGN1,Color00ffff;
合力线:FORCAST(C,10),color00ff00,linethick1;
保守线:HHV(FORCAST(C,10),21),color208fff,linethick2;
守线:llV(FORCAST(C,10),21),colorffff00,linethick1;
DRAWICON(CROSS(保守线,合力线) AND 合力线*1.01,H,14),ALIGN1,VALIGN2;
DRAWTEXT(cross(保守线,合力线),H,'﹉'),ALIGN1,VALIGN0,Colorffffff;
DRAWICON(CROSS(合力线,守线) AND 合力线*1.01,合力线,9),ALIGN1,VALIGN0;
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
G:=95;
DRAWTEXT(cross(J,D),L,'▲'),ALIGN1,VALIGN0,Color00ffff,linethick1;
DRAWTEXT(cross(J,D),L,' ̄'),ALIGN1,VALIGN0,Color00ffff;
DRAWTEXT(cross(J,G),H,'▼'),ALIGN1,VALIGN2,Colorffff00,linethick1;
DRAWTEXT(cross(J,G),H,' ̄'),ALIGN1,VALIGN0,Colorffff00;

PT  := REF(HIGH,1)-REF(LOW,1);
重心:=(HIGH + LOW + CLOSE)/3;
压力Ⅰ:= 2*重心-LOW;
压力Ⅱ:= 重心 + PT;
支撑Ⅰ:= 2*重心-HIGH;
支撑Ⅱ:= 重心 - PT;
DRAWTEXTABS(100,13,'  《逆势操作》'),ColorFFFF00;
DRAWTEXTABS(175,13,'  重心:'+重心),Color208FFF;
DRAWTEXTABS(100,32,'    支  撑'),ColorFFFFFF;
DRAWTEXTABS(100,49,'    '+支撑Ⅰ),ColorFFFFFF;
DRAWTEXTABS(100,67,'    '+支撑Ⅱ),ColorFFFFFF;
DRAWTEXTABS(100,32,'                压  力'),Color00FF00;
DRAWTEXTABS(100,49,'                '+压力Ⅰ),Color00FF00;
DRAWTEXTABS(100,67,'                '+压力Ⅱ),Color00FF00;
DRAWTEXTABS(100,10,'│'),Color00FFFF;
DRAWTEXTABS(100,22,'│'),Color00FFFF;
DRAWTEXTABS(100,34,'│'),Color00FFFF;
DRAWTEXTABS(100,46,'│'),Color00FFFF;
DRAWTEXTABS(100,58,'│'),Color00FFFF;
DRAWTEXTABS(100,70,'│'),Color00FFFF;
DRAWTEXTABS(243,10,'│'),Color00FFFF;
DRAWTEXTABS(243,22,'│'),Color00FFFF;
DRAWTEXTABS(243,34,'│'),Color00FFFF;
DRAWTEXTABS(243,46,'│'),Color00FFFF;
DRAWTEXTABS(243,58,'│'),Color00FFFF;
DRAWTEXTABS(243,70,'│'),Color00FFFF;
DRAWTEXTABS(171,30,'│'),Color00FFFF;
DRAWTEXTABS(171,34,'│'),Color00FFFF;
DRAWTEXTABS(171,46,'│'),Color00FFFF;
DRAWTEXTABS(171,58,'│'),Color00FFFF;
DRAWTEXTABS(171,70,'│'),Color00FFFF;
DRAWTEXTABS(105,5,'────────────'),Color00FFFF;
DRAWTEXTABS(105,25,'────────────'),Color00FFFF;
DRAWTEXTABS(105,42,'────────────'),Color00FFFF;
DRAWTEXTABS(105,59,'────────────'),Color00FFFF;
DRAWTEXTABS(105,76,'────────────'),Color00FFFF;
SFX:=selfdata('shx');
A:=CAPITAL*100/SFX;
B:=SFX/CAPITAL*100;
占流通盘:='占流通盘:'+CEILING(B)+'%';
人均持股:='人均持股:'+CEILING(A)+'手';
DRAWTEXTABS(0,0,人均持股),COLORWHITE;
DRAWTEXTABS(140,0,';'+占流通盘),COLORWHITE;
来自 山东省烟台市

举报

使用道具 扔鸡蛋 回复

您需要登录后才可以回帖 登录

本版积分规则 《理想财富服务协议》《免责声明》

站长推荐 /8
回顶部 到页底
快速回复 返回顶部 返回列表