KD_MACD表格12(01_60)3简短线
{图表反应的是KD,MACD各周期指标线的数值及上下行和上下拐点.使用,只要移动您的光标,就能找到规律. } {KD_表格} {K数据引用}{↑↓∧∨} K01:="KD.K#MIN1"; K05:="KD.K#MIN5"; K15:="KD.K#MIN15"; K30:="KD.K#MIN30"; K60:="KD.K#MIN60"; {8行D数据引用} D01:="KD.D#MIN1"; D05:="KD.D#MIN5"; D15:="KD.D#MIN15"; D30:="KD.D#MIN30"; D60:="KD.D#MIN60"; {14行显示K↑↓用} DJC:=K01[SYSPARAM(1)];DJC1:=K01[(SYSPARAM(1)- 1)];DJ1:=IF((DJC>DJC1),'↑','↓'); DJD:=K05[SYSPARAM(1)];DJD1:=K05[(SYSPARAM(1)- 1)];DJ2:=IF((DJD>DJD1),'↑','↓'); DJE:=K15[SYSPARAM(1)];DJE1:=K15[(SYSPARAM(1)- 1)];DJ3:=IF((DJE>DJE1),'↑','↓'); DJF:=K30[SYSPARAM(1)];DJF1:=K30[(SYSPARAM(1)- 1)];DJ4:=IF((DJF>DJF1),'↑','↓'); DJG:=K60[SYSPARAM(1)];DJG1:=K60[(SYSPARAM(1)- 1)];DJ5:=IF((DJG>DJG1),'↑','↓'); {20行显示D↑↓用} DJC2:=D01[SYSPARAM(1)];DJCC:=D01[(SYSPARAM(1)- 1)];DJ1A:=IF((DJC2>DJCC),'↑','↓'); DJD2:=D05[SYSPARAM(1)];DJDD:=D05[(SYSPARAM(1)- 1)];DJ2A:=IF((DJD2>DJDD),'↑','↓'); DJE2:=D15[SYSPARAM(1)];DJEE:=D15[(SYSPARAM(1)- 1)];DJ3A:=IF((DJE2>DJEE),'↑','↓'); DJF2:=D30[SYSPARAM(1)];DJFF:=D30[(SYSPARAM(1)- 1)];DJ4A:=IF((DJF2>DJFF),'↑','↓'); DJG2:=D60[SYSPARAM(1)];DJGG:=D60[(SYSPARAM(1)- 1)];DJ5A:=IF((DJG2>DJGG),'↑','↓'); {26行K上拐数据引用} K上拐01:="KD.K上拐#MIN1"; K上拐05:="KD.K上拐#MIN5"; K上拐15:="KD.K上拐#MIN15"; K上拐30:="KD.K上拐#MIN30"; K上拐60:="KD.K上拐#MIN60"; {32行K下拐数据引用} K下拐01:="KD.K下拐#MIN1"; K下拐05:="KD.K下拐#MIN5"; K下拐15:="KD.K下拐#MIN15"; K下拐30:="KD.K下拐#MIN30"; K下拐60:="KD.K下拐#MIN60"; {38行K上行数据引用} K上行01:="KD.K上行#MIN1"; K上行05:="KD.K上行#MIN5"; K上行15:="KD.K上行#MIN15"; K上行30:="KD.K上行#MIN30"; K上行60:="KD.K上行#MIN60"; {44行K下行数据引用} K下行01:="KD.K下行#MIN1"; K下行05:="KD.K下行#MIN5"; K下行15:="KD.K下行#MIN15"; K下行30:="KD.K下行#MIN30"; K下行60:="KD.K下行#MIN60"; {50行D上拐数据引用} D上拐01:="KD.D上拐#MIN1"; D上拐05:="KD.D上拐#MIN5"; D上拐15:="KD.D上拐#MIN15"; D上拐30:="KD.D上拐#MIN30"; D上拐60:="KD.D上拐#MIN60"; {56行D下拐数据引用} D下拐01:="KD.D下拐#MIN1"; D下拐05:="KD.D下拐#MIN5"; D下拐15:="KD.D下拐#MIN15"; D下拐30:="KD.D下拐#MIN30"; D下拐60:="KD.D下拐#MIN60"; {62行D上行数据引用} D上行01:="KD.D上行#MIN1"; D上行05:="KD.D上行#MIN5"; D上行15:="KD.D上行#MIN15"; D上行30:="KD.D上行#MIN30"; D上行60:="KD.D上行#MIN60"; {68行D下行数据引用} D下行01:="KD.D下行#MIN1"; D下行05:="KD.D下行#MIN5"; D下行15:="KD.D下行#MIN15"; D下行30:="KD.D下行#MIN30"; D下行60:="KD.D下行#MIN60"; {74行}{表框部份} p:=SYSPARAM(1); DRAWTEXTEX(c,0,135,0 ,'──────────────────────────────'),Color00AAAA; DRAWTEXTEX(c,0,135,20 ,'──────────────────────────────'),Color00AAAA; DRAWTEXTEX(c,0,135,40 ,'──────────────────────────────'),Color00AAAA; DRAWTEXTEX(c,0,135,60 ,'──────────────────────────────'),Color00AAAA; DRAWTEXTEX(c,0,135,80 ,'──────────────────────────────'),Color00AAAA; DRAWTEXTEX(c,0,135,103,'──────────────────────────────'),Color00AAAA; DRAWTEXTEX(c,0,130,5 ,'│ │ │ │ │ │ │'),Color00AAAA; DRAWTEXTEX(c,0,130,17 ,'│ │ │ │ │ │ │'),Color00AAAA; DRAWTEXTEX(c,0,130,29 ,'│ │ │ │ │ │ │'),Color00AAAA; DRAWTEXTEX(c,0,130,41 ,'│ │ │ │ │ │ │'),Color00AAAA; DRAWTEXTEX(c,0,130,53 ,'│ │ │ │ │ │ │'),Color00AAAA; DRAWTEXTEX(c,0,130,65 ,'│ │ │ │ │ │ │'),Color00AAAA; DRAWTEXTEX(c,0,130,77 ,'│ │ │ │ │ │ │'),Color00AAAA; DRAWTEXTEX(c,0,130,89 ,'│ │ │ │ │ │ │'),Color00AAAA; DRAWTEXTEX(c,0,130,97 ,'│ │ │ │ │ │ │'),Color00AAAA; DRAWTEXTEX(c,0,130,10,' 周期: 1分 5分 15分 30分 60分'),ColorDEDEDE; DRAWTEXTEX(c,0,130,30,' K:'),ColorDEDEDE; DRAWTEXTEX(c,0,130,50,' D:'),ColorDEDEDE; DRAWTEXTEX(c,0,130,70,' K拐行:'),ColorDEDEDE; DRAWTEXTEX(c,0,130,90,' D拐行:'),ColorDEDEDE; {96行} DRAWTEXTEX(c,0,30,30,' '+NUMTOSTR(K01[P],2)+DJ1),COLORWHITE; DRAWTEXTEX(c,0,30,30,' '+NUMTOSTR(K05[P],2)+DJ2),COLORYELLOW; DRAWTEXTEX(c |
