五线趋势(副图源码)
STICKLINE(C>=O,C,O,7,0),COLOR0000AA;
STICKLINE(C>=O,C,O,6,0),COLOR0000bb ;
STICKLINE(C>=O,C,O,5,0),COLOR0000cc;
STICKLINE(C>=O,C,O,4,0),COLOR0000DD ;
STICKLINE(C>=O,C,O,3,0),COLOR0000ee;
STICKLINE(C>=O,C,O,2,0),COLOR0000FF;
STICKLINE(C>=O,C,O,1,0),COLOR0000ff;
STICKLINE(C>=O,H,L,0,0),colorred;
STICKLINE(C<=O,C,O,7,0),Coloraaaa00;
STICKLINE(C<=O,C,O,6,0),Colorbbbb00;
STICKLINE(C<=O,C,O,5,0),Colorcccc00;
STICKLINE(C<=O,C,O,4,0),Colordddd00;
STICKLINE(C<=O,C,O,3,0),Coloreeee00;
STICKLINE(C<=O,C,O,2,0),COLORffff00;
STICKLINE(C<=O,C,O,1,0),Colorffff00;
STICKLINE(C<=O,H,L,0,0),COLORffff00;
STICKLINE(C/REF(C,1)>1.05,(C+O)/2,C,7,0),color00AAAA;
STICKLINE(C/REF(C,1)>1.05,(C+O)/2,C,5,0),color00CCCC;
STICKLINE(C/REF(C,1)>1.05,(C+O)/2,C,3,0),color00EEEE;
STICKLINE(C/REF(C,1)>1.05,(C+O)/2,C,1,0),coloryellow;
DH:=(((CLOSE - REF(CLOSE,1)) / REF(CLOSE,1)) * 100);
STICKLINE(DH<=-4,(C+O)/2,C,7,0),colorAA0000;
STICKLINE(DH<=-4,(C+O)/2,C,5,0),colorCC0000;
STICKLINE(DH<=-4,(C+O)/2,C,3,0),colorEE0000;
STICKLINE(DH<=-4,(C+O)/2,C,1,0),colorFF0000;
HH:HHV(H,450),COLOR53ff53,LINETHICK2;
LL:LLV(L,450),colorwhite,LINETHICK2;
VAR1:=(HH-LL);
HL75:HH-VAR1*0.25,COLOR3399ff,LINETHICK2;
HL62:HH-VAR1*0.375,CIRCLEDOT,colorwhite;
HL50:HH-VAR1*0.5,coloryellow,LINETHICK2;
HL38:HH-VAR1*0.625,CIRCLEDOT,COLORff00ff;
HL25:HH-VAR1*0.75,COLOR0000FF;
- 上一篇公式:网上收集同花顺公式170个 有很多是精品
- 下一篇公式:趋势为先(附图源码)