飞狐地煞副图指标
源码
MA6:=MA(CLOSE,6);
MA13:= MA(CLOSE,13),;
MA18:=
hsl:=vol/capital;
AA:=max(O,C)-min(O,C);
BB:=H-Max(O,C);
CC:=min(O,C)-L;
EE:=H-L;
FF:=MA(ref(AA,1),5);
DD:=AA<FF and AA>0 and BB>AA and CC>AA;
GG:=AA>EE*0.03;{和十字區分}
XX:=DD and GG and BB>CC,colorred;{下紡錘}
YY:=DD and GG and BB=CC,coloryellow;{中紡錘}
ZZ:=DD and GG and BB<CC,colorgreen;{上紡錘}
BB:=CLOSE=OPEN AND HIGH/LOW >1.03;
NN:=(MIN(CLOSE,OPEN)-LOW)/(HIGH-LOW)>0.667;
MM:=(HIGH-MAX(CLOSE,OPEN))/(HIGH-LOW)>0.667;
PP:=XX or YY or ZZ or BB or NN or MM;
dy:=CLOSE/OPEN>1.07 AND HIGH/LOW<CLOSE/OPEN+0.018;
AAA:=cross(MA6,MA13) or cross(MA6,MA18) or cross(MA13,MA18);
{x:=count(pp,2)=2;}
zjz:ref(dy,2) and PP and ref(AAA,2);