1.谁有通达信主力先锋指标公式呢?
谁有通达信主力先锋指标公式呢?
{ 主力先锋指标--供参考}N:=7;
M:=5;
VAR1:=(CLOSE-LLV(LOW,太极mac看linux源码))/(HHV(HIGH,)-LLV(LOW,))*;
B:=SMA(VAR1,N,1);
VAR2:=SMA(B,M,1);
STICKLINE(B>VAR2,B,VAR2,0.8,1),COLORRED;
STICKLINE(B<VAR2,B,VAR2,0.8,0),COLORGREEN;
MAR1:=(2*CLOSE+HIGH+LOW+OPEN)/5;
短高: ,COLORGREEN;
高抛: ,DOTLINE,COLORYELLOW;
MAR2:=LLV(LOW,);
MAR3:=HHV(HIGH,);
SK:=EMA((MAR1-MAR2)/(MAR3-MAR2)*,);
SD:=EMA(SK,3);
STICKLINE(SK<SD,SK,SD,0.8,0),COLORCYAN;
STICKLINE(SK>SD,SK,SD,0.8,1),COLORMAGENTA;
低吸: ,DOTLINE,COLORYELLOW;
短底: ,COLORRED;
中值:B,NODRAW;
短值:SK,NODRAW,COLORMAGENTA;
STICKLINE(SK>= OR B>=,,,4,1),COLORYELLOW;
STICKLINE(B>= AND SK>=,,,4,0),COLORYELLOW;
STICKLINE(SK<= OR B<=,-1,4,4,1),COLORBLUE;
STICKLINE(B<= AND SK<=,-1,4,4,0),COLORBLUE;
STICKLINE((SK<= OR B<=) AND B>REF(B,1) AND SK>REF(SK,1),-1,4,4,1),COLOR7FFF;
STICKLINE(B<= AND SK<= AND B>REF(B,1) AND SK>REF(SK,1),-1,4,4,0),COLOR7FFF;
STICKLINE((SK>= OR B>=) AND B<REF(B,1) AND SK<REF(SK,1),,,4,1),COLORWHITE;
STICKLINE(B>= AND SK>= AND B<REF(B,1) AND SK<REF(SK,1),,,4,0),COLORWHITE;