沪深PBX1:=(EXPMA((INDEXC+INDEXH+INDEXL)/3,4)+MA((INDEXC+INDEXH+INDEXL)/3,4*2)+MA((INDEXC+INDEXH+INDEXL)/3,4*4))/3;
沪深PBX2:=(EXPMA((INDEXC+INDEXH+INDEXL)/3,5)+MA((INDEXC+INDEXH+INDEXL)/3,5*2)+MA((INDEXC+INDEXH+INDEXL)/3,5*4))/3;
沪深多头趋势:=沪深PBX1>沪深PBX2;
沪深TYP:=(INDEXC+INDEXH+INDEXL)/3;
沪深C15:=(沪深TYP-MA(沪深TYP,15))/(0.015*AVEDEV(沪深TYP,15));
沪深C10:=(沪深TYP-MA(沪深TYP,10))/(0.015*AVEDEV(沪深TYP,10));
沪深C5:=(沪深TYP-MA(沪深TYP,5))/(0.015*AVEDEV(沪深TYP,5));
沪深C3:=(沪深TYP-MA(沪深TYP,3))/(0.015*AVEDEV(沪深TYP,3));
沪深最佳买点1:=沪深多头趋势=1 AND 沪深C15>0 AND 沪深C3<=-100;
沪深最佳买点2:=沪深多头趋势=1 AND 沪深C15>0 AND 沪深C5<=-100;
沪深最佳买点3:=沪深多头趋势=1 AND 沪深C15>0 AND 沪深C10>沪深C15 AND 沪深C3<=-100;
沪深最佳买点4:=沪深多头趋势=1 AND 沪深C15>0 AND 沪深C10>沪深C15 AND 沪深C5<=-50;
沪深最佳买点:=沪深最佳买点1=1 OR 沪深最佳买点2=1 OR 沪深最佳买点3=1 OR 沪深最佳买点4=1;
沪深较佳买点1:=沪深多头趋势=1 AND 沪深C15>0 AND 沪深C3<-50 AND 沪深C3>-100;
沪深较佳买点2:=沪深多头趋势=1 AND 沪深C15>0 AND 沪深C5<-50 AND 沪深C5>-100;
沪深较佳买点3:=沪深多头趋势=1 AND 沪深C15>0 AND 沪深C10>沪深C15 AND 沪深C3<0 AND 沪深C3>-50;
沪深较佳买点4:=沪深多头趋势=1 AND 沪深C15>0 AND 沪深C10>沪深C15 AND 沪深C5<0 AND 沪深C5>-50;
沪深较佳买点:=沪深较佳买点1=1 OR 沪深较佳买点2=1 OR 沪深较佳买点3=1 OR 沪深较佳买点4=1;
沪深次佳买点1:=沪深多头趋势=1 AND 沪深C15>0 AND 沪深C3>0;
沪深次佳买点2:=沪深多头趋势=1 AND 沪深C15>0 AND 沪深C5>0;
沪深次佳买点3:=沪深多头趋势=1 AND 沪深C15>0 AND 沪深C10>沪深C15 AND 沪深C3>0;
沪深次佳买点4:=沪深多头趋势=1 AND 沪深C15>0 AND 沪深C10>沪深C15 AND 沪深C5>0;
沪深次佳买点:=沪深次佳买点1=1 OR 沪深次佳买点2=1 OR 沪深次佳买点3=1 OR 沪深次佳买点4=1;
YM:=EMA(SLOPE((CLOSE+HIGH+LOW)/3,24)*20+(CLOSE+HIGH+LOW)/3,48),COLORWHITE,LINETHICK1;
YM1:=EMA(YM,3),COLORWHITE,LINETHICK1;
TYP:=(HIGH+LOW+CLOSE)/3;
CI15:=(TYP-MA(TYP,15))/(0.015*AVEDEV(TYP,15));
CI10:=(TYP-MA(TYP,10))/(0.015*AVEDEV(TYP,10));
CI5:=(TYP-MA(TYP,5))/(0.015*AVEDEV(TYP,5));
CI3:=(TYP-MA(TYP,3))/(0.015*AVEDEV(TYP,3));
EMAH3:=REF(EMA(H,3),1);
EMAL3:=REF(EMA(L,3),1);
EMAH5:=REF(EMA(H,5),1);
EMAL5:=REF(EMA(L,5),1);
EMAZ:=(EMAH3+EMAL3)/2;
EMA3:=(EMAH3-EMAL3)/4+EMAL3;
止盈价:=EMAH3+(EMAH3-EMAL3)/4;
获利率:=(止盈价-EMAZ)/EMAZ*100;
止损价:=EMAL3-(EMAH3-EMAL3)/4;
止损率:=(止损价-EMAZ)/EMAZ*100;
盈利率:=(止盈价-C)/C*100;
PBX1:=(EXPMA((C+H+L)/3,4)+MA((C+H+L)/3,4*2)+MA((C+H+L)/3,4*4))/3;
PBX2:=(EXPMA((C+H+L)/3,5)+MA((C+H+L)/3,5*2)+MA((C+H+L)/3,5*4))/3;
大单动向:=(LARGEINTRDVOL-LARGEOUTTRDVOL)*10000/FINANCE(7);
涨跌动因:=IF(TRADENUM>0,(TRADEOUTNUM-TRADEINNUM)*100/TRADENUM,0);
大单差分:=IF(TRADENUM>0,(LARGETRDINNUM-LARGETRDOUTNUM)/TRADENUM*100,0);
DDZ1:=大单差分*7;
DDZ2:=大单差分*3;
主力活跃度:=LARGEINTRDVOL-LARGEOUTTRDVOL;
主力净流入:=(LARGEINTRDVOL-LARGEOUTTRDVOL)*AMO/V/10000;
买入力度:=LARGEINTRDVOL*100/VOL;
卖出力度:=LARGEOUTTRDVOL*100/VOL;
买卖力度:=买入力度/卖出力度;
超B:=L2_AMO(0,2)/10000.0;
大B:=L2_AMO(1,2)/10000.0;
中B:=L2_AMO(2,2)/10000.0;
小B:=L2_AMO(3,2)/10000.0;
超S:=L2_AMO(0,3)/10000.0;
大S:=L2_AMO(1,3)/10000.0;
中S:=L2_AMO(2,3)/10000.0;
小S:=L2_AMO(3,3)/10000.0;
资金流向:=(超B+大B+中B+小B)-(超S+大S+中S+小S);
资金比:=(超B+大B+中B+小B)/(超S+大S+中S+小S);
大单比:=(超B+大B+中B)/(超S+大S+中S);
TOTAL:=IF(PERIOD=1,5,IF(PERIOD=2,15,IF(PERIOD=3,30,IF(PERIOD=4,60,IF(PERIOD=5,240,1)))));
MTIME:=MOD(FROMOPEN,TOTAL);
CTIME:=IF(MTIME<0.5,TOTAL,MTIME);
虚拟量:=IF(CURRBARSCOUNT=1,VOL*TOTAL/CTIME,DRAWNULL);
虚拟量比:=虚拟量/REF(VOL,1),COLORWHITE,LINETHICK0;
虚量值:=(虚拟量-VOL)/VOL,COLORWHITE,LINETHICK0;
股池资金:=虚拟量比>1 AND 大单动向>0 AND 涨跌动因>0 AND 资金流向>0 AND 资金比>1 AND 大单比>1;
时间1030定位0:=虚量值>3.29 AND 虚拟量比>1.2 AND 大单动向>0 AND 涨跌动因>0 AND 大单比>1;
时间1130定位0:=虚量值<3.29 AND 虚量值>=1 AND 虚拟量比>1.2 AND 大单动向>0 AND 涨跌动因>0 AND 大单比>1;
时间14定位0:=虚量值<1 AND 虚量值>=0.4 AND 虚拟量比>1.2 AND 大单动向>0 AND 涨跌动因>0 AND 大单比>1;
时间15定位0:=虚量值<0.4 AND 虚拟量比>1.2 AND 大单动向>0 AND 涨跌动因>0 AND 大单比>1;
目标资金:=时间1030定位0=1 OR 时间1130定位0=1 OR 时间14定位0=1 OR 时间15定位0=1;
时间1030定位1:=虚量值>3.29 AND 虚拟量比>1.2 AND 大单动向>=0.01 AND 涨跌动因>5 AND 大单比>1;
时间1130定位1:=虚量值<3.29 AND 虚量值>=1 AND 虚拟量比>1.2 AND 大单动向>=0.01 AND 涨跌动因>5 AND 大单比>1;
时间14定位1:=虚量值<1 AND 虚量值>=0.4 AND 虚拟量比>1.2 AND 大单动向>=0.01 AND 涨跌动因>5 AND 大单比>1;
时间15定位1:=虚量值<0.4 AND 虚拟量比>1.2 AND 大单动向>=0.01 AND 涨跌动因>5 AND 大单比>1;
锁定资金:=时间1030定位1=1 OR 时间1130定位1=1 OR 时间14定位1=1 OR 时间15定位1=1;
时间1030定位2:=虚量值>3.29 AND 虚拟量比>1.5 AND 大单动向>=0.02 AND 涨跌动因>5 AND 大单比>1;
时间1130定位2:=虚量值<3.29 AND 虚量值>=1 AND 虚拟量比>1.5 AND 大单动向>=0.02 AND 涨跌动因>5 AND 大单比>1;
时间14定位2:=虚量值<1 AND 虚量值>=0.4 AND 虚拟量比>1.5 AND 大单动向>=0.02 AND 涨跌动因>5 AND 大单比>1;
时间15定位2:=虚量值<0.4 AND 虚拟量比>1.5 AND 大单动向>=0.02 AND 涨跌动因>5 AND 大单比>1;
稳zhuan资金:=时间1030定位2=1 OR 时间1130定位2=1 OR 时间14定位2=1 OR 时间15定位2=1;
时间1030定位3:=虚量值>3.29 AND 虚拟量比>2 AND 大单动向>=0.05 AND 涨跌动因>10 AND 大单比>1;
时间1130定位3:=虚量值<3.29 AND 虚量值>=1 AND 虚拟量比>2 AND 大单动向>=0.05 AND 涨跌动因>10 AND 大单比>1;
时间14定位3:=虚量值<1 AND 虚量值>=0.4 AND 虚拟量比>2 AND 大单动向>=0.05 AND 涨跌动因>10 AND 大单比>1;
时间15定位3:=虚量值<0.4 AND 虚拟量比>2 AND 大单动向>=0.05 AND 涨跌动因>10 AND 大单比>1;
中jiang资金:=时间1030定位3=1 OR 时间1130定位3=1 OR 时间14定位3=1 OR 时间15定位3=1;
时间1030定位4:=虚量值>3.29 AND 虚拟量比>2.5 AND 大单动向>=0.1 AND 涨跌动因>10 AND 大单比>1;
时间1130定位4:=虚量值<3.29 AND 虚量值>=1 AND 虚拟量比>2.5 AND 大单动向>=0.1 AND 涨跌动因>10 AND 大单比>1;
时间14定位4:=虚量值<1 AND 虚量值>=0.4 AND 虚拟量比>2.5 AND 大单动向>=0.1 AND 涨跌动因>10 AND 大单比>1;
时间15定位4:=虚量值<0.4 AND 虚拟量比>2.5 AND 大单动向>=0.1 AND 涨跌动因>10 AND 大单比>1;
百中资金:=时间1030定位4=1 OR 时间1130定位4=1 OR 时间14定位4=1 OR 时间15定位4=1;
XT1:=REF(CI15,1)>REF(CI10,1) AND REF(CI10,1)>REF(CI5,1) AND REF(CI5,1)>REF(CI3,1) AND REF(CI15,1)<120 AND REF(CI10,1)>0 AND REF(CI3,1)<0 AND CI15>CI10 AND CI10>0;
XT2:=REF(CI15,1)>REF(CI10,1) AND REF(CI10,1)>REF(CI5,1) AND REF(CI3,1)>REF(CI5,1) AND REF(CI5,1)<-100 AND REF(CI3,1)<0 AND REF(CI15,1)<120 AND REF(CI10,1)>0 AND CI15>CI10 AND CI10>0;
XT3:=REF(CI15,1)<REF(CI10,1) AND REF(CI15,1)>0 AND REF(CI10,1)<110 AND REF(CI3,1)<0 AND CI15>0;
形态定位:=XT1=1 OR XT2=1 OR XT3=1;
高度:=(XMA(XMA(H,60),60)-XMA(XMA(L,60),60))*3.5+XMA(XMA(H,60),60);
冠军1号QQ:=474131998;
目标买点:=PBX1>PBX2 AND CI15>0 AND CI15<120 AND CI10>0 AND CI10<120 AND REF(CI15,1)>0 AND EMA(H,3)>EMA(H,5) AND EMA(L,3)>EMA(L,5) AND EMA(L,5)>EMA(L,10) AND O<EMA3 AND C |