分享一个还不错的通达信主图指标(优化超级趋势)
<p data-first-child >这个指标看着感觉还好</p><p >主图指标源码:</p><p >N:=10;M:=2.5;TR1:=MAX(MAX((HIGH-LOW),ABS(REF(CLOSE,1)-HIGH)),ABS(REF(CLOSE,1)-LOW));UP:=(H+L)/2+MA(TR1,N)*M;DN:=(H+L)/2-MA(TR1,N)*M;L1:=REF(UP,BARSLAST(UP<=REF(UP,1)));L2:=LLV(UP,N*1.5);LL:=IF(L2!=REF(L2,1) AND L1<REF(L1,1),L1,IF(L1=L2,L1,L2));S1:=BARSLAST(CROSS(0.5,UP=LL))+1;S2:=CROSS(COUNT((CROSS(C,LL) OR CROSS(C,REF(LL,2))) AND UP>LL,S1),0.5);A6:=BARSLAST(S2);B6:=BARSLAST(CROSS(HHV(DN,A6+1),C));BY:=CROSS(B6,A6);SL:=CROSS(A6,B6);DRAWKLINE(HIGH,OPEN,LOW,CLOSE);SUPERTREN:IF(B6>A6,HHV(DN,BARSLAST(BY)+1),LLV(UP,BARSLAST(SL)+1)),COLORGREEN,LINETHICK2;IF(B6>A6,SUPERTREN,DRAWNULL),COLOR0000C8,LINETHICK2;DRAWICON(CROSS(B6,A6),SUPERTREN*0.99,1);DRAWICON(CROSS(A6,B6),SUPERTREN*1.015,2);买进:CROSS(B6,A6)*100,NODRAW,COLORRED;卖出:CROSS(A6,B6)*100,NODRAW;</p><p ><b>本人承诺,本人绝对不收取任何费用,免费分享给各位粉丝朋友,各位粉丝朋友们的支持是最大的动力!</b></p><p ><b>本人独创的技术和指标,不会使用或者有需要指标(全套源码)的朋友可以私信找我领取!</b></p>
页:
[1]