通达信——精选指标《黄金元帅柱》指标源码
<p data-first-child></p><p >指标源码:</p><blockquote >RC1:=REF(C,1);<br/>大阴线:=C<0.96*O OR C<=RC1*0.96 OR C>1000 AND C<=RC1*0.98;<br/>大阴T:=BARSLAST(FILTER(大阴线,3));{调整显示密度}<br/>大阴实顶: REF(O,大阴T),COLORLIGREEN,POINTDOT;{显示大阴K线的开盘价O};<br/>大阴二一: REF((L+H)/2,大阴T),NODRAW;<br/>DRAWTEXT_FIX(ISLASTBAR,0,0,0,HYBLOCK);{在屏幕左上角显示所属行业板块}<br/>DRAWTEXT_FIX(ISLASTBAR,0.05,0,0,DYBLOCK);{在屏幕左上角显示所属地域板块}<br/>DRAWTEXT_FIX(ISLASTBAR,0.1,0,0,GNBLOCK);{在屏幕左上角显示所属概念板块};<br/>AA:=(C-REF(C,1))/REF(C,1)*100;<br/>ZS:=(NAMELIKE('ST') OR NAMELIKE('*ST') OR NAMELIKE('S')) AND AA>=4.945;<br/>DS:=(NAMELIKE('ST') OR NAMELIKE('*ST') OR NAMELIKE('S')) AND AA<=-4.945;<br/>涨停价:IF(ZS,REF(C,1)*1.05,REF(C,1)*1.1),NODRAW;<br/>跌停价:IF(DS,REF(C,1)*0.95,REF(C,1)*0.9),NODRAW;<br/>{元帅主图}<br/>比系数:=1.3;<br/>金线:=1;<br/>临界点:=0;<br/>MA5:=MA(C,5);<br/>MA10:=MA(C,10);<br/>MA20:=MA(C,20);<br/>均线:=MA5>REF(MA5,1) AND MA10<REF(MA10,1) AND MA20<REF(MA20,1);<br/>RV1:=REF(V,1);<br/>RV2:=REF(V,2);<br/>RV3:=REF(V,3);<br/>RC2:=REF(C,2);<br/>RC3:=REF(C,3);<br/>RC4:=REF(C,4);<br/>RO1:=REF(O,1);<br/>RO2:=REF(O,2);<br/>RO3:=REF(O,3);<br/>RO4:=REF(O,4);<br/>不破价顶:=C>=RC3 AND RC1>=RC3 AND RC2>=RC3;<br/>不破价底:=L>RO3 AND REF(L,1)>RO3 AND REF(L,2)>RO3;<br/>均价:=AMOUNT/VOL/100;<br/>RJ1:=REF(均价,1);<br/>RJ2:=REF(均价,2);<br/>阳柱:=C>=O OR (C<O AND 均价>RC1);<br/>三日二阳:=COUNT(阳柱,3)>=2;<br/>基价柱阳:=RC3>RO3;<br/>价渐升:=(均价>=RJ1 OR C>RC1) AND (RJ1>=RJ2 OR RC1>=RC2);<br/>均价升:=(C+RC1+RC2)/3>RC3;<br/>量渐升:=V>RV1 AND RV1>RV2 ;<br/>量渐减:=V<=RV1 AND RV1<=RV2 ;<br/>均量减:=(V+RV1+RV2)/3<=RV3 AND NOT(量渐升);<br/>日价量比:=C/V;<br/>日价量比升:=日价量比>=REF(日价量比,1) AND REF(日价量比,1)>=REF(日价量比,2);<br/>均价升幅:=(C+RC1+RC2)/3/RC3;<br/>均量升幅:=(V+RV1+RV2)/3/RV3;<br/>价量比:=比系数*均价升幅/均量升幅>1;<br/>基前跳空:=RO3>RC4 AND RC4>RO4;<br/>黄金柱1T:=基价柱阳 AND 价渐升 AND 量渐减 AND 不破价顶 AND 不破价底 AND 基前跳空;<br/>BACKSET101T:=BACKSET(黄金柱1T,5);<br/>FILTER101T:=FILTER(BACKSET101T,4);<br/>黄金柱1:=基价柱阳 AND 价渐升 AND 量渐减 AND 不破价顶 AND 不破价底 ;<br/>BACKSET101:=BACKSET(黄金柱1,4);<br/>FILTER101:=FILTER(BACKSET101,3);<br/>黄金柱11:=黄金柱1 AND REF(黄金柱1,1);<br/>BACKSET1011:=BACKSET(黄金柱11,4);<br/>FILTER1011:=FILTER(BACKSET1011,3);<br/>黄金柱12:=黄金柱1 AND REF(黄金柱1,2);<br/>BACKSET1012:=BACKSET(黄金柱12,4);<br/>FILTER1012:=FILTER(BACKSET1012,3);<br/>黄金柱13:=黄金柱1 AND REF(黄金柱1,3);<br/>BACKSET1013:=BACKSET(黄金柱13,4);<br/>FILTER1013:=FILTER(BACKSET1013,3);<br/>黄金柱2T:=基价柱阳 AND 价渐升 AND 均量减 AND NOT(量渐升) AND 不破价顶 AND 不破价底 AND 基前跳空 AND NOT(黄金柱1) AND NOT(黄金柱1T);<br/>BACKSET201T:=BACKSET(黄金柱2T,5);<br/>FILTER201T:=FILTER(BACKSET201T,4);<br/>黄金柱2:=基价柱阳 AND 价渐升 AND 均量减 AND NOT(量渐升) AND 不破价顶 AND 不破价底 AND NOT(黄金柱1) AND NOT(黄金柱1T);<br/>BACKSET201:=BACKSET(黄金柱2,4);<br/>FILTER201:=FILTER(BACKSET201,3);<br/>黄金柱21:=黄金柱2 AND REF(黄金柱2,1);<br/>BACKSET2011:=BACKSET(黄金柱21,4);<br/>FILTER2011:=FILTER(BACKSET2011,3);<br/>黄金柱22:=黄金柱2 AND REF(黄金柱2,2);<br/>BACKSET2012:=BACKSET(黄金柱22,4);<br/>FILTER2012:=FILTER(BACKSET2012,3);<br/>黄金柱23:=黄金柱2 AND REF(黄金柱2,3);<br/>BACKSET2013:=BACKSET(黄金柱23,4);<br/>FILTER2013:=FILTER(BACKSET2013,3);<br/>黄金柱3T:=基价柱阳 AND 均价升 AND 量渐减 AND 不破价顶 AND 不破价底 AND 基前跳空 AND NOT(黄金柱1) AND NOT(黄金柱2) AND NOT(黄金柱1T) AND NOT(黄金柱2T);<br/>BACKSET301T:=BACKSET(黄金柱3T,5);</blockquote><h2>欢迎大家自行尝试! 关于指标大家可以私信找我免费领取!</h2><p></p> 好人啊! 这里资源很丰富啊 帮帮顶顶!! 谢谢,谢谢!找了很久了!
页:
[1]