公式指标平台 股票指标公式源码分享 登录 注册
公式指标平台
未来函数检测
首 页 金钻指标 通达信公式 大智慧公式 同花顺公式 文华财经公式 操盘手公式 东财通公式 飞狐公式 其他公式 公式解答 股票软件 股票池
当前位置:→ 公式指标平台 > 飞狐公式 > 正文 → 正文

飞狐百战百胜主图指标公式

发布时间:2015/7/31 7:03:24  浏览次数:

DRAWGBK(CLOSE>0,COLORRGB(100,120,180),0,1);
MA1:EMA(CLOSE,P1),LINETHICK2;
MA2:EMA(CLOSE,P2),LINETHICK2,colorFF;
MA3:EMA(CLOSE,P3),LINETHICK1,colorFFFF;
上升趋势:EMA(CLOSE,P1),LINETHICK2,colorFFFFFF;
止损线:EMA(CLOSE,P2),LINETHICK2,colorFF;
DRAWTEXT(CROSS(上升趋势,止损线),上升趋势,'★建仓'),colorFFFF;
DRAWTEXT(CROSS(止损线,上升趋势),上升趋势,'★空仓'),colorFF00;
LC:=REF(CLOSE,3);
JH:=(SMA(MAX(CLOSE-LC,0),6,1))/(SMA(ABS(CLOSE-LC),6,1))*100;
DRAWTEXT(FILTER(CROSS(JH,30),55),LOW*0.98,'↑关注'),PXUP2,colorFFFF;
DRAWTEXT(FILTER(CROSS(84,JH),22),HIGH*1.02,'↓小心'),colorFF00;
VAR1:=CLOSE>REF(CLOSE,1) AND CLOSE>REF(CLOSE,2);
VAR2:=REF(VAR1,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VAR3:=REF(VAR2,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VAR4:=REF(VAR3,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VAR5:=REF(VAR4,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VAR6:=REF(VAR5,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VAR7:=REF(VAR6,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VAR8:=REF(VAR7,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VAR9:=REF(VAR8,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VARA:=REF(VAR9,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VARB:=REF(VARA,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VARC:=REF(VARB,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VARD:=CLOSE<REF(CLOSE,1) AND CLOSE<REF(CLOSE,2);
VARE:=REF(VARD,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VARF:=REF(VARE,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VAR10:=REF(VARF,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VAR11:=REF(VAR10,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VAR12:=REF(VAR11,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VAR13:=REF(VAR12,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VAR14:=REF(VAR13,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VAR15:=REF(VAR14,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VAR16:=REF(VAR15,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VAR17:=REF(VAR16,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VAR18:=REF(VAR17,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VAR19:=(REF(VARD OR VARE OR VARF OR VAR10 OR VAR11 OR VAR12 OR VAR13 OR VAR14 OR VAR15 OR VAR16 OR VAR17 OR VAR18,1)) AND VAR1;
DRAWTEXT(VAR19,LOW,'B'),PXUP6,colorFFFF;
VAR1A:=(REF(VAR1 OR VAR2 OR VAR3 OR VAR4 OR VAR5 OR VAR6 OR VAR7 OR VAR8 OR VAR9 OR VARA OR VARB OR VARC,1)) AND VARD;
DRAWTEXT(VAR1A,HIGH*1.02,'S'),PXUP6,colorFF00;
Y1:=REF(EMA(DMA((HIGH+LOW+CLOSE*2)/4.15,0.9),3),1);
DRAWTEXT(CROSS(CLOSE,Y1),LOW,'买'),colorFF;
STICKLINE(CLOSE>=OPEN,CLOSE,HIGH,0,0),colorFF;
STICKLINE(CLOSE>=OPEN,OPEN,LOW,0,0),colorFF;
STICKLINE(CLOSE<OPEN,OPEN,HIGH,0,0),colorEC00;
STICKLINE(CLOSE<OPEN,CLOSE,LOW,0,0),colorEC00;
STICKLINE(CLOSE>=OPEN,CLOSE,OPEN,8,0),colorA1;
STICKLINE(CLOSE>=OPEN,CLOSE,OPEN,6,0),colorB5;
STICKLINE(CLOSE>=OPEN,CLOSE,OPEN,5,0),colorC5;
STICKLINE(CLOSE>=OPEN,CLOSE,OPEN,4,0),colorD4;
STICKLINE(CLOSE>=OPEN,CLOSE,OPEN,2.5,0),colorEC;
STICKLINE(CLOSE>=OPEN,CLOSE,OPEN,1,0),colorFF;
STICKLINE(CLOSE<OPEN,CLOSE,OPEN,8,0),color9000;
STICKLINE(CLOSE<OPEN,CLOSE,OPEN,7,0),colorB400;
STICKLINE(CLOSE<OPEN,CLOSE,OPEN,5,0),colorC700;
STICKLINE(CLOSE<OPEN,CLOSE,OPEN,3,0),colorDB00;
STICKLINE(CLOSE<OPEN,CLOSE,OPEN,1,0),colorEC00;
高:=HHV(HIGH,0);
低:=LLV(LOW,0);
DCFL:=COST(95);
SCFL:=COST(55);
JCFL:=COST(15);
CH:=COST(5);
DI:=COST(0.38);
M:=58;
X:=3;
P:=SYSPARAM(1);
WS:=BARPOS;
WS1:=IF(WS<M,WS,M);
WSP:=P-WS1+1;
WSP1:=WS1-1;
H1:=HHV(HIGH,WS1);
L1:=LLV(LOW,WS1);
HP:=H1[P];
LP:=L1[P];
HLPX:=(HP-LP)/X;
IF WS1[P]>1 THEN BEGIN
DRAWSL(WS=WSP[P],HP,0,WSP1[P],3),POINTDOT,LINETHICK1;
DRAWSL(WS=WSP[P],LP,0,WSP1[P],3),POINTDOT,LINETHICK1;
DRAWSL(WS=WSP[P],LP+HLPX,0,WSP1[P],3),POINTDOT,LINETHICK1;
DRAWSL(WS=WSP[P],LP+HLPX*2,0,WSP1[P],3),POINTDOT,LINETHICK1,colorAAAAAA;
DRAWNUMBER(WS=WSP[P],HP,HP,2),SHIFT38,colorFF;
DRAWNUMBER(WS=WSP[P],LP,LP,2),SHIFT38,colorFF00;
DRAWNUMBER(WS=WSP[P],LP+HLPX,LP+HLPX,2),SHIFT38,colorFFFF;
DRAWNUMBER(WS=WSP[P],LP+HLPX*2,LP+HLPX*2,2),SHIFT38,colorFFFFFF;
END;
历史最高:=高;
DRAWTEXT(BARPOS=SYSPARAM(2),HIGH,' 历史最高'+NUMTOSTR(历史最高[SYSPARAM(1)],2)),ALIGN5,colorFF00FF;
历史最低:=低;
DRAWTEXT(BARPOS=SYSPARAM(2),HIGH,' 历史最低'+NUMTOSTR(历史最低[SYSPARAM(1)],2)),ALIGN5,colorFFFFFF;
底部出击★:=DI;
DRAWTEXT(BARPOS=SYSPARAM(2),HIGH,'底出击★'+NUMTOSTR(底部出击★[SYSPARAM(1)],2)),ALIGN5,colorFF;
建仓:=CH;
DRAWTEXT(BARPOS=SYSPARAM(2),HIGH,' 建仓'+NUMTOSTR(建仓[SYSPARAM(1)],2)),ALIGN5,colorCCCCFF;
支压:=JCFL;
DRAWTEXT(BARPOS=SYSPARAM(2),HIGH,' 支压'+NUMTOSTR(支压[SYSPARAM(1)],2)),ALIGN5,colorFFFFFF;
预测★:=DCFL;
DRAWTEXT(BARPOS=SYSPARAM(2),HIGH,' 预测★'+NUMTOSTR(预测★[SYSPARAM(1)],2)),ALIGN5,colorFFFF;
升浪:=SCFL;
DRAWTEXT(BARPOS=SYSPARAM(2),HIGH,' 升浪'+NUMTOSTR(升浪[SYSPARAM(1)],2)),ALIGN5,color3300CC;
 
飞狐百战百胜主图指标公式

资源下载链接   资源大小:unknow

手机移动版 - 关于我们 - 联系我们 - 广告合作 - 下载声明 - 网站帮助 - 友情链接 - 网站地图 - TOP
湘ICP备09016573号 增值电信业务经营ICP许可证:湘B2-20210269 湘公网安备43108102000039号
Copyright © GSZB.COM ,All Rights Reserved.
股票公式,股票指标,股票软件,股票知识