VAR2:=LLV(LOW,10);
VAR3:=HHV(HIGH,25);
動力線:= EMA((CLOSE-VAR2)/(VAR3-VAR2)*4,4);
趨勢:=MA(動力線,3);
出擊:(趨勢>REF(趨勢,1)) AND (REF(趨勢,1)<REF(趨勢,2)) AND (趨勢<1);
VAR2:=LLV(LOW,10);
VAR3:=HHV(HIGH,25);
動力線:= EMA((CLOSE-VAR2)/(VAR3-VAR2)*4,4);
底部:=0.2;
關注:=0.5;
笑臉:FILTER(CROSS(動力線,關注),20) OR FILTER(CROSS(動力線,底部),20);
VAR2:=LLV(LOW,10);
VAR3:=HHV(HIGH,25);
動力線:= EMA((CLOSE-VAR2)/(VAR3-VAR2)*4,4);
底部:=0.2;
關注:=0.5;
笑臉:=FILTER(CROSS(動力線,關注),20) OR FILTER(CROSS(動力線,底部),20);
趨勢:=MA(動力線,3);
出擊:=(趨勢>REF(趨勢,1)) AND (REF(趨勢,1)<REF(趨勢,2)) AND (趨勢<1);
綜合:笑臉 AND 出擊;
{無未來函數,上面共三個公式,復制可用}
請通達信高手把這個技術指標改成條件選股公式:
VAR1:=SMA(MAX(CLOSE-REF(CLOSE,1),0),34,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),7,1)*100; rnVAR2:=SMA(MAX(CLOSE-REF(CLOSE,1),0),13,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),13,1)*100; rnVAR3:=BARSCOUNT(CLOSE); rnVAR4:=VAR1<20 AND VAR2<23 AND VAR3>35; rnVAR5:=VAR4 AND COUNT(VAR4,1)=1; rnVAR6:=EMA(CLOSE,21)-EMA(CLOSE,8); rnVAR7:=EMA(VAR6,5); rnVAR8:=TROUGHBARS(3,6,1)<4 AND CROSS(VAR6,VAR7); rnVAR9:=(HIGH+LOW+CLOSE)/3; rnVAR10:=IF(TROUGHBARS(3,16,1)=0 AND HIGH>LOW+0.04,4,0); rnVAR11:=(VAR9-MA(VAR9,14))/(0.015*AVEDEV(VAR9,14)); rn見底: VAR10,COLORYELLOW,LINETHICK3; rnDRAWTEXT(VAR11<-110 AND 見底>0,3,x27見底x27), ,COLORYELLOW; rnDRAWTEXT(見底 AND VAR11<-100 AND VAR8 AND VAR5>0,4.1,x27★組合5分鐘線選股思路獲利5%以上x27), , COLORRED; rnDRAWICON(見底>0,4,1); rnXX:=EMA(CLOSE,30)-EMA(CLOSE,17); rnAA:=EMA(XX,5); rnYY:=EMA(XX,13); rn短:=TROUGHBARS(3,10,1)<1 AND CROSS(XX,AA); rnDRAWICON(短>0,1.8,18); rnDRAWTEXT(短>0,1.8,x27慧眼x27),COLORWHITE; rn槍:=TROUGHBARS(3,5,1)<1 AND XX0,0.4,0),STICK,COLORF0F000,LINETHICK4; rnDRAWICON(短1>0,1.4,1 ); rnDRAWTEXT(短1>0,1.1,x27套利x27),COLORLIBLUE; rn短2:=CROSS(XX,AA) AND TROUGHBARS(3,7,1)<1; rnDRAWICON(短2>0,1.4,1 ); rnDRAWTEXT(短2,2.5,x27小牛x27),COLORWHITE; rn狙擊:短 OR 短1 OR 短2,COLORWHITE,LINETHICK9; rnVAR12:=PEAKBARS(3,15,1)<10; rnVAR13:=IF(VAR12=1,2,0); rn頂:= IF(VAR13=2,2,0); rn逃命:IF(頂>REF(頂,1),3,0),COLORRED,LINETHICK2; rnDRAWTEXT(逃命=3,3,x27逃!x27),COLORRED; rnRSV:= (CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*5; rnFASTK:=SMA(RSV,3,1); rn金:SMA(FASTK,3,1),COLORLIGREEN,COLORYELLOW; rn陰陽:SMA(金,5,1),COLORLICYAN,COLORMAGENTA; rnVAR14:=TROUGHBARS(3,15,1)<10; rnVAR15:=IF(VAR14=1,50,0); rn底部:=IF(VAR15=50,10,0); rn機構介入:底部/20,LINETHICK2 ,COLORBLUE; rnVAR16:=EMA(EMA(CLOSE,13),13); rn控盤:= (VAR16-REF(VAR16,1))/REF(VAR16,1)*1000,COLORFFCCCC,POINTDOT; rn無莊控盤:控盤<0,LINESTICK; rn有莊控盤: 控盤>REF(控盤,1) AND 控盤>0,LINETHICK3; rnVAR17:=100*WINNER(CLOSE*0.95); rn主力出貨: 控盤[0,COLORGREEN; rn高度控盤: VAR17>50 AND COST(85)0,COLORLIMAGENTA;]以下是出現見底黃色信號時的選股公式(順便提醒你一下這個公式含有未來函數,看視很準確的底部出擊信號,其實行情走了一段以后才出現的買點,慎用!):
VAR1:=SMA(MAX(CLOSE-REF(CLOSE,1),0),34,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),7,1)*100;
VAR2:=SMA(MAX(CLOSE-REF(CLOSE,1),0),13,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),13,1)*100;
VAR3:=BARSCOUNT(CLOSE);
VAR4:=VAR1<20 AND VAR2<23 AND VAR3>35;
VAR5:=VAR4 AND COUNT(VAR4,1)=1;
VAR6:=EMA(CLOSE,21)-EMA(CLOSE,8);
VAR7:=EMA(VAR6,5);
VAR8:=TROUGHBARS(3,6,1)<4 AND CROSS(VAR6,VAR7);
VAR9:=(HIGH+LOW+CLOSE)/3;
VAR10:=IF(TROUGHBARS(3,16,1)=0 AND HIGH>LOW+0.04,4,0);
VAR11:=(VAR9-MA(VAR9,14))/(0.015*AVEDEV(VAR9,14));
見底:=VAR10;
XG:VAR11<-110 AND 見底>0;
朋友,以下是你要的選股公式:
V1:=EMA(CLOSE,60)-EMA(CLOSE,300);
V2:=EMA(V1,300);
V3:=(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100;
V4:=SMA(V3,2,1);
V5:=SMA(V4,2,1);
V6:=CLOSE/REF(CLOSE,3)>=1.1;
V7:=BACKSET(V6,3);
ZM:V7 AND COUNT(V7,3)=1;
RSV:=(((CLOSE
-
LLV(LOW,33))
/
(HHV(HIGH,33)
-
LLV(LOW,33)))
*
100);
神仙:=SMA(RSV,7,1);
XG:=CROSS(神仙,20);
{個人看法。僅供參考。}
請高手把這個公式改成通達信選股公式,幫我看看有沒有未來函數(自己檢測沒有發現)
N:=74;rn上升通道:DRAWLINE(L<=LLV(L,10),LLV(L,10),H>=HHV(H,10),H,0),COLORFF00FF,LINETHICK2;rn下降通道:DRAWLINE(H>=HHV(H,10),H,L<=LLV(L,10),LLV(L,10),0),COLORFFFF33,LINETHICK2;rn抄底建倉:IF(上升通道>REF(上升通道,1),上升通道,N),NODRAW,COLOR00FFFF;rnrnDRAWTEXT(CROSS(上升通道,-24),H-0.99,x27⊙抄底建倉x27),COLOR00FFFF;rnDRAWTEXT(CROSS(下降通道,-24),H-0.4,x27⊙到頂減倉x27),COLOR0087F3;rn到頂減倉:IF(下降通道>REF(下降通道,1),下降通道,N),NODRAW,COLOR0087F3;N:=74;
上升通道:=DRAWLINE(L<=LLV(L,10),LLV(L,10),H>=HHV(H,10),H,0);
下降通道:=DRAWLINE(H>=HHV(H,10),H,L<=LLV(L,10),LLV(L,10),0);
抄底建倉:=IF(上升版通道>REF(上升通道,1),上升通道,N);
CROSS(上升通道,-24);
{DRAWLINE在賦值后就是通達信特有未權來函數};
請將這個通達信指標改寫成條件選股公式,并檢查信號是否會漂移,謝謝!
將這個函數的紅色向上箭頭的買入信號和向下的綠色箭頭賣出信號改寫成條件選股公式,并檢是否有未來函數,信號是否會漂移,謝謝!!!rnrnDIFF:(EMA(DCLOSE,5)-EMA(DCLOSE,20))*100;rnDEA:EMA(DIFF,5);rnZZ:=CROSS(DEA,DIFF);rnDRAWICON(ZZ,DEA,2);rnZZ1:=CROSS(DIFF,DEA);rnDRAWICON(ZZ1,DIFF,1);rnrnDIFF0:=(EMA(DCLOSE,12)-EMA(DCLOSE,26))*100;rnDEA0:=EMA(DIFF0,9);rnMACD:2*(DIFF0-DEA0),NODRAW;rnSTICKLINE(MACD>0,0,MACD,0.00001,0),COLORRED;rnrnDIFF2:=(EMA(CLOSE,12)-EMA(CLOSE,26))*100;rnDEA2:=EMA(DIFF2,9);rnMACD1:2*(DIFF2-DEA2),NODRAW;rnSTICKLINE(MACD1<0,0,MACD1,0.00001,0),COLORLIBLUE;rnrnSQX:=(C-MA(CLOSE,13))*100;rnDIFF7:=EMA(MA(SQX,7),1);rnDEA1:=EMA(DIFF7,7);rnMACD0:=(DIFF7-DEA1)*2,COLORSTICK;rn低位金叉:=IF(CROSS(DIFF7,DEA1) AND DIFF7<-0.1,0.3,0),COLORYELLOW,POINTDOT;rnSTICKLINE(低位金叉,0,15,4,0),COLORYELLOW;rnDRAWICON(低位金叉,0.3,1);rnJCCOUNT:=COUNT(CROSS(DIFF7,DEA1),BARSLAST(DEA1>=0));rn二次金叉:=IF(CROSS(DIFF7,DEA1) AND DEA1<0 AND COUNT(JCCOUNT=2,21)=1,0.2,0),COLORFF00FF,POINTDOT;rnSTICKLINE(二次金叉,30,15,4,0),COLORFF00FF;rnA1:=BARSLAST(REF(CROSS(DIFF7,DEA1),1));rn底背離:=IF(REF(CLOSE,A1+1)>CLOSE AND DIFF7>REF(DIFF7,A1+1) AND CROSS(DIFF7,DEA1),0.1,0),COLORRED,POINTDOT;rnSTICKLINE(底背離,45,30,4,0),COLORRED;rn{DRAWLINE(A1=0,DEA1,底背離,DEA1,0),COLORRED;}rnA2:=BARSLAST(REF(CROSS(DEA1,DIFF7),1));rn頂背離:=REF(CLOSE,A2+1)DIFF7 AND CROSS(DEA1,DIFF7),COLORGREEN;rnDRAWLINE(A2=0,DEA1,頂背離,DEA1,0),COLORGREEN;rnA3:=CROSS(DIFF7,DEA1) AND DEA1<0;rn零下二次金叉:=IF(FILTER(COUNT(A3,21)=2,10),0.05,0),COLORWHITE,POINTDOT;rnSTICKLINE(零下二次金叉,45,60,4,0),COLORWHITE;DIFF:=(EMA(DCLOSE,5)-EMA(DCLOSE,20))*100;
DEA:=EMA(DIFF,5);
ZZ:=CROSS(DEA,DIFF);
ZZ1:=CROSS(DIFF,DEA);
XG:ZZ OR ZZ1;
紅箭頭抄{襲ZZ}綠箭頭{ZZ1}就是這兩點。{僅供參考。}
這個指標其實沒什么意思,本質是MACD而已,紅色箭頭是MACD金叉買點,綠色是死叉賣點。因為要標明“二次”,指標信號必須漂移。
指標系統自帶的可以直接調用。
學會看均線,和系統自帶的MACD就行,不要什么公式
相關推薦:
專利轉讓稅收怎么算(技術轉讓所得繳稅)
失信被執行人名單查(被法院列入失信被執行人名單后影響)
虐待兒童怎么處理(虐童觸犯了哪些法律)
兒童意外險是什么(意外險如何買 小孩子要買嗎)
哺乳期上班時間規定(勞動法哺乳期上班時間)