博易指標(biāo)公式(金山銀山)
DIFF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIFF,9);
STICKLINE(DIFF>DEA,CLOSE,OPEN,3,0),COLORRED;
STICKLINE(DIFF>DEA,HIGH,LOW,3,0),COLORRED;
STICKLINE(DIFF<=DEA,CLOSE,OPEN,3,0),COLORGREEN;
STICKLINE(DIFF<=DEA,HIGH,LOW,3,0),COLORGREEN;
博易指標(biāo)源碼(量能指標(biāo))
量能指標(biāo)
VAR1:=(HHV(HIGH,13)-LLV(LOW,13));
VAR2:=(HHV(HIGH,13)-CLOSE);
VAR3:=(CLOSE-LLV(LOW,13));
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),N);
VAR13:=EMA(((0.667*REF(VAR12,1))+(0.333*VAR12)),2);
STICKLINE(((VAR12-VAR13)>0),VAR12,VAR13,4,0),COLOR0000FF;
STICKLINE(((VAR12-VAR13)<0),VAR12,VAR13,4,0),COLORFF0000;
MA11:EMA(VAR13,5);
N選多少合適呀?請(qǐng)明白人指教,偶選了個(gè):15.
博易指標(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;
文華博易通用指標(biāo)源碼(即時(shí)趨勢(shì)---副圖)
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)源碼(頂?shù)灼錅?zhǔn))
VAR1:=LLV(LOW,34);
VAR2:=HHV(HIGH,30);
VAR3:=REF(CLOSE,1);
VAR4:=EMA((CLOSE-VAR1)/(VAR2-VAR1),3)*100;
主力:=SMA(MAX(CLOSE-VAR3,0),7,1)/SMA(ABS(CLOSE-VAR3),7,1)*100,COLORRED;
CC:主力,COLORWHITE;
散戶:=VAR4;
VAR5:=(VAR4-LLV(VAR4,21))/(HHV(VAR4,21)-LLV(VAR4,21))*100;
Q1:IF(CROSS(VAR5,90) AND 散戶<40,18,10);
Q2:IF(CROSS(主力,12) AND REF(散戶,5)<20 AND REF(散戶,3)<20,18,10);
P1:IF(CROSS(84,主力),82,90),COLOR99FF33;
P2:IF(CROSS(84,散戶),82,90),COLORCYAN;
VY:=SMA((CLOSE-LLV(LOW,18))/(HHV(HIGH,18)-LLV(LOW,18))*100,5,1);
L2:=SMA(0.618*REF(VY,1)+0.382*VY,3,1), COLORFF9900;
L3:=MA(L2,5);
STICKLINE(L2>L3,L3+2,L3-2,5,0),COLORRED;
STICKLINE(L2<=L3,L3+2,L3-2,5,0),COLORGREEN;
80,POINTDOT;
50,POINTDOT;
20,POINTDOT;
博易指標(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<REF(AA10,1), AA10,REF(AA10,1),8,1),COLORGREEN;
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)公式(彩色K線)
HH:=HHV(HIGH,3);
LL:=LLV(LOW,3);
HH1:=BARSLAST((HH > REF(HH,1)));
LL1:=BARSLAST((LL < REF(LL,1)));
IF((HH1 < LL1),LL,HH),LINETHICK2,COLORBB0066;
IF((HH1 > LL1),HH,LL),LINETHICK2,COLOR1B8800;
STICKLINE((HH1 < LL1),CLOSE,OPEN,3,0),COLORRED;
STICKLINE((HH1 < LL1),HIGH,LOW,0,0),COLORRED;
STICKLINE((HH1 > LL1),CLOSE,OPEN,3,0),COLORFF0000;
STICKLINE((HH1 > LL1),HIGH,LOW,0,0),COLORFF0000;
DRAWTEXT(CROSS(HH1,LL1),HH,'開(kāi)空'),COLORYELLOW;
DRAWTEXT(CROSS(LL1,HH1),LL,'開(kāi)多'),COLORFF00FF;
博易指標(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)公式(變色主圖線)
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;
博易指標(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 <DKX) AND (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,'空');
(責(zé)任編輯:張曉軒)