当前位置:→ 公式网 > 大智慧公式 > 正文 ℃ 公式解密、改选股等业务 联系点击查看详情...
以下是实战参考之价格通道主图 修改版(无源码的请下载附件导入)
C/C++ www.gszb.com 股票公式指标网提供 Code复制内容到剪贴板
- A:=(CLOSE+OPEN)/2;
- 平衡线:=(20*A+19*REF(A,1)+18*REF(A,2)+17*REF(A,3)+16*REF(A,4)+15*REF(A,5)+14*REF(A,6)
- +13*REF(A,7)+12*REF(A,8)+11*REF(A,9)+10*REF(A,10)+9*REF(A,11)+8*REF(A,12)
- +7*REF(A,13)+6*REF(A,14)+5*REF(A,15)+4*REF(A,16)+3*REF(A,17)+2*REF(A,18)
- +1*REF(A,19))/208;
- 平仓:平衡线*1.16;
- 风险:平衡线*1.11;
- 回档:平衡线*1.053;
- 平衡:平衡线*1,LINETHICK2;
- 反弹:平衡线*0.93;
- 超跌:平衡线*0.9;
- 满仓:平衡线*0.841;
- TYX3:=MA(REF(HHV((C+L+O+H)/4,30),1),3);
- TYX4:=MA((C+L+O+H)/4,13);
- TYX5:=EMA((C+L+O+H)/4,21);
- {空心红}
- STICKLINE(C<TYX5 AND C>O,H,L,0,0),COLORRED;
- STICKLINE(C<TYX5 AND C>O,C,O,3,1),COLORRED;
- {深绿}
- STICKLINE(C<TYX5 AND C<O,H,L,0,0),COLOR007700;
- STICKLINE(C<TYX5 AND C<O,C,O,3,0),COLOR005500;
- STICKLINE(C<TYX5 AND C<O,C,O,2,0),COLOR006600;
- STICKLINE(C<TYX5 AND C<O,C,O,1,0),COLOR007700;
- {蓝}
- STICKLINE(C>TYX5 AND C<O,H,L,0,0),COLORFFDD44;
- STICKLINE(C>TYX5 AND C<O,C,O,3,0 ),COLORFF7700;
- STICKLINE(C>TYX5 AND C<O,C,O,2,0 ),COLORFFAA22;
- STICKLINE(C>TYX5 AND C<O,C,O,1 ,0 ),COLORFFDD44;
- {黄}
- STICKLINE(C>TYX5 AND C>O,H,L,0,0 ),COLOR00EEFF;
- STICKLINE(C>TYX5 AND C>O,C,O,3,0 ),COLOR00AAFF;
- STICKLINE(C>TYX5 AND C>O,C,O,2,0 ),COLOR00CCFF;
- STICKLINE(C>TYX5 AND C>O,C,O,1,0 ),COLOR00EEFF;
- {粉红}
- STICKLINE(C>TYX4 AND C>O,H,L,0,0),COLORFF66AA;
- STICKLINE(C>TYX4 AND C>O,C,O,3,0 ),COLORFF11FF;
- STICKLINE(C>TYX4 AND C>O,C,O,2,0 ),COLORFF44FF;
- STICKLINE(C>TYX4 AND C>O,C,O,1,0 ),COLORFF66FF;
- {亮灰}
- STICKLINE(C>TYX4 AND C<O,H,L,0,0),COLOR999999;
- STICKLINE(C>TYX4 AND C<O,C,O,3,0),COLOR555555;
- STICKLINE(C>TYX4 AND C<O,C,O,2,0),COLOR777777;
- STICKLINE(C>TYX4 AND C<O,C,O,1,0),COLOR999999;
- {深红}
- STICKLINE(C>TYX3 AND C>O,H,L,0,0),COLOR0000DD;
- STICKLINE(C>TYX3 AND C>O,C,O,3,0),COLOR000099;
- STICKLINE(C>TYX3 AND C>O,C,O,2,0),COLOR0000BB;
- STICKLINE(C>TYX3 AND C>O,C,O,1,0),COLOR0000DD;
- MA(CLOSE,3);MA(CLOSE,13);