当前位置:分析家公式网 → 股票公式 → 通达信公式 → 一键转帖:临门一脚(通达信公式 副图 源码 测试图)
软件名称:[B]临门一脚(通达信公式 副图 源码 测试图)[/B]
软件类型:国产软件
运行环境:Win9X/Win2000/WinXP/Win2003/Win7/
软件语言:简体中文
授权方式:免费版
软件大小:7.00 KB
官方主页:Home Page
更新时间:2020-02-16 00:38:20
软件简介:
{公式名称: 临门一脚}
DRAWGBK(CLOSE>0,RGB(1,1,1),RGB(1,1,1),0,0,1);
VAR1:=量能趋势#DAY>0;
VAR2:=IF(CLOSE>0,EMA(MAX(CLOSE-REF(CLOSE,1),0),83)/EMA(ABS(CLOSE-REF(CLOSE,1)),83)*101,0);
VAR3:=IF(VAR2>=53 AND VAR2>=REF(VAR2,1),30,0);
VAR4:=VAR3;
VAR5:=VAR2;
临门一脚:53<VAR5 AND VAR5>=REF(VAR5,1) AND VAR1,NODRAW,COLORLIRED;
DRAWBAND(86,RGB(0,118,118),53,RGB(0,0,0));
动力十足:IF(VAR4>0,1,DRAWNULL),NODRAW,COLOR0000CC;
DRAWBAND(86*动力十足,RGB(118,0,0),53*动力十足,RGB(0,0,0));
VAR5,COLORCYAN;
蓄势:53,COLORGREEN;
走强:58,COLORLIRED;
小妖:65,COLORWHITE;
大妖:72,COLORWHITE;
狂妖:80,COLORMAGENTA;
妖魔:86,COLOR0000CC;
IF(蓄势>VAR5,VAR5,DRAWNULL),COLORLIGRAY;
IF(蓄势<VAR5 AND VAR5>=REF(VAR5,1),VAR5,DRAWNULL),COLORYELLOW,LINETHICK2;
IF(走强<VAR5 AND VAR5>=REF(VAR5,1),VAR5,DRAWNULL),COLORRED,LINETHICK2;
IF(妖魔<VAR5 AND VAR5>=REF(VAR5,1),VAR5,DRAWNULL),COLORWHITE,LINETHICK2;
VAR6:=临门一脚;
STICKLINE(PERIOD=5 AND VAR6,53,58,2,0),COLORGREEN;
STICKLINE(PERIOD=5 AND VAR6,58,72,1,0),COLORYELLOW;
STICKLINE(PERIOD=5 AND VAR6,72,86,0.3,0),COLORLIMAGENTA;
股道稳赢:DRAWNULL,COLORCCCCCC;
QQ35:DRAWNULL,COLORCCCCCC;
{量能趋势}
RSVA1:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
RSVA2:=100*(HHV(HIGH,9)-CLOSE)/(HHV(HIGH,9)-LLV(LOW,9));
VAR21:=SMA(RSVA2,9,1)+100;
VAR11:=SMA(RSVA1,3,1);
VAR51:=SMA(VAR11,3,1)+100;
顶底线:=VAR51-VAR21+50;
VAR2:=LLV(LOW,33);
VAR3:=HHV(HIGH,21);
VAR4:=EMA((CLOSE-VAR2)/(VAR3-VAR2)*100,10)*-1+100;
趋势:=100-EMA(0.191*REF(VAR4,1)+0.809*VAR4,1);
STICKLINE(C,100,90,4,0),COLORFFCC33;
STICKLINE(C,90,80,4,0),COLORFF9933;
STICKLINE(顶底线>REF(顶底线,1),20,80,4,0),COLOR9999FF;
STICKLINE(顶底线<REF(顶底线,1),20,80,4,0),COLOR009966;
STICKLINE((趋势>REF(趋势,1) AND 顶底线<REF(顶底线,1)),20,80,4,0),COLOR9999FF;
STICKLINE((趋势<REF(趋势,1) AND 顶底线>REF(顶底线,1)),20,80,4,0),COLOR009966;
STICKLINE(C,20,10,4,0),COLORFF6633;
STICKLINE(C,10,0,4,0),COLORFF3333;
NOTEXT底线:10,COLORWHITE;
NOTEXT顶线:90,COLORWHITE;
趋势线1:=100-EMA(0.191*REF(VAR4,1)+0.809*VAR4,1),LINETHICK2,COLORBLUE;
{当前安全度:100-EMA(0.191*REF(VAR4,1)+0.809*VAR4,1),CIRCLEDOT,LINETHICK2,COLORRED; }
DRAWTEXT(CURRBARSCOUNT=6,5,'高安全区'),COLORWHITE;
DRAWTEXT(CURRBARSCOUNT=6,15,'安全区'),COLORWHITE;
DRAWTEXT(CURRBARSCOUNT=6,45,'绿区持币'),COLORFFC000;
DRAWTEXT(CURRBARSCOUNT=6,50,'(投资区)'),COLORWHITE;
DRAWTEXT(CURRBARSCOUNT=6,55,'粉区持股'),COLORFFC000;
DRAWTEXT(CURRBARSCOUNT=6,85,'风险区'),COLORWHITE;
DRAWTEXT(CURRBARSCOUNT=6,95,'高风险区'),COLORWHITE;
{开始拉升}
VAR22:=EXPMA(EXPMA(EXPMA((2*CLOSE+HIGH+LOW)/4,4),4),4);
天:=( MA((VAR22-REF(VAR22,1))/REF(VAR22,1)*100,2));
地:=( MA((VAR22-REF(VAR22,1))/REF(VAR22,1)*100,1));
STICKLINE(地>天 AND 地<0,10,0,1,0),COLORRED;
开始拉升:STICKLINE(地>天 AND 地<0,10,0,1,0)=1,COLORRED;
{强拉升}
Y1:=LLV(L,17);
Y2:=SMA(ABS(L-REF(L,1)),17,1);
Y3:=SMA(MAX(L-REF(L,1),0),17,2);
Q:=-(EMA(IF(L<=Y1,Y2/Y3,-3),1));
STICKLINE(CROSS(Q,0),15,0,4,0),COLORYELLOW;
强拉升:IF(CROSS(Q,0),1,0),COLORYELLOW;
{加强拉升}
Q1:=(CLOSE-MA(CLOSE,40))/MA(CLOSE,40)*100,COLOR00FF00,LINETHICK2;
STICKLINE(CROSS(Q1,-24),20,0,4,0),COLORMAGENTA;
加强拉升: IF(CROSS(Q1,-24),1,0),COLORMAGENTA;
{<<波段绝品>>}
VAR1B:=(HHV(HIGH,9)-CLOSE)/(HHV(HIGH,9)-LLV(LOW,9))*100-70;
VAR2B:=SMA(VAR1B,9,1)+100;
VAR3B:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
VAR4B:=SMA(VAR3B,3,1);
VAR5B:=SMA(VAR4B,3,1)+100;
VAR6B:=VAR5B-VAR2B;
趋势线:IF(VAR6B>45,VAR6B-45,0),COLOR00FFFF,LINETHICK2;
VAR2Q:=REF(LOW,1);
VAR3Q:=SMA(ABS(LOW-VAR2Q),3,1)/SMA(MAX(LOW-VAR2Q,0),3,1)*100;
VAR4Q:=EMA(IF(CLOSE*1.3,VAR3Q*10,VAR3Q/10),3);
VAR5Q:=LLV(LOW,30);
VAR6Q:=HHV(VAR4Q,30);
VAR7Q:=IF(MA(CLOSE,58),1,0);
VAR8Q:=EMA(IF(LOW<=VAR5Q,(VAR4Q+VAR6Q*2)/2,0),3)/999*VAR7Q;
{火焰山:=IF(VAR8Q>100,100,VAR8Q); }
{STICKLINE(火焰山>0 AND 火焰山>REF(火焰山,1),0 ,火焰山*1.2,3.5,0 ),COLOR4444FF; }
{STICKLINE(火焰山>0 AND 火焰山>REF(火焰山,1),0 ,火焰山*1.2,2.5,0 ),COLOR5555FF;}
{STICKLINE(火焰山>0 AND 火焰山>REF(火焰山,1),0 ,火焰山*1.2,1.5,0 ),COLOR7777FF; }
{STICKLINE(火焰山>0 AND 火焰山>REF(火焰山,1),0 ,火焰山*1.2,0.5,0 ),COLOR9999FF;}
STICKLINE(REF(趋势线,1)< 趋势线, 趋势线,REF(趋势线,1),3.5,0),COLOR000033;
STICKLINE(REF(趋势线,1)< 趋势线, 趋势线,REF(趋势线,1),2.8,0),COLOR000055;
STICKLINE(REF(趋势线,1)< 趋势线, 趋势线,REF(趋势线,1),2.0,0),COLOR000077;
STICKLINE(REF(趋势线,1)< 趋势线, 趋势线,REF(趋势线,1),1.2,0),COLOR000099;
STICKLINE(REF(趋势线,1)< 趋势线, 趋势线,REF(趋势线,1),0.4,0),COLOR0000DD;
STICKLINE(REF(趋势线,1)> 趋势线, 趋势线,REF(趋势线,1),3.5,0),COLOR003300;
STICKLINE(REF(趋势线,1)> 趋势线, 趋势线,REF(趋势线,1),2.8,0),COLOR005500;
STICKLINE(REF(趋势线,1)> 趋势线, 趋势线,REF(趋势线,1),2.0,0),COLOR007700;
STICKLINE(REF(趋势线,1)> 趋势线, 趋势线,REF(趋势线,1),1.2,0),COLOR009900;
STICKLINE(REF(趋势线,1)> 趋势线, 趋势线,REF(趋势线,1),0.4,0),COLOR00DD00;
{逃顶}
逃顶:=CROSS(82,RSI);
STICKLINE( 逃顶,逃顶,10,3.5,0),COLORFF5500;
STICKLINE( 逃顶,逃顶,15,2.5,0),COLORFF8800;
STICKLINE( 逃顶,逃顶,20,1.5,0),COLORFFAA00;
STI
[url=http://www.70822.com/soft/sort013/sort05/down-145192.html]临门一脚(通达信公式 副图 源码 测试图)[/url]
[url=http://www.70822.com/soft/sort013/sort05/down-145192.html]临门一脚(通达信公式 副图 源码 测试图)[/url]