【多空加强版】主图指标 源码分享




O1:=MA(C,O), LINETHICK1;

N1:=MA(C,21), LINETHICK1;

M2:MA(C,55),COLOR0080FF;

TYP:=(HIGH+LOW+CLOSE)/3;

CCI:=(TYP-MA(TYP,13))/(0.015*AVEDEV(TYP,13));

DRAWTEXT(CROSS(CCI,-200) AND CCI>REF(CCI,1),L,'平空'),COLORGREEN;

DRAWTEXT(CROSS(200,CCI) AND CCI<REF(CCI,1),H,'平多'),COLORYELLOW;

DRAWTEXT(CROSS(CCI,100) AND CCI>REF(CCI,1),L,'加多'),COLORYELLOW;

DRAWTEXT(CROSS(-100,CCI) AND CCI<REF(CCI,1),H,'加空'),COLORGREEN;

VAR0:=(3*CLOSE+LOW+OPEN+HIGH)/6;

DD:(20*VAR0+19*REF(VAR0,1)+18*REF(VAR0,2)+17*REF(VAR0,3)+16*REF(VAR0,4)+15*REF(VAR0,5)+14*REF(VAR0,6)+13*REF(VAR0,7)+12*REF(VAR0,8)+11*REF(VAR0,9)+10*REF(VAR0,10)+9*REF(VAR0,11)+8*REF(VAR0,12)+7*REF(VAR0,13)+6*REF(VAR0,14)+5*REF(VAR0,15)+4*REF(VAR0,16)+3*REF(VAR0,17)+2*REF(VAR0,18)+REF(VAR0,20))/210,COLOR00FFFF,LINETHICK1;

KK: MA(DD,8),COLORFFAA00,LINETHICK1;

DRAWBAND(DD,RGB(100,0,100),KK,RGB(0,100,0));

STICKLINE(OPEN>=CLOSE ,O,C,3,0 ),COLOR00FF00;

STICKLINE(OPEN>=CLOSE ,O,C,2,0 ),COLOR00FF00;

STICKLINE(OPEN>=CLOSE ,O,C,1,0 ),COLOR00FF00;

STICKLINE(CLOSE>OPEN,O,C,3,0 ),COLORRED;

STICKLINE(CLOSE>OPEN,O,C,2,0 ),COLORRED;

STICKLINE(CLOSE>OPEN,O,C,1,0 ),COLORRED;

STICKLINE(CLOSE>OPEN,OPEN,LOW,0,0),COLORRED;

STICKLINE(CLOSE>OPEN,CLOSE,HIGH,0,0 ),COLORRED;

STICKLINE(OPEN>=CLOSE,CLOSE,LOW,0,0 ),COLOR00FF00;

STICKLINE(OPEN>=CLOSE,OPEN,HIGH,0,0),COLOR00FF00;




来函数检测结果如下:
该公式没有未来函数

解密、编写股票、期货策略请联系QQ或微信同号:88652583
相关股票指标公式

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

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