同花顺决策操盘主图公式
-
相关简介:同花顺决策操盘主图公式 Var1=MONEY/VOL; A=SMA(Var1,5,1)-SMA(Var1,55,1); B=SMA((A-SMA(A,5,1)),5,1); //IF(CLOSEMA(CLOSE,5) AND AA[1] AND BB[1]) //RETURN colorred; STICKLINE(CLOSEMA(CLOSE,5) AND AA[1] AND BB[1],H,L,0,1),colorred; STICKLINE(CLOSEMA(CLOSE,5) AND AA[1
-
文章来源:股海网作者:股海网发布时间:2014-12-08浏览次数:
同花顺决策操盘主图公式
Var1=MONEY/VOL;
A=SMA(Var1,5,1)-SMA(Var1,55,1);
B=SMA((A-SMA(A,5,1)),5,1);
//IF(CLOSE>MA(CLOSE,5) AND A>A[1] AND B>B[1])
//RETURN "colorred";
STICKLINE(CLOSE>MA(CLOSE,5) AND A>A[1] AND B>B[1],H,L,0,1),colorred;
STICKLINE(CLOSE>MA(CLOSE,5) AND A>A[1] AND B>B[1],O,C,10,1),colorred;
//IF(CLOSE<MA(CLOSE,5) AND A>A[1] AND B>B[1])
//RETURN "colorwhite";
STICKLINE(CLOSE<MA(CLOSE,5) AND A>A[1] AND B>B[1],H,L,0,1),colorwhite;
STICKLINE(CLOSE<MA(CLOSE,5) AND A>A[1] AND B>B[1],O,C,10,1),colorwhite;
//IF(A<A[3] AND B<B[3])
//RETURN "colorgreen";
STICKLINE(A<A[3] AND B<B[3],H,L,0,1),colorgreen;
STICKLINE(A<A[3] AND B<B[3],O,C,10,1),colorgreen;
//IF(A>A[1] AND B<B[1])
//RETURN "colorwhite";
STICKLINE(A>A[1] AND B<B[1],H,L,0,1),colorwhite;
STICKLINE(A>A[1] AND B<B[1],O,C,10,1),colorwhite;
//IF(A<A[1] AND B>B[1])
//RETURN"colorwhite";
STICKLINE(A<A[1] AND B>B[1],H,L,0,1),colorwhite;
STICKLINE(A<A[1] AND B>B[1],O,C,10,1),colorwhite;
//RETURN "colorgreen";
MA30:MA(C,30),colorwhite;
MA60:MA(C,60),COLOR00FFFF;
MA90:MA(C,90),COLORFF00FF;
MA120:MA(C,120),COLORFFFF00;
MA250:MA(C,250),COLOR808080;
DRAWNUMBER(ISLASTBAR,C,C),colormagenta;
STICKLINE((C-REF(C,1))/REF(C,1)>0.095,C,O,2,0),colormagenta;