飞狐资金盘解指标公式,飞狐时间密码主图指标公式
admin888
|飞狐资金盘解指标公式,飞狐时间密码主图指标公式
飞狐资金盘解指标公式
DRAWGBK(1,colorrgb(0,0,100),colorrgb(0,0,0),1);
VARIABLE:WDAY[7]='星期六';
WDAY[1]:='星期日';
WDAY[2]:='星期一';
WDAY[3]:='星期二';
WDAY[4]:='星期三';
WDAY[5]:='星期四';
WDAY[6]:='星期五';
FY:=YEAR;
FM:=MONTH;
FD:=DAY;
WD:=WEEkdAY;
P:=SYSPARAM(1);
stR1:=''+'今日: '+NUMTOSTR(FY[P],0)+'年'+NUMTOSTR(FM[P],0)+'月'+NUMTOSTR(FD[P],0)+'日 '+WDAY[WD[P]+1];
DRAWTEXTEX(CLOSE,1,480,22,STR1),colorddfF;
AA:=vol/((HIGH-LOW)*2-(A(CLOSE-OPEN)));
主动买盘:=IF(CLOSE>OPEN,AA*(HIGH-LOW),IF(CLOSE
主动卖盘=IF(CLOSE>OPEN,-AA*(HIGH-CLOSE+OPEN-LOW),IF(CLOSE
卖盘:=VOL-主动买盘;
V1:=LLV(LOW,10);
V2:=HHV(HIGH,25);
价位线:=ema((CLOSE-V1)/(V2-V1)*4,4);
DRAWTEXT(crOSS(价位线,0.45),AA,'买'),color0000FF;
DRAWTEXT(CROSS(3.1,价位线),AA,'卖'),colorFF00;
VERTLINE(CROSS(价位线,0.45)),color0000FF,LINEDASHDOT;
VERTLINE(CROSS(3.1,价位线)),colorFF00,LINEDASHDOT;
WJ:=(HIGH+LOW+CLOSE)/3;
VD1:=IF(HIGH=LOW,1,HIGH-maX(OPEN,CLOSE));
VD2:=IF(HIGH=LOW,1,MAX(CLOSE,OPEN)-WJ);
VD3:=IF(HIGH=LOW,1,MIN(OPEN,CLOSE)-LOW);
VD4:=IF(HIGH=LOW,1,WJ-MIN(CLOSE,OPEN));
VD5:=VOL/(IF(HIGH=LOW,4,HIGH-LOW));
VD6:=VD1*VD5;
VD7:=VD2*VD5;
VD8:=VD3*VD5;
VD9:=VD4*VD5;
买入量:=VD9+VD8;
卖出量:=VD6+VD7;
卖量:=VOL-买入量;
卖量大:=(卖量-买入量)/卖量>0.4;
买量大:=(买入量-卖量)/买入量>0.4;
买入资金:=买入量*CLOSE/100;
卖出资金:=卖出量*CLOSE/100;
资金进出:=买入资金-卖出资金;
十天资金:=SUM(资金进出,10),Color7D9585;
五天资金:=SUM(资金进出,5),ColorC0C0C0;
三天资金:=SUM(资金进出,3),Color00971B;
一天资金:=SUM(资金进出,1),Color4040A6;
量5:=MA(VOL,5),colorred;
量10:=MA(VOL,10);
VAR1:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
成交:VOL,POINTDOT,COLORE4C1EE;
主动买盘:IF(CLOSE>OPEN,VAR1*(HIGH-LOW),IF(CLOSE
主动卖盘:IF(CLOSE>OPEN,VAR1*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE
STICKLINE(VOL>0,VOL,0,8,0),ColorA697AF;
STICKLINE(主动买盘>0,0,主动买盘,7,0),color6F41ED;
STICKLINE(主动卖盘>0,0,主动卖盘,5,0),COLOR6CD100;
PARTLINE(MA(VOL,5)>=REF(MA(VOL,5),1),MA(VOL,5)),COLORRED,LINETHICK2;
PARTLINE(MA(VOL,5)<=REF(MA(VOL,5),1),MA(VOL,5)),COLOR00C700,LINETHICK2;
换手率:IF(CAPITAL=0,INDEXV/ESTDATA(12),VOL/FINANCE(7)),PRECISION2,LINETHICK0;
买卖比:=主动买盘/主动卖盘;
买卖资金比:=买入资金/卖出资金;
挂单买盘:=MA(主动买盘,3);
挂单卖盘:=(MA(主动卖盘,3));
yyzq:=(sysparam(3)-sysparam(2));
FILL:=barscount(c)>SYSPARAM(2) and barscount(c)
pich:=refx(hhv(成交,yyzq),yyzq);
picl:=refx(llv(挂单卖盘,yyzq),yyzq);
fillrgn(fill,refx(pich,yyzq),refx(picl,yyzq)),Color000093;
DRAWTEXTEX(CLOSE,1,230,80,'■一天资金:'+NUMTOSTR(一天资金[SYSPARAM(1)],2)+'\n'+'■三天资金:'+NUMTOSTR(三天资金[SYSPARAM(1)],2)+'\n'+'■五天资金:'+NUMTOSTR(五天资金[SYSPARAM(1)],2)+'\n'+'■十天资金:'+NUMTOSTR(十天资金[SYSPARAM(1)],2)),ALIGN4,colorCCFFCC;
DRAWTEXTEX(c,100,1,120,'┃当日买卖总量 = '+NUMTOSTR(VOL,2)),ColorA6B7F3;
DRAWTEXTEX(c,100,1,200,'┃当日主动买量 = '+NUMTOSTR(主动买盘,2)),Color0000FF;
DRAWTEXTEX(c,100,1,280,'┃当日主动卖量 = '+NUMTOSTR(主动卖盘,2)),Color00FF00;
DRAWTEXTEX(c,100,1,360,'┃当日买卖比 : '+NUMTOSTR(买卖比,2)),ColorFF00FF;
DRAWTEXTEX(c,100,1,440,'┃买入资金累计万元 : '+NUMTOSTR(买入资金,2)),Colorred,LINETHICK1;
DRAWTEXTEX(c,100,1,520,'┃卖出资金累计万元 : '+NUMTOSTR(卖出资金,2)),Color00ff00,LINETHICK1;
DRAWTEXTEX(c,100,1,600,'┃资金进出万元 : '+NUMTOSTR(资金进出,2)),Coloryellow,LINETHICK1;
DRAWTEXTEX(c,100,1,680,'┃买卖资金比 : '+NUMTOSTR(买卖资金比,2)),Coloryellow,LINETHICK1;
DRAWTEXTEX(c,100,1,760,'┃当日挂单买盘 : '+NUMTOSTR(挂单买盘,2)),Colorred,LINETHICK1;
DRAWTEXTEX(c,100,1,840,'┃当日挂单卖盘 : '+NUMTOSTR(挂单卖盘,2)),Color00ff00,LINETHICK1;
飞狐时间密码主图指标公式
立春:=FILTER(MONTH=2 AND (DAY=4 OR DAY=6 ),2);
雨水:=FILTER(MONTH=2 AND (DAY=19 OR DAY=21),2);
惊蛰:=FILTER(MONTH=3 AND (DAY=6 OR DAY=8 ),2);
春分:=FILTER(MONTH=3 AND (DAY=21 OR DAY=23),2);
清明:=FILTER(MONTH=4 AND (DAY=5 OR DAY=7 ),2);
谷雨:=FILTER(MONTH=4 AND (DAY=20 OR DAY=22),2);
立夏:=FILTER(MONTH=5 AND (DAY=7 OR DAY=9 ),2);
小满:=FILTER(MONTH=5 AND (DAY=21 OR DAY=23),2);
芒种:=FILTER(MONTH=6 AND (DAY=6 OR DAY=8 ),2);
夏至:=FILTER(MONTH=6 AND (DAY=21 OR DAY=23),2);
小暑:=FILTER(MONTH=7 AND (DAY=7 OR DAY=9 ),2);
大暑:=FILTER(MONTH=7 AND (DAY=23 OR DAY=25),2);
立秋:=FILTER(MONTH=8 AND (DAY=8 OR DAY=10 ),2);
处暑:=FILTER(MONTH=8 AND (DAY=23 OR DAY=25),2);
白露:=FILTER(MONTH=9 AND (DAY=8 OR DAY=10 ),2);
秋分:=FILTER(MONTH=9 AND (DAY=23 OR DAY=25),2);
寒露:=FILTER(MONTH=10 AND (DAY=8 OR DAY=10 ),2);
霜降:=FILTER(MONTH=10 AND (DAY=23 OR DAY=25),2);
立冬:=FILTER(MONTH=11 AND (DAY=8 OR DAY=10 ),2);
小雪:=FILTER(MONTH=11 AND (DAY=23 OR DAY=25),2);
大雪:=FILTER(MONTH=12 AND (DAY=7 OR DAY=9 ),2);
冬至:=FILTER(MONTH=12 AND (DAY=22 OR DAY=24),2);
小寒:=FILTER(MONTH=1 AND (DAY=6 OR DAY=8 ),2);
大寒:=FILTER(MONTH=1 AND (DAY=20 OR DAY=22),2);
寅月:=立春;
卯月:=惊蛰;
辰月:=清明;
巳月:=立夏;
午月:=芒种;
未月:=小暑;
申月:=立秋;
酉月:=白露;
戌月:=寒露;
亥月:=立冬;
子月:=大雪;
丑月:=小寒;
DRAWTEXT(寅月,LOW*0.96,'寅'),COLORGREEN,ALIGN0;
DRAWTEXT(卯月,LOW*0.96,'卯'),COLORGREEN,ALIGN0;
DRAWTEXT(辰月,LOW*0.96,'辰'),COLOR0099FF,ALIGN0;
DRAWTEXT(巳月,LOW*0.96,'巳'),COLORmaGENTA,ALIGN0;
DRAWTEXT(午月,LOW*0.96,'午'),COLORMAGENTA,ALIGN0;
DRAWTEXT(未月,LOW*0.96,'未'),COLOR0099FF,ALIGN0;
DRAWTEXT(申月,LOW*0.96,'申'),COLORYELLOW,ALIGN0;
DRAWTEXT(酉月,LOW*0.96,'酉'),COLORYELLOW,ALIGN0;
DRAWTEXT(戌月,LOW*0.96,'戌'),COLOR0099FF,ALIGN0;
DRAWTEXT(亥月,LOW*0.96,'亥'),COLORBLUE,ALIGN0;
DRAWTEXT(子月,LOW*0.96,'子'),COLORBLUE,ALIGN0;
DRAWTEXT(丑月,LOW*0.96,'丑'),COLOR0099FF,ALIGN0;
stCKLINE(立春,HIGH,LOW,0.1,1),colorgreen;
STICKLINE(立春,OPEN,CLOSE,2,1),linethick1,colorgreen;
DRAWTEXT(立春,HIGH*1.02,'立春'),COLORgreen,ALIGN0;
STICKLINE(雨水,HIGH,LOW,0.1,1),colorgreen;
STICKLINE(雨水,OPEN,CLOSE,2,1),linethick1,colorgreen;
DRAWTEXT(雨水,HIGH*1.02,'雨水'),COLORgreen,ALIGN0;
STICKLINE(惊蛰,HIGH,LOW,0.1,1),colorgreen;
STICKLINE(惊蛰,OPEN,CLOSE,2,1),linethick1,colorgreen;
DRAWTEXT(惊蛰,HIGH*1.02,'惊蛰'),COLORgreen,ALIGN0;
STICKLINE(春分,HIGH,LOW,0.1,1),colorgreen;
STICKLINE(春分,OPEN,CLOSE,2,1),linethick1,colorgreen;
DRAWTEXT(春分,HIGH*1.02,'春分'),COLORgreen,ALIGN0;
STICKLINE(清明,HIGH,LOW,0.1,1),colorgreen;
STICKLINE(清明,OPEN,CLOSE,2,1),linethick1,colorgreen;
DRAWTEXT(清明,HIGH*1.02,'清明'),COLORgreen,ALIGN0;
STICKLINE(谷雨,HIGH,LOW,0.1,1),colorgreen;
STICKLINE(谷雨,OPEN,CLOSE,2,1),linethick1,colorgreen;
DRAWTEXT(谷雨,HIGH*1.02,'谷雨'),COLORgreen,ALIGN0;
STICKLINE(立夏,HIGH,LOW,0.1,1),COLORMAGENTA;
STICKLINE(立夏,OPEN,CLOSE,2,1),linethick1,COLORMAGENTA;
DRAWTEXT(立夏,HIGH*1.02,'立夏'),COLORMAGENTA,ALIGN0;
STICKLINE(小满,HIGH,LOW,0.1,1),COLORMAGENTA;
STICKLINE(小满,OPEN,CLOSE,2,1),linethick1,COLORMAGENTA;
DRAWTEXT(小满,HIGH*1.02,'小满'),COLORMAGENTA,ALIGN0;
STICKLINE(芒种,HIGH,LOW,0.1,1),COLORMAGENTA;
STICKLINE(芒种,OPEN,CLOSE,2,1),linethick1,COLORMAGENTA;
DRAWTEXT(芒种,HIGH*1.02,'芒种'),COLORMAGENTA,ALIGN0;
STICKLINE(夏至,HIGH,LOW,0.1,1),COLORMAGENTA;
STICKLINE(夏至,OPEN,CLOSE,2,1),linethick1,COLORMAGENTA;
DRAWTEXT(夏至,HIGH*1.02,'夏至'),COLORMAGENTA,ALIGN0;
STICKLINE(小暑,HIGH,LOW,0.1,1),COLORMAGENTA;
STICKLINE(小暑,OPEN,CLOSE,2,1),linethick1,COLORMAGENTA;
DRAWTEXT(小暑,HIGH*1.02,'小暑'),COLORMAGENTA,ALIGN0;
STICKLINE(大暑,HIGH,LOW,0.1,1),COLORMAGENTA;
STICKLINE(大暑,OPEN,CLOSE,2,1),linethick1,COLORMAGENTA;
DRAWTEXT(大暑,HIGH*1.02,'大暑'),COLORMAGENTA,ALIGN0;
STICKLINE(立秋,HIGH,LOW,0.1,1),COLORYELLOW;
STICKLINE(立秋,OPEN,CLOSE,2,1),linethick1,COLORYELLOW;
DRAWTEXT(立秋,HIGH*1.02,'立秋'),COLORYELLOW,ALIGN0;
STICKLINE(处暑,HIGH,LOW,0.1,1),COLORYELLOW;
STICKLINE(处暑,OPEN,CLOSE,2,1),linethick1,COLORYELLOW;
DRAWTEXT(处暑,HIGH*1.02,'处暑'),COLORYELLOW,ALIGN0;
STICKLINE(白露,HIGH,LOW,0.1,1),COLORYELLOW;
STICKLINE(白露,OPEN,CLOSE,2,1),linethick1,COLORYELLOW;
DRAWTEXT(白露,HIGH*1.02,'白露'),COLORYELLOW,ALIGN0;
STICKLINE(秋分,HIGH,LOW,0.1,1),COLORYELLOW;
STICKLINE(秋分,OPEN,CLOSE,2,1),linethick1,COLORYELLOW;
DRAWTEXT(秋分,HIGH*1.02,'秋分'),COLORYELLOW,ALIGN0;
STICKLINE(寒露,HIGH,LOW,0.1,1),COLORYELLOW;
STICKLINE(寒露,OPEN,CLOSE,2,1),linethick1,COLORYELLOW;
DRAWTEXT(寒露,HIGH*1.02,'寒露'),COLORYELLOW,ALIGN0;
STICKLINE(霜降,HIGH,LOW,0.1,1),COLORYELLOW;
STICKLINE(霜降,OPEN,CLOSE,2,1),linethick1,COLORYELLOW;
DRAWTEXT(霜降,HIGH*1.02,'霜降'),COLORYELLOW,ALIGN0;
STICKLINE(立冬,HIGH,LOW,0.1,1),colorwhite;
STICKLINE(立冬,OPEN,CLOSE,2,1),linethick1,colorwhite;
DRAWTEXT(立冬,HIGH*1.02,'立冬'),COLORWHITE,ALIGN0;
STICKLINE(小雪,HIGH,LOW,0.1,1),colorwhite;
STICKLINE(小雪,OPEN,CLOSE,2,1),linethick1,colorwhite;
DRAWTEXT(小雪,HIGH*1.02,'小雪'),COLORWHITE,ALIGN0;
STICKLINE(大雪,HIGH,LOW,0.1,1),colorwhite;
STICKLINE(大雪,OPEN,CLOSE,2,1),linethick1,colorwhite;
DRAWTEXT(大雪,HIGH*1.02,'大雪'),COLORWHITE,ALIGN0;
STICKLINE(冬至,HIGH,LOW,0.1,1),colorwhite;
STICKLINE(冬至,OPEN,CLOSE,2,1),linethick1,colorwhite;
DRAWTEXT(冬至,HIGH*1.02,'冬至'),COLORWHITE,ALIGN0;
STICKLINE(小寒,HIGH,LOW,0.1,1),colorwhite;
STICKLINE(小寒,OPEN,CLOSE,2,1),linethick1,colorwhite;
DRAWTEXT(小寒,HIGH*1.02,'小寒'),COLORWHITE,ALIGN0;
STICKLINE(大寒,HIGH,LOW,0.1,1),colorwhite;
STICKLINE(大寒,OPEN,CLOSE,2,1),linethick1,colorwhite;
DRAWTEXT(大寒,HIGH*1.02,'大寒'),COLORWHITE,ALIGN0;
M3:MA(CLOSE,3),ColorFFFfff;
M5:MA(CLOSE,5),ColorFFff00;
m7:ma(c,7);
m14:ma(c,14),POINTDOT,linethick3;
m28:ma(c,28),POINTDOT,linethick3;
m49:ma(c,49);
m64:ma(c,64);
m98:ma(c,98);
E1:=BARSCOUNT(C);
AH:=HHV(H,200);
AL:=LLV(L,200);
B0:=(AH-AL)/40;
KB1:=H+B0;
KB2:=L-B0;
STICKLINE((E1+0)/34=FLOOR((E1+0)/34),KB2,KB2-0.8*B0,1,0),COLORYELLOW,LINETHICK3;
DRAWTEXT((E1+0)/34=FLOOR((E1+0)/34),KB2-B0,'满窗'),ALIGN0,COLORYELLOW;
STICKLINE((E1+0)/17=FLOOR((E1+0)/17),KB2,KB2-0.8*B0,1,0),COLORYELLOW,LINETHICK3;
DRAWTEXT((E1+0)/17=FLOOR((E1+0)/17),KB2-B0,'半窗'),ALIGN0,COLORYELLOW;
牛市通网是一个牛股推荐网与低风险投资知识网,可以在线联系客服领取牛股。牛市通网从权威的投资专家、金融分析师等投资信息中挑选优质的文章进行发布。牛市通网主要为投资者提供股票知识、股票观点、股票分析和明智金融投资讨论等信息。