是分时图中引用其他指数
是分时图中引用其他指数
编写条件:
编写方法:
网友求助:
零轴:0;
DIF:EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:EMA(DIF,9);
周DIF:="MACD.DIF#WEEK"(12,26,9);
周DEA:="MACD.DEA#WEEK"(12,26,9);
STICKLINE("MACD.MACD#WEEK">=0,0,"MACD.MACD#WEEK",2.5,0),COLORLIRED;
STICKLINE("MACD.MACD#WEEK"<0,0,"MACD.MACD#WEEK",2.5,0),COLORLIGREEN;
DRAWBAND(周DIF,RGB(255,200,70),周DEA,RGB(70,100,50));
DRAWBAND(DIF,RGB(155,50,50),DEA,RGB(0,100,50));
{DRAWBAND(DIF,RGB(255,200,70),DEA,RGB(70,100,50));};
MACD:=(DIF-DEA)*2,COLORSTICK;
STICKLINE(MACD>=0,0,MACD,2,0),COLORRED;
STICKLINE(MACD<0,0,MACD,2,0),COLORLICYAN;
DIF:EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:EMA(DIF,9);
周DIF:="MACD.DIF#WEEK"(12,26,9);
周DEA:="MACD.DEA#WEEK"(12,26,9);
STICKLINE("MACD.MACD#WEEK">=0,0,"MACD.MACD#WEEK",2.5,0),COLORLIRED;
STICKLINE("MACD.MACD#WEEK"<0,0,"MACD.MACD#WEEK",2.5,0),COLORLIGREEN;
DRAWBAND(周DIF,RGB(255,200,70),周DEA,RGB(70,100,50));
DRAWBAND(DIF,RGB(155,50,50),DEA,RGB(0,100,50));
{DRAWBAND(DIF,RGB(255,200,70),DEA,RGB(70,100,50));};
MACD:=(DIF-DEA)*2,COLORSTICK;
STICKLINE(MACD>=0,0,MACD,2,0),COLORRED;
STICKLINE(MACD<0,0,MACD,2,0),COLORLICYAN;
解答如下:
日金叉选股:
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;
XG:CROSS(K,D);
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;
XG:CROSS(K,D);
周金叉选股:
ZK:=MA("KDJ.K#WEEK"(9,3,3) ,5);
ZD:=MA("KDJ.D#WEEK"(9,3,3) ,5);
XG:CROSS(ZK,ZD);
月金叉选股“
YK:=MA("KDJ.K#MONTH"(9,3,3),20);
YD:=MA("KDJ.D#MONTH"(9,3,3),20);
XG:CROSS(YK,YD);
{股票资源馆:www.lixiangluntan.com专业和谐高端炒股软件--公式编写交流--加QQ751161480--}炒股教程
(把周KDJ)改成大智慧L2能用
(把周KDJ)改成大智慧L2能用