分时副图【温馨圣龙】,也就是:虎拓圣龙
variable:x=0;
买入力度:"丰赢数据.买入力度",LINETHICK0;
卖出力度:"丰赢数据.卖出力度",LINETHICK0;
流入额:="丰赢数据.流入额"/10000;
流出额:="丰赢数据.流出额"/10000;
净额:流入额-流出额,LINETHICK0;
X:=(买入力度-卖出力度);
SUMx:SUM(x,0),color00ffff;
SUMxp:=x*10;
CT:count(SUMXP>0,0),linethick0;
ST:count(SUMXP<0,0),linethick0;
CZ:CT-ST,LINETHICK0,color00ffff;
T1:=V>MA(V,0)*5;
T2:=SLOPE(c,5)>0.02;
T3:=SLOPE(c,4)>0.016;
X1:=t1 and t2 and SUMX>0 and ct>st*1.5;
X2:=(count(SUMXP>0,6)>5 OR count(SUMXP>0,10)>7) AND SUMX>0.1 and T3;
Y:=hhv(sumxp,0);
B:x1*y,color999999;;
Bt:X2*y,coloraaaa00,LINETHICK1;
z1:BARSSINCE(b),LINETHICK0;
z2:BARSLAST(b),LINETHICK0;
DRAWTEXT(b and z1=z2,y,'B'),colorFFFFFF,LINETHICK7;
drawicon(b and z1=z2,y*1.1,12),LINETHICK7;
{分析家公式网www.fxjgsw.com}
SUMxp:x*10,colorstICK,LINETHICK2;
{拾金点}
bn:="黄金眼.买卖气#day";
JD:=bn>25;
z3:BARSSINCE(jd),LINETHICK0;
z4:BARSLAST(jd),LINETHICK0;
DRAWTEXT(jd and z3=z4,y,'B'),colorFFFF00,LINETHICK7;
drawicon(jd and z3=z4,y*1.1,12),LINETHICK7;
2、丰赢数据
YD:="VOLⅡ.昨收#DAY";
Mm:=if(c=DYNAINFO(54) and l=DYNAINFO(54),h-yd,h-ref(c,1));
m:=if(mm>0,mm,0.0);
Ss:=if(c=DYNAINFO(55) and h=DYNAINFO(55),yd-h,ref(c,1)-L);
s:=if(ss>0,ss,0.0);
Hj:=m+s;
买入力度:m/hj*AMOUNT/CAPITAL;
卖出力度:s/hj*AMOUNT/CAPITAL;
买力合计:sum(买入力度,0);
卖力合计:sum(卖出力度,0);
流入额:m/hj*AMOUNT;
流出额:s/hj*AMOUNT;
净额:流入额-流出额;
总流入:sum(流入额,0);
总流出:sum(流出额,0);
Chb:=count(流入额>=500000,0);
b1:=if(流入额>=500000,流入额,0);
巨流入:sum(b1,0);
Dhb:=count(流入额>=200000 and 流入额<500000,0);
b2:=if(流入额>=200000 and 流入额<500000,流入额,0);
大流入:sum(b2,0);
Zhb:=count(流入额>=50000 and 流入额<200000,0);
b3:=if(流入额>=50000 and 流入额<200000,流入额,0);
中流入:sum(b3,0);
Xhb:=count(流入额>0 and 流入额<50000,0);
b4:=if(流入额>0 and 流入额<50000,流入额,0);
小流入:sum(b4,0);
ChS:=count(流出额>=500000,0);
s1:=if(流出额>=500000,流出额,0);
巨流出:sum(s1,0);
DhS:=count(流出额>=200000 and 流出额<500000,0);
s2:=if(流出额>=200000 and 流出额<500000,流出额,0);
大流出:sum(s2,0);
ZhS:=count(流出额>=50000 and 流出额<200000,0);
s3:=if(流出额>=50000 and 流出额<200000,流出额,0);
中流出:sum(s3,0);
XhS:=count(流出额>0 and 流出额<50000,0);
s4:=if(流出额>0 and 流出额<50000,流出额,0);
小流出:sum(s4,0);
特买单:chb,color0036dd;
大买单:dhb,COLOR0174fa;
中买单:zhb,COLOR1ab9ff;
小买单:xhb,COLOR01ddef;
ub:=特买单+大买单+中买单+小买单;
特卖单:chs,color1ab731;
大卖单:dhs,COLOR49e560;
中卖单:zhs,COLOR9bf149;
小卖单:xhs,COLOR9bf1bf;
特买差:特买单-特卖单;
大买差:大买单-大卖单;
us:=特卖单+大卖单+中卖单+小卖单;
u:=ub+us;
各位老师,以上源码是虎拓老师的两个公式,请老师给出盘中预警公式,如图,在发出B点时发出信号。注意:该B点信号发出分两种情况,一种情况是在0轴以上发出,一种是在0轴以下发出,个人感觉0轴以下的好,虎拓老师称其为“深水炸弹”
|