副图公式源码支持: 手机/电脑
GUP:=((L+H+C*2)/4);
GUA:=EMA(GUP,14)*1.1382;
涨停:=EVERY(C/REF(C,1)>=1.097 AND C=H,1);
角度:=ATAN((MA(C,5)/REF(MA(C,5),1)-1)*100)*57.3;
持有:=EXIST(涨停,5) AND 角度>75 AND C>GUA AND C>REF(C,1) AND C>GUA ;
持股:持有,STICK,LINETHICK2,COLORLIRED;
转强:=100*(C-REF(C,12))/REF(C,12);
超强:=((H+L+C)/3-MA((H+L+C)/3,88))/(0.015*AVEDEV((H+L+C)/3,88));
通道:=1.07*DMA(C,ABS((2*C+H+L)/4-MA(C,26))/MA(C,26));
趋势:=MA(ATAN(通道-REF(通道,1)),3);
GUB1:=IF((C>O OR C<O) AND H>=REF(C,1),ATAN(MA(H,5)*1.02-REF(MA(C,5)*1.02,1)),0);
GUB2:=IF((C>O OR C<O) AND H<REF(C,1),-ATAN(REF(MA(C,5)*1.02,1)-MA(H,5)*1.02),0);
分界:=MA(REF((GUB1+GUB2),1),26);
强势:=趋势>分界 AND 趋势>REF(趋势,1);
超牛:=强势 AND 超强>200 AND 转强>20 AND C>REF(C,1);
牛股:超牛,STICK,LINETHICK2;
GUP0:=(MA(C,3));
GUP1:=(MA(C,5));
GUP2:=(MA(C,10));
GUP3:=(MA(C,20));
GUP4:=(((((MA(C,3)) > (REF(MA(C,3),1))) AND ((MA(C,5)) > (REF(MA(C,5),1)))) AND (C > (MA(C,3)))) AND ((MA(C,3)) > (MA(C,5))));
GUP5:=(((ATAN(((GUP0 / (REF(GUP0,1))) - 1) * 100)) * 180) / (3.1416));
GUP6:=(((ATAN(((GUP1 / (REF(GUP1,1))) - 1) * 100)) * 180) / (3.1416));
GUP7:=(((ATAN(((GUP2 / (REF(GUP2,1))) - 1) * 100)) * 180) / (3.1416));
GUP8:=(((ATAN(((GUP3 / (REF(GUP3,1))) - 1) * 100)) * 180) / (3.1416));
强势买:IF(GUP5>45 AND GUP6>45 AND GUP7>60 AND GUP8>45 AND MA(C,250)>REF(MA(C,250),1),1,0),STICK,COLORRED,LINETHICK2;
选股公式源码
{选股公式一:强势买}
GUP0:=(MA(C,3));
GUP1:=(MA(C,5));
GUP2:=(MA(C,10));
GUP3:=(MA(C,20));
GUP4:=(((((MA(C,3)) > (REF(MA(C,3),1))) AND ((MA(C,5)) > (REF(MA(C,5),1)))) AND (C > (MA(C,3)))) AND ((MA(C,3)) > (MA(C,5))));
GUP5:=(((ATAN(((GUP0 / (REF(GUP0,1))) - 1) * 100)) * 180) / (3.1416));
GUP6:=(((ATAN(((GUP1 / (REF(GUP1,1))) - 1) * 100)) * 180) / (3.1416));
GUP7:=(((ATAN(((GUP2 / (REF(GUP2,1))) - 1) * 100)) * 180) / (3.1416));
GUP8:=(((ATAN(((GUP3 / (REF(GUP3,1))) - 1) * 100)) * 180) / (3.1416));
强势买:IF(GUP5>45 AND GUP6>45 AND GUP7>60 AND GUP8>45 AND MA(C,250)>REF(MA(C,250),1),1,0),COLORRED,LINETHICK2;
{选股公式二:牛股}
转强:=100*(C-REF(C,12))/REF(C,12);
超强:=((H+L+C)/3-MA((H+L+C)/3,88))/(0.015*AVEDEV((H+L+C)/3,88));
通道:=1.07*DMA(C,ABS((2*C+H+L)/4-MA(C,26))/MA(C,26));
趋势:=MA(ATAN(通道-REF(通道,1)),3);
GUB1:=IF((C>O OR C<O) AND H>=REF(C,1),ATAN(MA(H,5)*1.02-REF(MA(C,5)*1.02,1)),0);
GUB2:=IF((C>O OR C<O) AND H<REF(C,1),-ATAN(REF(MA(C,5)*1.02,1)-MA(H,5)*1.02),0);
分界:=MA(REF((GUB1+GUB2),1),26);
强势:=趋势>分界 AND 趋势>REF(趋势,1);
超牛:=强势 AND 超强>200 AND 转强>20 AND C>REF(C,1);
牛股:超牛,LINETHICK2;
{选股公式三:持股}
GUP:=((L+H+C*2)/4);
GUA:=EMA(GUP,14)*1.1382;
涨停:=EVERY(C/REF(C,1)>=1.097 AND C=H,1);
角度:=ATAN((MA(C,5)/REF(MA(C,5),1)-1)*100)*57.3;
持有:=EXIST(涨停,5) AND 角度>75 AND C>GUA AND C>REF(C,1) AND C>GUA ;
持股:持有,LINETHICK2,COLORLIRED; |