破定盘值出鞘指标源码 适用于外汇[大智慧公式]
破定盘值出鞘指标源码:
drawgbklast(close>0,strip(rgb(55,45,35),rgb(0,0,0),0));
STICKLINE(C,49.9,50.1,7,0),coloryellow;{中轴}
STICKLINE(C,29.9,30.1,7,0),color4e4e27;{中轴}
STICKLINE(C,69.9,70.1,7,0),color4e4e27;{中轴}
DRAWTEXTREL(1,15,'外汇:伦敦:15:30-00:30法兰克福:15:30-00:30纽约:21:00-04:00惠灵顿:04:00-12:00澳大利亚:06:00-14:00东京:08:00-14:30新加坡:09:00-16:00'),Coloredf00f,LINETHICK2;
LC:=REF(c,1);
鞘:SMA(MAX(c-LC,0),14,1)/SMA(ABS(c-LC),14,1)*100,COLORwhite,LINETHICK2;{rsi}
定盘值:=REF(鞘,1);
PARTLINE(鞘,鞘>8,RGB(255,0,0),鞘<=2,RGB(241,225,22)),LINETHICK2; {变色}
{k线}
ed:=(鞘+定盘值)/2;
ede:=ref(定盘值,1);
CXH:=STRTONUM(STRRIGHT(DATESTR(CURRENTDATE),1));
WARNING('http://www.cxh99.com',CURRENTTIME>180000 and (CXH=1 OR CXH=6));
eede:=ref(ed,1);
STICKLINE(鞘<定盘值,鞘,定盘值,3,0),COLOR005B00;
STICKLINE(鞘>定盘值,鞘,定盘值,3,0),COLORred;
nnl:=DISPSTATUS=2;
kk:=hhv(定盘值,4);{顶}
kkg:=llv(定盘值,4);{底}
jjj:=(kk+kkg)/2;{硬止点}
ww:=(kk+jjj+jjj)/3;
www:=(jjj+kkg+jjj)/3;
定盘:=REF(定盘值,1)*0.975;
DRAWTEXT(nnl,www,''),ALIGN2,Coloredf00f,LINETHICK4;
{前期高低点--虚线}
{鞘线变色}
PARTLINE(鞘,鞘>REF(鞘,1),RGB(255,0,0),鞘<REF(鞘,1),RGB(0,255,255)),linethick2;
DRAWTEXT(nnl,鞘,'▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ '),ALIGN2,colorwhite,LINETHICK1;
有思路,想编写各种指标公式,程序化交易模型,选股公式,预警公式的朋友
可联系技术人员 QQ: 262069696 进行 有偿 编写!(不贵!点击查看价格!)
相关文章
-
没有相关内容