马上注册,享用更多功能,让你轻松玩转本论坛。
您需要 登录 才可以下载或查看,没有账号?立即注册
×
刚刚在看同学们回帖的时候,发现还有很多同学都不会导入指标,所以我为了方便大家,就在这里用图片的方式教大家如何导入指标,AAA指标的源码我已经在论坛公布了,下面我把源码在这里发一下:
大智慧L2:
- CV:=CLOSE;
- BBIBOLL:=(MA(CV,3)+MA(CV,6)+MA(CV,12)+MA(CV,24))/4;
- UPR:=BBIBOLL+6*STD(BBIBOLL,11);
- DWN:=BBIBOLL-6*STD(BBIBOLL,11);
- 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);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(255,0,0));
- partline(B2,B2>REF(B2,1),rgb(255,0,0));
- partline(B3,B3>REF(B3,1),rgb(255,0,0));;
- partline(B4,B4>REF(B4,1),rgb(255,0,0));
- partline(B5,B5>REF(B5,1),rgb(255,0,0));
- partline(B6,B6>REF(B6,1),rgb(255,0,0));
- partline(B7,B7>REF(B7,1),rgb(255,0,0));
- partline(B8,B8>REF(B8,1),rgb(255,0,0));
- partline(B9,B9>REF(B9,1),rgb(255,0,0));
- partline(B10,B10>REF(B10,1),rgb(255,0,0));
复制代码
通达信:- CV:=CLOSE;
- BBIBOLL:=(MA(CV,3)+MA(CV,6)+MA(CV,12)+MA(CV,24))/4;
- UPR:=BBIBOLL+6*STD(BBIBOLL,11);
- DWN:=BBIBOLL-6*STD(BBIBOLL,11);
- 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);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;
- A1:IF(B1>REF(B1,1),B1,DRAWNULL),COLORRED;
- A2:IF(B2>REF(B2,1),B2,DRAWNULL),COLORRED;
- A3:IF(B3>REF(B3,1),B3,DRAWNULL),COLORRED;
- A4:IF(B4>REF(B4,1),B4,DRAWNULL),COLORRED;
- A5:IF(B5>REF(B5,1),B5,DRAWNULL),COLORRED;
- A6:IF(B6>REF(B6,1),B6,DRAWNULL),COLORRED;
- A7:IF(B7>REF(B7,1),B7,DRAWNULL),COLORRED;
- A8:IF(B8>REF(B8,1),B8,DRAWNULL),COLORRED;
- A9:IF(B9>REF(B9,1),B9,DRAWNULL),COLORRED;
- A10:IF(B10>REF(B10,1),B10,DRAWNULL),COLORRED;
复制代码
同花顺:- CV:=CLOSE;
- BBIBOLL:=(MA(CV,3)+MA(CV,6)+MA(CV,12)+MA(CV,24))/4;
- UPR:=BBIBOLL+6*STD(BBIBOLL,11);
- DWN:=BBIBOLL-6*STD(BBIBOLL,11);
- 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);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;
- A1:IF(B1>REF(B1,1),B1,NULL),colorred;
- A2:IF(B2>REF(B2,1),B2,NULL),colorred;
- A3:IF(B3>REF(B3,1),B3,NULL),colorred;
- A4:IF(B4>REF(B4,1),B4,NULL),colorred;
- A5:IF(B5>REF(B5,1),B5,NULL),colorred;
- A6:IF(B6>REF(B6,1),B6,NULL),colorred;
- A7:IF(B7>REF(B7,1),B7,NULL),colorred;
- A8:IF(B8>REF(B8,1),B8,NULL),colorred;
- A9:IF(B9>REF(B9,1),B9,NULL),colorred;
- A10:IF(B10>REF(B10,1),B10,NULL),colorred;
复制代码
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));
[/code]
下面是导入的方法,请看图片
|