大智慧不破买入指标公式

va:=max(ref(c,1),ref(o,1));va1:=min(ref(c,1),ref(o,1));

j:=sum(AMOUNT/100,2)/sum(v,2);

vok:=if(o<va1 and c>va,1,0);

stICKLINE(vok=1 ,o ,c ,8 ,0 ),colorred;

vok1:=if(ref(c,1)<ref(c,2) and o>ref(c,1) and l>ref(l,1) and c>ref(c,1)

or ref(c,1)<ref(o,1) and o>ref(c,1) and l>ref(l,1) and c>ref(c,1),1,0);

STICKLINE(vok1=1 ,o ,c ,8 ,0 ),colorff00ff;

vsj1:=BArslAST(vok=1 or vok1=1);

mma2:sum(AMOUNT/100,2)/sum(vol,2),LINETHICK0;

zs:if(vok=1 or vok1=1,l,ref(l,vsj1)),colorbrown;

ma2:=sum(AMOUNT/100,2)/sum(v,2);

ma3:=sum(AMOUNT/100,3)/sum(v,3);

ma4:=sum(AMOUNT/100,4)/sum(v,4);

ma5:=sum(AMOUNT/100,5)/sum(v,5);

ma6:=sum(AMOUNT/100,6)/sum(v,6);

ma7:=sum(AMOUNT/100,7)/sum(v,7);

ma8:=sum(AMOUNT/100,8)/sum(v,8);

ma9:=sum(AMOUNT/100,9)/sum(v,9);

ma10:=sum(AMOUNT/100,10)/sum(v,10);

ma11:=sum(AMOUNT/100,11)/sum(v,11);

ma12:=sum(AMOUNT/100,12)/sum(v,12);

ma13:=sum(AMOUNT/100,13)/sum(v,13);

ma14:=sum(AMOUNT/100,14)/sum(v,14);

ma15:=sum(AMOUNT/100,15)/sum(v,15);

ma16:=sum(AMOUNT/100,16)/sum(v,16);

ma17:=sum(AMOUNT/100,17)/sum(v,17);

ma18:=sum(AMOUNT/100,18)/sum(v,18);

ma19:=sum(AMOUNT/100,19)/sum(v,19);

a:max(ma2,max(ma3,max(ma4,max(ma5,max(ma6,max(ma7,max(ma8,max(ma9,max(ma10,

max(ma11,max(ma12,max(ma13,max(ma14,max(ma15,max(ma16,max(ma17,

max(ma18,ma19))))))))))))))))),LINETHICK0;

b:min(ma2,min(ma3,min(ma4,min(ma5,min(ma6,min(ma7,min(ma8,min(ma9,min(ma10,

min(ma11,min(ma12,min(ma13,min(ma14,min(ma15,min(ma16,min(ma17,

min(ma18,ma19))))))))))))))))),LINETHICK0;

DRAWICON(cross(c,a),l ,4);

DRAWICON(((a-b)/b)*100<10 and cross(c,a),h+0.01,7);

STICKLINE( vok1=1 and cross(c,a) ,o ,c ,3 ,0 ),color00ffff;

STICKLINE( vok=1 and cross(c,a) ,o ,c ,3 ,0 ),color00ffff;