由于需要设置扩展数据,所以仅仅提供源码和图片,不提供公式下载
首先请把《辅助001》的最后一句改正一下,并把〈扩展数据12〉刷新(含历史)。这是改参数时少改了扩展数据12的。
★ 要把〈扩展数据12〉刷新(含历史)用DZH2也一样★
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
大单买:IF(CATEGORY=0,正总,"盛唐参考Y.大单买"(10)),LINETHICK0;
改式:
大单买:IF(CATEGORY=0,正总,"盛唐参考Y.大单买"(20)),LINETHICK0;
=========================================================
先装引用公式:〈分时引1〉
{分时引1 飞狐引用公式}
实际V:= VOL ;
Var1:=DYNAINFO(17)*REF(MA(VOL,5),1);
Var2:=DYNAINFO(7)=CLOSE AND DYNAINFO(10)=AMOUNT;
Var3:=DYNAINFO(7)=CLOSE AND DYNAINFO(10)=AMOUNT;
预测V1:=IF(DYNAINFO(7)=CLOSE AND DYNAINFO(10)=AMOUNT,Var1,Var2);
预测V:=IF(实际V>=预测V1,实际V,预测V1);
预比昨:预测V/REF(实际V,1),LINETHICK0;
比:=预测V/实际V;
人气:EXTDATA(1),LINETHICK0;
大单买:EXTDATA(2)*比,LINETHICK0;
总:IF(CATEGORY=0,AMOUNT/10000,V)*比,LINETHICK0;
日总诤:IF(CATEGORY=0,人气*总/100,FRACPART(人气)*总);
大单卖:大单买-日总诤,LINETHICK0;
总买入:=(总-日总诤)/2+日总诤;
总卖出:=(总-日总诤)/2;
咋总诤:REF(日总诤,1);
前总诤:REF(日总诤,2);
总净换:IF(CATEGORY=0,人气,日总诤/capital*100);
咋换:REF(总净换,1);
前换:REF(总净换,2);
三日总量:=SUM(总,3);
五日总量:=SUM(总,5);
九日总量:=SUM(总,9);
三日总诤:SUM(日总诤,3);
咋三:REF(三日总诤,1);
前三:REF(三日总诤,2);
三天总人气:=三日总诤/三日总量*100;
总净换3:IF(CATEGORY=0,三天总人气,三日总诤/capital*100);
咋换3:REF(总净换3,1);
前换3:REF(总净换3,2);
五日总诤:SUM(日总诤,5);
咋五:REF(五日总诤,1);
前五:REF(五日总诤,2);
五天总人气:=五日总诤/三日总量*100;
总净换5:IF(CATEGORY=0,五天总人气,五日总诤/capital*100);
咋换5:REF(总净换5,1);
前换5:REF(总净换5,2);
九日总诤:SUM(日总诤,9);
咋九:REF(五日总诤,1);
前九:REF(五日总诤,2);
九天总人气:=九日总诤/九日总量*100;
总净换9:IF(CATEGORY=0,九天总人气,九日总诤/capital*100);
咋换9:REF(总净换5,1);
前换9:REF(总净换5,2);
HS10:HHV(大单买,10);
HS11:HHV(大单卖,10);
==================================================================
副图指标:图表中的数据是上次刷新扩展数据时的数据。第二天若盘中不
刷新,收盘盘前都是头天的欺数据。因我才装飞狐,数据不全只能这样了。
{盛唐参考 }
FILLRGN(C>0,0,1500),COLOR8B30FF;
DIF:=EMA(CLOSE,20)-EMA(CLOSE,5);
DEA:=EMA(DIF,10);
MACD:=300*(DIF-DEA)*2/EMA(C,30);
VARA:=EMA(REF(CLOSE,1),4);
青山:=(SMA(MAX(CLOSE-VARA,0),6,1)/SMA(ABS(CLOSE-VARA),6,1)*100);
绿水:=青山<3.5;
火红的:=FILTER(MACD<0 AND MACD>REF(MACD,1) AND 青山<20,5);
太阳:=CROSS(青山,90);
DD:=IF(MACD>=0,MACD,0)*1.5;
STICKLINE(DD AND DD>REF(DD,1),0,DD*8,10,0),COLOR0000FF;
STICKLINE(DD AND DD<REF(DD,1),0,DD*8,8,1),COLOR0000FF;
FILLRGN((青山-25)*1.5>0,(青山-25)*15,0),COLOR5BE000;
FILLRGN(C>0,0,-500),Color999933;
DRAWTEXT(绿水,-100,'ャ'),ALIGN0,ColorDBDBDB;
DRAWTEXT(绿水,-100,'︼'),ALIGN0,Color688EC1;
DRAWTEXT(CROSS( 0,MACD)AND 青山>75 OR 太阳,980,'ヲ'),COLORDBDBDB;
AR1:=LLV(LOW,10);
AR2:=HHV(H,25);
AR3:=EMA((C-AR1)/(AR2-AR1)*4,4);
STICKLINE(CROSS(AR3,0.3),-500,-300,3,0),COLORRED,LINETHICK2;
STICKLINE(CROSS(3.5,AR3),1000,1200,2,0), COLOR00FFFF,LINETHICK2;
红红的天:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)
-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)
-LLV(LOW,27))*100,5,1),3,1);
DRAWICON(红红的天>10,-500,11);
DRAWICON(红红的天<=10,-500,10);
L1:=(CLOSE-LLV(LOW,11))/(HHV(HIGH,11)-LLV(LOW,11))*200-60;
龙K:SMA(L1,3,1)*10,COLORBBFFBB;
凤D:SMA(龙K,3,1),COLORBBFFBB;
有心就有好运!:0,POINTDOT;
龙行凤影:3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1),LINETHICK0;
百年好和:IF(CROSS(龙行凤影,2),700,-500),Color0000ff;
PARTLINE(百年好和=700,700),CROSSDOT,LINETHICK6,COLORFF33FF;
PARTLINE(百年好和=700,700),CIRCLEDOT,LINETHICK1,COLOR00CCFF;
总:"分时引1.总#day",LINETHICK0;
人气:="分时引1.人气#day";
大单买:"分时引1.大单买#day",LINETHICK0;
大单:=IF(CATEGORY=0,人气*总/100,FRACPART(人气)*总);
大单卖:"分时引1.大单卖#day",LINETHICK0;
S3:="分时引1.三日总诤#day";
S3换:="分时引1.总净换3#day";
昨S3:="分时引1.咋三#day";
昨S3换:="分时引1.咋换3#day";
前S3:="分时引1.前三#day";
前S3换:="分时引1.前换3#day";
S5:="分时引1.五日总诤#day";
S5换:="分时引1.总净换5#day";
昨S5:="分时引1.咋五#day";
昨S5换:="分时引1.咋换5#day";
前S5:="分时引1.前五#day";
前S5换:="分时引1.前换5#day";
S9:="分时引1.九日总诤#day";
S9换:="分时引1.总净换9#day";
HS10:="分时引1.HS10#day";
HS10换:=HS10/capital*100;
HS11:="分时引1.HS11#day";
HS11换:=HS11/capital*100;
大单净量:="分时引1.日总诤#day";
大单换:="分时引1.总净换#day";
昨大单净:="分时引1.咋总诤#day";
昨大单换:="分时引1.咋换#day";
前大单净:="分时引1.前总诤#day";
前大单换:="分时引1.前换#day";
DRAWTEXTEX(1,1,660,90,' 三日总净量:'+NUMTOSTR(S3,2)),COLORFFFFFF;
DRAWTEXTEX(1,1,840,90,'换%:'+NUMTOSTR(S3换,2)),COLORFFFFFF;
DRAWTEXTEX(1,1,660,320,' 昨三日总净:'+NUMTOSTR(昨S3,2)),coloryellow;
DRAWTEXTEX(1,1,840,320,'换%:'+NUMTOSTR(昨S3换,2)),coloryellow;
DRAWTEXTEX(1,1,660,550,' 前三日总净'+NUMTOSTR(前S3,2)),coloryellow;
DRAWTEXTEX(1,1,840,550,'换%:'+NUMTOSTR(前S3换,2)),coloryellow;
DRAWTEXTEX(1,1,660,780,' 大单净量:'+NUMTOSTR(大单净量,0)),ColorFF0000;
DRAWTEXTEX(1,1,840,780,'换%:'+NUMTOSTR(大单换,2)),ColorFF0000;
DRAWTEXTEX(1,1,375,90,' 五日总净量:'+NUMTOSTR(S5,2)),COLORFFFFFF;
DRAWTEXTEX(1,1,555,90,'%:'+NUMTOSTR(S5换,2)),COLORFFFFFF;
DRAWTEXTEX(1,1,375,320,' 昨五日总净:'+NUMTOSTR(昨S5,2)),coloryellow;
DRAWTEXTEX(1,1,555,320,'%:'+NUMTOSTR(昨S5换,2)),coloryellow;
DRAWTEXTEX(1,1,375,550,' 前五日总净:'+NUMTOSTR(前S5,2)),coloryellow;
DRAWTEXTEX(1,1,555,550,'%:'+NUMTOSTR(前S5换,2)),coloryellow;
DRAWTEXTEX(1,1,375,780,' 昨大单净:'+NUMTOSTR(昨大单净,2)),ColorFF0000;
DRAWTEXTEX(1,1,555,780,'%:'+NUMTOSTR(昨大单换,2)),ColorFF0000;
DRAWTEXTEX(1,1,55,90,' 九日总净量:'+NUMTOSTR(S9,2)),COLORFFFFFF;
DRAWTEXTEX(1,1,245,90,'换%:'+NUMTOSTR(S9换,2)),COLORFFFFFF;
DRAWTEXTEX(1,1,55,320,' 十日最大买:'+NUMTOSTR(HS10,2)),coloryellow;
DRAWTEXTEX(1,1,245,320,' %:'+NUMTOSTR(HS10换,2)),coloryellow;
DRAWTEXTEX(1,1,55,550,' 十日最大卖:'+NUMTOSTR(HS11,2)),coloryellow;
DRAWTEXTEX(1,1,245,550,' & |