當前位置:首頁 > 财經 > 正文

股價平台整理指标原碼

股價平台整理指标原碼

AA1:=(MAX(C,O)+H)/2;
AA2:=(MIN(C,O)+L)/2;
A2:=C>=REF(C,2)+(REF(C,1)-REF(C,2))/REF(C,2)*1.052;
A3:=REF(C,1)>REF(C,2)*1004 OR REF(C,1)
OR REF(C,3)>REF(C,5)*1.017 OR COUNT(REF(C,1)>REF(C,2),3)=2;
A4:=(AA1-AA2)/REF(C,1)<0.0569 AND
(C-REF(C,1))/REF(C,1)<=10.34*(REF(C,1)-REF(C,2))/REF(C,2);
A5:=(AA1-AA2)/REF(C,1)<12.71*(REF(C,1)-REF(C,2))/REF(C,2);
A6:=(REF(H,1)-REF(C,1))<(REF(C,1)-REF(C,2))*2.67 AND REF(C,1)>=REF(O,1);
A7:=COUNT(CLOSE>0,5)>=3 &&
(HHV(CLOSE,5)-LLV(CLOSE,5))/LLV(CLOSE,5)<=(8.7/100);
A8:=(HHV(C,5)-LLV(C,5))/HHV(C,5)*100;
XG:=A8>0 AND A8<10;
BV:=CROSS(MA(C,6),MA(C,8));
W1:=C=HHV(C,6);
DIFF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIFF,9);
MACD:=(DIFF-DEA)*2;
上次零下金叉:=CROSS(DIFF,DEA);
金叉:=CROSS(DIFF,DEA);
TY:=(A2 AND A3 AND A4 AND A5 AND A6 AND A7 AND XG );
平台整理:(A2 AND A3 AND A4 AND A5 AND A6 AND A7 AND XG AND BV)
OR TY;
CROSS(DIFF,DEA) AND TY;
DRAWICON(CROSS(DIFF,DEA) AND TY,TY*1.2,11) ;

平台公式:

R:=4;M1:=3;
去掉T:=IF(DYNAINFO(9)=0,0,1) ;
漲幅:=(100*(CLOSE-REF(OPEN,3))/REF(OPEN,3)>6);
ZF:=(C-REF(C,1))/REF(C,1);
TJ:=ZF>=R/100OR ZF<=-R/100;
A1:=(HHV(C,10)-LLV(C,10))/HHV(C,10)*100;
XG:=A1>0 AND A1<13;
上平台:=BARSLAST(TJ) AND XG ;
SD:=C>=HHV(REF(TJ,1),11);
W1:=C=HHV(C,13);
COUNT(上平台,3)>0 AND 漲幅 AND 去掉T AND SD AND W1;



兩陽夾一陰選
A1:=REF(CLOSE,2)>REF(OPEN,2) ANDREF(CLOSE,1)OPEN;{三日均線描述}
A2:=REF(C,2)/REF(O,2)>1.02;{前天的漲幅大于3%}
A3:=REF(H,1)/REF(L,1)>1.02;{昨振幅大于3%}
A4:=C/REF(C,1)>1.02;{今天漲幅大于3%}
A5:=REF(C,1)/REF(C,2)<1.01 AND REF(O,1)/REF(C,2)<1.05;{昨天陰線開盤及收盤價均在前日收盤價1.05以内}
A6:=REF(C,1)>REF(O,2);{昨天陰線收盤要大于前日開盤價}
A7:=C>REF(O,1);{今日收盤價大于昨日的開盤價}
A8:=A1 AND A2 AND A3 AND A4 AND {A5 AND} A6 AND A7;

多頭炮:A8 { AND "KDJ.J"(9,3,3)<60};

M8:=MA(CLOSE,8);
M20:=MA(CLOSE,20);
M60:=MA(CLOSE,60);
M140:=MA(CLOSE,140);
VAR1:=IF(PEAKBARS(3,16,1)=0 AND LOW
VAR2:=IF(TROUGHBARS(3,16,1)=0 AND HIGH>LOW+0.04,4,0);
VAR11:=ZIG(3,6)>REF(ZIG(3,6),1) AND REF(ZIG(3,6),1)<=REF(ZIG(3,6),2) AND REF
(ZIG(3,6),2)<=REF(ZIG(3,6),3);
VAR12:=ZIG(3,6)=REF(ZIG(3,6),2) AND REF
(ZIG(3,6),2)>=REF(ZIG(3,6),3);
VAR13:=ZIG(3,22)>REF(ZIG(3,22),1) AND REF(ZIG(3,22),1)<=REF(ZIG(3,22),2) AND
REF(ZIG(3,22),2)<=REF(ZIG(3,22),3);
VAR14:=ZIG(3,22)=REF(ZIG(3,22),2) AND
REF(ZIG(3,22),2)>=REF(ZIG(3,22),3);
VAR15:=ZIG(3,51)>REF(ZIG(3,51),1) AND REF(ZIG(3,51),1)<=REF(ZIG(3,51),2) AND
REF(ZIG(3,51),2)<=REF(ZIG(3,51),3);
VAR16:=ZIG(3,51)=REF(ZIG(3,51),2) AND
REF(ZIG(3,51),2)>=REF(ZIG(3,51),3);
VAR17:=ZIG(3,72)>REF(ZIG(3,72),1) AND REF(ZIG(3,72),1)<=REF(ZIG(3,72),2) AND
REF(ZIG(3,72),2)<=REF(ZIG(3,72),3);
VAR18:=ZIG(3,72)=REF(ZIG(3,72),2) AND
REF(ZIG(3,72),2)>=REF(ZIG(3,72),3);
VAR19:=EMA(CLOSE,2)-EMA(CLOSE,150);
1:=(VAR11+VAR13+VAR15+VAR17);
1:=(VAR12+VAR14+VAR16+VAR18);
上升天數:BARSLAST(1>0 AND REF(VAR2,1)>0)+1,COLORRED,POINTDOT;
漲幅:(CLOSE-REF(CLOSE,上升天數))/REF(CLOSE,上升天數)*100,COLORRED;
回調天數:BARSLAST(1>0 AND REF(VAR1,1)>0)+1,COLOR00FF00,POINTDOT;
跌幅:(CLOSE-REF(CLOSE,回調天數))/REF(CLOSE,回調天數)*100,COLOR00FF00;
跌幅大于十五:跌幅<-15,COLORYELLOW;
IF(跌幅<-15,跌幅,DRAWNULL),COLOR00FFFF,LINETHICK2;
IF(跌幅<-18,跌幅,DRAWNULL),COLOR00CCFF,LINETHICK2;
IF(跌幅<-20,跌幅,DRAWNULL),COLOR0099FF,LINETHICK2;
IF(跌幅<-22,跌幅,DRAWNULL),COLORBLUE,LINETHICK2;
IF(跌幅>0,跌幅,DRAWNULL),COLOR66FF00,LINETHICK2;
IF(漲幅>50,漲幅,DRAWNULL),COLOR0000CC,LINETHICK3;
IF(漲幅>80,漲幅,DRAWNULL),COLOR0000FF,LINETHICK3;
IF(漲幅>100,漲幅,DRAWNULL),COLOR0066FF,LINETHICK3;
IF(漲幅>200,漲幅,DRAWNULL),COLORFF00FF,LINETHICK3;


立體成交量

VVOL:=IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,DRAWNULL),NODRAW;
STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,VVOL,0,3,-1),COLOR00C0C0;
EV:=VOL,;
VAR1:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
成交:=VOL,POINTDOT;
買盤:IF(CLOSE>OPEN,VAR1*(HIGH-LOW),IF(CLOSE
賣盤:IF(CLOSE>OPEN,0-VAR1*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE
成交量:EV/1,LINETHICK0;
成交額(千萬):AMOUNT/10000000,POINTDOT,COLORYELLOW;
VAR5:=AMOUNT/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
流入:IF(CLOSE>OPEN,VAR5*(HIGH-LOW),IF(CLOSE
流出:IF(CLOSE>OPEN,0-VAR5*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE
淨流:流入+流出,COLORFFFF00,NODRAW;
地量:=IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,VOL)
天量:=IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,VOL)/REF(V,1)>=2;
主力持倉:EMA(100*(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34)),3),COLORFF00FF,LINETHICK2,NODRAW;
主力籌碼:WINNER(C)*100 ,COLORRED,LINETHICK2,NODRAW;
散戶籌碼:(WINNER(C*1.1)-WINNER(C*0.9))*100 ,COLOR80FF00,LINETHICK2,NODRAW;
業績:FINANCE(33),COLORWHITE,NODRAW;
STICKLINE(C>0,0,VOL,3,0),COLOR005500;
STICKLINE(C>0,0,VOL,2,0),COLOR007700;
STICKLINE(C>0,0,VOL,1,0),COLOR009900;
STICKLINE(C>0,0,VOL,0,0),COLOR00CC00;
STICKLINE(買盤>0,0,買盤,3,0),COLOR000055;
STICKLINE(買盤>0,0,買盤,2,0),COLOR000077;
STICKLINE(買盤>0,0,買盤,1,0),COLOR000099;
STICKLINE(買盤>0,0,買盤,0,0),COLOR0000FF;
STICKLINE(天量,0,買盤,0.5,1),COLORMAGENTA;
STICKLINE(地量>0,0,買盤,0.5,1),COLORYELLOW;

單陽不破\KDJ指标研判要則與實戰技法

(2009-08-30 11:09:08)

标簽:

理财

證券

kdj指标

要則

分類:技術指标與分析

單陽不破:

單陽:=EXIST((C-REF(C,1))/REF(C,1)*100>8 ,11);
調整天數:=BARSLAST((C-REF(C,1))/REF(C,1)*100>8);
HH:=HHV(H,
調整天數-1);
LL:=LLV(L,
調整天數-1);
A2:=REF(O,
單陽);
振幅:=(HH-LL)/LL*100<10;
Q2:=LLV(REF(C,1),
單陽)>A2;
Q3:=
調整天數>2 AND 調整天數<10;
XG1:=
單陽 AND Q2 AND Q3;
{+++++
以下各模塊可以自行修改OR删減+++++}
{
選擇漲停股票的基本條件}
{
通達信去掉創業闆*ST}
S1:=IF(CODELIKE('300'),0,1);
{
通達信去掉*SST}
S2:=IF(NAMELIKE('S'),0,1);
S3:=IF(NAMELIKE('*'),0,1);
{
通達信去掉停牌}
S4:=DYNAINFO(17)>0;
{ST:S1 AND S2 AND S3 AND S4;}
{
收盤價小于35}
S5:=C<35;
{
流通盤小于5}
S6:=FINANCE(7)<5500000000;
XG:=S1 AND S2 AND S3 AND S4 AND S5 AND S6 AND XG1;
選股:EXIST(XG,1);



形态一旦有效成立

N:=1;S:=1;
DRAWTEXT_FIX(ISLASTBAR,0,0,0,'形态一旦有效成立,其調整時間不會超過8K線,通常運行的第6K線便進入啟動期,行情随時會拉升而起。'),COLOR00C5FF;
DRAWTEXT_FIX(ISLASTBAR,0,0.05,0,'形态上升放量時介入,跌破前大陽線最低價堅決止損出局,最後的上升時間不能拖過第9K線, '),COLORD6BA63;
陽漲幅:=4;
陽倍量:=1.5;
單陽:=C>O*(1+陽漲幅/100) AND VOL>REF(VOL,1)*陽倍量;
DRAWTEXT(CURRBARSCOUNT<100 AND 單陽,L*0.98,''),COLOR00FFFF;
高不破價:=REF(C,BARSLAST(單陽));
中不破價:=REF((C+L)/2,BARSLAST(單陽));
低不破價:=REF(L,BARSLAST(單陽));
單陽不破:=CURRBARSCOUNT<100 AND BARSLAST(單陽)<11 AND (LLV(L,BARSLAST(單陽))>低不破價 OR LLV(L,BARSLAST(單陽))=低不破價);
STICKLINE(單陽不破,低不破價-低不破價*0.003,低不破價,4,0),COLORRED;
DRAWTEXT(BARSLAST(單陽)=1 AND 單陽不破,低不破價*0.98,'1'),COLORGREEN;
DRAWTEXT(BARSLAST(單陽)=2 AND 單陽不破,低不破價*0.98,'2'),COLORGREEN;
DRAWTEXT(BARSLAST(單陽)=3 AND 單陽不破,低不破價*0.98,'3'),COLORGREEN;
DRAWTEXT(BARSLAST(單陽)=4 AND 單陽不破,低不破價*0.98,'4'),COLORGREEN;
DRAWTEXT(BARSLAST(單陽)=5 AND 單陽不破,低不破價*0.98,'5'),COLORGREEN;
DRAWTEXT(BARSLAST(單陽)=6 AND 單陽不破,低不破價*0.98,'6'),COLORGREEN;
DRAWTEXT(BARSLAST(單陽)=7 AND 單陽不破,低不破價*0.98,'7'),COLORGREEN;
DRAWTEXT(BARSLAST(單陽)=8 AND 單陽不破,低不破價*0.98,'8'),COLORGREEN;
DRAWTEXT(BARSLAST(單陽)=9 AND 單陽不破,低不破價*0.98,'9'),COLORGREEN;
DRAWTEXT(BARSLAST(單陽)=10 AND 單陽不破,低不破價*0.98,'10'),COLORGREEN;
兩天:=LLV(L,BARSLAST(單陽))>低不破價 OR LLV(L,BARSLAST(單陽))=低不破價;
一般:=LLV(L,BARSLAST(單陽)-2)>低不破價 OR LLV(L,BARSLAST(單陽)-2)=低不破價;
一般選股:STICKLINE(CURRBARSCOUNT<100 AND BARSLAST(單陽)<9 AND 兩天 AND 一般,低不破價,低不破價,2,0),COLORWHITE;
較強:=LLV(L,BARSLAST(單陽)-2)>中不破價 OR LLV(L,BARSLAST(單陽)-2)=中不破價;
較強選股:STICKLINE(CURRBARSCOUNT<100 AND BARSLAST(單陽)<9 AND 兩天 AND 較強,中不破價,中不破價,2,0),COLORMAGENTA;
最強:=LLV(L,BARSLAST(單陽)-3)>高不破價 OR LLV(L,BARSLAST(單陽)-2)=高不破價;
最強選股:STICKLINE(CURRBARSCOUNT<100 AND BARSLAST(單陽)<9 AND 兩天 AND 最強,高不破價,高不破價,4,0),COLORYELLOW;
現價:DRAWLINE(CURRBARSCOUNT=TOTALBARSCOUNT,CONST(C),CURRBARSCOUNT=1,C,3)DOTLINE;
VARR1:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
買盤:=IF(CLOSE>OPEN,VARR1*(HIGH-LOW),IF(CLOSE成交量比:=買盤/VOL*100;
主力持倉:=EMA(100*(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34)),3);
主力籌碼集中度:=WINNER(C)*100;
散籌籌碼集中度:=(WINNER(C*1.1)-WINNER(C*0.9))*100;
量籌買點:=主力籌碼集中度>主力持倉 AND 主力持倉>散籌籌碼集中度
AND 成交量比>89.9 AND FINANCE(7)<2500000000 AND DYNAINFO(7)>0;
DRAWTEXT(量籌買點,REF(CLOSE,1),'量籌'),COLOR000055;
STICKLINE(量籌買點,CLOSE,O,2.8,0),COLOR000055;
STICKLINE(量籌買點,CLOSE,O,2,0),COLOR000088;
STICKLINE(量籌買點,CLOSE,O,1.5,0),COLOR0000AA;
STICKLINE(量籌買點,CLOSE,O,1,0),COLOR0000CC;
STICKLINE(量籌買點,CLOSE,O,0.5,0),COLOR0000EE;
D7:="MACD.DIF#WEEK"-"MACD.DEA#WEEK";
D8:="MACD.DIF#MONTH"-"MACD.DEA#MONTH";
黑馬抄底:=CROSS("KDJ.J#WEEK"(9,3,3),0) AND D8>0 OR CROSS("KDJ.J#MONTH"(9,3,3),0) AND D7>0;
STICKLINE(黑馬抄底,CLOSE,OPEN,3,0),COLORYELLOW;{KDJMACD的周月之間的配合}
DRAWTEXT(黑馬抄底,LOW-0.03,'黑馬'),COLORMAGENTA;
STICKLINE(黑馬抄底,CLOSE,OPEN,3.2,0),COLOR000099;
STICKLINE(黑馬抄底,CLOSE,OPEN,2.6,0),COLOR0000AA;
STICKLINE(黑馬抄底,CLOSE,OPEN,2.2,0),COLOR0000CC;
STICKLINE(黑馬抄底,CLOSE,OPEN,1.8,0),COLOR0000DD;
STICKLINE(黑馬抄底,CLOSE,OPEN,1.3,0),COLOR0000FF;
STICKLINE(黑馬抄底,CLOSE,OPEN,0.5,0),COLORCC66FF;
FH11:=REF(MACD,1)FH21:=MACD>=0 AND COUNT(MACD>REF(MACD,1),1)=1;
FH3:=EMA(C,30)>=REF(EMA(C,30),1) AND COUNT(EMA(C,5)>EMA(C,10) AND EMA(C,10)>EMA(C,30),1)=1;
FH4:=CROSS(C,EMA(C,30)) OR C>EMA(C,30);
FH5:=FH11 AND FH21 AND FH3 AND FH4;
FH6:=FH11 AND FH21 AND FH3 AND FH4 AND ABS((MACD.DIF-MACD.DEA)/C)<0.018;
FH7:=FH11 AND FH21 AND FH3 AND FH4 AND MACD<0.10;
:=FH5 OR FH6 OR FH7;
DRAWTEXT(,(LOW * 0.985),''),COLOR00FFFF;
STICKLINE(,CLOSE,O,2.8,0),COLOR00FFFF;
STICKLINE(,CLOSE,O,2,0),COLOR0077FF;
STICKLINE(,CLOSE,O,1.5,0),COLOR0099FF;
STICKLINE(,CLOSE,O,1,0),COLOR00AAFF;
STICKLINE(,CLOSE,O,0.5,0),COLOR00CCFF;
M:=CROSS("MACD.DIF#MONTH","MACD.DEA#MONTH");DRAWTEXT(M,LOW-0.04,'M'),COLORMAGENTA;
K:DRAWTEXT(CROSS("KDJ.K#MONTH"(9,3,3),"KDJ.D#MONTH"(9,3,3)) ,LOW-0.05,'K'),COLORMAGENTA;
K:DRAWTEXT(CROSS("KD.K#WEEK"(9,3,3),"KD.D#WEEK"(9,3,3)) ,LOW-0.08,'K'),COLORRED;
M:=CROSS("MACD.DIF#WEEK","MACD.DEA#WEEK");DRAWTEXT(M,LOW-0.1,'M'),COLORRED;
月叉:DRAWTEXT(CROSS("KDJ.D#MONTH"(9,3,3),"KDJ.K#MONTH"(9,3,3)) ,H+0.05,'K20'),COLORGREEN;
周叉:DRAWTEXT(CROSS("KDJ.D#WEEK"(9,3,3),"KDJ.K#WEEK"(9,3,3)) ,H+0.08,'K5'),COLORGREEN;
M5:=CROSS("MACD.DEA#WEEK","MACD.DIF#WEEK");
DRAWTEXT(M5,H+0.10,'M5'),COLORGREEN;
M20:=CROSS("MACD.DEA#MONTH","MACD.DIF#MONTH");
DRAWTEXT(M20,(H+0.15),'M20'),COLORGREEN;
STICKLINE(月叉 OR 周叉 OR M5 OR M20,HIGH,LOW,0.2,0),COLORGREEN;
STICKLINE(月叉 OR 周叉 OR M5 OR M20,OPEN,CLOSE,0.2, 0),COLORGREEN;
STICKLINE(M OR K OR K OR M,OPEN,CLOSE,2.8,0),COLOR808080;
STICKLINE(M OR K OR K OR M,OPEN,CLOSE,2.5,0),COLOR919890;
STICKLINE(M OR K OR K OR M,OPEN,CLOSE,2.2,0),COLORB4B5AF;
STICKLINE(M OR K OR K OR M,OPEN,CLOSE,1.7,0),COLORCCCCCC;
STICKLINE(M OR K OR K OR M,OPEN,CLOSE,1.2,0),COLORDDDDDD;
STICKLINE(M OR K OR K OR M,OPEN,CLOSE,0.8,0),COLOREEEEEE;
STICKLINE(M OR K OR K OR M,OPEN,CLOSE,0.4,0),COLORF5F1F1;
STICKLINE(M OR K OR K OR M,OPEN,CLOSE,0.1,0),COLORFFFAFA;
T0:=BARSCOUNT(CLOSE)>12;
T1:=CLOSE=LLV(CLOSE,12);
T2:=RSI.RSI1>LLV(RSI,12);
T3:=RSI.RSI1<21;
TRSI:=T0 AND T1 AND T2 AND T3 AND CLOSE/HHV(CLOSE,120)<0.7;
RSIW:=IF(REF(TRSI,1) AND CLOSE>REF(CLOSE,1),1,0);
DRAWTEXT(RSIW,(L*0.98),'W'),COLORLIMAGENTA;{RSI在低位上穿且收盤價是12來最低}
STICKLINE(RSIW,OPEN,CLOSE,2,0),COLORLIMAGENTA;
WR:=-100*(HHV(HIGH,14)-CLOSE)/(HHV(HIGH,14)-LLV(LOW,14));
WR反向:=(0-WR)-100,COLORYELLOW;
RSI買點:=RSI.RSI1<20 AND RSI.RSI1>REF(RSI.RSI1,1);
WR反向買點:=WR反向>-80 AND WR反向反向,1);
梁隊長選股:=RSI買點 AND WR反向買點;
DRAWTEXT(梁隊長選股,LOW-0.03,'')COLORRED;{WRRSI的雙重買點}
STICKLINE(梁隊長選股,OPEN,CLOSE,3,0)COLORRED;
STICKLINE(梁隊長選股,HIGH,LOW,0,1),COLORYELLOW,LINETHICK2;
STICKLINE(梁隊長選股,OPEN,CLOSE,2.5,0),COLOR0033FF;
STICKLINE(梁隊長選股,OPEN,CLOSE,2.1,0),COLOR00BEFF;
STICKLINE(梁隊長選股,OPEN,CLOSE,1.7,0),COLOR13BCFF;
STICKLINE(梁隊長選股,OPEN,CLOSE,1.3,0),COLOR13D1FF;
STICKLINE(梁隊長選股,OPEN,CLOSE,0.9,0),COLOR00D6FF;
STICKLINE(梁隊長選股,OPEN,CLOSE,0.4,0),COLOR13E5FF;
STICKLINE(梁隊長選股,OPEN,CLOSE,0,0),COLOR00F6FC;
LC:=REF(CLOSE,1);
AG:=REF(RSI.RSI1<45,1) AND RSI.RSI1>45;
TYP:=(HIGH+LOW+CLOSE)/3;
CCI:=(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14));
B:=REF(CCI<-100,1) AND CCI>=-100;
MMS:=MA(3*RSI.RSI2-2*SMA(MAX(CLOSE-LC,0),16,1)/SMA(ABS(CLOSE-LC),16,1)*100,3);
W:=REF(MMS<39,1) AND MMS>=39;
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
JG:=3*K-2*D;
F:=REF(JG<10,1) AND JG>=10;
牛股:=AG AND B AND W AND F;
STICKLINE(牛股,OPEN,CLOSE,2.5,0),COLORMAGENTA;{3個指标會和而成其中RSI強勢KDJ低位}
DRAWTEXT(牛股,(L-0.08),'牛股'),COLORMAGENTA;
BIAS0:= (C-MA(C,2))/MA(C,2)*100;
D1:=INDEXC;
D2:=MA(D1,13);
DR2:=D2>1.050*D1;
E2:=(C-REF(C,26))/REF(C,26)*10;
SJ1:=DR2;
SJ2:=E2<-2.30;
SJ3:=BIAS0<-2.7;
SJ5:=SJ1 AND SJ2 AND SJ3;
SJ6:=CROSS(0.5,SJ5);
JS1:=CROSS(SJ6,0.5);
JS2:=BARSLAST(JS1=1);
JS3:=JS2<=5 AND C:=SJ6 OR JS3;
DRAWTEXT(,(L*0.97),''),COLORRED;{大賽排名第一}
STICKLINE(,OPEN,CLOSE,1,0)COLORRED;
AA05:=MA(C,5);
五日乖離率:=(C-AA05)/AA05*100;
AA30:=MA(C,30);
三拾日乖離率:=(C-AA30)/AA30*100;
MR:=COUNT(CROSS(五日乖離率,0),3)>=1 AND 三拾日乖離率>REF(三拾日乖離率,1) AND AA05>REF(AA05,1) AND (C/REF(C,1)-1)*100>5 AND REF(C,1)買入:=FILTER(MR,10);
BIAS1:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;
BIAS2:=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100;
BIAS3:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;
BIAS:=(BIAS1+2*BIAS2+3*BIAS3)/6;
乖離:=MA(BIAS,3);
接近底部:=(乖離<-12 AND 乖離>=-18);
乖離抄底:=IF(乖離<-18,1,0);
乖離信号:=乖離抄底 OR 買入;
DRAWTEXT(乖離信号,(L*0.93),''),COLOR7FFF00;
VAR41:=CLOSE/MA(CLOSE,30)*100<75;
VAR42:=CLOSE/MA(CLOSE,50)*100<78;
VAR43:=HIGH>LOW*1.053;
VAR44:=VAR43 AND COUNT(VAR43,5)>2;
VAR45:=VAR44 AND (VAR41 OR VAR42);
VAR46:=DMA(EMA(CLOSE,5),SUM(VOL,8)/2.8/CAPITAL);
VAR47:=(CLOSE-VAR46)/VAR46*100;
:=REF(VAR47,1)<-34 AND VAR47>REF(VAR47,1) AND REF(VAR47,1)AND VAR47-REF(VAR47,1)>1.76 OR VAR45;
DRAWTEXT(,(L*0.88),''),COLORMAGENTA;
獲利:=WINNER(CLOSE)*100;
獲利盤:=WINNER(C)*100;
近鄰籌碼:=(WINNER(C*1.07)-WINNER(C*0.93))*85;
獲利縱橫:=獲利盤-近鄰籌碼,NODRAW;
換手率:=V/CAPITAL*100;
AGA:=IF(DYNAINFO(8)>0.01,0.01*DYNAINFO(10)/DYNAINFO(8),DYNAINFO(3));
AGB:=(DYNAINFO(5)<0.01 || DYNAINFO(6)<0.01);
AGC:=IF(AGB,1,(AGA<(DYNAINFO(5)+0.01) && AGA>(DYNAINFO(6)-0.01)));
MA21:=IF(AGC,0.01*EXPMA(AMOUNT,21)/EXPMA(VOL,21),EMA((HIGH+LOW+CLOSE)/3,21));
MA60:=IF(AGC,0.01*EXPMA(AMOUNT,60)/EXPMA(VOL,60),EMA((HIGH+LOW+CLOSE)/3,60));
MA∞:=IF(AGC,DMA(AMOUNT/(100*VOL),100*VOL/FINANCE(7)),EMA((HIGH+LOW+CLOSE)/3,120));
收盤價:=CLOSE;
TJ1:=獲利>40;
TJ2:=MA60>MA∞ AND MA21>MA60;
TJ3:=收盤價受傷莊股:=TJ1 AND TJ2 AND TJ3 STICK;
DRAWTEXT(受傷莊股,(L*0.99),''),COLORCYAN;
跟進:=COUNT(獲利縱橫>REF(獲利縱橫,1),5)=5 AND 獲利盤>REF(獲利盤,1)STICK;
DRAWTEXT(跟進,(L*0.995),''),COLORRED;
鎖倉:=獲利盤>=85 AND 近鄰籌碼<30 AND 換手率<5 STICK;
DRAWTEXT(鎖倉,(L*0.99),''),COLORWHITE;
強莊:=CROSS(獲利盤,近鄰籌碼)AND 獲利盤>50 AND 獲利縱橫>30 STICK COLORRED;
DRAWTEXT(強莊,(L*0.97),''),COLORRED;
啟動:=REF(獲利盤,1)<50 AND 獲利盤>60 AND 近鄰籌碼近鄰籌碼,1)STICK;
DRAWTEXT(啟動,LOW-0.03,''),COLOR5555FF;
STICKLINE(啟動,CLOSE,O,2.8,0),COLOR4444FF;
STICKLINE(啟動,CLOSE,O,2,0),COLOR5555FF;
STICKLINE(啟動,CLOSE,O,1.5,0),COLOR7777FF;
STICKLINE(啟動,CLOSE,O,1,0),COLOR9999FF;
博弈K線長:=100*(WINNER(CLOSE)-WINNER(OPEN));
博弈K線收盤差:=博弈K線長>=20;
大單動向:(LARGEINTRDVOL-LARGEOUTTRDVOL)*10000/FINANCE(7),NODRAW;
HSL:=100*VOL/(FINANCE(7)/100);
換手:=MA(HSL,1)<3;
博弈長陽:=博弈K線收盤差 AND 換手 COLORMAGENTA;
DRAWTEXT(博弈長陽,LOW-0.03,'博弈'),COLORMAGENTA;
STICKLINE(博弈長陽,CLOSE,O,2.8,0),COLOR770077;
STICKLINE(博弈長陽,CLOSE,O,2,0),COLOR990099;
STICKLINE(博弈長陽,CLOSE,O,1.5,0),COLORBB00BB;
STICKLINE(博弈長陽,CLOSE,O,1,0),COLORDD00DD;
STICKLINE(博弈長陽,CLOSE,O,0.5,0),COLORFF00FF;
三日:=SUM(大單動向,3);
五日:=SUM(大單動向,5);
十日:=SUM(大單動向,10);
二十日:=SUM(大單動向,20);
三十日:=SUM(大單動向,30);
六十日:=SUM(大單動向,60);
:=大單動向>0 AND 三日>0 AND 五日>0 AND 十日>0 AND 二十日>0 AND 三十日>0 AND 六十日>0;
DRAWTEXT(,(LOW * 0.99),''),COLORRED;
K1:=REF(C,1)=DYNAINFO(3) AND O=DYNAINFO(4) AND C=DYNAINFO(7) AND H=DYNAINFO(5) AND L=DYNAINFO(6);
K2:=BARSLAST(V=HHV(V,20));
K3:=BACKSET(K1,K2+1);
STICKLINE(K2=0 AND K3=1,H,H*1.003,8*N,0),COLORYELLOW;
:C,NODRAW;
DRAWTEXT(S=1&&K2=0&&K3=1,H*1.02,'20天内的最高量'),COLORYELLOW;


劃線,你也可以成為高手!!!

支撐線和壓力線

畫法:
将前期相對低點連成一條直線即得到支撐線
将前期的相對高點連成一條直線即得到壓力線
用法:

1.支撐線和壓力線的作用
支撐線又稱為抵抗線。當股價跌到某個價位附近時,股價停止下跌,甚至有可能還有回升。這個起着阻止股價繼續下跌或暫時阻止股價繼續下跌的價格就是支撐線所在的位置。
壓力線又稱為阻力線。當股價上漲到某價位附近時,股價會停止上漲,甚至回落。這個起着阻止或暫時阻止股價繼續上升的價位就是壓力線所在的位置。

支撐線和壓力線的作用是阻止或暫時阻止股價向一個方向繼續運動。同時,支撐線和壓力線又有徹底阻止股價按原方向變動的可能。


2.支撐線與壓力線相互轉化
一條支撐線如果被跌破,那麼這個支撐線将成為壓力線;同理,一條壓力線被突破,這個壓力線将成為支撐線。這說明支撐線和壓力線的地位不是一成不變的,而是可以改變的,條件是它被有效的足夠強大的股價變動突破。


3.支撐線和壓力線的确認和印正
一般來說,一條支撐線或壓力線對當前影響的重要性有三個方面的考慮,一是股價在這個區域停留時間的長短;二是股價在這個區域伴随的成交量大小;三是這個支撐區域或壓力區域發生的時間距離當前這個時期的遠近。

公式源碼:

豆豆:=C;
A1:=REF(豆豆,10)=HHV(豆豆,2*10+1); B1:=FILTER(A1,10); C1:=BACKSET(B1,10+1); HD:=FILTER(C1,10);
A2:=REF(豆豆,10)=LLV(豆豆,2*10+1); B2:=FILTER(A2,10); C2:=BACKSET(B2,10+1); LD:=FILTER(C2,10);
A:=REF(C,BARSLAST(HD)); B:=REF(L,BARSLAST(LD));
T1:=BARSLAST(HD)T2:=BARSLAST(HD)>BARSLAST(LD) AND NOT(LD);
壓力:IF(T1,A,A),COLORYELLOW,POINTDOT,LINETHICK4;
支撐:IF(T2,B,B),COLORGREEN,POINTDOT,LINETHICK4;

================================================

趨勢線

畫法:
在上升趨勢中,将兩個低點連成一條直線,就得到上升趨勢線。
在下降趨勢中,将兩個高點連成一條直線,就得到下降趨勢線。

用法:
趨勢線是衡量價格波動的方向的,由趨勢線的方向可以明确地看出股價的趨勢。要得到一條真正起作用的趨勢線,要經多方面的驗證才能最終确認。首先,必須确實有趨勢存在。其次,畫出直線後,還應得到第三個點的驗證才能确認這條趨勢線是有效的。

公式源碼:(含壓力支撐)

P:=10;
:=REF(HIGH,P)=HHV(HIGH,2*P+1);
豆豆:=FILTER(,P);
豆豆1981:=BACKSET(豆豆,P+1);
1981:=FILTER(豆豆1981,P);{高點}
壓力:REF(HIGH,BARSLAST(1981)),COLORFF00FF,POINTDOT;
R11:=BACKSET(ISLASTBAR,BARSLAST(1981)+1);
S11:=R11>REF(R11,1);
壓力軌:DRAWLINE(1981,HIGH,S11,HIGH,1),COLORYELLOW;

AA2:=REF(LOW,P)=LLV(LOW,2*P+1);
BB2:=FILTER(AA2,P);
CC2:=BACKSET(BB2,P+1);
DD2:=FILTER(CC2,P);{低點}
支撐:REF(LOW,BARSLAST(DD2)),COLOR00FF00,POINTDOT;
T11:=BACKSET(ISLASTBAR,BARSLAST(DD2)+1);
U11:=T11>REF(T11,1);
支撐軌:DRAWLINE(DD2,LOW,U11,LOW,1),COLORBLUE;

中軌:(壓力軌+支撐軌)/2,COLORWHITE;

其中的 P值也可以自己定義

軌道線

畫法:
軌道線又稱通道線或管道線,是基于趨勢線的一種方法。在已經得到了趨勢線後,通過第一個峰和谷可以作出這條趨勢線的平行線,這條平行線就是軌道線。


用法:
兩條平行線組成一個軌道,這就是常說的上升和下降軌道。軌道的作用是限制股價的變動範圍。對上面的或下面的直線的突破将意味着有一個大的變化。與突破趨勢線不同,對軌道線的突破并不是趨勢反向的開始,而是趨勢加速的開始。軌道線的另一個作用是提出趨勢轉向的警報。

公式源碼:(包含趨勢和壓力線)

N1:=20;
N2:=10;
N3:=5;

AA:=REF(H,N1)=HHV(H,2*N1+1);
QY:=BACKSET(AA,N1+1);
CC:=FILTER(QY,N1) AND H=HHV(H,N1+1);
DDD:=BARSLAST(CC);
GDTS:=IF(CC,CURRBARSCOUNT,0);
DINGBU:=IF(DDD,REF(H,DDD),H);{頂部}
DINGBUTS:=IF(DDD,REF(GDTS,DDD),GDTS);
DINGBU1:=REF(DINGBU,DDD+1);
GDCS1:=CONST(DINGBUTS);
DINGBUTS1:=REF(DINGBUTS,DDD+1);
GDCS2:=CONST(DINGBUTS1);
DINGBU2:=REF(DINGBU1,DDD+1);
MM:=IF(CURRBARSCOUNT>GDCS2,0,1);
高點壓力:DRAWLINE(CURRBARSCOUNT=GDCS2,H,CURRBARSCOUNT=GDCS1,H,1) COLORRED;
DRAWLINE(CURRBARSCOUNT=GDCS2,H,ISLASTBAR,REF(H,GDCS2-1),1),COLOR0055FF,POINTDOT,LINETHICK2;
DRAWLINE(CURRBARSCOUNT=GDCS1,H,ISLASTBAR,REF(H,GDCS1-1),1),COLORYELLOW,POINTDOT,LINETHICK2;
AA1:=REF(L,N1)=LLV(L,2*N1+1);
QY1:=BACKSET(AA1,N1+1);
CC1:=FILTER(QY1,N1) AND L=LLV(L,N1+1);

DD1:=BARSLAST(CC1);
DDTS:=IF(CC1,CURRBARSCOUNT,0);
YDB:=IF(DD1,REF(L,DD1),L);
DDTS1:=IF(DD1,REF(DDTS,DD1),DDTS);
DDCS1:=CONST(DDTS1);
ZDB:=REF(YDB,DD1+1);
DDTS2:=REF(DDTS1,DD1+1);
DDCS2:=CONST(DDTS2);
低點支撐:DRAWLINE(CURRBARSCOUNT=DDCS2,L,CURRBARSCOUNT=DDCS1,L,1) COLORRED;
DRAWLINE(CURRBARSCOUNT=DDCS2,L,ISLASTBAR,REF(L,DDCS2-1),1),COLOR0055FF,POINTDOT,LINETHICK2;
DRAWLINE(CURRBARSCOUNT=DDCS1,L,ISLASTBAR,REF(L,DDCS1-1),1),COLORYELLOW,POINTDOT,LINETHICK2;


LAA:=REF(H,N2)=HHV(H,2*N2+1);
LQY:=BACKSET(LAA,N2+1);
LCC:=FILTER(LQY,N2) AND H=HHV(H,N2+1);

LDDD:=BARSLAST(LCC);
LGDTS:=IF(LCC,CURRBARSCOUNT,0);
LDINGBU:=IF(LDDD,REF(H,LDDD),H);{頂部}
LDINGBUTS:=IF(LDDD,REF(LGDTS,LDDD),LGDTS);
LDINGBU1:=REF(LDINGBU,LDDD+1);
LGDCS1:=CONST(LDINGBUTS);
LDINGBUTS1:=REF(LDINGBUTS,LDDD+1);
LGDCS2:=CONST(LDINGBUTS1);
LDINGBU2:=REF(LDINGBU1,LDDD+1);
LMM:=IF(CURRBARSCOUNT>LGDCS2,0,1);
壓力:DRAWLINE(CURRBARSCOUNT=LGDCS2,H,CURRBARSCOUNT=LGDCS1,H,1) COLORWHITE;
DRAWLINE(CURRBARSCOUNT=LGDCS2,H,ISLASTBAR,REF(H,LGDCS2-1),1),COLOR0055FF,POINTDOT;
DRAWLINE(CURRBARSCOUNT=LGDCS1,H,ISLASTBAR,REF(H,LGDCS1-1),1),COLORYELLOW,POINTDOT;
LAA1:=REF(L,N2)=LLV(L,2*N2+1);
LQY1:=BACKSET(LAA1,N2+1);
LCC1:=FILTER(LQY1,N2) AND L=LLV(L,N2+1);

LDD1:=BARSLAST(LCC1);
LDDTS:=IF(LCC1,CURRBARSCOUNT,0);
LYDB:=IF(LDD1,REF(L,LDD1),L);
LDDTS1:=IF(LDD1,REF(LDDTS,LDD1),LDDTS);
LDDCS1:=CONST(LDDTS1);
LZDB:=REF(LYDB,LDD1+1);
LDDTS2:=REF(LDDTS1,DD1+1);
LDDCS2:=CONST(LDDTS2);
支撐:DRAWLINE(CURRBARSCOUNT=LDDCS2,L,CURRBARSCOUNT=LDDCS1,L,1) COLORWHITE;
ZGSTAR:=(壓力+支撐)/2;
ZGEND:=CONST((壓力+支撐)/2);
STARDAY:=IF(DDCS2


LLAA:=REF(H,N3)=HHV(H,2*N3+1);
LLQY:=BACKSET(LLAA,N3+1);
LLCC:=FILTER(LLQY,N3) AND H=HHV(H,N3+1);

LLDDD:=BARSLAST(LLCC);
LLGDTS:=IF(LLCC,CURRBARSCOUNT,0);
LLDINGBU:=IF(LLDDD,REF(H,LLDDD),H);{頂部}
LLDINGBUTS:=IF(LLDDD,REF(LLGDTS,LLDDD),LLGDTS);
LLDINGBU1:=REF(LLDINGBU,LLDDD+1);
LLGDCS1:=CONST(LLDINGBUTS);
LLDINGBUTS1:=REF(LLDINGBUTS,LLDDD+1);
LLGDCS2:=CONST(LLDINGBUTS1);
LLDINGBU2:=REF(LLDINGBU1,LLDDD+1);
LLMM:=IF(CURRBARSCOUNT>LGDCS2,0,1);
L壓力:DRAWLINE(CURRBARSCOUNT=LLGDCS2,H,CURRBARSCOUNT=LLGDCS1,H,1) COLORYELLOW;
DRAWLINE(CURRBARSCOUNT=LLGDCS2,H,ISLASTBAR,REF(H,LLGDCS2-1),1),COLOR0055FF,POINTDOT;
DRAWLINE(CURRBARSCOUNT=LLGDCS1,H,ISLASTBAR,REF(H,LLGDCS1-1),1),COLORYELLOW,POINTDOT;
LLAA1:=REF(L,N3)=LLV(L,2*N3+1);
LLQY1:=BACKSET(LLAA1,N3+1);
LLCC1:=FILTER(LLQY1,N3) AND L=LLV(L,N3+1);

LLDD1:=BARSLAST(LCC1);
LLDDTS:=IF(LLCC1,CURRBARSCOUNT,0);
LLYDB:=IF(LLDD1,REF(L,LLDD1),L);
LLDDTS1:=IF(LLDD1,REF(LLDDTS,LLDD1),LDDTS);
LLDDCS1:=CONST(LLDDTS1);
LLZDB:=REF(LLYDB,LLDD1+1);
LLDDTS2:=REF(LLDDTS1,DD1+1);
LLDDCS2:=CONST(LLDDTS2);
L支撐:DRAWLINE(CURRBARSCOUNT=LLDDCS2,L,CURRBARSCOUNT=LLDDCS1,L,1) COLORYELLOW;
LZGSTAR:=(L壓力+L支撐)/2;
LZGEND:=CONST((L壓力+L支撐)/2);
LSTARDAY:=IF(LLDDCS2L中軌:DRAWLINE(CURRBARSCOUNT=LSTARDAY,LZGSTAR,ISLASTBAR,LZGEND,1),COLORYELLOW;

中軌:DRAWLINE(CURRBARSCOUNT=STARDAY,ZGSTAR,ISLASTBAR,ZGEND,1),COLORWHITE;

================================================

黃金分割線

畫法:
将鼠标從一個相對低點拖曳到一個相對高點即得到黃金分割線。

用法:
黃金分割線有若幹個特殊的數字,這些數字中0.3820.6181.3821.618最為重要,股價極為容易在由這四個數産生的黃金分割線處産生支撐和壓力

公式源碼:


:=150;昨前:=3;
1:=REF(HHV(H,),昨前);
1:=REF(LLV(L,),昨前);
H1:=1-(1-1)*0.191;
H2:=1-(1-1)*0.382;
H3:=1-(1-1)*0.5;
H4:=1-(1-1)*0.618;
H5:=1-(1-1)*0.809;

:REFDATE(1,DATE),COLORGREEN,CROSSDOT,LINETHICK2;
零點191:REFDATE(H1,DATE),COLORCYAN;
零點382:REFDATE(H2,DATE),COLORYELLOW;
零點5:REFDATE(H3,DATE),COLORRED;
零點618:REFDATE(H4,DATE),COLORYELLOW;
零點809:REFDATE(H5,DATE),COLORCYAN;
:REFDATE(1,DATE),COLORRED,CROSSDOT,LINETHICK2;

===============================================


百分比線

畫法:
将鼠标從一個相對低點拖曳到一個相對高點即得到百分比線。


用法:
百分比線考慮問題的出發點是人們的心理因素和一些整數位的分界點。其中,1/21/32/3的這三條線最為重要。

公式源碼:

半年:=1+(BARSLAST(CROSS(MONTH=1 OR MONTH=7,0.5) OR DATETODAY(DATE)=1));
天數:=IF(PERIOD=5,半年,DRAWNULL);
上高:=REF(HHV(H,天數),天數),COLORYELLOW;
上低:=REF(LLV(L,天數),天數),COLORWHITE;
1:=上高;
1:=上低;
振幅:(1-1)/1*100,NODRAW,COLORWHITE;
H1:=1;
H2:=1-(1-1)*1/4;
H3:=1-(1-1)*1/2;
H4:=1-(1-1)*3/4;
H5:=1;
:REFDATE(H1,DATE),POINTDOT,LINETHICK4,COLORYELLOW;
:REFDATE(H5,DATE),POINTDOT,LINETHICK4,COLOR00FF00;
:REFDATE(H2,DATE),POINTDOT,LINETHICK4,COLORFFFF00;
:REFDATE(H3,DATE),POINTDOT,LINETHICK4,COLORWHITE;
:REFDATE(H4,DATE),POINTDOT,LINETHICK4,COLOR0099FF;

================================================

速度阻力線

畫法:
将鼠标在一個相對低點點下不放然後調整到與趨勢相符的位置即得到速度線。


用法:
速度線最為重要的功能是判斷一個趨勢是被暫時突破還是長久突破(轉勢)

公式源碼:

X:=34;Y:=34;
DRAWLINE(H=PEAK(1 ,X ,1 ) ,H ,L=TROUGH(2 ,X ,1 ) ,L , 1),COLOR00FF00;
DRAWLINE(H=PEAK(1 ,X ,1 ) ,H ,L=TROUGH(2 ,X ,1 ) ,
L+(PEAK(1 ,X ,1 )-TROUGH(2 ,X ,1 ))/3 , 1),COLORYELLOW;
DRAWLINE(H=PEAK(1 ,X ,1 ) ,H ,L=TROUGH(2 ,X ,1 ) ,
L+(PEAK(1 ,X ,1 )-TROUGH(2 ,X ,1 ))/3*2 , 1),COLOR66BB00;
DRAWLINE(L=TROUGH(2 ,Y,1 ) ,L ,H=PEAK(1 ,Y,1 ) ,H ,1 ),COLOR00FF00;
DRAWLINE(L=TROUGH(2 ,Y,1 ) ,L ,H=PEAK(1 ,Y,1 ) ,
H-(PEAK(1 ,Y ,1 )-TROUGH(2 , Y,1 ))/3*2 ,1 ),COLORRED;
DRAWLINE(L=TROUGH(2 ,Y,1 ) ,L ,H=PEAK(1 ,Y,1 ) ,
H-(PEAK(1 ,Y ,1 )-TROUGH(2 , Y,1 ))/3 ,1 ),COLORYELLOW;

參數可以自己調整

見圖六

================================================

甘氏線

畫法:
将鼠标在一個相對低點點下不放然後調整到與趨勢相符的位置即得到甘氏線。


用法:
甘氏線是從一個點出發,依一定的角度,向後畫出的多條射線。它通過畫角度的辦法以協助來判斷一些重要的支撐阻力位。

公式源碼:

S:=LLV(C,500);
AA:=YEAR*100+MONTH>年月;
BB:=(AA=0)+1;
P1:=(C-REF(C,1))/REF(C,1)*1000;
P2:=SUM(ABS(P1),0);
P3:=COUNT(C>0,0);
K1:=P2/P3;
A1:=ZIG(3 , N2);
AA1:=A1>REF(A1,1);
A2:=ZIG(2,N2);
AA2:=A2K2:=K1*0.8;
B1:=HHVBARS(A1,55);
B2:=LLVBARS(A2,55);
DRAWLINE(C=A1*BB AND AA1>0,C,B1=10 ,REF(C,B1)-S*K1/下降角度,1),COLOR33FFCC;
DRAWLINE(C=A1*BB AND AA1>0,C,B1=10 ,REF(C,B1)-S*2*K1/下降角度,1),COLOR6666FF,LINETHICK2;
DRAWLINE(C=A1*BB AND AA1>0,C,B1=10 ,REF(C,B1)-S*4*K1/下降角度,1),COLORFFFFCC;
DRAWLINE(C=A1*BB AND AA1>0,C,B1=10 ,REF(C,B1)-S*8*K1/下降角度,1),COLOR00CCFF;
DRAWLINE(C=A1*BB AND AA1>0,C,B1=10 ,REF(C,B1)-S*0.4*K1/下降角度,1),COLOR00FF00;

DRAWLINE(L=A2*AA AND AA2>0,L,B2=10 ,REF(L,B2)+S*8*K1/上升角度*2,1),COLOR33FFCC;
DRAWLINE(L=A2*AA AND AA2>0,L,B2=10 ,REF(L,B2)+S*K1/上升角度*2,1),COLOR00CCFF;
DRAWLINE(L=A2*AA AND AA2>0,L,B2=10 ,REF(L,B2)+S*2*K1/上升角度*2,1),COLOR6666FF,LINETHICK2;
DRAWLINE(L=A2*AA AND AA2>0,L,B2=10 ,REF(L,B2)+S*4*K1/上升角度*2,1),COLORFFFFCC;
DRAWLINE(L=A2*AA AND AA2>0,L,B2=10 ,REF(L,B2)+S*0.5*K1/上升角度*2,1),COLORFF00FF;
參數:年月{1 1777 365}

下降角度{1 1777 1400}

上升角度{1 1777 1700}

N2{1 177 17}

你可能想看:
ema

有話要說...

取消
掃碼支持 支付碼