副图公式源码支持 手机/电脑
G1:=CLOSE;G2:=LOW;G3:=OPEN;G4:=HIGH;
GUP1:=((3*C+H+L+O)/6+0.618*REF((3*C+H+L+O)/6,1)+0.382*REF((3*C+H+L+O)/6,2)+0.236*REF((3*C+H+L+O)/6,3)+0.146*REF((3*C+H+L+O)/6,4))/2.382;
GUP2:=EMA((MA(HHV((3*C+H+L+O)/6,2),5)+MA(HHV((3*C+H+L+O)/6,2),13)+MA(HHV((3*C+H+L+O)/6,2),21)+MA(HHV((3*C+H+L+O)/6,2),32))/4,21),COLOR004000,LINETHICK2;
GUP3:=EMA((MA(LLV((3*C+H+L+O)/6,2),5)+MA(LLV((3*C+H+L+O)/6,2),13)+MA(LLV((3*C+H+L+O)/6,2),21)+MA(LLV((3*C+H+L+O)/6,2),32))/4,21),COLOR004000,LINETHICK2;
GUP4:=(GUP3+GUP2)/2;
GUP5:=MA((SUM(IF( G1>REF(G1,1),VOL*C,0),0)-SUM(IF( G1<REF(G1,1),VOL*C,0),0)-0.5*SUM(IF( G1=REF(G1,1),VOL*C,0),0)),1)/REF(MA((SUM(IF( G1>REF(G1,1),VOL*C,0),0)-SUM(IF( G1<REF(G1,1),VOL*C,0),0)-0.5*SUM(IF( G1=REF(G1,1),VOL*C,0),0)),1),1)>1;
GUP6:=REF(MA((SUM(IF( G1>REF(G1,1),VOL*C,0),0)-SUM(IF( G1<REF(G1,1),VOL*C,0),0)-0.5*SUM(IF( G1=REF(G1,1),VOL*C,0),0)),1)/REF(MA((SUM(IF( G1>REF(G1,1),VOL*C,0),0)-SUM(IF( G1<REF(G1,1),VOL*C,0),0)-0.5*SUM(IF( G1=REF(G1,1),VOL*C,0),0)),1),1)>1,1)<1 AND MA((SUM(IF( G1>REF(G1,1),VOL*C,0),0)-SUM(IF( G1<REF(G1,1),VOL*C,0),0)-0.5*SUM(IF( G1=REF(G1,1),VOL*C,0),0)),1)/REF(MA((SUM(IF( G1>REF(G1,1),VOL*C,0),0)-SUM(IF( G1<REF(G1,1),VOL*C,0),0)-0.5*SUM(IF( G1=REF(G1,1),VOL*C,0),0)),1),1)>1;
GUP7:=GUP6 AND (EMA(MA(VOL*G1/100,2),2))/100000>REF((EMA(MA(VOL*G1/100,2),2))/100000,1) AND (EMA(MA(VOL*G1/100,2),2))/100000/REF((EMA(MA(VOL*G1/100,2),2))/100000,1) ;
GUP8:=C>MA(AMOUNT/V/100,3) AND MA(AMOUNT/V/100,3)<REF(MA(AMOUNT/V/100,3),1) AND REF(MA(AMOUNT/V/100,3),1)<REF(MA(AMOUNT/V/100,3),2) AND REF(MA(AMOUNT/V/100,3),2)<REF(MA(AMOUNT/V/100,3),3) AND GUP7;
STICKLINE(GUP8,100,0,2,0),COLORRED;
选股公式源码
{选股公式}
G1:=CLOSE;G2:=LOW;G3:=OPEN;G4:=HIGH;
GUP1:=((3*C+H+L+O)/6+0.618*REF((3*C+H+L+O)/6,1)+0.382*REF((3*C+H+L+O)/6,2)+0.236*REF((3*C+H+L+O)/6,3)+0.146*REF((3*C+H+L+O)/6,4))/2.382;
GUP2:=EMA((MA(HHV((3*C+H+L+O)/6,2),5)+MA(HHV((3*C+H+L+O)/6,2),13)+MA(HHV((3*C+H+L+O)/6,2),21)+MA(HHV((3*C+H+L+O)/6,2),32))/4,21),COLOR004000,LINETHICK2;
GUP3:=EMA((MA(LLV((3*C+H+L+O)/6,2),5)+MA(LLV((3*C+H+L+O)/6,2),13)+MA(LLV((3*C+H+L+O)/6,2),21)+MA(LLV((3*C+H+L+O)/6,2),32))/4,21),COLOR004000,LINETHICK2;
GUP4:=(GUP3+GUP2)/2;
GUP5:=MA((SUM(IF( G1>REF(G1,1),VOL*C,0),0)-SUM(IF( G1<REF(G1,1),VOL*C,0),0)-0.5*SUM(IF( G1=REF(G1,1),VOL*C,0),0)),1)/REF(MA((SUM(IF( G1>REF(G1,1),VOL*C,0),0)-SUM(IF( G1<REF(G1,1),VOL*C,0),0)-0.5*SUM(IF( G1=REF(G1,1),VOL*C,0),0)),1),1)>1;
GUP6:=REF(MA((SUM(IF( G1>REF(G1,1),VOL*C,0),0)-SUM(IF( G1<REF(G1,1),VOL*C,0),0)-0.5*SUM(IF( G1=REF(G1,1),VOL*C,0),0)),1)/REF(MA((SUM(IF( G1>REF(G1,1),VOL*C,0),0)-SUM(IF( G1<REF(G1,1),VOL*C,0),0)-0.5*SUM(IF( G1=REF(G1,1),VOL*C,0),0)),1),1)>1,1)<1 AND MA((SUM(IF( G1>REF(G1,1),VOL*C,0),0)-SUM(IF( G1<REF(G1,1),VOL*C,0),0)-0.5*SUM(IF( G1=REF(G1,1),VOL*C,0),0)),1)/REF(MA((SUM(IF( G1>REF(G1,1),VOL*C,0),0)-SUM(IF( G1<REF(G1,1),VOL*C,0),0)-0.5*SUM(IF( G1=REF(G1,1),VOL*C,0),0)),1),1)>1;
GUP7:=GUP6 AND (EMA(MA(VOL*G1/100,2),2))/100000>REF((EMA(MA(VOL*G1/100,2),2))/100000,1) AND (EMA(MA(VOL*G1/100,2),2))/100000/REF((EMA(MA(VOL*G1/100,2),2))/100000,1) ;
选股:C>MA(AMOUNT/V/100,3) AND MA(AMOUNT/V/100,3)<REF(MA(AMOUNT/V/100,3),1) AND REF(MA(AMOUNT/V/100,3),1)<REF(MA(AMOUNT/V/100,3),2) AND REF(MA(AMOUNT/V/100,3),2)<REF(MA(AMOUNT/V/100,3),3) AND GUP7; |