飞狐有的放矢,主图,源码
本指标是受三线合一的启发,换一个思维方式而成,应当算是原创吧.跟庄线这里设为20天线,可以根据个股和个人习惯调整.当止赢线在跟庄线下方运行时,上穿止赢线可择机买入,当止赢线在跟庄线上方运行时,股价下穿止赢线可视情止赢,下穿止损线应当止损.
M:=20;
均价:=(2*C+(C+H+L+O)/4+O)/4;
R:=(3*L+2*均价)/5;R1:=(3*H+2*均价)/5;KX:=(R+R1)/2;
跟庄线:WMA(SUM(KX*V,2)/SUM(V,2),M),COLORWHITE,LINETHICK2;
止损:((M/4)*HHV(REF(跟庄线,1),1)-(M/4-1)*跟庄线),COLORGREEN;
止赢:2*跟庄线-止损,COLORYELLOW;
PARTLINE(止赢>止损 AND KX>跟庄线,跟庄线),COLOR6600FF,LINETHICK2;