把羸钱法宝指标发出信号时做个选股公式
2020/1/21 18:26:56
公式编写说明:
源码:AAA2:=SUM(IF( CLOSE>REF(CLOSE,1),VOL*C,0),0);AAA3:=SUM(IF( CLOSE<REF(CLOSE,1),VOL*C,0),0);AAA4:=SUM(IF( CLOSE=REF(CLOSE,1),VOL*C,0),0);BB1:=0;B1万元:=VOL*CLOSE/100;B1差:=B1万元-REF(B1万元,1);B2万元:=VOL*CLOSE/100;B2比:=B2万元/REF(B2万元,1);净流入万元:=(AAA2-AAA3-0.5*AAA4);PM:=MA(净流入万元,1);PMA:=PM/REF(PM,1)>1;PMB:=REF(PMA,1)<1 AND PMA; 密码:=(EMA(MA(B1万元,2),2))/100000;二日比:=密码/REF(密码,1);选股:=PMB AND 密码>REF(密码,1) AND 二日比>1;均价线:=AMOUNT/V/100;均价线2:=MA(均价线,3);均价线5:=MA(均价线,5);均价线10:=MA(均价线,10);均价线30:=MA(均价线,30);突破:=C>均价线2 AND 均价线2<REF(均价线2,1) AND REF(均价线2,1)<REF(均价线2,2)AND REF(均价线2,2)<REF(均价线2,3) AND 选股;STICKLINE(突破,H,L,5,0),LINETHICK1,COLORRED;STICKLINE(突破,H,L,0.2,0),COLORYELLOW;STICKLINE(突破,O,C,2,0),LINETHICK1,COLORYELLOW;
公式源码回答:
AAA2:=SUM(IF( CLOSE>REF(CLOSE,1),VOL*C,0),0);
AAA3:=SUM(IF( CLOSE<REF(CLOSE,1),VOL*C,0),0);
AAA4:=SUM(IF( CLOSE=REF(CLOSE,1),VOL*C,0),0);
BB1:=0;
B1万元:=VOL*CLOSE/100;
B1差:=B1万元-REF(B1万元,1);
B2万元:=VOL*CLOSE/100;
B2比:=B2万元/REF(B2万元,1);
净流入万元:=(AAA2-AAA3-0.5*AAA4);
PM:=MA(净流入万元,1);
PMA:=PM/REF(PM,1)>1;
PMB:=REF(PMA,1)<1 AND PMA;
密码:=(EMA(MA(B1万元,2),2))/100000;
二日比:=密码/REF(密码,1);
选股:=PMB AND 密码>REF(密码,1) AND 二日比>1;
均价线:=AMOUNT/V/100;
均价线2:=MA(均价线,3);
C>均价线2 AND 均价线2<REF(均价线2,1) AND REF(均价线2,1)<REF(均价线2,2)
AND REF(均价线2,2)<REF(均价线2,3) AND 选股;
投 股票网 www. tou18.cn
股市公式下载推荐