新版“财富地图”,三代指标集成之作:
成交量、macd、 rsi、 kdj集成指标。
{财富地图}
AA:=AMOUNT/CONST(HHV(AMOUNT,200))*100;
S:STICKLINE(C>=O,AA+50,10,2,0),COLORRED;
STICKLINE(C
XVAR2:=(HHV(H,13)-C);
XVAR3:=(C-LLV(L,13));
XVAR4:=XVAR2/XVAR1*100-70;
XVAR5:=(C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100;
XVAR6:=(2*C+H+L)/4;
XVAR7:=SMA((XVAR3/XVAR1*100),3,1);
XVAR8:=LLV(L,34);
XVAR9:=SMA(XVAR7,3,1)-SMA(XVAR4,9,1);
XVAR10:=IF(XVAR9>100,XVAR9-100,0);
XVARA:=HHV(H,34);
防线:=EMA((XVAR6-XVAR8)/(XVARA-XVAR8)*100,8);
BB:=EMA(防线,5);
Q:=REF(防线-BB<0,5) AND REF(防线-BB<0,4) AND REF(防线-BB<0,3) AND REF(防线-BB<0,2) AND REF(防线-BB<0,1) {AND 防线<30} AND CROSS(防线>BB,0.5),LINETHICK0;
STICKLINE(防线-BB>0,防线,BB,2.5,1),COLORYELLOW;
STICKLINE(防线-BB<0,防线,BB,2.5,1),COLORLIGREEN;
STICKLINE(防线>0 AND 防线-BB>=0,2,4,2.5,0),COLORMAGENTA;
STICKLINE(防线>0 AND 防线-BB<0,2,4,2.5,0),COLORBROWN;
RSV1:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
RSV2:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100;
WEN:=3*SMA((CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100,5,1),3,1);
J1:=SMA(RSV1,3,1);J2:=SMA(J1,3,1);
W1:=SMA(RSV2,3,1);W2:=SMA(W1,3,1);
趋势线:=WEN,LINETHICK2;
买点准备:=IF(趋势线<=10,30,0),LINETHICK2,COLORYELLOW;
G1:=W1,LINETHICK2,COLORWHITE;
G2:=W2,LINETHICK2,COLORCYAN;
STICKLINE(趋势线>88,100,趋势线,3,1),COLORGREEN;
STICKLINE(趋势线<=10,0,趋势线,3,1),COLORYELLOW;
STICKLINE(COUNT(趋势线
STICKLINE(CROSS(J2,J1) AND J2>85,100,80,3,0),COLORGREEN;
LC:=REF(CLOSE,1);
RSI1:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100,COLORFF00FF;
RSI2:=SMA(MAX(CLOSE-LC,0),12,1)/SMA(ABS(CLOSE-LC),12,1)*100,COLORFFFF00;
RSI3:=SMA(MAX(CLOSE-LC,0),24,1)/SMA(ABS(CLOSE-LC),24,1)*100,COLOR00FFFF;
{DRAWBAND(RSI1,RGB(250,0,250),RSI2,RGB(0,200,200));}
STICKLINE(C>0,0,5,4,1),COLOR696969;
STICKLINE(RSI1>=RSI2,5,0,2,0),COLORFF00FF;
RSIA:RSI1,NODRAW,COLOR00FFFF;
RSIB:RSI2,NODRAW,COLORFFFF00;
DIF:EMA(CLOSE,12)-EMA(CLOSE,26),NODRAW;
DEA:EMA(DIF,6),NODRAW;
MACD:=(DIF-DEA)*2;
STICKLINE(C>0,100,105,4,1),COLOR696969;
STICKLINE(DIF>0 AND DEA>0 AND DIF>=DEA AND DEA>REF(DEA,1) ,105,100,2,0),COLORRED;
STICKLINE(DEA>0 AND DIF
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
MM1:=EMA(J#MONTH,3);
DRAWBAND(K,RGB(100,10,10),D,RGB(10,10,100));
DRAWBAND(J,RGB(200,10,10),MM1,RGB(0,0,128));
JJ:3*K-2*D;
MM:EMA(J#MONTH,3);
KK:SMA(RSV,3,1);
DK:SMA(K,3,1);