通达信指数k线指标(求助,怎样在个股K线下,副图上显示上证指数的K线?)
1. 求助,怎样在个股K线下,副图上显示上证指数的K线?
打开通达信,切换到个股K线图界面,按Insert,选择你要看的指数或个股,确认就可以了。如果你嫌指标太多,可以点一下个股K线或指数K线,然后按Alt+1来关闭指标。自己组合一下就可以了。
2. 求助,怎样在个股K线下,副图上显示上证指数的K线?
打开通达信,切换到个股K线图界面,按Insert,选择你要看的指数或个股,确认就可以了。如果你嫌指标太多,可以点一下个股K线或指数K线,然后按Alt+1来关闭指标。自己组合一下就可以了。
3. 求一个通达信上证K线幅图公式?
{大盘指数}
指数:INDEXC,NODRAW;
涨跌:INDEXC-REF(INDEXC,1), NODRAW;
涨幅(%):((INDEXC/REF(INDEXC,1))-1)* 100, NODRAW;
大盘:DRAWKLINE(INDEXH,INDEXO,INDEXL,INDEXC);
MA5:MA(INDEXC,5),COLORWHITE;
MA20:MA(INDEXC,20),COLORMAGENTA;
MA60:MA(INDEXC,60),COLORGREEN;
---------------------------------------------------
指数:INDEXC,NODRAW;
涨跌:INDEXC-REF(INDEXC,1), NODRAW;
涨幅(%):((INDEXC/REF(INDEXC,1))-1)* 100, NODRAW;
大盘:DRAWKLINE(INDEXH,INDEXO,INDEXL,INDEXC);
MA5:MA(INDEXC,5),COLORWHITE;
MA20:MA(INDEXC,20),COLORMAGENTA;
MA60:MA(INDEXC,60),COLORGREEN;
DRAWTEXT(REFDATE(INDEXC,1100104)=3243.76 AND CURRBARSCOUNT=7,HHV(INDEXH,60),'上证指数');
DRAWTEXT(REFDATE(INDEXC,1100104)!=3243.76 AND CURRBARSCOUNT=7,HHV(INDEXH,60),'深证指数');
4. 通达信k线参数设置?
逼达信K线没有参数,就四个价位形成当天的K线开盘价,收盘价,最高价,最低价。周K线以本周的开盘,收盘,最高,最低价组成一周的周K线图。
5. 通达信k线参数设置?
逼达信K线没有参数,就四个价位形成当天的K线开盘价,收盘价,最高价,最低价。周K线以本周的开盘,收盘,最高,最低价组成一周的周K线图。
6. 通达信k线主图上怎么叠加大盘指数?
右键---叠加品种---叠加指定品种:选择上证指数或其它指数即可。
7. 通达信k线主图上怎么叠加大盘指数?
右键---叠加品种---叠加指定品种:选择上证指数或其它指数即可。
8. 通达信k线主图上怎么叠加大盘指数?
右键---叠加品种---叠加指定品种:选择上证指数或其它指数即可。
9. 求助,怎样在个股K线下,副图上显示上证指数的K线?
打开通达信,切换到个股K线图界面,按Insert,选择你要看的指数或个股,确认就可以了。如果你嫌指标太多,可以点一下个股K线或指数K线,然后按Alt+1来关闭指标。自己组合一下就可以了。
10. 求一个通达信上证K线幅图公式?
{大盘指数}
指数:INDEXC,NODRAW;
涨跌:INDEXC-REF(INDEXC,1), NODRAW;
涨幅(%):((INDEXC/REF(INDEXC,1))-1)* 100, NODRAW;
大盘:DRAWKLINE(INDEXH,INDEXO,INDEXL,INDEXC);
MA5:MA(INDEXC,5),COLORWHITE;
MA20:MA(INDEXC,20),COLORMAGENTA;
MA60:MA(INDEXC,60),COLORGREEN;
---------------------------------------------------
指数:INDEXC,NODRAW;
涨跌:INDEXC-REF(INDEXC,1), NODRAW;
涨幅(%):((INDEXC/REF(INDEXC,1))-1)* 100, NODRAW;
大盘:DRAWKLINE(INDEXH,INDEXO,INDEXL,INDEXC);
MA5:MA(INDEXC,5),COLORWHITE;
MA20:MA(INDEXC,20),COLORMAGENTA;
MA60:MA(INDEXC,60),COLORGREEN;
DRAWTEXT(REFDATE(INDEXC,1100104)=3243.76 AND CURRBARSCOUNT=7,HHV(INDEXH,60),'上证指数');
DRAWTEXT(REFDATE(INDEXC,1100104)!=3243.76 AND CURRBARSCOUNT=7,HHV(INDEXH,60),'深证指数');
11. 如何在通达信电脑上K线进行编辑?
在通达信电脑版中,您可以通过以下步骤对K线进行编辑:
1. 打开通达信软件并登录账号,在股票数据界面中选择想要编辑K线的股票代码。
2. 在股票数据界面中右键点击该股票的K线图,选择“显示周期”菜单中的相应时间周期。
3. 鼠标左键点击K线图中的任意一个K线,可以看到该K线的详细信息,包括开盘价、收盘价、最高价和最低价等。
4. 若要编辑K线某个价格或数据,可以双击该K线。此时一个弹出的新窗口会显示该K线的所有数据,您可以手动修改其中的某一项数据。
5. 完成修改后点击“确认”按钮,系统会自动保存您所修改过的数据,同时还可根据实际情况补充该K线的其它数据信息。
需要注意的是,K线的编辑只能在股市闭市时进行。
12. 如何在通达信电脑上K线进行编辑?
在通达信电脑版中,您可以通过以下步骤对K线进行编辑:
1. 打开通达信软件并登录账号,在股票数据界面中选择想要编辑K线的股票代码。
2. 在股票数据界面中右键点击该股票的K线图,选择“显示周期”菜单中的相应时间周期。
3. 鼠标左键点击K线图中的任意一个K线,可以看到该K线的详细信息,包括开盘价、收盘价、最高价和最低价等。
4. 若要编辑K线某个价格或数据,可以双击该K线。此时一个弹出的新窗口会显示该K线的所有数据,您可以手动修改其中的某一项数据。
5. 完成修改后点击“确认”按钮,系统会自动保存您所修改过的数据,同时还可根据实际情况补充该K线的其它数据信息。
需要注意的是,K线的编辑只能在股市闭市时进行。
13. 通达信某均线穿某均线倍量阳指标源代码?
以下为通达信某均线穿某均线倍量阳指标的源代码:
```
输入:M1:SHORT,M2:SHORT,M3:SHORT,M4:SHORT,N1:SHORT,N2:SHORT,N3:SHORT,N4:SHORT,PERIOD:INTEGER;
VAR:MA1:DOUBLE,MA2:DOUBLE,MA3:DOUBLE,MA4:DOUBLE,LC:DOUBLE,TR:DOUBLE;
VAR:UPP:DOUBLE,LOW:DOUBLE,B1:DOUBLE,B2:DOUBLE,B3:DOUBLE,B4:DOUBLE,B5:DOUBLE,B6:DOUBLE,B7:DOUBLE,B8:DOUBLE,B9:DOUBLE,B10:DOUBLE,B11:DOUBLE,B12:DOUBLE,B13:DOUBLE,B14:DOUBLE,B15:DOUBLE,B16:DOUBLE,B17:DOUBLE,B18:DOUBLE,B19:DOUBLE,B20:DOUBLE,B21:DOUBLE,B22:DOUBLE,B23:DOUBLE,B24:DOUBLE,B25:DOUBLE,B26:DOUBLE,B27:DOUBLE,B28:DOUBLE,B29:DOUBLE,B30:DOUBLE,B31:DOUBLE,B32:DOUBLE,B33:DOUBLE,B34:DOUBLE,B35:DOUBLE,B36:DOUBLE,B37:DOUBLE,B38:DOUBLE,B39:DOUBLE,B40:DOUBLE,B41:DOUBLE,B42:DOUBLE,B43:DOUBLE,B44:DOUBLE,B45:DOUBLE,B46:DOUBLE,B47:DOUBLE,B48:DOUBLE;
VAR:BUY:INTEGER;
IF BARSCOUNT>PERIOD THEN BEGIN
MA1=MA(CLOSE,M1);
MA2=MA(CLOSE,M2);
MA3=MA(CLOSE,M3);
MA4=MA(CLOSE,M4);
UPP=MA1+N1*STDEV(CLOSE,M1);
LOW=MA1-N2*STDEV(CLOSE,M1);
B1=CLOSE<MA1 AND CROSS(MA2,MA1);
B2=CLOSE<MA1 AND MA1<=MA2 AND MA2<MA3 AND MA3<MA4;
B3=CLOSE<MA1 AND MA4<MA3 AND MA3<MA2 AND MA2<MA1;
B4=CLOSE<=MA2 AND MA2<MA1 AND MA1<=UPP AND
(CLOSE-MA2)>N3*(MA2-MA3) AND (MA2-MA3)<N4*(MA3-MA4);
B5=CLOSE<=MA2 AND MA2<MA1 AND UPP<CLOSE;
B6=CLOSE>MA1 AND MA2>=MA1 AND BARSSINCE(B1)=1;
B7=CLOSE>MA1 AND MA2<MA1 AND BARSSINCE(B2)=1;
B8=CLOSE>MA1 AND MA3<MA2 AND MA2<MA1 AND BARSSINCE(B3)=1;
B9=CLOSE>MA1 AND MA1<=UPP AND MA2<MA1 AND (CLOSE-MA2)>N3*(MA2-MA3) AND (MA2-MA3)<N4*(MA3-MA4) AND BARSSINCE(B4)=1;
B10=CLOSE>MA1 AND UPP<=MA1 AND BARSSINCE(B5)=1;
LC = Ref(CLOSE,-1);
TR = Max(Max(HIGH-LOW,ABS(HIGH-LC)),ABS(LC-LOW));
B11=CLOSE>MA1 AND MA1>MA2 AND MA2>MA3 AND MA3>MA4 AND
CLOSE-MA4>(N1+N2+N3+N4)/4*TR AND BARSSINCE(B6)>=PERIOD;
B12=CLOSE>MA1 AND MA1>MA2 AND MA2>MA3 AND MA3>MA4 AND
CLOSE-MA4>(N1+N2+N3+N4)/4*TR AND BARSSINCE(B7)>=PERIOD;
B13=CLOSE>MA1 AND MA3<MA2 AND MA2<MA1 AND
CLOSE-MA1>(N1+N2+N3+N4)/4*TR AND BARSSINCE(B8)>=PERIOD;
IF B11 OR B12 OR B13 THEN
BEGIN
B14 = MA(CLOSE,N1) > MA(CLOSE,N2);
B15 = MA(CLOSE,N2) > MA(CLOSE,N3);
B16 = MA(CLOSE,N3) > MA(CLOSE,N4);
B17 = MA(CLOSE,N4) > MA(CLOSE,PERIOD);
B18 = VOLUME > MA(VOLUME,PERIOD)*N4;
B19 = CLOSE > MA(CLOSE,PERIOD);
B20 = IFF(B14 AND B15 AND B16 AND B17 AND B18 AND B19,1,0);
B21 = SUM(B20,PERIOD-1) = PERIOD-1;
B22 = REF(B21,1);
IF B21 THEN
BEGIN
IF B22 THEN BUY = 1;
END
ELSE BUY = 0;
END;
END;
BUY不为0时表示出现该指标的买入信号。
14. 通达信k线参数设置?
逼达信K线没有参数,就四个价位形成当天的K线开盘价,收盘价,最高价,最低价。周K线以本周的开盘,收盘,最高,最低价组成一周的周K线图。
15. 求一个通达信上证K线幅图公式?
{大盘指数}
指数:INDEXC,NODRAW;
涨跌:INDEXC-REF(INDEXC,1), NODRAW;
涨幅(%):((INDEXC/REF(INDEXC,1))-1)* 100, NODRAW;
大盘:DRAWKLINE(INDEXH,INDEXO,INDEXL,INDEXC);
MA5:MA(INDEXC,5),COLORWHITE;
MA20:MA(INDEXC,20),COLORMAGENTA;
MA60:MA(INDEXC,60),COLORGREEN;
---------------------------------------------------
指数:INDEXC,NODRAW;
涨跌:INDEXC-REF(INDEXC,1), NODRAW;
涨幅(%):((INDEXC/REF(INDEXC,1))-1)* 100, NODRAW;
大盘:DRAWKLINE(INDEXH,INDEXO,INDEXL,INDEXC);
MA5:MA(INDEXC,5),COLORWHITE;
MA20:MA(INDEXC,20),COLORMAGENTA;
MA60:MA(INDEXC,60),COLORGREEN;
DRAWTEXT(REFDATE(INDEXC,1100104)=3243.76 AND CURRBARSCOUNT=7,HHV(INDEXH,60),'上证指数');
DRAWTEXT(REFDATE(INDEXC,1100104)!=3243.76 AND CURRBARSCOUNT=7,HHV(INDEXH,60),'深证指数');
16. 求一个通达信上证K线幅图公式?
{大盘指数}
指数:INDEXC,NODRAW;
涨跌:INDEXC-REF(INDEXC,1), NODRAW;
涨幅(%):((INDEXC/REF(INDEXC,1))-1)* 100, NODRAW;
大盘:DRAWKLINE(INDEXH,INDEXO,INDEXL,INDEXC);
MA5:MA(INDEXC,5),COLORWHITE;
MA20:MA(INDEXC,20),COLORMAGENTA;
MA60:MA(INDEXC,60),COLORGREEN;
---------------------------------------------------
指数:INDEXC,NODRAW;
涨跌:INDEXC-REF(INDEXC,1), NODRAW;
涨幅(%):((INDEXC/REF(INDEXC,1))-1)* 100, NODRAW;
大盘:DRAWKLINE(INDEXH,INDEXO,INDEXL,INDEXC);
MA5:MA(INDEXC,5),COLORWHITE;
MA20:MA(INDEXC,20),COLORMAGENTA;
MA60:MA(INDEXC,60),COLORGREEN;
DRAWTEXT(REFDATE(INDEXC,1100104)=3243.76 AND CURRBARSCOUNT=7,HHV(INDEXH,60),'上证指数');
DRAWTEXT(REFDATE(INDEXC,1100104)!=3243.76 AND CURRBARSCOUNT=7,HHV(INDEXH,60),'深证指数');
17. 如何在通达信电脑上K线进行编辑?
在通达信电脑版中,您可以通过以下步骤对K线进行编辑:
1. 打开通达信软件并登录账号,在股票数据界面中选择想要编辑K线的股票代码。
2. 在股票数据界面中右键点击该股票的K线图,选择“显示周期”菜单中的相应时间周期。
3. 鼠标左键点击K线图中的任意一个K线,可以看到该K线的详细信息,包括开盘价、收盘价、最高价和最低价等。
4. 若要编辑K线某个价格或数据,可以双击该K线。此时一个弹出的新窗口会显示该K线的所有数据,您可以手动修改其中的某一项数据。
5. 完成修改后点击“确认”按钮,系统会自动保存您所修改过的数据,同时还可根据实际情况补充该K线的其它数据信息。
需要注意的是,K线的编辑只能在股市闭市时进行。
18. 通达信k线主图上怎么叠加大盘指数?
右键---叠加品种---叠加指定品种:选择上证指数或其它指数即可。
19. 通达信某均线穿某均线倍量阳指标源代码?
以下为通达信某均线穿某均线倍量阳指标的源代码:
```
输入:M1:SHORT,M2:SHORT,M3:SHORT,M4:SHORT,N1:SHORT,N2:SHORT,N3:SHORT,N4:SHORT,PERIOD:INTEGER;
VAR:MA1:DOUBLE,MA2:DOUBLE,MA3:DOUBLE,MA4:DOUBLE,LC:DOUBLE,TR:DOUBLE;
VAR:UPP:DOUBLE,LOW:DOUBLE,B1:DOUBLE,B2:DOUBLE,B3:DOUBLE,B4:DOUBLE,B5:DOUBLE,B6:DOUBLE,B7:DOUBLE,B8:DOUBLE,B9:DOUBLE,B10:DOUBLE,B11:DOUBLE,B12:DOUBLE,B13:DOUBLE,B14:DOUBLE,B15:DOUBLE,B16:DOUBLE,B17:DOUBLE,B18:DOUBLE,B19:DOUBLE,B20:DOUBLE,B21:DOUBLE,B22:DOUBLE,B23:DOUBLE,B24:DOUBLE,B25:DOUBLE,B26:DOUBLE,B27:DOUBLE,B28:DOUBLE,B29:DOUBLE,B30:DOUBLE,B31:DOUBLE,B32:DOUBLE,B33:DOUBLE,B34:DOUBLE,B35:DOUBLE,B36:DOUBLE,B37:DOUBLE,B38:DOUBLE,B39:DOUBLE,B40:DOUBLE,B41:DOUBLE,B42:DOUBLE,B43:DOUBLE,B44:DOUBLE,B45:DOUBLE,B46:DOUBLE,B47:DOUBLE,B48:DOUBLE;
VAR:BUY:INTEGER;
IF BARSCOUNT>PERIOD THEN BEGIN
MA1=MA(CLOSE,M1);
MA2=MA(CLOSE,M2);
MA3=MA(CLOSE,M3);
MA4=MA(CLOSE,M4);
UPP=MA1+N1*STDEV(CLOSE,M1);
LOW=MA1-N2*STDEV(CLOSE,M1);
B1=CLOSE<MA1 AND CROSS(MA2,MA1);
B2=CLOSE<MA1 AND MA1<=MA2 AND MA2<MA3 AND MA3<MA4;
B3=CLOSE<MA1 AND MA4<MA3 AND MA3<MA2 AND MA2<MA1;
B4=CLOSE<=MA2 AND MA2<MA1 AND MA1<=UPP AND
(CLOSE-MA2)>N3*(MA2-MA3) AND (MA2-MA3)<N4*(MA3-MA4);
B5=CLOSE<=MA2 AND MA2<MA1 AND UPP<CLOSE;
B6=CLOSE>MA1 AND MA2>=MA1 AND BARSSINCE(B1)=1;
B7=CLOSE>MA1 AND MA2<MA1 AND BARSSINCE(B2)=1;
B8=CLOSE>MA1 AND MA3<MA2 AND MA2<MA1 AND BARSSINCE(B3)=1;
B9=CLOSE>MA1 AND MA1<=UPP AND MA2<MA1 AND (CLOSE-MA2)>N3*(MA2-MA3) AND (MA2-MA3)<N4*(MA3-MA4) AND BARSSINCE(B4)=1;
B10=CLOSE>MA1 AND UPP<=MA1 AND BARSSINCE(B5)=1;
LC = Ref(CLOSE,-1);
TR = Max(Max(HIGH-LOW,ABS(HIGH-LC)),ABS(LC-LOW));
B11=CLOSE>MA1 AND MA1>MA2 AND MA2>MA3 AND MA3>MA4 AND
CLOSE-MA4>(N1+N2+N3+N4)/4*TR AND BARSSINCE(B6)>=PERIOD;
B12=CLOSE>MA1 AND MA1>MA2 AND MA2>MA3 AND MA3>MA4 AND
CLOSE-MA4>(N1+N2+N3+N4)/4*TR AND BARSSINCE(B7)>=PERIOD;
B13=CLOSE>MA1 AND MA3<MA2 AND MA2<MA1 AND
CLOSE-MA1>(N1+N2+N3+N4)/4*TR AND BARSSINCE(B8)>=PERIOD;
IF B11 OR B12 OR B13 THEN
BEGIN
B14 = MA(CLOSE,N1) > MA(CLOSE,N2);
B15 = MA(CLOSE,N2) > MA(CLOSE,N3);
B16 = MA(CLOSE,N3) > MA(CLOSE,N4);
B17 = MA(CLOSE,N4) > MA(CLOSE,PERIOD);
B18 = VOLUME > MA(VOLUME,PERIOD)*N4;
B19 = CLOSE > MA(CLOSE,PERIOD);
B20 = IFF(B14 AND B15 AND B16 AND B17 AND B18 AND B19,1,0);
B21 = SUM(B20,PERIOD-1) = PERIOD-1;
B22 = REF(B21,1);
IF B21 THEN
BEGIN
IF B22 THEN BUY = 1;
END
ELSE BUY = 0;
END;
END;
BUY不为0时表示出现该指标的买入信号。
20. 通达信某均线穿某均线倍量阳指标源代码?
以下为通达信某均线穿某均线倍量阳指标的源代码:
```
输入:M1:SHORT,M2:SHORT,M3:SHORT,M4:SHORT,N1:SHORT,N2:SHORT,N3:SHORT,N4:SHORT,PERIOD:INTEGER;
VAR:MA1:DOUBLE,MA2:DOUBLE,MA3:DOUBLE,MA4:DOUBLE,LC:DOUBLE,TR:DOUBLE;
VAR:UPP:DOUBLE,LOW:DOUBLE,B1:DOUBLE,B2:DOUBLE,B3:DOUBLE,B4:DOUBLE,B5:DOUBLE,B6:DOUBLE,B7:DOUBLE,B8:DOUBLE,B9:DOUBLE,B10:DOUBLE,B11:DOUBLE,B12:DOUBLE,B13:DOUBLE,B14:DOUBLE,B15:DOUBLE,B16:DOUBLE,B17:DOUBLE,B18:DOUBLE,B19:DOUBLE,B20:DOUBLE,B21:DOUBLE,B22:DOUBLE,B23:DOUBLE,B24:DOUBLE,B25:DOUBLE,B26:DOUBLE,B27:DOUBLE,B28:DOUBLE,B29:DOUBLE,B30:DOUBLE,B31:DOUBLE,B32:DOUBLE,B33:DOUBLE,B34:DOUBLE,B35:DOUBLE,B36:DOUBLE,B37:DOUBLE,B38:DOUBLE,B39:DOUBLE,B40:DOUBLE,B41:DOUBLE,B42:DOUBLE,B43:DOUBLE,B44:DOUBLE,B45:DOUBLE,B46:DOUBLE,B47:DOUBLE,B48:DOUBLE;
VAR:BUY:INTEGER;
IF BARSCOUNT>PERIOD THEN BEGIN
MA1=MA(CLOSE,M1);
MA2=MA(CLOSE,M2);
MA3=MA(CLOSE,M3);
MA4=MA(CLOSE,M4);
UPP=MA1+N1*STDEV(CLOSE,M1);
LOW=MA1-N2*STDEV(CLOSE,M1);
B1=CLOSE<MA1 AND CROSS(MA2,MA1);
B2=CLOSE<MA1 AND MA1<=MA2 AND MA2<MA3 AND MA3<MA4;
B3=CLOSE<MA1 AND MA4<MA3 AND MA3<MA2 AND MA2<MA1;
B4=CLOSE<=MA2 AND MA2<MA1 AND MA1<=UPP AND
(CLOSE-MA2)>N3*(MA2-MA3) AND (MA2-MA3)<N4*(MA3-MA4);
B5=CLOSE<=MA2 AND MA2<MA1 AND UPP<CLOSE;
B6=CLOSE>MA1 AND MA2>=MA1 AND BARSSINCE(B1)=1;
B7=CLOSE>MA1 AND MA2<MA1 AND BARSSINCE(B2)=1;
B8=CLOSE>MA1 AND MA3<MA2 AND MA2<MA1 AND BARSSINCE(B3)=1;
B9=CLOSE>MA1 AND MA1<=UPP AND MA2<MA1 AND (CLOSE-MA2)>N3*(MA2-MA3) AND (MA2-MA3)<N4*(MA3-MA4) AND BARSSINCE(B4)=1;
B10=CLOSE>MA1 AND UPP<=MA1 AND BARSSINCE(B5)=1;
LC = Ref(CLOSE,-1);
TR = Max(Max(HIGH-LOW,ABS(HIGH-LC)),ABS(LC-LOW));
B11=CLOSE>MA1 AND MA1>MA2 AND MA2>MA3 AND MA3>MA4 AND
CLOSE-MA4>(N1+N2+N3+N4)/4*TR AND BARSSINCE(B6)>=PERIOD;
B12=CLOSE>MA1 AND MA1>MA2 AND MA2>MA3 AND MA3>MA4 AND
CLOSE-MA4>(N1+N2+N3+N4)/4*TR AND BARSSINCE(B7)>=PERIOD;
B13=CLOSE>MA1 AND MA3<MA2 AND MA2<MA1 AND
CLOSE-MA1>(N1+N2+N3+N4)/4*TR AND BARSSINCE(B8)>=PERIOD;
IF B11 OR B12 OR B13 THEN
BEGIN
B14 = MA(CLOSE,N1) > MA(CLOSE,N2);
B15 = MA(CLOSE,N2) > MA(CLOSE,N3);
B16 = MA(CLOSE,N3) > MA(CLOSE,N4);
B17 = MA(CLOSE,N4) > MA(CLOSE,PERIOD);
B18 = VOLUME > MA(VOLUME,PERIOD)*N4;
B19 = CLOSE > MA(CLOSE,PERIOD);
B20 = IFF(B14 AND B15 AND B16 AND B17 AND B18 AND B19,1,0);
B21 = SUM(B20,PERIOD-1) = PERIOD-1;
B22 = REF(B21,1);
IF B21 THEN
BEGIN
IF B22 THEN BUY = 1;
END
ELSE BUY = 0;
END;
END;
BUY不为0时表示出现该指标的买入信号。
21. 通达信某均线穿某均线倍量阳指标源代码?
以下为通达信某均线穿某均线倍量阳指标的源代码:
```
输入:M1:SHORT,M2:SHORT,M3:SHORT,M4:SHORT,N1:SHORT,N2:SHORT,N3:SHORT,N4:SHORT,PERIOD:INTEGER;
VAR:MA1:DOUBLE,MA2:DOUBLE,MA3:DOUBLE,MA4:DOUBLE,LC:DOUBLE,TR:DOUBLE;
VAR:UPP:DOUBLE,LOW:DOUBLE,B1:DOUBLE,B2:DOUBLE,B3:DOUBLE,B4:DOUBLE,B5:DOUBLE,B6:DOUBLE,B7:DOUBLE,B8:DOUBLE,B9:DOUBLE,B10:DOUBLE,B11:DOUBLE,B12:DOUBLE,B13:DOUBLE,B14:DOUBLE,B15:DOUBLE,B16:DOUBLE,B17:DOUBLE,B18:DOUBLE,B19:DOUBLE,B20:DOUBLE,B21:DOUBLE,B22:DOUBLE,B23:DOUBLE,B24:DOUBLE,B25:DOUBLE,B26:DOUBLE,B27:DOUBLE,B28:DOUBLE,B29:DOUBLE,B30:DOUBLE,B31:DOUBLE,B32:DOUBLE,B33:DOUBLE,B34:DOUBLE,B35:DOUBLE,B36:DOUBLE,B37:DOUBLE,B38:DOUBLE,B39:DOUBLE,B40:DOUBLE,B41:DOUBLE,B42:DOUBLE,B43:DOUBLE,B44:DOUBLE,B45:DOUBLE,B46:DOUBLE,B47:DOUBLE,B48:DOUBLE;
VAR:BUY:INTEGER;
IF BARSCOUNT>PERIOD THEN BEGIN
MA1=MA(CLOSE,M1);
MA2=MA(CLOSE,M2);
MA3=MA(CLOSE,M3);
MA4=MA(CLOSE,M4);
UPP=MA1+N1*STDEV(CLOSE,M1);
LOW=MA1-N2*STDEV(CLOSE,M1);
B1=CLOSE<MA1 AND CROSS(MA2,MA1);
B2=CLOSE<MA1 AND MA1<=MA2 AND MA2<MA3 AND MA3<MA4;
B3=CLOSE<MA1 AND MA4<MA3 AND MA3<MA2 AND MA2<MA1;
B4=CLOSE<=MA2 AND MA2<MA1 AND MA1<=UPP AND
(CLOSE-MA2)>N3*(MA2-MA3) AND (MA2-MA3)<N4*(MA3-MA4);
B5=CLOSE<=MA2 AND MA2<MA1 AND UPP<CLOSE;
B6=CLOSE>MA1 AND MA2>=MA1 AND BARSSINCE(B1)=1;
B7=CLOSE>MA1 AND MA2<MA1 AND BARSSINCE(B2)=1;
B8=CLOSE>MA1 AND MA3<MA2 AND MA2<MA1 AND BARSSINCE(B3)=1;
B9=CLOSE>MA1 AND MA1<=UPP AND MA2<MA1 AND (CLOSE-MA2)>N3*(MA2-MA3) AND (MA2-MA3)<N4*(MA3-MA4) AND BARSSINCE(B4)=1;
B10=CLOSE>MA1 AND UPP<=MA1 AND BARSSINCE(B5)=1;
LC = Ref(CLOSE,-1);
TR = Max(Max(HIGH-LOW,ABS(HIGH-LC)),ABS(LC-LOW));
B11=CLOSE>MA1 AND MA1>MA2 AND MA2>MA3 AND MA3>MA4 AND
CLOSE-MA4>(N1+N2+N3+N4)/4*TR AND BARSSINCE(B6)>=PERIOD;
B12=CLOSE>MA1 AND MA1>MA2 AND MA2>MA3 AND MA3>MA4 AND
CLOSE-MA4>(N1+N2+N3+N4)/4*TR AND BARSSINCE(B7)>=PERIOD;
B13=CLOSE>MA1 AND MA3<MA2 AND MA2<MA1 AND
CLOSE-MA1>(N1+N2+N3+N4)/4*TR AND BARSSINCE(B8)>=PERIOD;
IF B11 OR B12 OR B13 THEN
BEGIN
B14 = MA(CLOSE,N1) > MA(CLOSE,N2);
B15 = MA(CLOSE,N2) > MA(CLOSE,N3);
B16 = MA(CLOSE,N3) > MA(CLOSE,N4);
B17 = MA(CLOSE,N4) > MA(CLOSE,PERIOD);
B18 = VOLUME > MA(VOLUME,PERIOD)*N4;
B19 = CLOSE > MA(CLOSE,PERIOD);
B20 = IFF(B14 AND B15 AND B16 AND B17 AND B18 AND B19,1,0);
B21 = SUM(B20,PERIOD-1) = PERIOD-1;
B22 = REF(B21,1);
IF B21 THEN
BEGIN
IF B22 THEN BUY = 1;
END
ELSE BUY = 0;
END;
END;
BUY不为0时表示出现该指标的买入信号。
22. 如何在通达信电脑上K线进行编辑?
在通达信电脑版中,您可以通过以下步骤对K线进行编辑:
1. 打开通达信软件并登录账号,在股票数据界面中选择想要编辑K线的股票代码。
2. 在股票数据界面中右键点击该股票的K线图,选择“显示周期”菜单中的相应时间周期。
3. 鼠标左键点击K线图中的任意一个K线,可以看到该K线的详细信息,包括开盘价、收盘价、最高价和最低价等。
4. 若要编辑K线某个价格或数据,可以双击该K线。此时一个弹出的新窗口会显示该K线的所有数据,您可以手动修改其中的某一项数据。
5. 完成修改后点击“确认”按钮,系统会自动保存您所修改过的数据,同时还可根据实际情况补充该K线的其它数据信息。
需要注意的是,K线的编辑只能在股市闭市时进行。
23. 通达信k线参数设置?
逼达信K线没有参数,就四个价位形成当天的K线开盘价,收盘价,最高价,最低价。周K线以本周的开盘,收盘,最高,最低价组成一周的周K线图。
24. 求助,怎样在个股K线下,副图上显示上证指数的K线?
打开通达信,切换到个股K线图界面,按Insert,选择你要看的指数或个股,确认就可以了。如果你嫌指标太多,可以点一下个股K线或指数K线,然后按Alt+1来关闭指标。自己组合一下就可以了。