股民大家庭

标题: [分析家] 分析家明日K线源码公式 [打印本页]

作者: 我是美女    时间: 2009-9-29 22:19
标题: [分析家] 分析家明日K线源码公式
分析家明日K线源码公式:
MRZY:=INTPART((((REF(H,1)-REF(L,1))*8/10)+C)*100)/100;
MRZS:=INTPART((C-((REF(H,1)-REF(L,1))*8/20))*100)/100;{//止赢止损}
DRAWTEXT(C>O AND BARSTATUS=2,MRZY,'   ̄ ̄'),COLORMAGENTA;
DRAWTEXT(C>O AND BARSTATUS=2,MRZS,'   ̄ ̄'),COLORMAGENTA;
DRAWTEXT(C<=O AND BARSTATUS=2,MRZY,'   ̄ ̄'),COLORCYAN;
DRAWTEXT(C<=O AND BARSTATUS=2,MRZS,'   ̄ ̄'),COLORCYAN;

PARTLINE(均,均>REF(均,1),RGB(255,0,0),均<=REF(均,1),RGB(0,255,0));
PARTLINE(高均,高均>REF(高均,1),RGB(255,255,0),高均<=REF(高均,1),RGB(0,0,255));
PARTLINE(低均,低均>REF(低均,1),RGB(88,0,0),低均<=REF(低均,1),RGB(0,58,0));
DRAWTEXTREL(0,0,'机构评级:'+selfstring('评级')),coloryellow;
值:=CLOSE*FINANCE(1)/10000;{市值}
流值:=CLOSE*CAPITAL/1000000;{流通市值}
DRAWTEXTREL(180,75,'市值:'+值),color0088ff;
DRAWTEXTREL(180,150,'流通市值:'+流值),COLOR9900FF;
杠杆比:=值/流值;
DRAWTEXTREL(180,225,'杠杆比:'+杠杆比),COLORWHITE;
市盈:=IF(FINANCE(33)=0,0,CLOSE/FINANCE(33));
市净:=IF(FINANCE(35)=0,0,CLOSE/FINANCE(35));
DRAWTEXTREL(0,75,'市盈:'+市盈),color0088ff;
DRAWTEXTREL(0,150,'市净:'+市净),COLOR9900FF;
DRAWTEXTREL(0,225,'黄:阳转向 K 线'),COLOR2CB3E3;
DRAWTEXTREL(0,300,'蓝:上涨阴体'),COLORFF9900;
DRAWTEXTREL(0,375,'粉:下跌阳体'),COLORFF00FF;
DRAWTEXTREL(0,450,'棕:阳三分盘整'),COLOR006699;
DRAWTEXTREL(0,525,'蓝:阴三分盘整'),COLORBLUE;
DRAWTEXTREL(0,600,'白:阳不计 K 线'),COLORDDDDDD;
DRAWTEXTREL(0,675,'灰:阴不计 K 线'),COLORGRAY;




欢迎光临 股民大家庭 (https://gupiao168.com/) Powered by Discuz! X3.2