分析家公式网,提供指标公式,股票软件 用户登录  |  用户 注册
当前位置:分析家公式网股票公式通达信公式 → 一键转帖:红帆十面埋伏

软件名称:[B]红帆十面埋伏[/B]
软件类型:国产软件
运行环境:Win9X/Win2000/WinXP/Win2003/Win7/
软件语言:简体中文
授权方式:免费版
软件大小:12.0 KB
官方主页:Home Page
更新时间:2016-02-14 01:08:46
软件简介:

 {主力潜伏}

N3:=14;
M:=156;
TYP:=(HIGH+LOW+CLOSE)/3;
DIFF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA1:=EMA(DIFF,9);
MACD1:=2*(DIFF-DEA1);
主力潜伏中:=COUNT(MACD1<0,10)=10;
STICKLINE(主力潜伏中,0,4,3,0),COLOR00CCFF;
DRAWTEXT(ISLASTBAR,6,'--主力潜伏'),COLOR00CCFF;
获利盘:WINNER(CLOSE)*100,COLOR00CCFF,LINETHICK0.03;
{主力出逃}
资金:=EMA(100*(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34)),3)/4;
外围游资:=(资金>23.16);
STICKLINE((资金>23.16),0,4,4,0),COLORGREEN;
{DRAWTEXT(外围游资,2.5,'*'),COLOR2828FF;}
DRAWTEXT(ISLASTBAR,2,'--主力出逃'),COLOR00FF00;
 
{出手就赢}
VAR2H:=REF(LOW,1);
VAR3H:=SMA(ABS(LOW-VAR2H),3,1)/SMA(MAX(LOW-VAR2H,0),3,1)*100;
VAR4H:=EMA(IF(CLOSE*1.3,VAR3H*10,VAR3H/10),3);
VAR5H:=LLV(LOW,30);
VAR6H:=HHV(VAR4H,30);
VAR7H:=IF(MA(CLOSE,58),1,0);
VAR8H:=EMA(IF(LOW<=VAR5H,(VAR4H+VAR6H*2)/2,0),3)/618*VAR7H;
VAR9H:=IF(VAR8H>100,100,VAR8H);
STICKLINE(VAR9H>-150,0,VAR9H,4,0.3),COLOR888888;
底部吸筹指标:= (CLOSE-MA(CLOSE,40))/MA(CLOSE,40)*100;
DRAWICON(CROSS(底部吸筹指标,-24),30,26);
先知:= (CLOSE-MA(CLOSE,5))/MA(CLOSE,5)/10;
DRAWICON(先知,30,1);
{可能放量拉升:= IF(CROSS(底部吸筹指标,-24),1,0);
短线获利:=STICKLINE(REF("KDJ.J",1)<0 AND "KDJ.J">0);}
VARK1:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100;
VARK2:=REVERSE(VARK1);
VARK3:=SMA(VARK1,3,1);
{波段王:=SMA(VARK3,3,1);
波段鬼:=SMA(波段王,2.5,1);}
趋势线:= 3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1), ,COLORFF6666,LINETHICK2;
RSV9:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100; 
K1:=SMA(RSV9,3,1);DK1:=K1-REF(K1,1);
出手就赢:=(DK1>7 AND REF(DK1,1)<0 AND (DK1-REF(DK1,1))>9);
DRAWICON(出手就赢>0,30,1);
买点准备:=(趋势线<=10);
DRAWICON(REF("KDJ.J",1)<0 AND "KDJ.J">0,30,25);
DRAWTEXT(ISLASTBAR,30,'--出手就赢');
 
{主力进场}
VAR1A:=REF((LOW+OPEN+CLOSE+HIGH)/4,1); 
VAR2A:=SMA(ABS(LOW-VAR1A),13,1)/SMA(MAX(LOW-VAR1A,0),10,1); 
VAR3A:=EMA(VAR2A,10);
VAR4A:=LLV(LOW,33);
VAR5A:=EMA(IF(LOW<=VAR4A,VAR3A,0),3);
主力进场:=(VAR5A>REF(VAR5A,1));
DRAWICON(主力进场,40,1);
DRAWTEXT(ISLASTBAR,40,'--主力进场');
 
{抄底魔鬼}
底7:=(CLOSE-MA(CLOSE,58))/MA(CLOSE,58)<-0.225;
DRAWICON(底7,10,26);
VAR2:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100;
VAR3:=SMA(SMA(VAR2,3,1),3,1); 
VAR4:=SMA(VAR3,3,1); 
VAR5:=3*VAR3-2*VAR4;
VAR6:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA
(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1);
VAR7:=10; 
底3:=(CROSS(VAR6,VAR7));
DRAWICON(底3,10,1);
VAR8:=(CLOSE-LLV(LOW,60.135))/(HHV(HIGH,60.135)-LLV(LOW,60))*80; 
VAR9:=SMA(VAR8,7,1); VARA:=SMA(VAR9,5,1);
底4:=(CROSS(VAR9,VARA AND VAR9<20));
DRAWICON(CROSS(VAR9,VARA AND VAR9<20),10,1); 
VARB:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100; 
VARC:=SMA(VARB,5,1); VARD:=SMA(VARC,5,1); 
底5:=(CROSS(VARC,VARD AND VARC<20));
DRAWICON(底5,10,1);
VARE:=1/WINNER(CLOSE); VARF:=(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*100;
VAR10:=100-ABS(VARF); VAR11:=IF(VARE>5,IF(VARE<100,VARE,VAR10-10),0);
VAR12:=HHV(HIGH,25); VAR13:=LLV(LOW,25); 
VAR14:=EMA((CLOSE-VAR13)/(VAR12-VAR13)*100,5); 
底6:=(CROSS(VAR14,VAR11)); 
DRAWICON(底6,10,13);
DRAWTEXT(ISLASTBAR,10,'--抄底魔鬼');
{CCI合并}
DRAWICON(CROSS(200,CCI),70,27);
DRAWICON( CROSS(CCI,-200),70,26);
DRAWICON( CROSS(CCI,-100),70,1);
DRAWTEXT(ISLASTBAR,70,'--CCI合并');
 
{机会来临}
VAR2K:=REF(LOW,1); 
VAR3K:=SMA(ABS(LOW-VAR2K),13,1)/SMA(MAX(LOW-VAR2K,0),13,1)*100; 
VAR4K:=EMA(IF(CLOSE*1.2,VAR3K*13,VAR3K/13),13); 
VAR5K:=LLV(LOW,34); 
VAR6K:=HHV(VAR4K,34); 
VAR7K:=IF(LLV(LOW,55),1,0); 
VAR8K:=EMA(IF(LOW<=VAR5K,(VAR4K+VAR6K*2)/2,0),3)/618*VAR7K; 
VAR9K:=EMA(CLOSE,5); 
VAR10K:=(CLOSE-MA(CLOSE,34))/MA(CLOSE,34)*(-10); 
VAR11K:=EMA(IF(LOW<=VAR5K,(VAR4K+VAR6K*2)/2,0),3)/618*VAR7K*(-1); 
VAR12K:=EMA(CLOSE,5)*(-1); 
XL1:=MA(LOW,2)*0.96; 
XL2:=MA(LOW,26)*0.85; 
XL3:=REF(XL1,1)<XL2 AND REF(XL1,1)<XL1 AND REF(XL1,1)<REF(XL1,2); 
DRAWICON(XL3,20,1); 
VA:=(2*C+H+L)/4; 
VB:=LLV(L,5); 
VC:=HHV(H,5); 
红线上穿买:EMA((VA-VB)/(VC-VB)*27,5)*4,COLOR0000D2; 
红线下穿卖:EMA(红线上穿买,3),COLORFF9900; 
散户:= EMA(((2*CLOSE+HIGH+LOW)/4-LLV(LOW,5))/(HHV(HIGH,4)-LLV(LOW,5))*100,4); 
庄家:= EMA(0.667*REF(散户,1)+0.333*散户,2); 
DRAWICON(CROSS(散户,庄家) AND 散户<30,80,1); 
DRAWICON(CROSS(庄家,散户) AND 散户>70,80,2); 
极品底:=((MA(C,5)-C)/C>0.04 AND (MA(C,10)-MA(C,5))/MA(C,5)>0.04); 
DRAWICON(极品底,80,25); 
RSV:=(((CLOSE - LLV(LOW,9)) / (HHV(HIGH,9) - LLV(LOW,9))) * 100); 
K:=SMA(RSV,3,1); 
D:=SMA(K,3,1); 
J:=3*K-2*D; 
X:=LLV(J,2)=LLV(J,8); 
DRAWICON(CROSS(J,REF(J+0.01,1)) AND X AND J<19,80,1); 
QVAR1A:=((HHV(HIGH,21)-CLOSE)/(HHV(HIGH,21)-LLV(LOW,21)))*(100)-10; 
QVAR1B:=((CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21)))*(100); 
QVAR1C:=SMA(QVAR1B,13,8); 
QVAR1D:=SMA(QVAR1A,21,8); 
机会来临:=SMA(QVAR1C,13,8); 
AAS:=FILTER((COUNT((机会来临-QVAR1D<(-65)),3)=3),34); 
DRAWICON(AAS,80,1);
DRAWTEXT(ISLASTBAR,80,'--机会来临');
 
{最佳买入选股}
LC:=REF(CLOSE,1);
RSI5:=((SMA(MAX((CLOSE - LC),0),5,1) / SMA(ABS((CLOSE - LC)),5,1)) * 100);
TR1:=SUM(MAX(MAX((HIGH - LOW),ABS((HIGH - REF(CLOSE,1)))),ABS((LOW - REF(CLOSE,1)))),10);
HD:=(HIGH - REF(HIGH,1));
LD:=(REF(LOW,1) - LOW);
DMP:=SUM(IF(((HD > 0) AND (HD > LD)),HD,0),10);
DMM:=SUM(IF(((LD > 0) AND (LD > HD)),LD,0),10);
PDI:=((DMP * 100) / TR1);
MDI:=((DMM * 100) / TR1);
ADX:=MA(((ABS((MDI - PDI)) / (MDI + PDI)) * 100),5);
AV:=(RSI5 + ADX);
DXR:=(((ADX + REF(ADX,5)) / 2) + RSI5);
WR10:=((100 * (HHV(HIGH,10) - CLOSE)) / (HHV(HIGH,10) - LLV(LOW,10)));
NEWVOL:=(RSI5 - WR10);
最佳买入:=(AV + NEWVOL);
最佳买入选股:=(CROSS(最佳买入,0));
DRAWICON(最佳买入选股,50,1);
RSVA:=(((CLOSE - LLV(LOW,9)) / (HHV(HIGH,9) - LLV(LOW,9))) * 50); 
KA:=SMA(RSVA,3,1); 
DA:=SMA(KA,3,1); 
JA:=3*KA-2*DA; 
XB:=LLV(JA,2)=LLV(JA,8);  [url=http://www.70822.com/soft/sort013/sort05/down-94683.html]红帆十面埋伏[/url]

关于本站 | 网站帮助 | 广告合作 | 声明 | 友情连接 | 网站地图 |
分析家公式网声明:本站所有股票公式软件资料均网上公开收集,如侵权请联系删帖。站内所有广告,均与本站无关!
Copyright © 2003-2024 70822.Com. All Rights Reserved .
页面执行时间:31.25000 毫秒