通达信——精选指标《量价合一》指标源码
<p data-first-child >通达信——精选指标《量价合一》指标源码</p><p class="ztext-empty-paragraph"><br/></p><p >指标源码:</p><blockquote >{量价合一}<br/>分量:=CONST(LLV(V/CONST(HHV(V,250)),250));<br/>百量:=CONST(HHV(V/CONST(HHV(V,250)),250))-分量;<br/>基点量:=CONST(LLV(L,250)); <br/>基量:=CONST(HHV(H,250))-基点量;<br/>CC比量:=(V/CONST(HHV(V,250))-分量)/百量;<br/>XCX量:=(CC比量*基量+基点量);<br/><br/>STICKLINE(C>0,基点量,XCX量,2.3,0),COLORRED;<br/>STICKLINE(C<O,基点量,XCX量,2.3,0),COLORCYAN;<br/><br/>STICKLINE(C>EMA(C,13),H,L,0,0),COLOR9900CC;<br/>STICKLINE(C>EMA(C,13),C,O,-1,1),COLOR9900CC;<br/>STICKLINE(C=EMA(C,13),H,L,0,0),COLORFFFFFF;<br/>STICKLINE(C<EMA(C,13),H,L,0,0),COLOR00FFFF;<br/>STICKLINE(C<EMA(C,13),O,C,-1,1),COLOR00FFFF;<br/>STICKLINE(C<EMA(C,20),H,L,0,0),COLORCYAN;<br/>STICKLINE(C<EMA(C,20),O,C,-1,1),COLORFFFF00;<br/><br/><br/>{[简睿震谱] - 理想论坛壹瓣杺埖 }<br/>{波 1 999 73 NA 1 999 25 }<br/>NA:=20;<br/>波:=66;<br/>NC:=3;NB:=IF(NA>10,10,NC);<br/>CURR:=CURRBARSCOUNT; SS:=PERIOD;<br/>AA:=REF(H,NA)=HHV(H,2*NA+1);<br/>QY:=BACKSET(AA,NA+1);<br/>CCY:=FILTER(QY,NA) AND H=HHV(H,NA+1);<br/>DDD:=BARSLAST(CCY);<br/>GDTS:=IF(CCY,CURR,0);<br/>DINGBU:=IF(DDD,REF(H,DDD),H);{顶部}<br/>DINGBUTS:=IF(DDD,REF(GDTS,DDD),GDTS);<br/>DINGBU1:=REF(DINGBU,DDD+1);<br/>GDCS1:=CONST(DINGBUTS);<br/>DINGBUTS1:=REF(DINGBUTS,DDD+1);<br/>GDCS2:=CONST(DINGBUTS1);<br/>AA1:=REF(L,NA)=LLV(L,2*NA+1);<br/>QY1:=BACKSET(AA1,NA+1);<br/>CC1:=FILTER(QY1,NA) AND L=LLV(L,NA+1);<br/>DD1:=BARSLAST(CC1);<br/>DDTS:=IF(CC1,CURR,0);<br/>DDTS1:=IF(DD1,REF(DDTS,DD1),DDTS);<br/>DDCS1:=CONST(DDTS1);<br/>DDTS2:=REF(DDTS1,DD1+1);<br/>DDCS2:=CONST(DDTS2);<br/>LAA:=REF(H,NB)=HHV(H,2*NB+1);<br/>LQY:=BACKSET(LAA,NB+1);<br/>LCC:=FILTER(LQY,NB) AND H=HHV(H,NB+1);<br/>LDDD:=BARSLAST(LCC);<br/>LGDTS:=IF(LCC,CURR,0);<br/>LDINGBU:=IF(LDDD,REF(H,LDDD),H);{顶部}<br/>LDINGBUTS:=IF(LDDD,REF(LGDTS,LDDD),LGDTS);<br/>LDINGBU1:=REF(LDINGBU,LDDD+1);<br/>LGDCS1:=CONST(LDINGBUTS);<br/>LDINGBUTS1:=REF(LDINGBUTS,LDDD+1);<br/>LGDCS2:=CONST(LDINGBUTS1);<br/>LAA1:=REF(L,NB)=LLV(L,2*NB+1);<br/>LQY1:=BACKSET(LAA1,NB+1);<br/>LCC1:=FILTER(LQY1,NB) AND L=LLV(L,NB+1);<br/>LDD1:=BARSLAST(LCC1);<br/>LDDTS:=IF(LCC1,CURR,0);<br/>LDDTS1:=IF(LDD1,REF(LDDTS,LDD1),LDDTS);<br/>LDDCS1:=CONST(LDDTS1);<br/>LDDTS2:=REF(LDDTS1,LDD1+1);<br/>LDDCS2:=CONST(LDDTS2);<br/>LLAA:=REF(H,NC)=HHV(H,2*NC+1);<br/>LLQY:=BACKSET(LLAA,NC+1);<br/>LLCC:=FILTER(LLQY,NC) AND H=HHV(H,NC+1);<br/>LLDDD:=BARSLAST(LLCC);<br/>LLGDTS:=IF(LLCC,CURR,0);<br/>LLDINGBU:=IF(LLDDD,REF(H,LLDDD),H);{顶部}<br/>LLDINGBUTS:=IF(LLDDD,REF(LLGDTS,LLDDD),LLGDTS);<br/>LLDINGBU1:=REF(LLDINGBU,LLDDD+1);<br/>LLGDCS1:=CONST(LLDINGBUTS);<br/>LLDINGBUTS1:=REF(LLDINGBUTS,LLDDD+1);<br/>LLGDCS2:=CONST(LLDINGBUTS1);<br/>LLDINGBU2:=REF(LLDINGBU1,LLDDD+1);<br/>LLAA1:=REF(L,NC)=LLV(L,2*NC+1);<br/>LLQY1:=BACKSET(LLAA1,NC+1);<br/>LLCC1:=FILTER(LLQY1,NC) AND L=LLV(L,NC+1);<br/>LLDD1:=BARSLAST(LCC1);<br/>LLDDTS:=IF(LLCC1,CURR,0);<br/>LLDDTS1:=IF(LLDD1,REF(LLDDTS,LLDD1),LDDTS);<br/>LLDDCS1:=CONST(LLDDTS1);<br/>LLDDTS2:=REF(LLDDTS1,LLDD1+1);<br/>LLDDCS2:=CONST(LLDDTS2);<br/>长G1:=CONST(DRAWLINE(CURR=GDCS1,H,REF(CURR,1)=GDCS1,REF(H,1),1));<br/>长G2:=CONST(DRAWLINE(CURR=GDCS2,H,REF(CURR,1)=GDCS2,REF(H,1),1));<br/>长D1:=CONST(DRAWLINE(CURR=DDCS1,L,REF(CURR,1)=DDCS1,REF(L,1),1));<br/>长D2:=CONST(DRAWLINE(CURR=DDCS2,L,REF(CURR,1)=DDCS2,REF(L,1),1));<br/>中G1:=CONST(DRAWLINE(CURR=LGDCS1,H,REF(CURR,1)=LGDCS1,REF(H,1),1));<br/>中G2:=CONST(DRAWLINE(CURR=LGDCS2,H,REF(CURR,1)=LGDCS2,REF(H,1),1));<br/>中D1:=CONST(DRAWLINE(CURR=LDDCS1,L,REF(CURR,1)=LDDCS1,REF(L,1),1));<br/>中D2:=CONST(DRAWLINE(CURR=LDDCS2,L,REF(CURR,1)=LDDCS2,REF(L,1),1));<br/>短G1:=CONST(DRAWLINE(CURR=LLGDCS1,H,REF(CURR,1)=LLGDCS1,REF(H,1),1));<br/>短G2:=CONST(DRAWLINE(CURR=LLGDCS2,H,REF(CURR,1)=LLGDCS2,REF(H,1),1));<br/>短D1:=CONST(DRAWLINE(CURR=LLDDCS1,L,REF(CURR,1)=LLDDCS1,REF(L,1),1));<br/>短D2:=CONST(DRAWLINE(CURR=LLDDCS2,L,REF(CURR,1)=LLDDCS2,REF(L,1),1));</blockquote><p ><b>本人承诺,本人不绝对不收取任何费用,免费分享给各位粉丝朋友,各位粉丝朋友们的支持是最大的动力!</b></p><p ><b>本人独创的技术和指标,不会使用或者有需要指标(全套源码)的朋友可以私信找我领取!</b></p> 好好 学习了 确实不错 无量天尊!
页:
[1]