五彩K线简约而不简单的主图

VAR1:=LLV(L,DATE);
VAR2:=HHV(H,DATE);
趋势:=EMA((C-VAR1)/(VAR2-VAR1),WEEKDAY);
AA:=趋势>=REF(趋势,1);
BB:=趋势<REF(趋势,1);
买入:DRAWICON(CROSS(AA,BB),L-0.1,23);
卖出:DRAWICON(CROSS(BB,AA),H+0.1,15);
{红}
STICKLINE(AA,C,OPEN,3.5,0),COLOR0000BB;
STICKLINE(AA,C,OPEN,2.5,0),COLOR0000CC;
STICKLINE(AA,C,OPEN,0.8,0),COLOR0000FF;
STICKLINE(AA,C,OPEN,0.1,0),COLORCC66FF;
{青}
STICKLINE(BB,C,OPEN,3.5,0),COLOR009900;
STICKLINE(BB,C,OPEN,2.5,0),COLOR00BB00;
STICKLINE(BB,C,OPEN,1.5,0),COLOR00DD00;
STICKLINE(BB,C,OPEN,0.5,0),COLOR00FF00;
STICKLINE(BB,C,OPEN,0.1,0),COLORCYAN;
{金黄s立柱}
STICKLINE(买入,O,(C-O)/2+O,3.8,0),COLOR337777;
STICKLINE(买入,O,(C-O)/2+O,2.5,0),COLOR339999;
STICKLINE(买入,O,(C-O)/2+O,1.5,0),COLOR33AAAA;
STICKLINE(买入,O,(C-O)/2+O,1,0),COLOR33CCCC;
STICKLINE(买入,O,(C-O)/2+O,0,0),COLOR33EEEE;
{粉红立柱}
STICKLINE(卖出,O,(C-O)/2+O,3.5,0),COLOR770077;
STICKLINE(卖出,O,(C-O)/2+O,2.5,0),COLOR990099;
STICKLINE(卖出,O,(C-O)/2+O,1.5,0),COLORBB00BB; 
STICKLINE(卖出,O,(C-O)/2+O,1,0),COLORDD00DD;
STICKLINE(卖出,O,(C-O)/2+O,0.1,0),COLORFF00FF;
MA5:MA(C,5),COLORWHITE,LINETHICK1;
MA10:MA(C,10),COLOR00FFFF,LINETHICK1;
MA21:MA(C,21),COLORC0FF7F,LINETHICK1;
MA60:MA(C,60),COLORFF00FF,LINETHICK1;
{老鼠仓}
AX:=AMOUNT/V;BX:=L<AX*0.9; CX:=(C-REF(C,1))/REF(C,1)*100>1.2;
DZ:=L<MA(C,5)*0.921;EX:=V<MA(V,5)*1.5;
老鼠仓:=BX AND CX AND DZ AND EX,LINETHICK0;
DRAWTEXT(老鼠仓,(L*0.99),'↖老鼠仓'),COLOR40CCFF;
RA:=ZIG(3,10); 
GG:=MA(RA,2);
DRAWICON(CROSS(GG,RA),H+0.1,15);
DRAWTEXT(CROSS(RA,GG),L*0.99,'↖买'),COLOR00FF00;
{涨跌停提示}
ZDF:=(C-REF(C,1))/REF(C,1)*100;
DRAWTEXT(C>=1.099*REF(C,1),C*1.01,'↙涨停'),COLORYELLOW;
DRAWTEXT(ZDF<-9.9,C*1.01,'↖跌停'),COLOR00FF00;
获利%:WINNER(C)*100,NODRAW,COLORFF00FF;
涨家数:INDEXADV,COLOR0000EE,NODRAW;
跌家数:INDEXDEC,COLOR00EE00,NODRAW; 
大盘成交量:INDEXV,COLOR00EEEE,NODRAW;
上市日期年:REF(YEAR,BARSCOUNT(C)-1),NODRAW,COLOR0000FF;
月:REF(MONTH,BARSCOUNT(C)-1),NODRAW,COLORFF00FF;
日:REF(DAY,BARSCOUNT(C)-1),NODRAW,COLOR00FFFF;
{股票指标网 整理}
 



未来函数检测结果如下:
该公式包含未来函数:ZIG
该公式包含未来函数:WINNER
解密、编写股票、期货策略请联系QQ或微信同号:88652583
相关股票指标公式

联系我们  |  指标公式网  |  指标网   |  指标公式  |   加入收藏   |  设为主页

@2005-2023 浙ICP备2024071487号-2 指标公式网别名指标网仅为互联网文章,所有指标公式及文章仅供学习研究,并不构成投资建议,请勿以此为依据进行股票交易,由此引起的投资亏损与本站无关。指标公式网均来源互联网收集整理,如不慎侵犯了你的权益,请联系我们告知,我们将做删除处理
QQ:88652583 微信 88652583
sitemap站点地图