扫描主力: AVPRICE:=(2*OPEN+2*CLOSE+2*HIGH+2*LOW)/8; INDEXAVP:=(2*INDEXH+2*INDEXL+2*INDEXO+2*INDEXC)/8; F:=(AVPRICE - REF(AVPRICE,1))/REF(AVPRICE,1); F1:=(INDEXAVP - REF(INDEXAVP,1))/REF(INDEXAVP,1); 类比参数3:=(SUM(F,10) + SUM(F1,10))/10*1000; 类比大盘参数:=IF(类比参数3 > 0,类比参数3,0); 类比参数2:=IF(类比参数3 < 0,-类比参数3,0); STICKLINE(类比参数2 AND (150 - 类比参数2)>0,150,150 - 类比参数2,6,0),COLOR008000; STICKLINE(类比大盘参数 AND (150 - 类比大盘参数)>0,150,150 - 类比大盘参数,6,0),COLORFF00FF; AA:=AVPRICE;{分析家公式网} BB:=((VOL)*((AA)*(2) - HIGH - LOW))/(HIGH - LOW); CC:=IF((HIGH = LOW) AND (AA < REF(AA,1)),((-1))*(VOL),VOL); A:=IF((HIGH = LOW),CC,BB); B:=SUM(A,11); BBD:=(((B)/((CAPITAL)*(11)))*(10000)); BB1:=IF((BBD < 150) AND (BBD > (-150)),BBD,150); 买方能量指标:=IF((BB1 > 0),BB1,0); STICKLINE((BB1 > 0),0,买方能量指标,6,0),COLORYELLOW; STICKLINE((BB1 < 0),0,(-BB1),6,0),COLOR00FF00; 主动买量:IF((BB1 > 0),BB1,0),COLORYELLOW,LINETHICK0; 主动卖量:IF((BB1<0),BB1,0),COLOR00FF00,LINETHICK0; A16:=(SUM((AVPRICE)*(VOL),16))/(SUM(VOL,16)); A11:=(SUM((AVPRICE)*(VOL),11))/(SUM(VOL,11)); A6:=(SUM((AVPRICE)*(VOL),6))/(SUM(VOL,6)); A7:=(SUM((AVPRICE)*(VOL),7) - (AVPRICE)*(VOL))/(SUM(VOL,7) - VOL); A0:=((A11 - A16)/(AVPRICE))*(1000); A00:=IF((A0 > 50),50,IF((A0 < (-50)),(-50),A0)); A1:=((A6 - A11)/(AVPRICE))*(1000); AA11:=IF((A1 > 50),50,IF((A1 < (-50)),(-50),A1)); A2:=((((A6 - A7)/(A7))*(5))/(4))*(1000); A22:=IF((A2 > 50),50,IF((A2 < (-50)),(-50),A2)); 刻度线3:=(A00 + AA11 + A22); 趋势线:=IF((刻度线3 > 0),刻度线3,0); 兰刻度线:=IF((刻度线3 < 0),刻度线3,0); 做多趋势:趋势线,COLOR0000FF; 做空趋势:(-兰刻度线),COLORFF0000; STICKLINE(趋势线,0,趋势线,2,0),COLORRED; STICKLINE(兰刻度线,0,(-兰刻度线),2,0),COLORFF0000; 强弱界:50,COLORFFFFFF; 触顶线:145,COLOR0000FF,LINETHICK3; 精准买卖: 使用方法: 绿色箭头向下为卖出,红色箭头向上为买入,适用于大盘和个股各个周期。 简单修改 精准买卖,核对后,觉得不错,分享给大家。(顶尖财经 股票学院: www.58188.com) 和很多大神说的一样,公式只是辅助,对于股票而言,是不是妖股,一看题材,而看基本面,决策还是要靠自己,没有绝对准确的公式,穿越牛熊最终看的是严格的纪律,优良的狙击方针。 A:=(3*C+L+O+H)/6; AA:=(20*A+19*REF(A,1)+18*REF(A,2)+17*REF(A,3)+16*REF(A,4)+15*REF(A,5)+14*REF(A,6)+13*REF(A,7)+12*REF(A,8)+11*REF(A,9)+10*REF(A,10)+9*REF(A,11)+8*REF(A,12)+7*REF(A,13)+6*REF(A,14)+5*REF(A,15)+4*REF(A,16)+3*REF(A,17)+2*REF(A,18)+1*REF(A,19))/210,COLORRED; 马线:=MA(AA,6),COLORGREEN; MAA5:=MA(C,5),COLORFF00FF,LINETHICK2; A3:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100; A4:=SMA(A3,3,1); A5:=SMA(A4,3,1); A6:=3*A4-2*A5; A7:=C-REF(C,1); A8:=100*EMA(EMA(A7,6),6)/(EMA(ABS(A7),6),6); 买:=LLV(A8,2)=LLV(A8,7) AND COUNT(A8<0,2) AND CROSS(A8,MA(A8,2)); DRAWTEXT(FILTER(买=1,5),LOW-0.05,'↖买进'),COLORYELLOW; LC:=REF(CLOSE,1); RSI:=((SMA(MAX((CLOSE-LC),0),3,1)/SMA(ABS(CLOSE-LC),3,1))*100); FF:=EMA(CLOSE,3); MA15:=EMA(CLOSE,21); 日:=150; 昨前:=3; G1:=REF(HHV(H,日),昨前); D1:=REF(LLV(H,日),昨前); W1:=G1-(G1-D1)*0.191; W2:=G1-(G1-D1)*0.382; W3:=G1-(G1-D1)*0.5; W4:=G1-(G1-D1)*0.618; W5:=G1-(G1-D1)*0.809; 顶:REFDATE(G1,DATE),COLORRED; X1:REFDATE(W1,DATE),COLORYELLOW; X2:REFDATE(W2,DATE),COLORMAGENTA; X3:REFDATE(W3,DATE),COLORWHITE; X4:REFDATE(W4,DATE),COLORGREEN; X5:REFDATE(W5,DATE),COLORYELLOW; 低:REFDATE(D1,DATE),COLORRED; 黄金梯 选股公式 无加密: 选股公式源码如下: {公式描述: ★0=长阳,1=将军,2=次黄金,3=黄金,4=标准黄金柱} 基柱是倍量:=1; {1=倍量,0=小倍量;} 基柱类型:=1; {0=长阳,1=将军柱,2=次黄金柱,3=黄金柱,4=标准黄金柱;} 梯周期至少:=5; {每个黄金梯至少的周期宽度;} N日内有信号:=1; {例如,取3时,表示前天\昨天\今天,3天内任何一天有符合条件的,都会选出} HJ_1:=MIN(CLOSE,OPEN); HJ_2:=基柱类型; HJ_3:=LLV(CLOSE,3)>=REF(HJ_1,3); HJ_4:=IF(基柱是倍量=1,1.8,1.1); HJ_5:=VOL>=REF(VOL,1)*HJ_4; HJ_6:=CLOSE/REF(CLOSE,1)>1.02 OR CLOSE/OPEN>1.02; HJ_7:=REF(HJ_6,3) AND HJ_3; HJ_8:=CLOSE>REF(CLOSE,1); HJ_9:=CLOSE>REF(MAX(CLOSE,OPEN),1) AND HJ_6; HJ_10:=HJ_5 AND HJ_9; HJ_11:=MA(VOL,3)<=REF(VOL,3)*1.03; HJ_12:=REF(HJ_10,3) AND HJ_3; HJ_13:=MA(CLOSE,3)>=REF(CLOSE,3) AND CLOSE>=REF(CLOSE,3); HJ_14:=COUNT(HJ_8 OR CLOSE>OPEN,3)=3; HJ_15:=HHV(VOL,3)<=REF(VOL,3)*1.03; HJ_16:=HJ_12 AND HJ_13 AND HJ_11; HJ_17:=LLV(CLOSE,3)>=REF(CLOSE,3); HJ_18:=HJ_16 AND HJ_17 AND HJ_15; HJ_19:=COUNT(HJ_8,3)=3; HJ_20:=COUNT(VOL<REF(VOL,1),3)=3; HJ_21:=HJ_18 AND HJ_19 AND HJ_20; HJ_22:=IF(HJ_2=1,HJ_12,IF(HJ_2=2,HJ_16,IF(HJ_2=3,HJ_18,IF(HJ_2=4,HJ_21,HJ_7)))); HJ_23:=BARSLAST(HJ_22); HJ_24:=REF(LOW,HJ_23+3); HJ_25:=HJ_24; HJ_26:=LLV(CLOSE,HJ_23)>=HJ_25 AND HJ_23>=梯周期至少-2; HJ_27:=HJ_26; HJ_28:=REF(HJ_27,HJ_23+1); HJ_29:=REF(HJ_28,HJ_23+1); HJ_30:=HJ_25>=REF(HJ_25,HJ_23+1); HJ_31:=3; HJ_32:=IF(HJ_31=1,HJ_27,IF(HJ_31=2,HJ_27 AND HJ_28 AND HJ_30,HJ_27 AND HJ_28 AND HJ_29 AND HJ_30 AND REF(HJ_30,HJ_23+1))); HJ_33:=HJ_32 AND BETWEEN(HJ_23,梯周期至少-2,40); XG:COUNT(HJ_33,N日内有信号); |