做價值的傳播者,,一路同行,,一起成長 適用軟件:通達信 公式源碼:
1,、K線解盤預測副圖指標:(源碼較多,,注意復制不要漏缺) STICKLINE(CURRBARSCOUNT=118,100,0,200,0),COLORWHITE;均價:=(OPEN+HIGH+LOW+CLOSE*2)/5,NODRAW;明心價:=(均價+突破+阻力+支撐+下降)/5,NODRAW;今保價:=(REF(CLOSE,2)+REF(CLOSE,1)+OPEN)/3,NODRAW; PP:=明心價*100-INTPART(明心價*100);{取小數(shù)點后第三位開始往后的數(shù)值然后四舍五入}QQ:=今保價*100-INTPART(今保價*100);十倍明日心理價:(INTPART(PP*10))*0.01+INTPART(明心價*100)*0.1,NODRAW;十倍近日保護價:(INTPART(QQ*10))*0.01+INTPART(今保價*100)*0.1,NODRAW;{由于通達信默認四舍五入,,故放大十倍,查看原始數(shù)據(jù)}明日心理價:(INTPART(PP*10))*0.001+INTPART(明心價*100)*0.01,NODRAW;今日保護價:(INTPART(QQ*10))*0.001+INTPART(今保價*100)*0.01,NODRAW;昨天均價:=(REF(OPEN,1)+REF(HIGH,1)+REF(LOW,1)+REF(CLOSE,1)*2)/5,NODRAW;昨天突破:=昨天均價+REF(HIGH,1)-REF(LOW,1),NODRAW;昨天阻力:=昨天均價*2-REF(LOW,1),NODRAW;昨天支撐:=昨天均價*2-REF(HIGH,1),NODRAW;昨天下降:=昨天均價-REF(HIGH,1)+REF(LOW,1),NODRAW;昨明心價:=(昨天均價+昨天突破+昨天阻力+昨天支撐+昨天下降)/5,NODRAW;昨今保價:=(REF(CLOSE,3)+REF(CLOSE,2)+REF(OPEN,1))/3,NODRAW;昨PP:=昨明心價*100-INTPART(昨明心價*100);{取小數(shù)點后第三位開始往后的數(shù)值然后四舍五入}昨QQ:=昨今保價*100-INTPART(昨今保價*100);昨天明日心理價:=(INTPART(昨PP*10))*0.001+INTPART(昨明心價*100)*0.01,NODRAW;昨天今日保護價:=(INTPART(昨QQ*10))*0.001+INTPART(昨今保價*100)*0.01,NODRAW;BCD1:=CONST(IF(CLOSE<明日心理價 ,1,0));{高開}BCD2:=CONST(IF(CLOSE>明日心理價 ,1,0));{低開}BCD3:=CONST(IF(CLOSE=明日心理價 ,1,0)); BCA1:=CONST(IF(OPEN<REF(CLOSE,1),1,0));{實際今日低開}BCA2:=CONST(IF(OPEN>REF(CLOSE,1),1,0));{實際今日高開}BCA3:=CONST(IF(OPEN=REF(CLOSE,1),1,0));{實際今日平開}DEF1:=CONST(IF(REF(CLOSE,1)>昨天明日心理價,1,0));{昨日預測今日低開}DEF2:=CONST(IF(REF(CLOSE,1)<昨天明日心理價,1,0));{昨日預測今日高開}DEF3:=CONST(IF(REF(CLOSE,1)=昨天明日心理價,1,0));{兩值相同}DRAWTEXT( CURRBARSCOUNT=125,93,'明日提示:'),COLORRED; DRAWTEXT(BCD1=1 AND BCD3=0 AND CURRBARSCOUNT=125,84,'預測明日高開'),COLORRED; DRAWTEXT(BCD2=1 AND BCD3=0 AND CURRBARSCOUNT=125,84,'預測明日低開'),COLORRED; DRAWTEXT(BCD3=1 AND CURRBARSCOUNT=125,84,'兩值相同,,不做預測'),COLORRED;DRAWTEXT(CURRBARSCOUNT=125,64,'今日結(jié)果驗證:'),COLORBLACK;{低開}DRAWTEXT(BCA1=1 AND DEF1=1 AND BCA3=0 AND CURRBARSCOUNT=125,56,'預測成功,,今日低開。'),COLORBLACK; DRAWTEXT(BCA2=1 AND DEF1=1 AND BCA3=0 AND CURRBARSCOUNT=125,56,'預測錯誤,,今日高開,。'),COLORBLACK;{低開}DRAWTEXT(BCA1=1 AND DEF2=1 AND BCA3=0 AND CURRBARSCOUNT=125,56,'預測錯誤,,今日低開,。'),COLORBLACK; DRAWTEXT(BCA2=1 AND DEF2=1 AND BCA3=0 AND CURRBARSCOUNT=125,56,'預測正確,,今日高開。'),COLORBLACK;{高開}DRAWTEXT(BCA3=1 AND( DEF2=1 OR DEF1=1 ) AND CURRBARSCOUNT=125,56,'預測錯誤,今日平開,。'),COLORBLACK;{平開}DRAWTEXT( CURRBARSCOUNT=125,36,'昨日提示:'),COLORBLUE; DRAWTEXT(DEF1=1 AND DEF3=0 AND CURRBARSCOUNT=125,28,'預測今日低開'),COLORBLUE; DRAWTEXT(DEF2=1 AND DEF3=0 AND CURRBARSCOUNT=125,28,'預測今日高開'),COLORBLUE; DRAWTEXT(DEF3=1 AND CURRBARSCOUNT=125,28,'兩值相同,,不做預測'),COLORBLUE;TJ1:=(C+0.01-REF(C,1))/REF(C,1)*100;TJ2:=(C-0.01-REF(C,1))/REF(C,1)*100;TJ3:=(C-REF(C,1))/REF(C,1)*100;Q2:=IF(TJ2<9.95 AND TJ3>=9.95,1,0);促進指數(shù)MFL:=(HIGH-LOW)*1000000/(VOL*比),COLORRED;AY2:=EMA(CLOSE,12)-EMA(CLOSE,26);L211:=IF(LT2,LLV(L,21),DRAWNULL),COLOR217158,CIRCLEDOT;ZXC5:=(CLOSE > MA(CLOSE,5));ZXC6:=(MA(CLOSE,5) > MA(CLOSE,10));ZXC7:=(CLOSE > MA(CLOSE,10));ZXC8:=(MA(CLOSE,5) > MA(CLOSE,20));ZXC9:=(CLOSE > MA(CLOSE,20));YYBCD11:=(ZXC4 > YYBCD10);ZXCVX:=(((((IF(ZXC5,10,(0 - 10)) + IF(ZXC6,10,(0 - 10))) + IF(ZXC7,10,(0 - 10))) + IF(ZXC8,10,(0 - 10))) + IF(ZXC9,10,(0 - 10))) + IF(YYBCD11,10,(0 - 10)));J1:=CONST(IF( ZXCVX > 0,200,100));J2:=CONST(IF( ZXCVX > 0,00,100));J3:=CONST(IF( ZXCVX > 0,100,100));尊重1:=CONST(IF(((CROSS(ZXCVX,1) AND (YYV1 >= YYV2)) AND (DSLX >= DSLX1)),1,0)),NODRAW;尊重2:=CONST(IF(((CROSS(ZXCVX,1) AND (YYV1 < YYV2)) AND (DSLX >= DSLX1)),1,0));尊重3:=CONST(IF(((CROSS(ZXCVX,1) AND (YYV1 > YYV2)) AND (DSLX < DSLX1)),1,0));尊重4:=CONST(IF(((CROSS(ZXCVX,1) AND (YYV1 <= YYV2)) AND (DSLX < DSLX1)),1,0));尊重5:=CONST(IF(((CROSS(1,ZXCVX) AND (YYV1 >= YYV2)) AND (DSLX >= DSLX1)),1,0));尊重6:=CONST(IF(((CROSS(1,ZXCVX) AND (YYV1 < YYV2)) AND (DSLX >= DSLX1)),1,0));尊重7:=CONST(IF(((CROSS(1,ZXCVX) AND (YYV1 >= YYV2)) AND (DSLX < DSLX1)),1,0));尊重8:=CONST(IF(((CROSS(1,ZXCVX) AND (YYV1 < YYV2)) AND (DSLX < DSLX1)),1,0));尊重9:=CONST(IF(((((ZXCVX >= 1) AND (REF(ZXCVX,1) > 0)) AND (YYV1 >= YYV2)) AND (DSLX >= DSLX1)),1,0));尊重10:=CONST(IF(((((ZXCVX >= 1) AND (REF(ZXCVX,1) > 0)) AND (YYV1 < YYV2)) AND (DSLX >= DSLX1)),1,0));尊重11:=CONST(IF(((((ZXCVX >= 1) AND (REF(ZXCVX,1) > 0)) AND (YYV1 >= YYV2)) AND (DSLX < DSLX1)),1,0)),NODRAW;尊重12:=CONST(IF(((((ZXCVX >= 1) AND (REF(ZXCVX,1) > 0)) AND (YYV1 < YYV2)) AND (DSLX < DSLX1)),1,0));尊重13:=CONST(IF(((((ZXCVX < 1) AND (REF(ZXCVX,1) < 0)) AND (YYV1 >= YYV2)) AND (DSLX >= DSLX1)),1,0));尊重14:=CONST(IF(((((ZXCVX < 1) AND (REF(ZXCVX,1) < 0)) AND (YYV1 < YYV2)) AND (DSLX >= DSLX1)),1,0));尊重15:=CONST(IF(((((ZXCVX < 1) AND (REF(ZXCVX,1) < 0)) AND (YYV1 >= YYV2)) AND (DSLX < DSLX1)),1,0));尊重16:=CONST(IF(((((ZXCVX < 1) AND (REF(ZXCVX,1) < 0)) AND (YYV1 < YYV2)) AND (DSLX < DSLX1)),1,0));市場1:=CONST(IF((CROSS(ZXCVX,1) AND (YYV1 >= YYV2)),1,0));市場2:=CONST(IF((CROSS(ZXCVX,1) AND (YYV1 < YYV2)),1,0));市場3:=CONST(IF((CROSS(1,ZXCVX) AND (YYV1 >= YYV2)),1,0));市場4:=CONST(IF((CROSS(1,ZXCVX) AND (YYV1 < YYV2)),1,0));市場5:=CONST(IF((((ZXCVX >= 1) AND (REF(ZXCVX,1) > 0)) AND (YYV1 >= YYV2)),1,0));市場6:=CONST(IF((((ZXCVX >= 1) AND (REF(ZXCVX,1) > 0)) AND (YYV1 < YYV2)),1,0));市場7:=CONST(IF((((ZXCVX < 1) AND (REF(ZXCVX,1) < 0)) AND (YYV1 >= YYV2)),1,0));市場8:=CONST(IF((((ZXCVX < 1) AND (REF(ZXCVX,1) < 0)) AND (YYV1 < YYV2)),1,0));MFI:=(HIGH-LOW)*1000000/(VOL*比);ZTBCA1:=IF(尊重1=1,0.7+0.06,0.7); TS2:=IF(尊重2=1,ZTBCA1+0.06,ZTBCA1); TS3:=IF(尊重3=1,TS2+0.06,TS2); TS4:=IF(尊重4=1,TS3+0.06,TS3);TS5:=IF(尊重5=1,TS4+0.06,TS4); TS6:=IF(尊重6=1,TS5+0.06,TS5);TS7:=IF(尊重7=1,TS6+0.06,TS6); TS8:=IF(尊重8=1,TS7+0.06,TS7);TS9:=IF(尊重9=1,TS8+0.06,TS8);ZTBCA10:=IF(尊重10=1,TS9+0.06,TS9); ZTBCA11:=IF(尊重11=1,ZTBCA10+0.06,ZTBCA10);ZTBCA12:=IF(尊重12=1,ZTBCA11+0.06,ZTBCA11);ZTBCA13:=IF(尊重13=1,ZTBCA12+0.06,ZTBCA12); ZTBCA14:=IF(尊重14=1,ZTBCA13+0.06,ZTBCA13);ZTBCA15:=IF(尊重15=1,ZTBCA14+0.06,ZTBCA14); ZTBCA16:=IF(尊重16=1,ZTBCA15+0.06,ZTBCA15);ZTBCA17:=IF(市場1=1,ZTBCA16+0.06,ZTBCA16); ZTBCA18:=IF(市場2=1,ZTBCA17+0.06,ZTBCA17); ZTBCA19:=IF(市場3=1,ZTBCA18+0.06,ZTBCA18); TS20:=IF(市場4=1,ZTBCA19+0.06,ZTBCA19);TS21:=IF(市場5=1,TS20+0.06,TS20); TS22:=IF(市場6=1,TS21+0.06,TS21);TS23:=IF(市場7=1,TS22+0.06,TS22); TS24:=IF(市場8=1,TS23+0.06,TS23);DRAWTEXT_FIX(尊重1=1 ,0.3,0.080,0,'量能理想,明顯走強,中線參與,,倉位在2/3左右'),COLORRED;DRAWTEXT_FIX(尊重2=1 ,0.3,0.080,0,'走勢趨強量能不足,短線進場,,倉位在1/2左右'),COLORRED;DRAWTEXT_FIX(尊重3=1 ,0.3,0.080,0,'量價良好,,并沒有明顯走強,短線進場,,倉位1/2左右。'),COLORRED;DRAWTEXT_FIX(尊重4=1 ,0.3,0.080,0,'形態(tài)尚可,,量能不足,,未完全走強,短線參與,倉位1/3左右,。'),COLORRED;DRAWTEXT_FIX(尊重5=1 ,0.3,0.080,0,'形態(tài)變壞,,走勢尚可,重倉減大半,,清倉者觀望,。'),COLORRED;DRAWTEXT_FIX(尊重6=1 ,0.3,0.080,0,'隨市場一起下跌,明顯縮量走勢,,考慮市場風險,,減持或清倉。'),COLORRED;DRAWTEXT_FIX(尊重7=1 ,0.3,0.080,0,'該股放量下跌,,走勢明顯偏弱,,離場觀望。'),COLORRED;DRAWTEXT_FIX(尊重8=1 ,0.3,0.080,0,'該股縮量下跌,,走勢偏弱,,離場觀望。'),COLORRED;DRAWTEXT_FIX(尊重9=1 ,0.3,0.080,0,'該股形態(tài)良好,,強勢明顯,,量能充足,可以繼續(xù)持有,。'),COLORRED;DRAWTEXT_FIX(尊重10=1,0.3,0.080,0,'該股上行趨勢不變,,強勢依然,,但量能開始轉(zhuǎn)弱,注意風險'),COLORRED;DRAWTEXT_FIX(尊重11=1,0.3,0.080,0,'該股仍然具備上漲潛力,,但股性偏弱,,可考慮減倉。'),COLORRED;DRAWTEXT_FIX(尊重12=1,0.3,0.080,0,'該股走勢趨弱,,量能不足,,減持大部分籌碼'),COLORRED;DRAWTEXT_FIX(尊重13=1,0.3,0.080,0,'該股形態(tài)不佳,注意成交量的變化,,但目前不適合參與,。'),COLORRED;DRAWTEXT_FIX(尊重14=1,0.3,0.080,0,'該股趨勢不明,股價偏弱,,注意量能變化,,目前不宜參與。'),COLORRED;DRAWTEXT_FIX(尊重15=1,0.3,0.080,0,'有走強跡象,,但量能不足,,趨勢不明,不適合操作'),COLORRED;DRAWTEXT_FIX(尊重16=1,0.3,0.080,0,'該股走勢太弱,,沒有參與價值,。'),COLORRED;DRAWTEXT_FIX(市場1,0.3,0.3,0,'總勢量能理想,2/3倉位, 前一輪下跌,是否最佳買點,,否則謹慎介入,。'),COLORRED;DRAWTEXT_FIX(市場2,0.3,0.3,0,'總勢趨強,量能不足,,若前一輪下跌,,短線進場1/2,量能放大加倉,。'),COLORRED;DRAWTEXT_FIX(市場3,0.3,0.3,0,'總勢形態(tài)走壞,,重倉者可以減去大部分倉位。'),COLORRED;DRAWTEXT_FIX(市場4,0.3,0.3,0,'總勢縮量調(diào)整,,注意風險,,短線清倉觀望。'),COLORRED;DRAWTEXT_FIX(市場5,0.3,0.3,0,'總勢走勢良好,,量能理想,,可以繼續(xù)持有強勢股。'),COLORRED;DRAWTEXT_FIX(市場6,0.3,0.3,0,'總勢形態(tài)良好,,但量能稍顯不足,,隨時準備減倉'),COLORRED;DRAWTEXT_FIX(市場7,0.3,0.3,0,'總勢趨勢不明,注意成交量變化,目前不適宜進場,。'),COLORRED;DRAWTEXT_FIX(市場8,0.3,0.3,0,'總勢趨勢向下,,量能萎縮,不適合進場,。'),COLORRED;趨勢:5*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-3*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1)-SMA(SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1),2,1);抄底:IF(CROSS(趨勢,3),20,0),COLORRED;逃頂:IF(CROSS(108,趨勢),80,100),COLORGREEN;WR1:=100-100*(HHV(HIGH,55)-CLOSE)/(HHV(HIGH,55)-LLV(LOW,55));WR2:=100*(HHV(HIGH,13)-CLOSE)/(HHV(HIGH,13)-LLV(LOW,13));資金:WR1-A,COLORYELLOW,NODRAW ;{STICKLINE(CROSS(資金,0),0,30,3,0),COLORLIRED;}DRAWICON(CROSS(資金,0),趨勢,23);ABC:=REF(H,NN)=HHV(H,2*NN+1); ABDEF1:=REF(L,NN)=LLV(L,2*NN+1);QY:=BACKSET(ABC,NN+1); QY1:=BACKSET(ABDEF1,NN+1);CC:=FILTER(QY,NN) AND H=HHV(H,NN+1); CDEF1:=FILTER(QY1,NN) AND L=LLV(L,NN+1);CM:=FILTER(QY1,NN) AND L=LLV(L,NN+1);DRAWTEXT(CDEF1,0,'買'),COLORGREEN;DRAWTEXT(CC,逃頂,'賣'),COLORGREEN;2,、幅圖中“買”信號選股: NN:=8; ABC:=REF(H,NN)=HHV(H,2*NN+1); ABDEF1:=REF(L,NN)=LLV(L,2*NN+1); QY:=BACKSET(ABC,NN+1); QY1:=BACKSET(ABDEF1,NN+1); CC:=FILTER(QY,NN) AND H=HHV(H,NN+1); CDEF1:=FILTER(QY1,NN) AND L=LLV(L,NN+1); DRAWTEXT(CDEF1,0,'買'),COLORGREEN; 趨勢:=5*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-3*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1)-SMA(SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1),2,1);抄底:=IF(CROSS(趨勢,3),20,0),COLORRED;逃頂:=IF(CROSS(108,趨勢),80,100),COLORGREEN;WR1:=100-100*(HHV(HIGH,55)-CLOSE)/(HHV(HIGH,55)-LLV(LOW,55));WR2:=100*(HHV(HIGH,13)-CLOSE)/(HHV(HIGH,13)-LLV(LOW,13));DRAWICON(CROSS(資金,0),趨勢,23);散戶們的心?。哼x股難,,選到你崩潰,如何突破,? 我專門針對散戶們選股效果低下的問題,,提供了一個高效的解決方案,每天給我5分鐘,,告訴你我早盤計劃策略的選股邏輯,。 如何參加?
提供服務如下: 1,、轉(zhuǎn)換 --- 根據(jù)客戶提供的電腦板或者手機版技術(shù)指標源碼,,轉(zhuǎn)換成自己的手機軟件使用 2、編寫 --- 按照客戶定制指標時“提供的編寫要求”,,制作技術(shù)指標 3,、修改 --- 按照客戶“提供的修改要求”,修改技術(shù)指標
|