您现在的位置:好股网 >> 股票公式 >> 通达信公式 >> 一键转帖:圣灵石股海神针(源码.副图.贴图.用法!无未来函数)

圣灵石股海神针(源码.副图.贴图.用法!无未来函数)


指标功能:[B]国产软件[/B]
指标类型:简体中文
所需积分:0
推荐星级:
授权方式:共享版
公式大小:0 Bytes
更新时间:2011-06-23 08:45:00
公式简介:

定海神针:=STICKLINE(CROSS(((HIGH + LOW + CLOSE)/3-MA((HIGH + LOW + CLOSE)/3,11))/(0.015*AVEDEV((HIGH + LOW + CLOSE)/3,11)),-200) AND ((HIGH + LOW + CLOSE)/3-MA((HIGH + LOW + CLOSE)/3,11))/(0.015*AVEDEV((HIGH + LOW + CLOSE)/3,11))>REF(((HIGH + LOW + CLOSE)/3-MA((HIGH + LOW + CLOSE)/3,11))/(0.015*AVEDEV((HIGH + LOW + CLOSE)/3,11)),1),((HIGH + LOW + CLOSE)/3-MA((HIGH + LOW + CLOSE)/3,11))/(0.015*AVEDEV((HIGH + LOW + CLOSE)/3,11)),0,2,0),COLORYELLOW,LINETHICK3;
STICKLINE(((HIGH + LOW + CLOSE)/3-MA((HIGH + LOW + CLOSE)/3,11))/(0.015*AVEDEV((HIGH + LOW + CLOSE)/3,11))>0,0,((HIGH + LOW + CLOSE)/3-MA((HIGH + LOW + CLOSE)/3,11))/(0.015*AVEDEV((HIGH + LOW + CLOSE)/3,11)),1.5,0),COLOR0000D5;
STICKLINE(定海神针,150,-40,2,0),COLORRED;
STICKLINE(定海神针,150,200,2,0),COLORYELLOW;
STICKLINE(定海神针,-100,-40,2,0),COLORYELLOW;
DRAWTEXT(定海神针,130,'如'),COLORYELLOW;
DRAWTEXT(定海神针,92.5,'意'),COLORYELLOW;
DRAWTEXT(定海神针,56.5,'金'),COLORYELLOW;
DRAWTEXT(定海神针,17,'箍'),COLORYELLOW;
DRAWTEXT(定海神针,-22,'棒'),COLORYELLOW;
STICKLINE(CROSS(200,((HIGH + LOW + CLOSE)/3-MA((HIGH + LOW + CLOSE)/3,11))/(0.015*AVEDEV((HIGH + LOW + CLOSE)/3,11))) AND ((HIGH + LOW + CLOSE)/3-MA((HIGH + LOW + CLOSE)/3,11))/(0.015*AVEDEV((HIGH + LOW + CLOSE)/3,11))<REF(((HIGH + LOW + CLOSE)/3-MA((HIGH + LOW + CLOSE)/3,11))/(0.015*AVEDEV((HIGH + LOW + CLOSE)/3,11)),1),0,((HIGH + LOW + CLOSE)/3-MA((HIGH + LOW + CLOSE)/3,11))/(0.015*AVEDEV((HIGH + LOW + CLOSE)/3,11)),2,0),COLORGREEN,LINETHICK2;
涨:IF(((HIGH + LOW + CLOSE)/3-MA((HIGH + LOW + CLOSE)/3,11))/(0.015*AVEDEV((HIGH + LOW + CLOSE)/3,11))>REF(((HIGH + LOW + CLOSE)/3-MA((HIGH + LOW + CLOSE)/3,11))/(0.015*AVEDEV((HIGH + LOW + CLOSE)/3,11)),7),((HIGH + LOW + CLOSE)/3-MA((HIGH + LOW + CLOSE)/3,11))/(0.015*AVEDEV((HIGH + LOW + CLOSE)/3,11)),DRAWNULL),COLORRED;
跌:IF(((HIGH + LOW + CLOSE)/3-MA((HIGH + LOW + CLOSE)/3,11))/(0.015*AVEDEV((HIGH + LOW + CLOSE)/3,11))<REF(((HIGH + LOW + CLOSE)/3-MA((HIGH + LOW + CLOSE)/3,11))/(0.015*AVEDEV((HIGH + LOW + CLOSE)/3,11)),1),((HIGH + LOW + CLOSE)/3-MA((HIGH + LOW + CLOSE)/3,11))/(0.015*AVEDEV((HIGH + LOW + CLOSE)/3,11)),DRAWNULL),COLORGREEN,LINETHICK2;
圣灵石:EMA(((HIGH + LOW + CLOSE)/3-MA((HIGH + LOW + CLOSE)/3,11))/(0.015*AVEDEV((HIGH + LOW + CLOSE)/3,11)),3),COLORRED,LINETHICK2;
DRAWBAND(圣灵石,RGB(300,100,00),((HIGH + LOW + CLOSE)/3-MA((HIGH + LOW + CLOSE)/3,11))/(0.015*AVEDEV((HIGH + LOW + CLOSE)/3,11)),RGB(250,00,00));
DRAWICON(CROSS(200,((HIGH + LOW + CLOSE)/3-MA((HIGH + LOW + CLOSE)/3,11))/(0.015*AVEDEV((HIGH + LOW + CLOSE)/3,11))),250,2);
DRAWTEXT(CROSS(200,((HIGH + LOW + CLOSE)/3-MA((HIGH + LOW + CLOSE)/3,11))/(0.015*AVEDEV((HIGH + LOW + CLOSE)/3,11))),-22,'洗盘'),COLORYELLOW;
DRAWTEXT(CROSS(200,((HIGH + LOW + CLOSE)/3-MA((HIGH + LOW + CLOSE)/3,11))/(0.015*AVEDEV((HIGH + LOW + CLOSE)/3,11))),-50,'OR强转弱'),COLORYELLOW;
DRAWTEXT(CROSS(((HIGH + LOW + CLOSE)/3-MA((HIGH + LOW + CLOSE)/3,11))/(0.015*AVEDEV((HIGH + LOW + CLOSE)/3,11)),-200),-150,' 如意金箍棒信号出弱转强'),COLORYELLOW;
DRAWTEXT(CROSS(((HIGH + LOW + CLOSE)/3-MA((HIGH + LOW + CLOSE)/3,11))/(0.015*AVEDEV((HIGH + LOW + CLOSE)/3,11)),-200),-170,' 红色带持股,红柱为强势区'),COLORYELLOW;
DRAWTEXT(CROSS(((HIGH + LOW + CLOSE)/3-MA((HIGH + LOW + CLOSE)/3,11))/(0.015*AVEDEV((HIGH + LOW + CLOSE)/3,11)),-200),-190,' 绿色带持币!!!'),COLORYELLOW;
强势:IF(((HIGH + LOW + CLOSE)/3-MA((HIGH + LOW + CLOSE)/3,11))/(0.015*AVEDEV((HIGH + LOW + CLOSE)/3,11))>=REF(((HIGH + LOW + CLOSE)/3-MA((HIGH + LOW + CLOSE)/3,11))/(0.015*AVEDEV((HIGH + LOW + CLOSE)/3,11)),1),((HIGH + LOW + CLOSE)/3-MA((HIGH + LOW + CLOSE)/3,11))/(0.015*AVEDEV((HIGH + LOW + CLOSE)/3,11)),DRAWNULL),COLOR0000FF,LINETHICK7;
【圣灵石指标】:0,POINTDOT,COLORYELLOW;
{下面的源码,不参与数据计算,仅为显示【圣灵石专用指标】字样!}
AAA:=REFDATE(HHV(H,60),DATE);
T5:=CONST(IF(COST(50),1,0));
T9:=CONST(IF((H+L+C)/3,1,0));
TS5:=IF(T5=1,0+0.03,0);
TS9:=IF(T9=1,0+0.03,0);
DRAWTEXT(T9=1 AND CURRBARSCOUNT=45 AND PERIOD=5,AAA-(AAA*TS9),'【圣灵石专用指标】'),COLORYELLOW;


 


[url=http://www.goodgupiao.com/gupiaogongshi/14357.html][B]圣灵石股海神针(源码.副图.贴图.用法!无未来函数)[/B][/url]