请高手合成选股公式
发布网友
发布时间:2023-01-13 17:57
我来回答
共2个回答
热心网友
时间:2023-11-22 08:47
VAR1:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1);
趋势线:=EMA(VAR1,8);
趋势均线:=MA(趋势线,8);
阶段底部:=IF(趋势线<5,45,0);
抓住机会:=IF(CROSS(趋势线,5),100,0);
VAR3:=(C+H+L+O)/4;
VAR4:=LLV(L,34);
VAR5:=HHV(H,34);
VAR6:=EMA((VAR3-VAR4)/(VAR5-VAR4)*100,8);
VAR7:=EMA(VAR6,5);
买:=IF(CROSS(趋势线,趋势均线) AND 趋势线<15,50,0);
卖:=IF(CROSS(趋势均线,趋势线) AND 趋势线>80,50,100);
判断:=(SMA(((C+L)/2-LLV(L,21))/(HHV((H+C)/2,21)-LLV(L,21))*100,2,1)-8);
买参考:=IF(FILTER(CROSS(判断,趋势线)=1 OR 判断>REF(判断,1),10) AND 判断<25 ,35,1);
卖参考:=IF(FILTER(判断<REF(判断,1)AND 判断>65,5),80,70);
VAR11:=REF((LOW+OPEN+CLOSE+HIGH)/4,1);
VAR12:=SMA(ABS(LOW-VAR11),13,1)/SMA(MAX(LOW-VAR11,0),10,1);
VAR13:=EMA(VAR12,10);
VAR14:=LLV(LOW,33);
VAR15:=EMA(IF(LOW<=VAR14,VAR13,0),3);
主力进场:=IF(VAR15>REF(VAR15,1),VAR15,0);
洗盘:=IF(VAR15<REF(VAR15,1),VAR15,0);
VAR21:=MA(HHV(HIGH,485),17);
VAR22:=MA(HHV(HIGH,222),17);
VAR23:=MA(HHV(HIGH,96),17);
VAR24:=MA(LLV(LOW,485),17);
VAR25:=MA(LLV(LOW,222),17);
VAR26:=MA(LLV(LOW,96),17);
VAR27:=MA((VAR24*0.96+VAR25*0.96+VAR26*0.96+VAR21*0.558+VAR22*0.558+VAR23*0.558)/6,17);
VAR28:=MA((VAR24*1.25+VAR25*1.23+VAR26*1.2+VAR21*0.55+VAR22*0.55+VAR23*0.65)/6,17);
VAR29:=MA((VAR24*1.3+VAR25*1.3+VAR26*1.3+VAR21*0.68+VAR22*0.68+VAR23*0.68)/6,17);
VARA:=MA((VAR27*3+VAR28*2+VAR29)/6*1.738,17);
VARB:=IF(V>0,VARA,VARA*DAY);
VARC:=LOW;
VARD:=REF(LOW,1);
VARE:=SMA(ABS(VARC-VARD),3,1)/SMA(MAX(VARC-VARD,0),2,1)*100;
VARF:=MA(IF(CLOSE*1.35<=VARB,VARE*10,VARE/10),2);
VAR40:=LLV(LOW,30);
VAR41:=HHV(VARF,30);
绝佳买点 :=IF(V>0,MA(IF(LOW<=VAR40,(VARF+VAR41*2)/2,0),2),100000000);
I:=IF(CLOSE<REF(CLOSE,1),VOL/CAPITAL*10053,0);
骤雨初晴:= ABS(EMA(I,13.3)-18)/WINNER(CLOSE)*IF((CLOSE-MA(CLOSE,6))/MA(CLOSE,6)<-0.04,1,0);
{IF(CROSS(绝佳买点,24000),15,0 ) ;}
XG: 买参考 AND 主力进场 AND 绝佳买点;
测试成功,2434---305----12 .5%。
热心网友
时间:2023-11-22 08:47
VAR1:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1);
趋势线: EMA(VAR1,8);
趋势均线:MA(趋势线,8);
阶段底部: IF(趋势线<5,45,0);
抓住机会: IF(CROSS(趋势线,5),100,0),COLORYELLOW;
VAR3:=(C+H+L+O)/4;
VAR4:=LLV(L,34);
VAR5:=HHV(H,34);
VAR6:=EMA((VAR3-VAR4)/(VAR5-VAR4)*100,8);
VAR7:=EMA(VAR6,5);
STICKLINE((VAR6-VAR7)>0,VAR6,VAR7,8,1),COLORRED;
STICKLINE((VAR6-VAR7)<0,VAR6,VAR7,8,1),COLORGREEN;
买:IF(CROSS(趋势线,趋势均线) AND 趋势线<15,50,0),COLORRED;
卖:IF(CROSS(趋势均线,趋势线) AND 趋势线>80,50,100),COLORGREEN;
顶部区域:STICKLINE(VAR7>80,100,105,10,1),COLORCYAN;
底部区域:STICKLINE(VAR7<20,-5,0,8,1),COLORYELLOW;
判断:=(SMA(((C+L)/2-LLV(L,21))/(HHV((H+C)/2,21)-LLV(L,21))*100,2,1)-8);
买参考:IF(FILTER(CROSS(判断,趋势线)=1 OR 判断>REF(判断,1),10) AND 判断
<25 ,35,1),COLORWHITE,POINTDOT;
STICKLINE(FILTER(CROSS(判断,趋势线)=1 OR 判断>REF(判断,1),10) AND 判断
<25 ,35,0,4,1),COLORWHITE;
卖参考:IF(FILTER(判断<REF(判断,1)AND 判断
>65,5),80,70),COLOR00FF00,POINTDOT;
STICKLINE(FILTER(判断<REF(判断,1)AND 判断
>65,5),80,70,4,0),COLOR00FF00;
VAR11:=REF((LOW+OPEN+CLOSE+HIGH)/4,1);
VAR12:=SMA(ABS(LOW-VAR11),13,1)/SMA(MAX(LOW-VAR11,0),10,1);
VAR13:=EMA(VAR12,10);
VAR14:=LLV(LOW,33);
VAR15:=EMA(IF(LOW<=VAR14,VAR13,0),3);
主力进场:IF(VAR15>REF(VAR15,1),VAR15,0),COLORRED,NODRAW;
STICKLINE(VAR15>REF(VAR15,1),0,VAR15,2,0 ),COLORRED;
洗盘:IF(VAR15<REF(VAR15,1),VAR15,0),COLORGREEN,NODRAW;
STICKLINE(VAR15<REF(VAR15,1),0,VAR15,2,0),COLORGREEN;
VAR21:=MA(HHV(HIGH,485),17);
VAR22:=MA(HHV(HIGH,222),17);
VAR23:=MA(HHV(HIGH,96),17);
VAR24:=MA(LLV(LOW,485),17);
VAR25:=MA(LLV(LOW,222),17);
VAR26:=MA(LLV(LOW,96),17);
VAR27:=MA((VAR24*0.96+VAR25*0.96+VAR26*0.96+VAR21*0.558+VAR22*0.558+VAR23*0.558)/6,17);
VAR28:=MA((VAR24*1.25+VAR25*1.23+VAR26*1.2+VAR21*0.55+VAR22*0.55+VAR23*0.65)/6,17);
VAR29:=MA((VAR24*1.3+VAR25*1.3+VAR26*1.3+VAR21*0.68+VAR22*0.68+VAR23*0.68)/6,17);
VARA:=MA((VAR27*3+VAR28*2+VAR29)/6*1.738,17);
VARB:=IF(V>0,VARA,VARA*DAY);
VARC:=LOW;
VARD:=REF(LOW,1);
VARE:=SMA(ABS(VARC-VARD),3,1)/SMA(MAX(VARC-VARD,0),2,1)*100;
VARF:=MA(IF(CLOSE*1.35<=VARB,VARE*10,VARE/10),2);
VAR40:=LLV(LOW,30);
VAR41:=HHV(VARF,30);
绝佳买点:=IF(V>0,MA(IF(LOW<=VAR40,(VARF+VAR41*2)/2,0),2),100000000);
I:=IF(CLOSE<REF(CLOSE,1),VOL/CAPITAL*10053,0);
骤雨初晴:=
ABS(EMA(I,13.3)-18)/WINNER(CLOSE)*IF((CLOSE-MA(CLOSE,6))/MA(CLOSE,6)<-0.04,1,0);
IF(CROSS(绝佳买点,24000),15,0 ) ;
(已经测试,复制可直接使用)