同花顺买卖强弱 副图 选股源码
-
相关简介:同花顺买卖强弱 副图 选股源码 VAR1:=(2*CLOSE+HIGH+LOW+OPEN)/5; VAR2:=EMA(EMA(EMA(VAR1,4),4),4); SJ: (VAR2-REF(VAR2,1))/REF(VAR2,1)*100, COLORSTICK; SD: MA(SJ,2); SK: MA(SJ,1); VAR3:=CROSS(SK,SD) AND SK0; VAR4:=CROSS(SK,0); VAR5:=CROSS(SK,SD) AND SK0; 买一: VAR3, STI
-
文章来源:股海网作者:股海网发布时间:2013-04-06浏览次数:
同花顺买卖强弱 副图 选股源码
VAR1:=(2*CLOSE+HIGH+LOW+OPEN)/5;
VAR2:=EMA(EMA(EMA(VAR1,4),4),4);
SJ: (VAR2-REF(VAR2,1))/REF(VAR2,1)*100, COLORSTICK;
SD: MA(SJ,2);
SK: MA(SJ,1);
VAR3:=CROSS(SK,SD) AND SK<0;
VAR4:=CROSS(SK,0);
VAR5:=CROSS(SK,SD) AND SK>0;
买一: VAR3, STICK;
买二: VAR4 OR VAR5, STICK;
VAR6:=CROSS(SD,SK);
卖出: VAR6, STICK;
强弱分界: 0, CIRCLEDOT;
==================================================================================
紫柱
VAR1:=(2*CLOSE+HIGH+LOW+OPEN)/5;
VAR2:=EMA(EMA(EMA(VAR1,4),4),4);
SJ:=(VAR2-REF(VAR2,1))/REF(VAR2,1)*100, COLORSTICK;
SD:=MA(SJ,2);
SK:=MA(SJ,1);
AA:CROSS(SK,SD) AND SK<0;
==================================================================================
绿柱
VAR1:=(2*CLOSE+HIGH+LOW+OPEN)/5;
VAR2:=EMA(EMA(EMA(VAR1,4),4),4);
SJ:=(VAR2-REF(VAR2,1))/REF(VAR2,1)*100, COLORSTICK;
SD:=MA(SJ,2);
SK:=MA(SJ,1);
VAR4:=CROSS(SK,0);
VAR5:=CROSS(SK,SD) AND SK>0;
AA:VAR4 OR VAR5;