以下是最牛版主力资金指标公式源码和使用说明
最牛版主力资金指标公式源码:
主力资金:=SMA(C,6.5,1);
指标公式:=SMA(C,13.5,1);
主力资金1:=SMA(C,3,1);
指标公式1:=SMA(C,8,1);
STICKLINE(主力资金>指标公式,主力资金,指标公式,2,0),COLORRED,LINETHICK2;
STICKLINE(指标公式>主力资金,主力资金,指标公式,2,0),COLORYELLOW,LINETHICK2;
cccsss1:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4;
cccsss2:=cccsss1+3*STD(cccsss1,13),LINETHICK2;
cccsss3:=cccsss1-3*STD(cccsss1,13);
cccsss4:=MA(CLOSE,60),LINETHICK2;
LC:=REF(CLOSE,1);
cccsss5:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;
DRAWTEXT(CROSS(82,cccsss5),HIGH*1.02,’减仓’),COLORFF9966,LINETHICK2;
cccsss6:=(2*C+H+L)/4;
eeess:=MA(cccsss6,5);
eeess1:=MA(cccsss6,5)*1.03;
eeess2:=MA(cccsss6,5)*0.97;
eeessa1:=LLV(cccsss6,21);
eeessa2:=HHV(cccsss6,21);
eeesa1:=EMA((cccsss6-eeessa1)/(eeessa2-eeessa1)*100,7);
SD:=EMA(0.667*REF(eeesa1,1)+0.333*eeesa1,5);
DRAWTEXT(IF(COUNT(CLOSE<REF(CLOSE,1),8)/8>6/10ANDVOL>=1.5*MA(VOL,5)AND
COUNT(eeesa1>=SD,3)ANDREF(LOW,1)=LLV(LOW,120),1,0),LOW*0.98,”),COLOR0099FF;
DRAWTEXT(IF(COUNT(CLOSE<REF(CLOSE,1),13)/13>6/10AND
COUNT(eeesa1>SD,6)ANDREF(LOW,5)=LLV(LOW,120)ANDREF(CLOSE>=OPEN,4)AND
REF(CLOSE>OPEN,3)ANDREF(CLOSE>OPEN,2)ANDREF(OPEN>CLOSE,1)AND
OPEN>REF(CLOSE,1),1,0),LOW*0.98,”),COLORYELLOW;
D:=MA(CLOSE,80)-MA(CLOSE,10)/3;
DRAWTEXT(IF(CLOSE<DANDVOL/240>MA(VOL,5)/240ANDCLOSE>REF(CLOSE,1)*1.08
ANDCLOSE<MA(CLOSE,13)*1.3,1,0),LOW*0.98,”),COLORRED;
VAR1:=EMA(EMA(CLOSE,9),9);
控盘:=(VAR1-REF(VAR1,1))/REF(VAR1,1)*1000;
STICKLINE(控盘<0,控盘,0,1,0),COLORGREEN;
A10:=CROSS(控盘,0);
无庄控盘:IF(控盘<0,控盘,0),COLORYELLOW,LINETHICK1;
开始控盘:IF(A10,5,0),LINETHICK2,COLORYELLOW;
STICKLINE(控盘>REF(控盘,1)AND控盘>0,控盘,0,1,0),COLORRED;
有庄控盘:IF(控盘>REF(控盘,1)AND控盘>0,控盘,0),COLORRED,LINETHICK1;
VAR2:=100*WINNER(CLOSE*0.95);
STICKLINE(VAR2>50ANDCOST(85)<CLOSEAND控盘>0,控盘,0,1,0),COLORFF00FF;
高度控盘:IF(VAR2>50ANDCOST(85)<CLOSEAND控盘>0,控盘,0),COLORFF00FF,LINETHICK1;
STICKLINE(控盘<REF(控盘,1)AND控盘>0,控盘,0,1,0),COLOR00FF00;
控盘趋弱:IF(控盘<REF(控盘,1)AND控盘>0,控盘,0),COLOR00FF00,LINETHICK1;
DP1:=INDEXADV/(INDEXADV+INDEXDEC)*INDEXA/100000000;
DP2:=WMA(EMA(DP1,3),3);
A:=(HHV(DP2,5)-DP2)/(HHV(DP2,5)-LLV(DP2,5))*100-80;
空头:EMA(3*A-2*SMA(A,18,1),5),LINETHICK3,PRECISION2,COLORGREEN;
B:=(DP2-LLV(DP2,5))/(HHV(DP2,5)-LLV(DP2,5))*80-80;
多头:3*SMA(B,3,1)-2*SMA(SMA(B,3,1),5,1),LINETHICK3,PRECISION2,COLORMAGENTA;
大盘1:=(INDEXC*2+INDEXH+INDEXL)/4;
大盘K:=EMA(大盘1,13)-EMA(大盘1,34);
大盘D:=EMA(大盘K,3);
大盘B:=(大盘K-大盘D);
大资金进:if(大盘B>=0,大盘B*8.8,0),LINETHICK,PRECISION2,COLORRED;
大资金撤:if(大盘B<=0,大盘B*2.58,0),LINEDOT,PRECISION2,COLORWHITE;
STICKLINE(大盘B<=0and大资金撤<=ref(大资金撤,1),0,大资金撤,2,0),COLORCYAN;
STICKLINE(大盘B<=0and大资金撤>=ref(大资金撤,1),0,大资金撤,2,0),ColorFFA6FF;
STICKLINE(大盘B>=0and大资金进>=ref(大资金进,1),0,大资金进,2,0),COLORRED;
STICKLINE(大盘B>=0and大资金进<=ref(大资金进,1),0,大资金进,2,0),COLORYELLOW;
PARTLINE(1,大资金进),LINEDOT,COLORYELLOW;
PARTLINE(1,0),LINETHICK2,COLORGRAY;
最牛版主力资金指标公式截图
评论(0)