写个13日均线即将上穿55日均线的选股指标
写个13日均线即将上穿55日均线的选股指标
编写条件:
编写方法:
网友求助:
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;
N:=7;
IF(J>=REF(J,1),J,DRAWNULL),COLORRED;
IF(J<REF(J,1),J,DRAWNULL),COLORFFFF11;
IF(J<0,J,DRAWNULL),COLORYELLOW,LINETHICK2;
IF(K>90,K,DRAWNULL),COLORGREEN,LINETHICK2;
IF(D>85,D,DRAWNULL),COLORGREEN,LINETHICK2;
AA1:=DRAWLINE(J>=HHV(J,N),J,J<=LLV(J,N),J,0);
AA2:=DRAWLINE(J<=LLV(J,N),J,J>=HHV(J,N),J,0);
AA3:=J=AA2;
AA4:=J=AA1;
AA5:=J<REF(J,1);
AA6:=J>REF(J,1);
DRAWICON(FILTER(AA4 AND AA6,1),J*1.04,2);
DRAWICON(FILTER(AA3 AND AA5,1),J*0.9,1);
K:SMA(RSV,3,1);
D:SMA(K,3,1);
J:3*K-2*D;
N:=7;
IF(J>=REF(J,1),J,DRAWNULL),COLORRED;
IF(J<REF(J,1),J,DRAWNULL),COLORFFFF11;
IF(J<0,J,DRAWNULL),COLORYELLOW,LINETHICK2;
IF(K>90,K,DRAWNULL),COLORGREEN,LINETHICK2;
IF(D>85,D,DRAWNULL),COLORGREEN,LINETHICK2;
AA1:=DRAWLINE(J>=HHV(J,N),J,J<=LLV(J,N),J,0);
AA2:=DRAWLINE(J<=LLV(J,N),J,J>=HHV(J,N),J,0);
AA3:=J=AA2;
AA4:=J=AA1;
AA5:=J<REF(J,1);
AA6:=J>REF(J,1);
DRAWICON(FILTER(AA4 AND AA6,1),J*1.04,2);
DRAWICON(FILTER(AA3 AND AA5,1),J*0.9,1);
解答如下:
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;
N:=7;
AA1:=DRAWLINE(J>=HHV(J,N),J,J<=LLV(J,N),J,0);
AA4:=J=AA1;
AA6:=J>REF(J,1);
绿:FILTER(AA4
AND AA6,1);
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
N:=7;
AA1:=DRAWLINE(J>=HHV(J,N),J,J<=LLV(J,N),J,0);
AA4:=J=AA1;
AA6:=J>REF(J,1);
绿:FILTER(AA4
AND AA6,1);
=============
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;
N:=7;
AA2:=DRAWLINE(J<=LLV(J,N),J,J>=HHV(J,N),J,0);
AA3:=J=AA2;
AA5:=J<REF(J,1);
红:FILTER(AA3
AND AA5,1);
{股票资源馆:www.lixiangluntan.com专业和谐高端炒股软件--公式编写交流--加QQ751161480--}
【股票资源馆】让数据触手可得!专业和谐破解高端炒股软件!
是国内最好的股票软件、股票公式指标、股票书籍下载网站;提供最全面的股票知识、炒股教程、黑马股票、股票资讯、期货外汇等给大家在线参考学习。
MACD为什么金叉不显示红色箭头
MACD为什么金叉不显示红色箭头