飞狐30分钟判市指标公式
-
相关简介:tj1:=dayref(day,1) or barpos=1; qj1:=barslast(tj1)+1; ss0:=backset(islastbar,qj1); ss1:=filter(ss0ref(ss0,1),qj1); hh1:=ref(h,barslast(ss1refx(ss1,1))); ll1:=ref(l,barslast(ss1refx(ss1,1))); qj2:=barslast(tj1); ss02:=backset(islastbar,qj2); ss12:=fil
-
文章来源:股海网作者:股海网发布时间:2015-06-16浏览次数:
tj1:=day<>ref(day,1) or barpos=1;
qj1:=barslast(tj1)+1;
ss0:=backset(islastbar,qj1);
ss1:=filter(ss0>ref(ss0,1),qj1);
hh1:=ref(h,barslast(ss1>refx(ss1,1)));
ll1:=ref(l,barslast(ss1>refx(ss1,1)));
qj2:=barslast(tj1);
ss02:=backset(islastbar,qj2);
ss12:=filter(ss02>ref(ss02,1),qj2);
hh12:=ref(h,barslast(ss12>refx(ss12,1)));
ll12:=ref(l,barslast(ss12>refx(ss12,1)));
qj3:=barslast(tj1)-1;
ss03:=backset(islastbar,qj3);
ss13:=filter(ss03>ref(ss03,1),qj3);
hh13:=ref(h,barslast(ss13>refx(ss13,1)));
ll13:=ref(l,barslast(ss13>refx(ss13,1)));
qj4:=barslast(tj1)-2;
ss04:=backset(islastbar,qj4);
ss14:=filter(ss04>ref(ss04,1),qj4);
hh14:=ref(h,barslast(ss14>refx(ss14,1)));
ll14:=ref(l,barslast(ss14>refx(ss14,1)));
qj5:=barslast(tj1)-3;
ss05:=backset(islastbar,qj5);
ss15:=filter(ss05>ref(ss05,1),qj5);
hh15:=ref(h,barslast(ss15>refx(ss15,1)));
ll15:=ref(l,barslast(ss15>refx(ss15,1)));
qj6:=barslast(tj1)-4;
ss06:=backset(islastbar,qj6);
ss16:=filter(ss06>ref(ss06,1),qj6);
hh16:=ref(h,barslast(ss16>refx(ss16,1)));
ll16:=ref(l,barslast(ss16>refx(ss16,1)));
qj7:=barslast(tj1)-5;
ss07:=backset(islastbar,qj7);
ss17:=filter(ss07>ref(ss07,1),qj7);
hh17:=ref(h,barslast(ss17>refx(ss17,1)));
ll17:=ref(l,barslast(ss17>refx(ss17,1)));
qj8:=barslast(tj1)-6;
ss08:=backset(islastbar,qj8);
ss18:=filter(ss08>ref(ss08,1),qj8);
hh18:=ref(h,barslast(ss18>ref(ss18,1)));
ll18:=ref(l,barslast(ss18>ref(ss18,1)));
maxh:=max(hh1,max(hh12,max(hh13,max(hh14,max(hh15,max(hh16,max(hh17,hh18)))))));
minh:=min(hh1,min(hh12,min(hh13,min(hh14,min(hh15,min(hh16,min(hh17,hh18)))))));
maxl:=max(ll1,max(ll12,max(ll13,max(ll14,max(ll15,max(ll16,max(ll17,ll18)))))));
minl:=min(ll1,min(ll12,min(ll13,min(ll14,min(ll15,min(ll16,min(ll17,ll18)))))));
高中:=(maxh+minh)/2,colorffffff;
低中:=(maxl+minl)/2;
后高:=(ll18+hh18)/2;
drawtextex((minl=ll1 and minh=hh1 and maxl=ll18 and maxh=hh18) or (maxh=minh),1,980,800,'超\n强\n势');
drawtextex((maxh=hh18 and not(minl=ll18)) or (ll18>=高中),1,980,910,'强\n势');
drawtextex(minl=ll18 and maxh=hh1 and minh=hh18 and maxl=ll1 and not(maxh=minl),1,980,800,'超\n弱\n势');
drawtextex(hh18<高中 and ll18<低中,1,980,910,'弱\n势');
drawtextex((between(后高,高中,低中) and not(maxh=minh)) or (between(ll18,高中,低中) and not(maxl=minl) and not(hh18=maxh)),1,980,910,'震\n荡\n市');