【阳光飞狐__与财富同行】

标题: 求助麻烦帮忙改一下飞狐能用。 [打印本页]

作者: logoslogos    时间: 2020-2-22 19:14
标题: 求助麻烦帮忙改一下飞狐能用。
求助懂飞狐公式的朋友,帮忙改一下,给老飞狐能用。好像DRAWBAND通不过。万分感谢

LC := REF(CLOSE,1);
RSI1:SMA(MAX(CLOSE-LC,0),N1,1)/SMA(ABS(CLOSE-LC),N1,1)*100,LINETHICK2,COLOREE11EE;
RSI2:SMA(MAX(CLOSE-LC,0),N2,1)/SMA(ABS(CLOSE-LC),N2,1)*100,LINETHICK2,COLOR0088FF,;
RSI3:SMA(MAX(CLOSE-LC,0),N3,1)/SMA(ABS(CLOSE-LC),N3,1)*100,LINETHICK2,COLORYELLOW;

DRAWBAND(RSI1,RGB(255,61,61),RSI2,RGB(40,239,40));

抄底:25,COLORMAGENTA,LINETHICK1;
分水岭:50,ColorWhite,LINETHICK2;
风险带:85,COLORRED,LINETHICK2;
作者: pengyi    时间: 2020-2-23 08:34
LC:= REF(CLOSE,1);
RSI1:SMA(MAX(CLOSE-LC,0),13,1)/SMA(ABS(CLOSE-LC),13,1)*100,LINETHICK2,COLOREE11EE;
RSI2:SMA(MAX(CLOSE-LC,0),34,1)/SMA(ABS(CLOSE-LC),34,1)*100,LINETHICK2,COLOR0088FF,;
RSI3:SMA(MAX(CLOSE-LC,0),55,1)/SMA(ABS(CLOSE-LC),55,1)*100,LINETHICK2,COLORYELLOW;
FILLRGN(RSI1>RSI2,RSI1,RSI2),COLORFF3D3D;
FILLRGN(RSI1<RSI3,RSI2,RSI3),COLOR28EF28;
抄底:25,COLORMAGENTA,LINETHICK1;
分水岭:50,COLORWHITE,LINETHICK2;
风险带:85,COLORRED,LINETHICK2;


不知道N1,N2,N3的参数,随意设置为13,34,55,楼主可自行更改
作者: logoslogos    时间: 2020-2-23 12:05
非常感谢pengyi兄的帮助。
作者: logoslogos    时间: 2020-2-23 20:55
We use the square of odd and even numbers to get
not only the proof of market movements, but the cause.




欢迎光临 【阳光飞狐__与财富同行】 (http://bbs.88158.cn/) Powered by Discuz! X3.2