通达信买卖奇准副图公式
你:=MA(CLOSE,1); 老:=(LOW+HIGH+CLOSE)/3; 板:= MA(老,5); 好:= HHV(板,10); 急卖奇准:IF(HHV((你<好),5),100,50),COLORBLUE; 短卖奇准:IF(HHV((你<好),10),100,50),COLORGREEN; 老板:= MA(老,5); 买卖:=LLV(老板,10); 急买奇准:IF(LLV((你<买卖),5),50,0),COLORRED; 短买奇准:IF(LLV((你<买卖),10),50,0),COLORWHITE; TR1:=SUM(MAX(MAX((HIGH - LOW),ABS((HIGH - REF(CLOSE,1)))),ABS((LOW - REF(CLOSE,1)))),5); HD:=(HIGH - REF(HIGH,1)); LD:=(REF(LOW,1) - LOW); DMP:=(SUM(IF(((HD > 0) AND (HD > LD)),HD,0),5) ); DMM:=SUM(IF(((LD > 0) AND (LD > HD)),LD,0),5); 神偷线:=(((DMP ) * 100) / TR1); 辅助线:=((DMM * 100) / TR1); 动向趋势线:=(MA(((ABS((辅助线 - 神偷线)) / (辅助线 + 神偷线)) * 100),3)); ADXR:=((动向趋势线 + REF(动向趋势线,3)) / 2); VAR1:=MA(LOW,1); VAR2:=MA(HIGH,2); VAR3:=MA(CLOSE,2); VAR7:=REF(VAR3,1); 【强弱】:=((SMA(MAX((VAR3 - VAR7),0),5,1) / SMA(ABS((VAR3 - VAR7)),5,1)) * 100); 没神的只有不错:( IF(((动向趋势线 > 88) AND (神偷线 < 5.8)),80,0)),LINETHICK3,COLORFF00FF; R:=((CLOSE - LLV(LOW,9))/(HHV(HIGH,9) - LLV(LOW,9)))*(100); K:=EMA(R,3); D:=EMA(K,3); 一年十二倍:20,COLORRED; 陡峭度:=IF((BARSCOUNT(CLOSE) > 7),(100)*((MA(CLOSE,7))/(LLV(MA(CLOSE,7),7)) - 1),1); N:=IF((陡峭度 > 0.35),6,65); VAR11:=((-((100)*(HHV(HIGH,N) - CLOSE))/(HHV(HIGH,N) - LLV(LOW,N))))*((DATE < 20070110)); VAR1A:=((-((100)*(HHV(HIGH,N) - CLOSE))/(HHV(HIGH,N) - LLV(LOW,N))) + 100)*((DATE < 20070110)); 获利盘:=(WINNER(CLOSE))*(100); 获利线:=FORCAST(获利盘,7); 线:=(FORCAST(VAR1A,7))*((DATE < 20070110)); 满仓:=((线 > REF(线,1)) AND (线 < 25) AND (COUNT((线 > REF(线,1)),5) = 1) AND IF((N = 6),(获利盘 < 60),(获利盘 < 40)) AND (COUNT((获利线 > 20),20) > 0))*(40); STICKLINE(满仓,0,40,5,0),COLORRED; DRAWTEXT(满仓,45,'满仓'),COLORRED; 轻仓:=IF((获利盘 >= 60) AND (线 > REF(线,1)) AND (REF(线,1) < 20) AND (线 < 40) AND (COUNT((线 > REF(线,1)),5) = 1) AND (REF(N,1) = 6),1,0); STICKLINE(轻仓,20,D,4,1),COLORYELLOW; DRAWTEXT(轻仓,45,'轻仓'),COLORYELLOW; 出击:=CROSS(线,20) AND IF((COUNT(CROSS(K,D),3) = 1) AND (D < 40),1,(线 > D) OR (K > D) AND (D < 60)) AND IF((N = 6),(获利盘 < 70),(获利盘 < 40)) AND (COUNT((获利线 > 20),20) > 0); STICKLINE(出击,0,50,3,1),COLORMAGENTA; DRAWTEXT(出击,55,'出击'),COLORMAGENTA; 进一:CROSS(线,D) AND (D > 30) AND (D > REF(D,1)) AND (D < 80); 进二:CROSS(线,获利线) AND (D > 30) AND (获利线 > 25) AND (D > REF(D,1)); 低进:=IF(进一 AND (D > 获利线),进二,进一); DRAWTEXT(低进,30,'低进'),COLORRED; STICKLINE(低进,20,30,3,1),COLORRED;
移动端首页 | PC端
© by Gszb.com Mobile Web
通达信买卖奇准副图公式
你:=MA(CLOSE,1);
老:=(LOW+HIGH+CLOSE)/3;
板:= MA(老,5);
好:= HHV(板,10);
急卖奇准:IF(HHV((你<好),5),100,50),COLORBLUE;
短卖奇准:IF(HHV((你<好),10),100,50),COLORGREEN;
老板:= MA(老,5);
买卖:=LLV(老板,10);
急买奇准:IF(LLV((你<买卖),5),50,0),COLORRED;
短买奇准:IF(LLV((你<买卖),10),50,0),COLORWHITE;
TR1:=SUM(MAX(MAX((HIGH - LOW),ABS((HIGH - REF(CLOSE,1)))),ABS((LOW - REF(CLOSE,1)))),5);
HD:=(HIGH - REF(HIGH,1));
LD:=(REF(LOW,1) - LOW);
DMP:=(SUM(IF(((HD > 0) AND (HD > LD)),HD,0),5) );
DMM:=SUM(IF(((LD > 0) AND (LD > HD)),LD,0),5);
神偷线:=(((DMP ) * 100) / TR1);
辅助线:=((DMM * 100) / TR1);
动向趋势线:=(MA(((ABS((辅助线 - 神偷线)) / (辅助线 + 神偷线)) * 100),3));
ADXR:=((动向趋势线 + REF(动向趋势线,3)) / 2);
VAR1:=MA(LOW,1);
VAR2:=MA(HIGH,2);
VAR3:=MA(CLOSE,2);
VAR7:=REF(VAR3,1);
【强弱】:=((SMA(MAX((VAR3 - VAR7),0),5,1) / SMA(ABS((VAR3 - VAR7)),5,1)) * 100);
没神的只有不错:( IF(((动向趋势线 > 88) AND (神偷线 < 5.8)),80,0)),LINETHICK3,COLORFF00FF;
R:=((CLOSE - LLV(LOW,9))/(HHV(HIGH,9) - LLV(LOW,9)))*(100);
K:=EMA(R,3);
D:=EMA(K,3);
一年十二倍:20,COLORRED;
陡峭度:=IF((BARSCOUNT(CLOSE) > 7),(100)*((MA(CLOSE,7))/(LLV(MA(CLOSE,7),7)) - 1),1);
N:=IF((陡峭度 > 0.35),6,65);
VAR11:=((-((100)*(HHV(HIGH,N) - CLOSE))/(HHV(HIGH,N) - LLV(LOW,N))))*((DATE < 20070110));
VAR1A:=((-((100)*(HHV(HIGH,N) - CLOSE))/(HHV(HIGH,N) - LLV(LOW,N))) + 100)*((DATE < 20070110));
获利盘:=(WINNER(CLOSE))*(100);
获利线:=FORCAST(获利盘,7);
线:=(FORCAST(VAR1A,7))*((DATE < 20070110));
满仓:=((线 > REF(线,1)) AND (线 < 25) AND (COUNT((线 > REF(线,1)),5) = 1) AND IF((N = 6),(获利盘 < 60),(获利盘 < 40)) AND (COUNT((获利线 > 20),20) > 0))*(40);
STICKLINE(满仓,0,40,5,0),COLORRED;
DRAWTEXT(满仓,45,'满仓'),COLORRED;
轻仓:=IF((获利盘 >= 60) AND (线 > REF(线,1)) AND (REF(线,1) < 20) AND (线 < 40) AND (COUNT((线 > REF(线,1)),5) = 1) AND (REF(N,1) = 6),1,0);
STICKLINE(轻仓,20,D,4,1),COLORYELLOW;
DRAWTEXT(轻仓,45,'轻仓'),COLORYELLOW;
出击:=CROSS(线,20) AND IF((COUNT(CROSS(K,D),3) = 1) AND (D < 40),1,(线 > D) OR (K > D) AND (D < 60)) AND IF((N = 6),(获利盘 < 70),(获利盘 < 40)) AND (COUNT((获利线 > 20),20) > 0);
STICKLINE(出击,0,50,3,1),COLORMAGENTA;
DRAWTEXT(出击,55,'出击'),COLORMAGENTA;
进一:CROSS(线,D) AND (D > 30) AND (D > REF(D,1)) AND (D < 80);
进二:CROSS(线,获利线) AND (D > 30) AND (获利线 > 25) AND (D > REF(D,1));
低进:=IF(进一 AND (D > 获利线),进二,进一);
DRAWTEXT(低进,30,'低进'),COLORRED;
STICKLINE(低进,20,30,3,1),COLORRED;