最新更新 - 网站地图 -
您的当前位置:首页 > 股票公式 > 公式技巧 > 把春华秋实指标改为飞狐分时指标

把春华秋实指标改为飞狐分时指标

来源:网络 点击: 时间:2022-12-24 17:42:24

编写要求:

解答:

?网友求助:

下面是一点红心的春华秋实指标,我改为飞狐可用,并把顶底分段线加粗,
请问有哪位老师能把它改为飞狐分时可用呀?谢谢啦


v1:=(CLOSE*2+HIGH+LOW+OPEN)/5; {均价}
V2:=EMA(V1,13)-EMA(V1,34);{macd.diff}
V3:=EMA(V2,5); {macd.dea}
V4:=(V2-V3)*100; {macd.macd}
主力撤:=IF(V4<=0,V4,0){,colorblue个股};
主力进:=IF(V4>=0,V4,0){,colorff00ff个股};
V8:=(INDEXC*2+INDEXH+INDEXL+INDEXO)/5;{大盘均价}
V9:=EMA(V8,13)-EMA(V8,34); {index.diff}
VA:=EMA(V9,5); {index.dea}
VB:=(V9-VA)/2; {index.macd}
V11:=3*SMA((CLOSE-LLV(LOW,13))/(HHV(HIGH,13)-LLV(LOW,13))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,13))/(HHV(HIGH,13)-LLV(LOW,13))*100,5,1),3,1);{引用个股"kdj.j"}
V12:=3*SMA((CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100,5,1),3,1);{引用个股"kdj.j"}
V13:=3*SMA((CLOSE-LLV(LOW,120))/(HHV(HIGH,120)-LLV(LOW,120))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,120))/(HHV(HIGH,120)-LLV(LOW,120))*100,5,1),3,1);{引用个股"kdj.j"}
阳光:EMA(V11,3),coloryellow,linethick1;
空气:EMA(v12,3),colorDD00FF;
雨露:EMA(V13,3),COLORblue;
dv11:=3*SMA((INDEXC-LLV(INDEXL,60))/(HHV(INDEXH,60)-LLV(INDEXL,60))*100,5,1)-2*SMA(SMA((INDEXC-LLV(INDEXL,60))/(HHV(INDEXH,60)-LLV(INDEXL,60))*100,5,1),3,1);
自然环境:EMA(dv11,13),colorcyan,linethick2;
稻草人:空气<=10,linethick0,coloreecc99;
STICKLINE(空气<=10,0,15,5,0),coloreecc99;
麦田:空气<=10 AND (阳光<=10 or 自然环境<=10),linethick0,color00eeaa;
STICKLINE(空气<=10 AND (阳光<=10 or 自然环境<=10),0,20,4,0),COLOR00eeaa;
早熟:空气<=10 AND (阳光<=10 or 自然环境<=10) AND 雨露<=10,LINETHICK0,COLORMAGENTA;
STICKLINE(空气<=10 AND (阳光<=10 or 自然环境<=10) AND 雨露<=10,0,25,3,0),COLORMAGENTA;
光合作用:阳光<=10 and 空气<=10 AND 自然环境<=10 AND 雨露<=10,linethick0,colorred;
STICKLINE(阳光<=10 and 空气<=10 AND 自然环境<=10 AND 雨露<=10,0,30,2,0),colorred;
aa:=FILTER((空气<=10),15);
XX:=FILTER(空气<=10 AND 自然环境<=10,15);
{drawtext (aa,30,'稻草人'),colorcc9900;
drawtext (xx,40,'麦田'),color00aaaa; }
bb:= (空气<=10 AND V12>10) and FILTER((空气<=10 AND V12>10),10);
乌鸦:空气>=90 and 空气>REF(空气,1),colorffff00,linethick0;
STICKLINE(乌鸦,100,95,15,1),COLORFFFF00;
暴风雨:空气>=90 AND 自然环境>=90,colorgreen,linethick0;
STICKLINE(暴风雨,100,95,10,0),COLORgreen;
收割:FILTER(空气>90 and 空气 DRAWTEXT( 收割,90,'收割'),coloryellow;
PARTLINE(阳光<=10,阳光),LINETHICK3,coloryellow;
PARTLINE(阳光>=90,阳光),LINETHICK3,colorRED;
STICKLINE(自然环境<=10,100,95,10,0),COLORred;
DRAWTEXT(FILTER(自然环境<=10,8),90,'农耕?'),colorred;
?

    Copyright 2018- www.dyjian.com/ 大宇股票知识网 海口美兰韩哲棚百货商行 版权所有 琼ICP备2023001966号

    免责声名:本站所发表的内容仅用于学术交流和学习,内容所带来的一切后果均与本站无关。若您发现本站存在您非授权的原创作品,请第一时间联系本站删除!

    Top