将大智慧公式源码制作成FNC文件
将大智慧公式源码制作成FNC文件
【股票资源馆】让数据触手可得!专业和谐破解高端炒股软件!
是国内最好的股票软件、股票公式指标、股票书籍下载网站;提供最全面的股票知识、炒股教程、黑马股票、股票资讯、期货外汇等给大家在线参考学习。
编写条件:
编写方法:
网友求助:
VAR1:=(CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100;
VAR2:=SMA(VAR1,20,1);
VAR3:=SMA(VAR2,15,1);
VAR4:=(3*VAR2+2*VAR3)/4;
VAR5:=REF(VAR4,1);
RSA:(SMA(MAX(VAR4-VAR5,0),2,1))/(SMA(ABS(VAR4-VAR5),2,1))*100;
RSB:MA(RSA,10);
买入:IF(RSB<10 AND CROSS(RSA,RSB),50,0),STICK,LINETHICK3,colorFF;
卖出:IF(RSB>90 AND CROSS(RSB,RSA),50,0),STICK,LINETHICK3,colorFF00;
DRAWTEXT(RSB<10 AND CROSS(RSA,RSB),40,'买入'),colorFF;
DRAWTEXT(RSB>90 AND CROSS(RSB,RSA),40,'卖出'),colorFF00;
VAR2:=SMA(VAR1,20,1);
VAR3:=SMA(VAR2,15,1);
VAR4:=(3*VAR2+2*VAR3)/4;
VAR5:=REF(VAR4,1);
RSA:(SMA(MAX(VAR4-VAR5,0),2,1))/(SMA(ABS(VAR4-VAR5),2,1))*100;
RSB:MA(RSA,10);
买入:IF(RSB<10 AND CROSS(RSA,RSB),50,0),STICK,LINETHICK3,colorFF;
卖出:IF(RSB>90 AND CROSS(RSB,RSA),50,0),STICK,LINETHICK3,colorFF00;
DRAWTEXT(RSB<10 AND CROSS(RSA,RSB),40,'买入'),colorFF;
DRAWTEXT(RSB>90 AND CROSS(RSB,RSA),40,'卖出'),colorFF00;
RT 谢谢了~~~~~~~~
解答如下:
VAR1:=(CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100;
VAR2:=SMA(VAR1,20,1);
VAR3:=SMA(VAR2,15,1);
VAR4:=(3*VAR2+2*VAR3)/4;
VAR5:=REF(VAR4,1);
RSA:=(SMA(MAX(VAR4-VAR5,0),2,1))/(SMA(ABS(VAR4-VAR5),2,1))*100;
RSB:=MA(RSA,10);
RSB<10 AND CROSS(RSA,RSB);
VAR2:=SMA(VAR1,20,1);
VAR3:=SMA(VAR2,15,1);
VAR4:=(3*VAR2+2*VAR3)/4;
VAR5:=REF(VAR4,1);
RSA:=(SMA(MAX(VAR4-VAR5,0),2,1))/(SMA(ABS(VAR4-VAR5),2,1))*100;
RSB:=MA(RSA,10);
RSB<10 AND CROSS(RSA,RSB);
{股票资源馆:www.lixiangluntan.com专业和谐高端炒股软件--公式编写交流--加QQ751161480--}
【股票资源馆】让数据触手可得!专业和谐破解高端炒股软件!
是国内最好的股票软件、股票公式指标、股票书籍下载网站;提供最全面的股票知识、炒股教程、黑马股票、股票资讯、期货外汇等给大家在线参考学习。
实现输出最大的3个横向统计值
实现输出最大的3个横向统计值