本帖最后由 赵旭波 于 2010-4-11 17:49 编辑
感谢金股格格!感谢笔墨登场!不过出于雅兴装了笔墨登场老师的破解版aaa指标,不过和金股格格对比起来有点出入,于是做了一个改进。
声明:以下改进仅适合同花顺,其他软件没试过。
源码如下:
QJJ:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
XVL:=(IF(CLOSE>OPEN,QJJ*(HIGH-LOW),IF(CLOSE<OPEN,QJJ*(HIGH-OPEN+CLOSE-LOW),VOL/2))+IF(CLOSE>OPEN,0-QJJ*(HIGH-CLOSE+OPEN-LOW),IF(CLOSE<OPEN,0-QJJ*(HIGH-LOW),0-VOL/2)));
HSL:=(XVL/20)/1.15;
攻击:=((HSL*0.55+(REF(HSL,1)*0.33))+(REF(HSL,2)*0.22));
LLJX:=EMA(攻击,3);
VAR1:0,POINTDOT,colorwhite;
B1:=SUM(LLJX,1),colorcyan;
B2:=SUM(LLJX,2),colorcyan;
B3:=SUM(LLJX,3),colorcyan;
B4:=SUM(LLJX,4),colorcyan;
B5:=SUM(LLJX,5),colorcyan;
B6:=SUM(LLJX,6),colorcyan;
B7:=SUM(LLJX,7),colorcyan;
B8:=SUM(LLJX,8),colorcyan;
B9:=SUM(LLJX,9),colorcyan;
B10:=SUM(LLJX,10),colorcyan;
PARTLINE(b1,b1>REF(b1,1),RGB(250,20,20),b1<=REF(b1,1),RGB(30,250,30));
PARTLINE(b2,b2>REF(b2,1),RGB(250,20,20),b2<=REF(b2,1),RGB(30,250,30));
PARTLINE(b3,b3>REF(b3,1),RGB(250,20,20),b3<=REF(b3,1),RGB(30,250,30));
PARTLINE(b4,b4>REF(b4,1),RGB(250,20,20),b4<=REF(b4,1),RGB(30,250,30));
PARTLINE(b5,b5>REF(b5,1),RGB(250,20,20),b5<=REF(b5,1),RGB(30,250,30));
PARTLINE(b6,b6>REF(b6,1),RGB(250,20,20),b6<=REF(b6,1),RGB(30,250,30));
PARTLINE(b7,b7>REF(b7,1),RGB(250,20,20),b7<=REF(b7,1),RGB(30,250,30));
PARTLINE(b8,b8>REF(b8,1),RGB(250,20,20),b8<=REF(b8,1),RGB(30,250,30));
PARTLINE(b9,b9>REF(b9,1),RGB(250,20,20),b9<=REF(b9,1),RGB(30,250,30));
PARTLINE(b10,b10>REF(b10,1),RGB(250,20,20),b10<=REF(b10,1),RGB(30,250,30));
截图如下:
下面是金股格格版
股票代码都是002090 |