以下是胜者螺旋公式 副图源码
VAR1:=MA(CLOSE,5);
VAR2:=MA(CLOSE,10);
VAR3:=MA(CLOSE,20);
VAR4:=MA(CLOSE,30);
VAR5:=(VAR1+VAR2+VAR3+VAR4)/4;
VAR6:=(VAR5-REF(VAR5,5))/REF(VAR5,5)*5;
VAR7:=EMA(VAR6,8);
注意: STICKLINE(VAR6>REF(VAR6,1) AND VAR6<0 AND VAR6<VAR7,VAR6,0,3,0);
转强: STICKLINE(VAR7>REF(VAR7,1) AND VAR6<0 AND VAR6>VAR7,VAR7,0,3,0),COLORYELLOW;
买点: STICKLINE(VAR6>REF(VAR6,1) AND VAR6>0 AND VAR7<0,VAR6,VAR7,3,0);
DRAWICON(FILTER(VAR6>REF(VAR6,1) AND VAR6>0 AND VAR7<0,30),{-140}-0.1,1);
DRAWTEXT(FILTER(VAR6>REF(VAR6,1) AND VAR6>0 AND VAR7<0,30),{-140}-0.1,’买点’),COLORRED;
持股: STICKLINE(VAR7>REF(VAR7,1) AND VAR7>0,VAR6,0,3,0),COLORRED;
观望: STICKLINE(VAR6<REF(VAR6,1) AND VAR7>REF(VAR7,1) AND VAR6>0,VAR6,VAR7,3,0);
持币: STICKLINE(VAR6<REF(VAR6,1) AND VAR6<VAR7,VAR6,VAR7,3,1),COLORCYAN;
0,COLORBLUE,LINETHICK2;
评论(0)