把通达信奥选股公式和将选股两个公式改成大智慧的两个选股公式
2020/1/31 18:31:13
公式编写说明:
奥原码公式:F:=100*(C-REF(C,1))/REF(C,1);今小昨:=IF(C<REF(O,1) AND F<0,1,0);P1:=今小昨;今小前:=IF(C<REF(O,2) AND F<0,1,0);P2:=今小前;ZS:=P1=0 AND REF(P1,1)=1 AND P2=0 AND REF(P2,1)=1;SC:=100*(CLOSE-MA(CLOSE,20));MAO:=EMA(SC,6); ZS AND CROSS(SC,MAO);将奥原码公式:LX:=EXIST(BETWEEN(100*WINNER(C),2,4),5);HLC:=WINNER(C)*100;HLO:=WINNER(O)*100;HLH:=WINNER(H)*100;HLL:=WINNER(L)*100;RSV:=(HLC-LLV(HLL,21))/(HHV(HLH,21)-LLV(HLL,21))*100; FK:=SMA(RSV,5,1); K:=SMA(FK,5,1);D:=SMA(K,5,1); VL:=REF(L,1);VH:=REF(H,1);VAR1:=SMA(ABS(H-VH),13,1)/SMA(MAX(H-VH,0),13,1)*100;VAR2:=SMA(ABS(L-VL),13,1)/SMA(MAX(L-VL,0),13,1)*100;VAR3:=REF(C,1);VAR4:=MA(VAR2,13);VAR5:=LLV(L,34);VAR6:=SMA(MAX(C-VAR3,0),6,1)/SMA(ABS(C-VAR3),6,1)*100;VAR7:=EMA(IF(L<=VAR5,VAR4,0),3);VAR8:=(SMA(SMA((((C-LLV(L,55))/(HHV(H,55)-LLV(L,55)))*100),7,1),5,1));VAR9:=((SMA(((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100),7,1))*16)-VAR8*10;关注点:=FILTER(IF(VAR9<=VAR8 AND VAR7>REF(VAR7,1),VAR7*8,0),20);即将拉升:=关注点 AND LX;加速升:=FILTER(CROSS(MACD.DIF,MACD.DEA) AND V>REF(SUM(V,5),1),3);即将拉升 OR 加速升;
公式源码示例:
F:=100*(C-REF(C,1))/REF(C,1);
今小昨:=IF(C<REF(O,1) AND F<0,1,0);
P1:=今小昨;
今小前:=IF(C<REF(O,2) AND F<0,1,0);
P2:=今小前;
ZS:=P1=0 AND REF(P1,1)=1 AND P2=0 AND REF(P2,1)=1;
SC:=100*(CLOSE-MA(CLOSE,20));
MAO:=EMA(SC,6);
XG:=ZS AND CROSS(SC,MAO);
LX:=ANY(BETWEEN(100*WINNER(C),2,4),5);
HLC:=WINNER(C)*100;
HLO:=WINNER(O)*100;
HLH:=WINNER(H)*100;
HLL:=WINNER(L)*100;
RSV:=(HLC-LLV(HLL,21))/(HHV(HLH,21)-LLV(HLL,21))*100;
FK:=SMA(RSV,5,1);
K:=SMA(FK,5,1);
D:=SMA(K,5,1);
VL:=REF(L,1);
VH:=REF(H,1);
VAR1:=SMA(ABS(H-VH),13,1)/SMA(MAX(H-VH,0),13,1)*100;
VAR2:=SMA(ABS(L-VL),13,1)/SMA(MAX(L-VL,0),13,1)*100;
VAR3:=REF(C,1);
VAR4:=MA(VAR2,13);
VAR5:=LLV(L,34);
VAR6:=SMA(MAX(C-VAR3,0),6,1)/SMA(ABS(C-VAR3),6,1)*100;
VAR7:=EMA(IF(L<=VAR5,VAR4,0),3);
VAR8:=(SMA(SMA((((C-LLV(L,55))/(HHV(H,55)-LLV(L,55)))*100),7,1),5,1));
VAR9:=((SMA(((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100),7,1))*16)-VAR8*10;
关注点:=FILTER(IF(VAR9<=VAR8 AND VAR7>REF(VAR7,1),VAR7*8,0),20);
即将拉升:=关注点 AND LX;
加速升:=FILTER(CROSS("MACD.DIFF","MACD.DEA") AND V>REF(SUM(V,5),1),3);
郑云制:=即将拉升 OR 加速升;
郑云制 OR XG;
看股 吧公式 www.kan guba.com
其它股票公式列表