副图公式源码支持 手机/电脑
GUP1:=MA(-100*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34)),19);
GUP2:=-100*(HHV(HIGH,14)-CLOSE)/(HHV(HIGH,14)-LLV(LOW,14));
GUP3:=EMA(-100*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34)),4);
长线:=GUP1+100;
短线:=GUP2+100;
中线:=GUP3+100;
底部:=(长线<12 AND 中线<8 AND (短线<7.2 OR REF(短线,1)<5) AND (中线>REF(中线,1) OR 短线>REF(短线,1)))
OR (长线<8 AND 中线<7 AND 短线<15 AND 短线>REF(短线,1)) OR (长线<10 AND 中线<7 AND 短线<1) ;
低金:=长线<15 AND REF(长线,1)<15 AND 中线<18 AND 短线>REF(短线,1) AND CROSS(短线,长线) AND 短线>中线
AND (REF(短线,1)<5 OR REF(短线,2)<5 ) AND (中线>=长线 OR REF( 短线,1)<1 );
STICKLINE(FILTER(底部,25)=1,20,0,3.6,0 ),COLOR550055;
STICKLINE(FILTER(底部,25)=1,20,0,2.8,0 ),COLOR770077;
STICKLINE(FILTER(底部,25)=1,20,0,1.7,0 ),COLOR990099;
STICKLINE(FILTER(底部,25)=1,20,0,0.9,0 ),COLORBBBBFF;
STICKLINE(FILTER(底部,25)=1,20,0,0.5,0 ),COLORDD00DD;
STICKLINE(FILTER(底部,25)=1,20,0,0.1,0 ),COLORFF00FF;
STICKLINE(FILTER(低金,20)=1,35,0,3.6,0 ),COLOR003333;
STICKLINE(FILTER(低金,20)=1,35,0,2.8,0 ),COLOR005555;
STICKLINE(FILTER(低金,20)=1,35,0,1.7,0 ),COLOR007777;
STICKLINE(FILTER(低金,20)=1,35,0,0.9,0 ),COLOR009999;
STICKLINE(FILTER(低金,20)=1,35,0,0.5,0 ),COLOR00BBBB;
STICKLINE(FILTER(低金,20)=1,35,0,0.1,0 ),COLOR00DDDD;
DRAWTEXT(FILTER(底部,25)=1,19,'.抄底'),COLORRED,LINETHICK6;
DRAWTEXT(FILTER(低金,20)=1,33,'.金叉'),COLORWHITE,LINETHICK6;
选股公式源码
{选股公式一:抄底}
GUP1:=MA(-100*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34)),19);
GUP2:=-100*(HHV(HIGH,14)-CLOSE)/(HHV(HIGH,14)-LLV(LOW,14));
GUP3:=EMA(-100*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34)),4);
长线:=GUP1+100;
短线:=GUP2+100;
中线:=GUP3+100;
底部:=(长线<12 AND 中线<8 AND (短线<7.2 OR REF(短线,1)<5) AND (中线>REF(中线,1) OR 短线>REF(短线,1)))
OR (长线<8 AND 中线<7 AND 短线<15 AND 短线>REF(短线,1)) OR (长线<10 AND 中线<7 AND 短线<1) ;
抄底:FILTER(底部,25)=1;
{选股公式二:金叉}
GUP1:=MA(-100*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34)),19);
GUP2:=-100*(HHV(HIGH,14)-CLOSE)/(HHV(HIGH,14)-LLV(LOW,14));
GUP3:=EMA(-100*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34)),4);
长线:=GUP1+100;
短线:=GUP2+100;
中线:=GUP3+100;
低金:=长线<15 AND REF(长线,1)<15 AND 中线<18 AND 短线>REF(短线,1) AND CROSS(短线,长线) AND 短线>中线
AND (REF(短线,1)<5 OR REF(短线,2)<5 ) AND (中线>=长线 OR REF( 短线,1)<1 );
金叉:FILTER(低金,20)=1; |