1、趨勢線(主圖)
博易大師指標(biāo)原碼---趨勢線
AA10:=MA(C,10);
BB10:=ATAN((AA10-REF(AA10,1)))*180/3.1416;
STICKLINE(BB10>1 AND AA10>REF(AA10,1), AA10,REF(AA10,1),8,0),COLORRED;
STICKLINE(BB10<1 AND AA10
AA20:=MA(C,20);
BB20:=ATAN((AA20-REF(AA20,1)))*180/3.1416;
STICKLINE(BB20>1,AA20,REF(AA20,1),8,0),COLORYELLOW;
STICKLINE(BB20<1,AA20,REF(AA20,1),8,1),COLORBBCCCC;
2、變色主圖線
O1:=MA(C,O), LINETHICK1;
N1:=MA(C,21), LINETHICK1;
M2:MA(C,55),COLOR0080FF;
PARTLINE(N1>M2,M2),COLORRED,LINETHICK2;
PARTLINE(N1<=M2,M2),COLORGREEN,LINETHICK2;
3、CCI主圖K線
CCI主圖K線
TYP:=(HIGH+LOW+CLOSE)/3;
CCI:=(TYP-MA(TYP,13))/(0.015*AVEDEV(TYP,13));
STICKLINE(CCI>=0,O,C,4,1),COLORRED;
STICKLINE(CCI>=0,O,L,0.1,0),COLORRED;
STICKLINE(CCI>=0,C,H,0.1,0),COLORRED;
STICKLINE(CCI<0,O,C,4,0),COLORCYAN;
STICKLINE(CCI<0,O,H,0.1,0),COLORCYAN;
STICKLINE(CCI<0,C,L,0.1,0),COLORCYAN;
DRAWTEXT(CROSS(CCI,-200) AND CCI>REF(CCI,1),L,'平空'),COLORGREEN;
DRAWTEXT(CROSS(200,CCI) AND CCI平多'),COLORYELLOW;
DRAWTEXT(CROSS(CCI,100) AND CCI>REF(CCI,1),L,'加多'),COLORYELLOW;
DRAWTEXT(CROSS(-100,CCI) AND CCI加空'),COLORGREEN;
博易大師指標(biāo)原碼---趨勢線
AA10:=MA(C,10);
BB10:=ATAN((AA10-REF(AA10,1)))*180/3.1416;
STICKLINE(BB10>1 AND AA10>REF(AA10,1), AA10,REF(AA10,1),8,0),COLORRED;
STICKLINE(BB10<1 AND AA10
AA20:=MA(C,20);
BB20:=ATAN((AA20-REF(AA20,1)))*180/3.1416;
STICKLINE(BB20>1,AA20,REF(AA20,1),8,0),COLORYELLOW;
STICKLINE(BB20<1,AA20,REF(AA20,1),8,1),COLORBBCCCC;
博易指標(biāo)公式(優(yōu)化MACD)
優(yōu)化MACD
VAR1:=REF(CLOSE,1);
VAR2:=SUM(VOL,2)/((HHV(HIGH,2)-LLV(LOW,2))*100);
VAR3:=(CLOSE-VAR1)*VAR2;
VAR4:=SUM(VAR3,0);
VAR5:=SMA(VAR4,5,1);
VAR6:=SMA(VAR4,8,1);
OSC: VAR5-VAR6;
OSCMA: MA(OSC,4);
OSC, COLORSTICK;
VD:=SUM(IF(OSC>0,OSC*1.003,OSC*1.003>0),34)/34;
VE:=SUM(IF(OSC<=0,OSC*0.97,OSC*0.97<0),34)/34;
DRAWTEXT(CROSS(OSCMA,VE),OSCMA,'買'),COLOR0000FF;
DRAWTEXT(CROSS(VD,OSCMA),OSCMA,'賣'),COLOR3FEF12;
博易指標(biāo)公式(量能多空)
DKX:=(EMA(C,18)),POINTDOT;
STICKLINE(((C >=DKX) AND (C >= O)),H,L,0,1),COLORRED;
STICKLINE(((C >=DKX) AND (C >= O)),O,C,2,1),COLORRED;
STICKLINE(((C >=DKX) AND (C <= O)),H,L,0,0),COLORRED;
STICKLINE(((C >=DKX) AND (C <= O)),O,C,2,0),COLORRED;
STICKLINE(((C = O)),H,L,0,1),COLORGREEN;
STICKLINE(((C < DKX) AND (C >= O)),O,C,2,1),COLORGREEN;
STICKLINE(((C < DKX) AND (C <= O)),H,L,0,0),COLORGREEN;
STICKLINE(((C < DKX) AND (C <= O)),O,C,2,0),COLORGREEN;
VAR1:=(HHV(HIGH,15)-LLV(LOW,15));
VAR2:=(HHV(HIGH,15)-CLOSE);
VAR3:=(CLOSE-LLV(LOW,15));
VAR4:=(((VAR2/VAR1)*100)-70);
VAR5:=(((CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60)))*100);
VAR6:=((((2*CLOSE)+HIGH)+LOW)/4);
VAR7:=SMA(((VAR3/VAR1)*100),3,1);
VAR8:=LLV(LOW,34);
VAR9:=(SMA(VAR7,3,1)-SMA(VAR4,9,1));
VAR10:=IF((VAR9>100),(VAR9-100),0);
VAR11:=HHV(HIGH,34);
VAR12:=EMA((((VAR6-VAR8)/(VAR11-VAR8))*100),15);
VAR13:=EMA(((0.667*REF(VAR12,1))+(0.333*VAR12)),2);
MA11:=EMA(VAR13,5);
DRAWTEXT(CROSS(VAR12-VAR13,0),L-1,'多');
DRAWTEXT(CROSS(0,VAR12-VAR13),H+1,'空');
文華博易通用指標(biāo)源碼(即時趨勢)
R1:3*SMA((CLOSE-LLV(LOW,13))/(HHV(HIGH,13)-LLV(LOW,13))*100,3,1)-2*SMA(SMA((CLOSE-LLV(LOW,13))/(HHV(HIGH,13)-LLV(LOW,13))*100,3,1),2,1);
ZP:IF(R1<7,20,0),COLORGREEN;
XG:IF(CROSS(R1,7),38,0),COLORRED;
A:95,COLORGREEN;
博易指標(biāo)源碼(多空參考)(副圖)
VAR1:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*80;
VAR2:=SMA(VAR1,10,1);
慢速:=SMA(VAR2,5,1);
RSV:= ((HHV(HIGH,9)-CLOSE)/(HHV(HIGH,9)-LLV(LOW,9))*100)-70;
RSV1:= (CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
FATK:=SMA(RSV1,3,1);
形態(tài):=SMA(FATK,3,1);
VARA:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
VARB:=SMA(VARA,3,1);
VARC:=SMA(VARB,3,1);
加速: EMA(3*VARB-2*VARC,2),COLORYELLOW;
底:6,COLOR00BF00;
大底:-6,COLOR007300;
頂:90,COLORFFA500;
大頂:100,COLORWHITE;
VAR11:=LLV(LOW,5)=LLV(LOW,45) AND CLOSE>=OPEN*1.04;
VAR22:=CLOSE>(REF(HIGH,1)+REF(LOW,1))/2;
買入:=VAR11 AND VAR22,LINETHICK2,COLORRED;
VAR3:=REF(CLOSE,1);
VAR4:=SMA(MAX(CLOSE-VAR3,0),6,1)/SMA(ABS(CLOSE-VAR3),6,1)*100;
賣出:=CROSS(80,VAR4),LINETHICK2,COLORGREEN;
VAR5:=CROSS(加速,100);VAR6:=CROSS(加速,-6);
VAR7:=CROSS(80,加速);VAR8:=CROSS(加速,6);
DRAWTEXT(VAR5,85,'注意頂'),COLORBLUE;
DRAWTEXT(VAR6,0,'關(guān)注底'),COLORRED;
DRAWTEXT(VAR7,95,'空'),COLORGREEN;
DRAWTEXT(VAR8,5,'多'),COLORMAGENTA;
趨勢頂?shù)祝ú┮讓S茫?/font>
S1:80,COLOR996699,PRECIS0;
B1:20,COLORGREEN,PRECIS0;
A:=MA(-100*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34)),19),COLORRED;
B:=-100*(HHV(HIGH,14)-CLOSE)/(HHV(HIGH,14)-LLV(LOW,14));
D:=EMA(-100*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34)),4),LINETHICK2;
長期線:A+100,COLOR9900FF;
短期線:B+100,COLOR888888;
中期線:D+100,COLORYELLOW,LINETHICK2;
見頂:(REF(中期線,1)>85 AND REF(短期線,1)>85 AND REF(長期線,1)>65) AND CROSS(長期線,短期線),PRECIS0;
頂部區(qū)域:(中期線中期線,1) AND REF(中期線,1)>80) AND (REF(短期線,1)>95 OR REF(短期線,2)>95 ) AND 長期線>60 AND 短期線<83.5 AND 短期線<</FONT>中期線 AND 短期線<</FONT>長期線+4,PRECIS0;
頂部:=FILTER(頂部區(qū)域,4);
底部區(qū)域:(長期線<12 AND 中期線<8 AND (短期線<7.2 OR REF(短期線,1)<5) AND (中期線>REF(中期線,1) OR 短期線>REF(短期線,1))) OR (長期線<8 AND 中期線<7 AND 短期線<15 AND 短期線>REF(短期線,1)) OR (長期線<10 AND 中期線<7 AND 短期線<1),PRECIS0;
STICKLINE(頂部,98,103,20,1),COLORRED;
STICKLINE(底部區(qū)域,-4,0,22,0),COLORGREEN;
STICKLINE(底部區(qū)域,40,44,22,0),COLORGREEN;
低位金叉:長期線<15 AND REF(長期線,1)<15 AND 中期線<18 AND 短期線>REF(短期線,1) AND CROSS(短期線,長期線) AND 短期線>中期線 AND (REF(短期線,1)<5 OR REF(短期線,2)<5) AND (中期線>=長期線 OR REF(短期線,1)<1),PRECIS0;
PARTLINE(中期線>REF(中期線,1),中期線),COLORMAGENTA,LINETHICK2;
PARTLINE(長期線<=REF(長期線,1),長期線),COLORFFFF00,LINETHICK1;
STICKLINE(低位金叉,0,4,11,0 ),COLORRED;
S0:10,COLORCC6633,LINETHICK2,PRECIS0;
B0:90,COLOR9966BB,LINETHICK2,PRECIS0;
期貨版資金量指標(biāo)
VARF:=100-3*SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA
((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);
VAR3:=(CLOSE-MA(CLOSE,0))/MA(CLOSE,0)*100;
VAR4:=(CLOSE-MA(CLOSE,0))/MA(CLOSE,0)*100;
VAR5:=(CLOSE-MA(CLOSE,0))/MA(CLOSE,0)*100;
VAR6:=(VAR3+VAR4+VAR5)/3;
ZH: EMA(EMA(VAR3,5),5)*3, COLORSTICK;
VAR10:=100-3*SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA
((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);
VAR8:=IF(VAR6<=-20,10,0);
STICKLINE(VAR8=10,20,10,4,0),COLORRED;
VAR11:=VARFREF(VOL,1) AND CLOSE>REF(CLOSE,1);
DRAWTEXT(VAR11 AND COUNT(VAR11,30)=1,5,'獅子提醒'),COLORFF00FF;
STICKLINE(VAR11 AND COUNT(VAR11,30)=1,1,10,8,0),COLORYELLOW;
DRAWTEXT(VAR11 AND COUNT(VAR11,30)=1,3,'大資金進入'),COLORFF00FF;
來和希望,給個鏈接:http://futures.bbs.hexun.com/viewarticle.aspx?aid=34686892&bid=6
msyyyma -------發(fā)指標(biāo)啦!用者拿去!
這位朋友發(fā)了很多指標(biāo),偶用圖示附后:
A:=EMA(CLOSE,12);
A1:EMA(A,8),COLORRED,LINETHICK2;
A2:=BACKSET(A1
PARTLINE(A2,A1),COLOR33FF33,LINETHICK2;
A3:EMA(A,30),COLORRED,LINETHICK2;
A4:=BACKSET(A3
PARTLINE(A4,A3),COLOR33FF33,LINETHICK2;
|
|
未來和希望-1
給個鏈接:http://futures.bbs.hexun.com/viewarticle.aspx?aid=34686892&bid=6
A:=LLV(LOW,36);
B:=HHV(HIGH,30);
F:85;
L:95;
D:=(EMA(((CLOSE-A)/(B-A))*(4),4))*(25);
G:D,COLORRED,LINETHICK2;
G1:=BACKSET(D
PARTLINE(G1,D),COLOR33FF33,LINETHICK2;
H:=(((D-LLV(D,21))/(HHV(D,21)-LLV(D,21)))*(4))*(25);
M:IF(CROSS(H,20) AND (G<40),70,0);
Z:8;
S:IF((COUNT((G>REF(G,1)),1)=1) AND (REF(G,1)
買:=MA(CLOSE,1);
賣:=(LOW+HIGH+CLOSE)/3;
奇:= MA(賣,5);
準(zhǔn):= HHV(奇,10);
短賣:IF(HHV((買<準(zhǔn)),10),50,20),COLORGREEN;
STICKLINE(短賣=20,50,20,1,0),COLORGREEN;
TR:=SUM(MAX(MAX((HIGH - LOW),ABS((HIGH - REF(CLOSE,1)))),ABS((LOW -
REF(CLOSE,1)))),5);
HD:=(HIGH - REF(HIGH,1));
LD:=(REF(LOW,1) - LOW);
DMP:=(SUM(IF(((HD > 0) AND (HD > LD)),HD,0),5) );
DMM:=SUM(IF(((LD > 0) AND (LD > HD)),LD,0),5);
神偷線:=(((DMP ) * 100) / TR);
輔助線:=((DMM * 100) / TR);
XXX:=(MA(((ABS((輔助線 - 神偷線)) / (輔助線 + 神偷線)) * 100),3));
奇準(zhǔn):= MA(賣,5);
買賣:=LLV(奇準(zhǔn),10);
底部:IF(((XXX > 88) AND (神偷線 < 5.8)),95,50),LINETHICK1,COLORYELLOW;
STICKLINE(底部=95,50,95,1.5,0),COLORYELLOW;
急買:IF(LLV((買<買賣),5),75,50),COLORRED,LINETHICK1;
STICKLINE(急買=75,50,75,1.5,0),COLORRED;
短買:IF(LLV((買<買賣),10),85,50),COLORRED,LINETHICK1;
STICKLINE(短買=85,50,85,1.5,0),COLORRED;
|
|
未來和希望-2
給個鏈接:http://futures.bbs.hexun.com/viewarticle.aspx?aid=34686892&bid=6
V1:=MA(CLOSE,30);
底: V1-2*STD(CLOSE,60),COLORCYAN,LINETHICK1;
平: MA(CLOSE,60),COLOR0000FF,LINETHICK1;
天: V1+2*STD(CLOSE,60),COLOR80FFFF,LINETHICK1;
DRAWTEXT(CROSS(ZIG(3,5),REF(ZIG(3,5),1)),LOW*0.9985,'買'),COLOR00FFFF;
DRAWTEXT(CROSS(REF(ZIG(3,5),1),ZIG(3,5)),HIGH*1.005,'賣') , COLORGREEN;
未來和希望-3
給個鏈接http://futures.bbs.hexun.com/viewarticle.aspx?aid=34686892&bid=6
V1:=MA(CLOSE,30);
底: V1-2*STD(CLOSE,60),COLORCYAN,LINETHICK1;
平: MA(CLOSE,60),COLOR0000FF,LINETHICK1;
天: V1+2*STD(CLOSE,60),COLOR80FFFF,LINETHICK1;
DRAWTEXT(CROSS(ZIG(3,5),REF(ZIG(3,5),1)),LOW*0.9985,'買'),COLOR00FFFF;
DRAWTEXT(CROSS(REF(ZIG(3,5),1),ZIG(3,5)),HIGH*1.005,'賣') , COLORGREEN;
未來和希望-4
給個鏈接http://futures.bbs.hexun.com/viewarticle.aspx?aid=34686892&bid=6
DIFF:=( EMA(CLOSE,8) - EMA(CLOSE,21));
DEA:=EMA(DIFF,5);
TJ:=(DIFF>=DEA);
TJ1:=(DIFF>=0);
STICKLINE(TJ,H,L,0.5,0),COLORRED;
STICKLINE(TJ,O,C,4,1),COLORRED;
STICKLINE(TJ1 AND TJ,H,L,0.5,0),COLORRED;
STICKLINE(TJ1 AND TJ,O,C,4,1),COLORRED;
STICKLINE(DIFF
STICKLINE(DIFF
|
|
未來和希望-5(主圖)
給個鏈接http://futures.bbs.hexun.com/viewarticle.aspx?aid=34686892&bid=6
KU1:=IF(HIGH=HHV(HIGH,3),1,0);
KD1:=IF( LOW=LLV( LOW,3),1,0);
UL:=IF(REF(KU1,2)=1 AND REF(KU1,1)=0 AND KU1=0,REF(HIGH,2),REF(HIGH,2+BARSLAST(REF(KU1,2)=1 AND REF(KU1,1)=0 AND KU1=0)));
DL:=IF(REF(KD1,2)=1 AND REF(KD1,1)=0 AND KD1=0,REF(LOW,2), REF(LOW,2
+BARSLAST(REF(KD1,2)=1 AND REF(KD1,1)=0 AND KD1=0)));
白:IF(HIGH>=MA(CLOSE,3),UL,REF(UL,BARSLAST(HIGH>MA(CLOSE,3)))),COLORFFFFFF;
綠:IF(LOW<=MA(CLOSE,3),DL,REF(DL,BARSLAST(LOW<=MA(CLOSE,3)))),COLOR00FF00;
RSV:=((HHV(HIGH,12)-CLOSE)/(HHV(HIGH,12)-LLV(LOW,12)))*(100);
LWR1:=SMA(RSV,5,1);
LWR2:=SMA(LWR1,5,1);
STICKLINE((LWR1>=LWR2),HIGH,LOW,0.05,0),COLORF0F000;
STICKLINE((LWR1>=LWR2),OPEN,CLOSE,4,1),COLORF0F000;
STICKLINE((LWR1
STICKLINE((LWR1
|
|
說明:未來和希望-3------用副圖效果好一點;未來和希望-5------用主圖效果好一點;其余全用:主圖疊加。我在博弈大師上使用。
機構(gòu)做空能量線
VAR1:=(HHV(HIGH,36)-CLOSE)/(HHV(HIGH,36)-LLV(LOW,36))*100;
機構(gòu)做空能量線: SMA(VAR1,3,1),LINETHICK2,COLORGREEN;
VAR2:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
機構(gòu)做多能量線: SMA(VAR2,5,1)-8,LINETHICK2,COLORRED;
弱勢區(qū):20,POINTDOT,COLORGREEN;
強弱分水嶺:50,POINTDOT,COLORWHITE;
強勢區(qū):80,POINTDOT,COLORF00FF0;
專業(yè)快刀手}
N1:=21;
VAR1:=4*SMA((CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,5,1)-
3*SMA(SMA((CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,5,1),3.2,1),COLORYELLOW,LINETHICK1;
VAR2:=8,COLORGREEN,LINETHICK0;
小試牛刀: IF(CROSS(VAR1,VAR2),50,0),STICK,COLORRED;
DRAWICON(小試牛刀>0,50,4);
發(fā)現(xiàn)莊跡: IF(VAR1<=8,15,0),STICK,COLORCYAN,LINETHICK2;
VARO5:=LLV(LOW,27);
VARO6:=HHV(HIGH,34);
VARO7:=EMA((CLOSE-VARO5)/(VARO6-VARO5)*4,4)*25;
建倉區(qū): IF((VARO7<10),100,118) ,COLOR00CCFF,LINETHICK1;
CD1:=(HHV(H,9)-C)/(HHV(H,9)-LLV(L,9))-0.7;
CD2:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9));
CD3:=SMA(SMA(CD2,3,1),3,1);
CD4:=(CD3-SMA(CD1,9,1))-0.5;
CD5:=IF(CD4>0.00,CD4,0.00);
CD6:=REF(CD5,1);
VAR81:=MA(C,9),COLORRED;
空頭1:=IF(CD6-CD5,CD6,CD5),LINETHICK3,COLORGREEN;
減倉空倉:CROSS(CD6,CD5),COLORGREEN;
DRAWICON(減倉空倉>0,113,5);
VAR1A:=(HHV(HIGH,9)-CLOSE)/(HHV(HIGH,9)-LLV(LOW,9))*100-70;
VAR2A:=SMA(VAR1A,9,1)+100;
VAR3A:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
VAR4A:=SMA(VAR3A,3,1);
VAR5A:=SMA(VAR4A,3,1)+100;
VAR6A:=VAR5A-VAR2A;
端莊窩:=IF(VAR6A>N1,VAR6A-N1,0),COLORLIRED;
果斷出擊:IF(CROSS(端莊窩,0.01),100,0),STICK,COLORGREEN,LINETHICK2;
DRAWICON(果斷出擊>0,100,4),COLORGREEN;
XG:=CROSS(端莊窩,0.01);
LC:=REF(CLOSE,1);
RSI:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;
E:=CROSS(83,RSI);
STICKLINE(REF(端莊窩,1)<</FONT>端莊窩,端莊窩,REF(端莊窩,1),3,0),COLORRED;
STICKLINE(REF(端莊窩,1)>端莊窩,端莊窩,REF(端莊窩,1),3,0),COLOR00FF00;
紅持綠空:0,COLORGREEN;
中分線: 20;
VAR1E:=((CLOSE - LLV(LOW,20)) / (HHV(HIGH,20) - LLV(LOW,20))) * 100;
VAR2E:=SMA(SMA(VAR1E,3,1),3,1);
VAR3E:=EMA(VAR2E,5);
GZ:=3*VAR2E-2*VAR3E;
趨勢J:EMA(GZ,3),colorgreen,linethick3;
partline(趨勢J>ref(趨勢J,1),趨勢J),colorred,linethick3;
VAR37:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;
VAR38:=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100;
VAR39:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;
副圖K線
RSV:=(CLOSE-LLV(LOW,13))/(HHV(HIGH,13)-LLV(LOW,13))*100;
K:SMA(RSV,3,1);
D:SMA(K,3,1);
J:=3*K-2*D;
100,COLOR00FF00;
0,COLORFF00FF;
STICKLINE(J>REF(J,1),HHV(J,3),LLV(J,3),0,0),COLORRED;
STICKLINE(J>REF(J,1),J,REF(J,1),3,0),COLORRED;
STICKLINE(J>REF(J,1),J,REF(J,1),2,0),COLOR000099;;
STICKLINE(J>REF(J,1),J,REF(J,1),1,0),COLOR2F2FF0;
STICKLINE(J
STICKLINE(J
STICKLINE(J
STICKLINE(J
博易指標(biāo)公式(一品操盤)
源碼如下:
STICKLINE(C>=O OR (C=O AND C>REF(C,1)),O,C,4,1),COLORRED;
STICKLINE((C>=O AND C<>H) OR (C=O AND C>REF(C,1)),C,H,0.1,0),COLORRED;
STICKLINE((C>=O AND L<>O) OR (C=O AND C>REF(C,1)),L,O,0.1,0),COLORRED;
STICKLINE(CREF(C,1)),O,C,4,0),COLORCYAN;
STICKLINE((CH) OR (C=O AND C>REF(C,1)),C,H,0.1,1),COLORCYAN;
STICKLINE((CO) OR (C=O AND C>REF(C,1)),L,O,0.1,1),COLORCYAN;
壓力:HHV(MA((LOW+HIGH+CLOSE)/3,1),34),LINETHICK2,COLORGREEN;
支撐:LLV(MA((LOW+HIGH+CLOSE)/3,1),34),LINETHICK2,COLORRED;
RV:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100;
RG:=(CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100;
VA1:=SMA(RV,3,1);
VA2:=SMA(VA1,3,1);
ZZ:=EMA(SMA(RG,3,1),2);
XX:=SMA(ZZ,3,1);
DRAWICON(CROSS(VA1,VA2) AND CROSS(ZZ,XX),L,1);
DRAWICON(CROSS(VA2,VA1) AND CROSS(XX,ZZ),H,2);
博易、文華指標(biāo)公式(天機均線)
博易源碼:
均:=(3*C+H+L+O)/6;
短線:(8*均+7*REF(均,1)+6*REF(均,2)+5*REF(均,3)+4*REF(均,4)+3*REF(均,5)+2*REF(均,6)+REF(均,7))/36,COLORWHITE,PRECIS0;
中線:(LLV(短線,3)+LLV(短線,5)+LLV(短線,8))/3,COLORYELLOW,PRECIS0;
文華源碼:
VV:=(3*C+H+L+O)/6;
DUAN:(8*VV+7*REF(VV,1)+6*REF(VV,2)+5*REF(VV,3)+4*REF(VV,4)+3*REF(VV,5)+2*REF(VV,6)+REF(VV,7))/36,COLORWHITE;
ZONG:(LLV(DUAN,3)+LLV(DUAN,5)+LLV(DUAN,8))/3,COLORYELLOW;
博易指標(biāo)公式(無雙多空)
源碼如下:
VAR1A:=LLV(LOW,21);
VAR2A:=HHV(HIGH,21);
AK1:=EMA((((CLOSE - VAR1A) / (VAR2A - VAR1A)) * 100),5);
AK:=EMA((((CLOSE - VAR1A) / (VAR2A - VAR1A)) * 50),13);
AB:=CROSS(AK1,AK);
DRAWTEXT((AB=1),L,'建多'),COLORYELLOW;
VAR3AA:=IF((CLOSE>REF(CLOSE,1)),88,0);
VAR4AA:=IF(((CLOSE)/(REF(CLOSE,1))>1.05) AND ((HIGH)/(CLOSE)<1.01) AND (VAR3AA>0),91,0);
STICKLINE(C>=O OR (C=O AND C>REF(C,1)),O,C,4,1),COLORRED;
STICKLINE((C>=O AND C<>H) OR (C=O AND C>REF(C,1)),C,H,0.1,0),COLORRED;
STICKLINE((C>=O AND L<>O) OR (C=O AND C>REF(C,1)),L,O,0.1,0),COLORRED;
STICKLINE(CREF(C,1)),O,C,4,0),COLORCYAN;
STICKLINE((CH) OR (C=O AND C>REF(C,1)),C,H,0.1,1),COLORCYAN;
STICKLINE((CO) OR (C=O AND C>REF(C,1)),L,O,0.1,1),COLORCYAN;
DRAWTEXT(FILTER((VAR4AA>90),45),L,'★大膽多 '),COLOR00FFFF;
VAR1:=(CLOSE-LLV(LOW,36))/(HHV(HIGH,36)-LLV(LOW,36))*100;
VAR2:=SMA(VAR1,3,1);
VAR3:=SMA(VAR2,3,1);
VAR5:=CROSS(SMA(VAR2,3,1),SMA(VAR3,3,1)) AND SMA(VAR2,3,1)<20;
DRAWTEXT(FILTER(VAR5,10)=1,LOW,'抄底'),COLORYELLOW;
VARA:=LLV(LOW,35);
VARB:=HHV(HIGH,30);
VARC:=EMA((CLOSE-VARA)/(VARB-VARA)*4,4)*25;
DRAWTEXT(IF(CROSS(87.5,VARC),87,0),H,'空'),COLOR00FF00;
以上內(nèi)容均屬摘錄,筆者只是借鑒熟悉博易指標(biāo)編程,均存諸多漏洞,查閱者需慎重。
|