新飞狐指标 飞狐登高望远主图公式源码
2016-08-22 11:13 股票知识 zhishi.southmoney.com
N:=5;
ma5:ma(c,5);
ma10:ma(c,10);
ma20:ma(c,20);
ma30:ma(c,30);
ma60:ma(c,60);
ma90:ma(c,90);
ma120:ma(c,120);
ma240:ma(c,240);
MAA:=MAX(MAX(MA5,MA10),MAX(MA20,MA30));
MAB:=MAX(MAX(MA60,MA90),MAX(MA120,MA240));
MA1:=MAX(MAA,MAB);
登高:CROSS(C,MA1),COLORFF00FF,linethick2;
DTPL:=MA5>MA10 AND MA10>MA20 AND MA20>MA30 AND MA30>MA60 AND MA60>MA90 AND MA90>MA120;
望远:(登高 AND DTPL)*2,COLOR00FF00,linethick2;
MAC:=MIN(MIN(MA5,MA10),MIN(MA20,MA30));
MAD:=MIN(MIN(MA60,MA90),MIN(MA120,MA240));
MA8:=MIN(MAA,MAB);
JXZH:=(MA1/MA8-1)*100<=N;
牛股:(登高 AND JXZH)*2,COLORYELLOW,linethick2;
{以下设置主图显示方式}
DRAWTEXT(登高>0 ,L*0.99 , '▲'),COLOR00FF00;
DRAWTEXT(牛股>0 ,L*0.97 , '●'),COLORYELLOW;
DRAWTEXT(牛股>0 ,L*0.96 , '*牛股!'),COLORFF00FF;
DRAWICON(望远>0,L*0.99,1);
ma5:ma(c,5);
ma10:ma(c,10);
ma20:ma(c,20);
ma30:ma(c,30);
ma60:ma(c,60);
ma90:ma(c,90);
ma120:ma(c,120);
ma240:ma(c,240);
MAA:=MAX(MAX(MA5,MA10),MAX(MA20,MA30));
MAB:=MAX(MAX(MA60,MA90),MAX(MA120,MA240));
MA1:=MAX(MAA,MAB);
登高:CROSS(C,MA1),COLORFF00FF,linethick2;
DTPL:=MA5>MA10 AND MA10>MA20 AND MA20>MA30 AND MA30>MA60 AND MA60>MA90 AND MA90>MA120;
望远:(登高 AND DTPL)*2,COLOR00FF00,linethick2;
MAC:=MIN(MIN(MA5,MA10),MIN(MA20,MA30));
MAD:=MIN(MIN(MA60,MA90),MIN(MA120,MA240));
MA8:=MIN(MAA,MAB);
JXZH:=(MA1/MA8-1)*100<=N;
牛股:(登高 AND JXZH)*2,COLORYELLOW,linethick2;
{以下设置主图显示方式}
DRAWTEXT(登高>0 ,L*0.99 , '▲'),COLOR00FF00;
DRAWTEXT(牛股>0 ,L*0.97 , '●'),COLORYELLOW;
DRAWTEXT(牛股>0 ,L*0.96 , '*牛股!'),COLORFF00FF;
DRAWICON(望远>0,L*0.99,1);
更多股票公式相关资讯请关注南方财富网
股票知识网声明:资讯来源于合作媒体及机构,属作者个人观点,仅供投资者参考,并不构成投资建议。投资者据此操作,风险自担。