资源描述:
《【股票指标公式下载】-【通达信】抄底逃顶优化(动力线、强弱分界、价位线)》由会员上传分享,免费在线阅读,更多相关内容在行业资料-天天文库。
1、【通达信】抄底逃顶优化(动力线、强弱分界、价位线)-指标公式源码N:=30;M:=13;LC:=REF(CLOSE,1);RSI1:=SMA(MAX(CLOSE-LC,0),13,1)/SMA(ABS(CLOSE-LC),13,1)*100;RSIF:=90-RSI1,COLOR33DD33;A4:=((C-LLV(L,33))/(HHV(H,33)-LLV(L,33)))*67;VAR22:=LLV(LOW,10);VAR33:=HHV(HIGH,25);动力线:EMA((CLOSE-VAR22)/(VAR33-VAR22)*4,4);RSV:=(C-LLV(L,9))/(
2、HHV(H,9)-LLV(L,9))*100;PP101:=SMA(RSV,3,1);PP102:=SMA(PP101,3,1);PP103:=3*PP101-2*PP102;STICKLINE(动力线>0ANDISLASTBARAND((PP103>PP101ANDPP103[PP101),20,80,0,1),COLORGRAY;STICKLINE(动力线>=0.2AND动力线<0.5ANDISLASTBARAND((PP103>PP101ANDPP103][PP101),20,35,2,1]
3、),COLORGRAY;{底部保持关注,灰色}STICKLINE(动力线>=0.5AND动力线<1.75ANDISLASTBARAND((PP103>PP101ANDPP103[PP101),35,50,2,0),COLORYELLOW;{底部酌情买入,黄色}STICKLINE(动力线>=1.75AND动力线<3.2ANDISLASTBARAND((PP103>PP101ANDPP103][PP101),50,65,2,0),COLORRED;{强势持仓段,红色}STICKLINE(动力线>=3]
4、.2AND动力线<3.45ANDISLASTBARAND((PP103>PP101ANDPP103[PP101),65,72,2,0),COLORLIRED;{阶段卖出,粉红}STICKLINE(动力线>=3.45ANDISLASTBAR,72,80,2,0)ANDPP103]5、力线>0AND((PP103>PP101ANDPP103[PP101),95,94,1,0),COLORGRAY;STICKLINE(动力线>=0.2AND动力线<0.5AND((PP103>PP101ANDPP103][PP101),95,92,3,0),COLORGRAY;{底部保持关注,灰色}STICKLINE(动力线>=0.5AND动力线<1.75AND((PP103>PP101ANDPP103][PP101),95,94,1,0),COLORYE]
6、LLOW;{底部酌情买入,黄色}STICKLINE(动力线>=1.75AND动力线<3.2AND((PP103>PP101ANDPP103[PP101),95,94,1,0),COLORRED;{强势持仓段,红色}STICKLINE(动力线>=3.2AND动力线<3.45AND((PP103>PP101ANDPP103][PP101),95,92,3,0),COLORLIRED;{阶段卖出,粉红}STICKLINE(动力线>=3.45,95,92,3,0)ANDPP103]7、CYAN;{清仓卖出,青色};STICKLINE(PP103