提供下载的公式已经解除用户限制,解除时间限制。
{FF}
DRAWTEXT(SYSPARAM(2)=BARPOS,CLOSE,'所属板块:'+BLKNAME),ALIGN4,colorFFFF;
{
CHECK1:=CHECKUSER(0);
CHECK2:=USERNAME='gkend.126.com';
CHECK3:=IF(DATE>1110110,DATE<900101,DATE>900101);
M:=IF(DATATYPE=0 OR DATATYPE=1 OR DATATYPE=2 OR DATATYPE=3,0,1);
A:=IF(CHECK1 AND CHECK2 AND CHECK3,55,REF(CLOSE,BARSCOUNT(CLOSE)));
B:=IF(CHECK1 AND CHECK2 AND CHECK3,34,REF(CLOSE,BARSCOUNT(CLOSE)));
}
M:=IF(DATATYPE=0 OR DATATYPE=1 OR DATATYPE=2 OR DATATYPE=3,0,1);
A:=IF(3,55,REF(CLOSE,BARSCOUNT(CLOSE)));
B:=IF(3,34,REF(CLOSE,BARSCOUNT(CLOSE)));
E:=LLVBARS(CLOSE,A)+A;
F:=HHVBARS(CLOSE,B)+B;
JA:=SUM(CLOSE,E)/E;
JB:=SUM(CLOSE,F)/F;
AA:=IF(JA<>0,JA,CLOSE);
BB:=IF(JB<>0,JB,CLOSE);
KFZL:IF(BARSCOUNT(CLOSE)>=LLVBARS(CLOSE,A)+A,AA,REF(CLOSE,E)),CIRCLEDOT,colorFFFFFF;
DFZL:IF(BARSCOUNT(CLOSE)>=HHVBARS(CLOSE,B)+B,BB,REF(CLOSE,F)),CIRCLEDOT,colorFFFF;
KFYL:IF(BARSCOUNT(CLOSE)>=HHVBARS(CLOSE,B)+B,BB*(1.015+0.135*M),REF(CLOSE,F)),POINTDOT,colorFF00FF;
DFZC:IF(BARSCOUNT(CLOSE)>=LLVBARS(CLOSE,A)+A,AA*(0.985-0.135*M),REF(CLOSE,E)),POINTDOT,colorFF00;
{JJ}
DRAWTEXT(SYSPARAM(2)=BARPOS,CLOSE,'所属板块:'+BLKNAME),ALIGN4,colorFFFF;
CHECK1:=1;
CHECK2:=1;
CHECK3:=1;
M:=IF(DATATYPE=0 OR DATATYPE=1 OR DATATYPE=2 OR DATATYPE=3,0,1);
PP:=IF(CHECK1 AND CHECK2 AND CHECK3,AMOUNT/VOL/VOLUNIT,REF(CLOSE,BARSCOUNT(CLOSE)));
UU:=IF(PP>HIGH OR PP<LOW,CLOSE,PP);
R:=IF(CHECK1 AND CHECK2 AND CHECK3,IF(UU=0,CLOSE,UU),REF(CLOSE,BARSCOUNT(CLOSE)));
A:=IF(CHECK1 AND CHECK2 AND CHECK3,R,REF(CLOSE,BARSCOUNT(CLOSE))/0);
F1:=PEAKBARS(3,13,1);
G1:=TROUGHBARS(3,13,1);
F2:=PEAKBARS(3,13,2);
G2:=TROUGHBARS(3,13,2);
F3:=PEAKBARS(3,15,1);
G3:=TROUGHBARS(3,15,1);
F4:=PEAKBARS(3,15,2);
G4:=TROUGHBARS(3,15,2);
F5:=HHV(HIGH,HHVBARS(HIGH,21)+1);
G5:=LLV(LOW,LLVBARS(LOW,13)+1);
F6:=HHV(HIGH,HHVBARS(HIGH,55)+1);
G6:=LLV(LOW,LLVBARS(LOW,34)+1);
FF:=IF(F5<F6 AND F3<6,F4,IF(F1=0,IF(F2=0,1,F2),IF(F3>1,F3,F4)));
GG:=IF(G5>G6 AND G3<6,G4,IF(G1=0,IF(G2=0,1,G2),IF(G3>1,G3,G4)));
FA:=IF(UU>HIGH OR UU<LOW,SUM(CLOSE,FF),SUM(VOL,FF));
FV:=IF(UU>HIGH OR UU<LOW,FF,SUM(VOL/UU,FF));
GA:=IF(UU>HIGH OR UU<LOW,SUM(CLOSE,GG),SUM(VOL,GG));
GV:=IF(UU>HIGH OR UU<LOW,GG,SUM(VOL/UU,GG));
SVC:=SUMBARS(VOL,CAPITAL);
FAV:=FA/FV;
GAV:=GA/GV;
EE1:=IF(UU>HIGH OR UU<LOW,SUM(CLOSE,LLVBARS(A,0)+1),SUM(VOL,LLVBARS(A,0)+1));
FF1:=IF(UU>HIGH OR UU<LOW,LLVBARS(A,0)+1,SUM(VOL/UU,LLVBARS(A,0)+1));
GG1:=IF(UU>HIGH OR UU<LOW,SUM(CLOSE,HHVBARS(A,0)+1),SUM(VOL,HHVBARS(A,0)+1));
II1:=IF(UU>HIGH OR UU<LOW,HHVBARS(A,0)+1,SUM(VOL/UU,HHVBARS(A,0)+1));
JJ11:=EE1/FF1;
JJ22:=GG1/II1;
JEEE:=IF(CHECK1 AND CHECK2 AND CHECK3,IF(JJ11,JJ11,A),IF(CHECK1 AND CHECK2 AND CHECK3,0,REF(CLOSE,BARSCOUNT(CLOSE))));
JFFF:=IF(CHECK1 AND CHECK2 AND CHECK3,IF(JJ22,JJ22,A),IF(CHECK1 AND CHECK2 AND CHECK3,0,REF(CLOSE,BARSCOUNT(CLOSE))));
JJJ:IF(CHECK1 AND CHECK2 AND CHECK3,IF(PP>HIGH OR PP<LOW,SUM(CLOSE,0)/BARSCOUNT(CLOSE),SUM(AMOUNT,0)/SUM(VOL,0)/VOLUNIT),REF(CLOSE,BARSCOUNT(CLOSE))),CROSSDOT,color808080;
JEE:STICKLINE(CLOSE>0,IF(CHECK1 AND CHECK2 AND CHECK3,IF(JJ11,JJ11,A),0),IF(CHECK1 AND CHECK2 AND CHECK3,IF(JJ11,JJ11,A),REF(CLOSE,BARSCOUNT(CLOSE))),9,1),colorFF00FF;
JFF:STICKLINE(CLOSE>0,IF(CHECK1 AND CHECK2 AND CHECK3,IF(JJ22,JJ22,A),0),IF(CHECK1 AND CHECK2 AND CHECK3,IF(JJ22,JJ22,A),REF(CLOSE,BARSCOUNT(CLOSE))),9,1),colorFFFF00;
AAA:=IF(CHECK1 AND CHECK2 AND CHECK3,IF(STKTYPE=0 OR STKTYPE=12 OR STKTYPE=13,EXTDATA(1),A),REF(CLOSE,BARSCOUNT(CLOSE)));
STICKLINE(CLOSE>OPEN,OPEN,CLOSE,8,1),color5555FF;
STICKLINE(CLOSE<OPEN,OPEN,CLOSE,8,1),color33FF33;
STICKLINE(CLOSE>OPEN,OPEN,AAA,4,0),color5555FF;
STICKLINE(CLOSE<OPEN,OPEN,AAA,4,0),color33FF33;
STICKLINE(OPEN<MIN(REF(OPEN,1),REF(CLOSE,1)) AND CLOSE>OPEN AND AAA>OPEN AND VOL<REF(VOL,1) AND AAA<REF(AAA,1),OPEN,AAA,4,0),colorFF33FF;
STICKLINE(OPEN>MAX(REF(OPEN,1),REF(CLOSE,1)) AND CLOSE<OPEN AND AAA<OPEN AND VOL<REF(VOL,1) AND AAA>REF(AAA,1),OPEN,AAA,4,0),colorFF3333;
KF:IF(CHECK1 AND CHECK2 AND CHECK3,IF(FAV=0,REF(FAV,1),FAV),IF(CHECK1 AND CHECK2 AND CHECK3,0,REF(CLOSE,BARSCOUNT(CLOSE)))),CIRCLEDOT,colorFFFFFF;
DF:IF(CHECK1 AND CHECK2 AND CHECK3,IF(GAV=0,REF(GAV,1),GAV),IF(CHECK1 AND CHECK2 AND CHECK3,0,REF(CLOSE,BARSCOUNT(CLOSE)))),CIRCLEDOT,colorFFFF;
KKFF:=SUM(VOL,FF)/FF;
DDFF:=SUM(VOL,GG)/GG;
JGG:JEEE*(0.985-0.135*M),POINTDOT,colorFFFF;
JHH:JFFF*(1.015+0.135*M),POINTDOT,colorFFFF;
{VOL-YJ}
CHECK1:=1;
CHECK2:=1;
CHECK3:=1;
SS:=IF(IF(CHECK1 AND CHECK2 AND CHECK3,DATATYPE=6,REF(CLOSE,BARSCOUNT(CLOSE))),(DYNAINFO(8))/OPENMINUTES(CURRENTTIME)*240,VOL);
STICKLINE(IF(CHECK1 AND CHECK2 AND CHECK3,DYNAINFO(7)=CLOSE AND ISLASTBAR AND CURRENTTIME>91500 AND CURRENTTIME<150005,REF(CLOSE,BARSCOUNT(CLOSE))),0,IF(WEEKDAY<>0 AND WEEKDAY<>6,SS,VOL),8,1);
STICKLINE(CLOSE>REF(CLOSE,1),0,VOL,8,1),color5555FF;
STICKLINE(CLOSE<REF(CLOSE,1) OR CLOSE=OPEN AND DATATYPE<>0,0,VOL,8,0),colorFFFF00;
STICKLINE(IF(DATATYPE=0,CLOSE>REF(CLOSE,1) OR CLOSE=REF(CLOSE,1) AND REF(CLOSE,1)>REF(CLOSE,2) OR CLOSE=REF(CLOSE,1) AND REF(CLOSE,1)=REF(CLOSE,2) AND REF(CLOSE,2)>REF(CLOSE,3) OR CLOSE=REF(CLOSE,1) AND REF(CLOSE,1)=REF(CLOSE,2) AND REF(CLOSE,2)=REF(CLOSE,3) AND REF(CLOSE,3)>REF(CLOSE,4) OR CLOSE=REF(CLOSE,1) AND REF(CLOSE,1)=REF(CLOSE,2) AND REF(CLOSE,2)=REF(CLOSE,3) AND REF(CLOSE,3)=REF(CLOSE,4) AND REF(CLOSE,4)>REF(CLOSE,5) OR CLOSE=REF(CLOSE,1) AND REF(CLOSE,1)=REF(CLOSE,2) AND REF(CLOSE,2)=REF(CLOSE,3) AND REF(CLOSE,3)=REF(CLOSE,4) AND REF(CLOSE,4)=REF(CLOSE,5) AND REF(CLOSE,5)>REF(CLOSE,6) OR CLOSE=REF(CLOSE,1) AND REF(CLOSE,1)=REF(CLOSE,2) AND REF(CLOSE,2)=REF(CLOSE,3) AND REF(CLOSE,3)=REF(CLOSE,4) AND REF(CLOSE,4)=REF(CLOSE,5) AND REF(CLOSE,5)=REF(CLOSE,6) AND REF(CLOSE,6)>REF(CLOSE,7) OR CLOSE=REF(CLOSE,1) AND REF(CLOSE,1)=REF(CLOSE,2) AND REF(CLOSE,2)=REF(CLOSE,3) AND REF(CLOSE,3)=REF(CLOSE,4) AND REF(CLOSE,4)=REF(CLOSE,5) AND REF(CLOSE,5)=REF(CLOSE,6) AND REF(CLOSE,6)=REF(CLOSE,7) AND REF(CLOSE,7)>REF(CLOSE,8) OR CLOSE=REF(CLOSE,1) AND REF(CLOSE,1)=REF(CLOSE,2) AND REF(CLOSE,2)=REF(CLOSE,3) AND REF(CLOSE,3)=REF(CLOSE,4) AND REF(CLOSE,4)=REF(CLOSE,5) AND REF(CLOSE,5)=REF(CLOSE,6) AND REF(CLOSE,6)=REF(CLOSE,7) AND REF(CLOSE,7)=REF(CLOSE,8) AND REF(CLOSE,8)>REF(CLOSE,9) OR CLOSE=REF(CLOSE,1) AND REF(CLOSE,1)=REF(CLOSE,2) AND REF(CLOSE,2)=REF(CLOSE,3) AND REF(CLOSE,3)=REF(CLOSE,4) AND REF(CLOSE,4)=REF(CLOSE,5) AND REF(CLOSE,5)=REF(CLOSE,6) AND REF(CLOSE,6)=REF(CLOSE,7) AND REF(CLOSE,7)=REF(CLOSE,8) AND REF(CLOSE,8)=REF(CLOSE,9) AND REF(CLOSE,9)>REF(CLOSE,10),CLOSE=REF(CLOSE,1) AND REF(CLOSE,1)>REF(OPEN,1) OR CLOSE=REF(CLOSE,1) AND REF(CLOSE,1)=REF(OPEN,1) AND REF(CLOSE,2)>REF(OPEN,2) OR REF(CLOSE,1)=REF(OPEN,1) AND REF(CLOSE,2)=REF(OPEN,2) AND REF(CLOSE,3)>REF(OPEN,3)),0,VOL,8,1),color5555FF;
STICKLINE(IF(DATATYPE=0,CLOSE<REF(CLOSE,1) OR CLOSE=REF(CLOSE,1) AND REF(CLOSE,1)<REF(CLOSE,2) OR CLOSE=REF(CLOSE,1) AND REF(CLOSE,1)=REF(CLOSE,2) AND REF(CLOSE,2)<REF(CLOSE,3) OR CLOSE=REF(CLOSE,1) AND REF(CLOSE,1)=REF(CLOSE,2) AND REF(CLOSE,2)=REF(CLOSE,3) AND REF(CLOSE,3)<REF(CLOSE,4) OR CLOSE=REF(CLOSE,1) AND REF(CLOSE,1)=REF(CLOSE,2) AND REF(CLOSE,2)=REF(CLOSE,3) AND REF(CLOSE,3)=REF(CLOSE,4) AND REF(CLOSE,4)<REF(C |