1、【大智慧】 凤凰线(主图)-指标公式源码N 1 30 1xopen:=(ref(o,N)+ref(c,N)/2;xclose:=close;xhigh:=max(high,xopen);xlow:=min(low,xopen);volality:=ma(xhigh-xlow,8);凰线:ma(xclose,5)+volality/2;凤线:ma(xclose,5)-volality/2;bu:=cross(xclose,凰线);sel:=cross(凤线,xclose);var1:=barslast(bu);var2:=barslast(sel);drawicon(ref(var1,1)var
2、2 and var1=0,xlow,7),align1,valign0;drawicon(ref(var2,1)var1 and var2=0,xhigh,8),align1,valign2;STICKLINE(xclosexopen and var1xopen and var1xopen and var1var2,xclose ,xopen ,8,0 ),colorgreen;STICKLINE(xclosevar2,xopen ,xhigh ,0.5,0 ),colorgreen; STICKLINE(xclosevar2,xclose,xlow ,0.5,0 ),colorgreen;STICKLINE(xclosexopen and var1var2,xclose ,xopen ,8,0 ),colorblue;STICKLINE(xclosexopen and var1var2,xclose,xhigh ,0.5,0 ),colorblue; STICKLINE(xclosexopen and var1var2,xopen,xlow ,0.5,0 ),colorblue;【大智慧】凤凰线(主图) -指标公式效果图(文档来源:若水财经社区)