当前位置:分析家公式网 → 股票公式 → 同花顺公式 → 一键转帖:乾坤生命线,灵犀一指(同花顺公式 副图 源码 测试图)
软件名称:[B]乾坤生命线,灵犀一指(同花顺公式 副图 源码 测试图)[/B]
软件类型:国产软件
运行环境:Win10/Win9X/Win8/Win2000/WinXP/Win2003/Win7/
软件语言:简体中文
授权方式:免费版
软件大小:2.00 KB
官方主页:Home Page
更新时间:2022-08-25 00:10:55
软件简介:
乾坤生命线
VAR0:=(MA(C,7));
VAR1:=(FORCAST(VAR0,7));
VAR2:=(FORCAST(VAR0,14));
VAR3:=(FORCAST(VAR0,70));
VAR4:=(FORCAST(VAR3,28));
VAR5:=(FORCAST(VAR3,58));
VAR6:=(BARSCOUNT(C));
VAR7:=(MOD(VAR6,2));
VAR8:=((MA(C,42)) * 0.45);
VTX0:=BARSCOUNT(C)=1;
VTX1:=BARSLAST(VTX0);
VTX2:=MOD(VTX1+1,2);
VAR13:=(IF(VAR1 < VAR8,VAR8,VAR1));
VAR14:=(IF(VAR2 < VAR8,VAR8,VAR2));
VAR15:=(IF(VAR3 < VAR8,VAR8,VAR3));
VAR16:=(IF(VAR4 < VAR8,VAR8,VAR4));
VAR17:=(IF(VAR5 < VAR8,VAR8,VAR5));
VAR18:=IF(VTX2 = 1 AND VAR16>VAR17,VAR17,VAR16);
VAR19:=IF(VTX2 = 1 AND VAR15<VAR16 AND VAR15>VAR17,VAR15,VAR16);
VAR20:=IF(VTX2 = 1 AND VAR15<VAR17 AND VAR15>VAR16,VAR15,VAR16);
VAR21:=IF(VAR15<VAR16 AND VAR15>VAR17,VAR19,VAR18);
VAR22:=IF(VAR15<VAR17,VAR20,VAR18);
V4 :IF(VAR17>VAR16,VAR17,VAR21),COLOR197800,LINETHICK3;
V5 :IF(VAR22<IF(VAR17>VAR16,VAR17,VAR21),VAR22,IF(VAR17>VAR16,VAR17,VAR21)),COLOR197800,LINETHICK1;
LXYZ:=MA(CLOSE,13);
LXYZ1:=((MA(CLOSE,42)) * 0.74);
LXYZ2:=((MA(CLOSE,42)) * 0.645);
LXYZ3:=((MA(CLOSE,42)) * 0.595);
LXYZ4:=((MA(CLOSE,42)) * 0.545);
LXYZ01:=((MA(CLOSE,42)) * 0.9);
DRAWTEXT(EXIST(LOW<=LXYZ01 AND C<120,30) ,LXYZ1,'=*'),colorgreen;
DRAWTEXT(EXIST(LOW<=LXYZ01 AND C<120,26),LXYZ2,'=*'),colorred;
DRAWICON(EXIST(LOW<=LXYZ01 AND C<120,1),LXYZ4,3);
LXYZ5:=((MA(CLOSE,42)) * 0.745);
LXYZ6:=((MA(CLOSE,42)) * 0.695);
LXYZ7:=((MA(CLOSE,42)) * 0.645);
DRAWTEXT(EXIST(LOW<=LXYZ01 AND C>150 AND C<300,30) ,LXYZ5,'=*'),colorgreen;
DRAWTEXT(EXIST(LOW<=LXYZ01 AND C>150 AND C<300,26),LXYZ6,'=*'),colorred;
DRAWTEXT(EXIST(LOW<=LXYZ01 AND C>150 AND C<300,26),LXYZ7,'=*'),coloryellow;
LXYZ8:=((MA(CLOSE,42)) * 0.85);
LXYZ9:=((MA(CLOSE,42)) * 0.795);
LXYZ10:=((MA(CLOSE,42)) * 0.695);
DRAWTEXT(EXIST(LOW<=LXYZ01 AND C>300,30) ,LXYZ8,'-'),colorgreen;
DRAWTEXT(EXIST(LOW<=LXYZ01 AND C>300,30) ,LXYZ9,'=*'),colorred;
DRAWTEXT(EXIST(LOW<=LXYZ01 AND C>300,26),LXYZ10,'=*'),coloryellow;MID:=(3*CLOSE+LOW+OPEN+HIGH)/6;
工作线: (20*MID+19*REF(MID,1)+18*REF(MID,2)+17*REF(MID,3)+16*REF(MID,4)
+15*REF(MID,5)+14*REF(MID,6)+13*REF(MID,7)+12*REF(MID,8)+11*REF(MID,9)
+10*REF(MID,10)+9*REF(MID,11)+8*REF(MID,12)+7*REF(MID,13)+6*REF(MID,14)
+5*REF(MID,15)+4*REF(MID,16)+3*REF(MID,17)+2*REF(MID,18)
+REF(MID,20))/210,coloryellow,LINETHICK1;
生命线:MA(工作线,6),colorred,LINETHICK1;
A:=(3*C+L+O+H)/6;//分析家公式网www.70822.com
X:=(20*A+19*REF(A,1)+18*REF(A,2)+17*REF(A,3)+16*REF(A,4)+15*REF(A,5)+
14*REF(A,6)+13*REF(A,7)+12*REF(A,8)+11*REF(A,9)+10*REF(A,10)+9*REF(A,11)+8*REF(A,12)
+7*REF(A,13)+6*REF(A,14)+5*REF(A,15)+4*REF(A,16)+3*REF(A,17)+2*REF(A,18)+
REF(A,20))/210;
S2:=SMA(C,3,1);
S6:=SMA(C,5,1);
DK:=2*(S2-S6);
主力成本:EMA(X,13),COLORFF00FF,LINETHICK0;
短期底部:LLV(HIGH,30),LINETHICK2,COLORFFCC00;
IF(MA(C,3),MA(C,3),DRAWNULL),coloryellow,LINETHICK2;
IF(MA(C,9),MA(C,9),DRAWNULL),colormagenta,LINETHICK2;
IF(MA(C,23.5),MA(C,23.5),DRAWNULL),colorwhite;
DRAWKLINE(HIGH,OPEN,LOW,CLOSE);
MA5:=MA(C,5);
MA10:=MA(C,10);
MA30:=MA(C,30);
FA:=BARSLAST(CROSS(MA10,MA5)) AND CROSS(MA5,MA10);
FB:=FA AND MA5>MA30 AND MA10>MA30 AND MA10>REF(MA10,1);
DRAWTEXT(FB,L-0.58,'持股'),colorred;
V1:=EMA(CLOSE,5);
V2:=EMA(EMA(CLOSE,90)*1.01,10);
DRAWTEXT(CROSS(V1,V2),V1+0.05,'直到涨'),colorgreen;
VAR1:=LLV(LOW,21);
VAR2:=HHV(HIGH,21);
AK1:=EMA((((CLOSE - VAR1) / (VAR2 - VAR1)) * 100),5);
AK:=EMA((((CLOSE - VAR1) / (VAR2 - VAR1)) * 50),13);
AB:=CROSS(AK1,AK);
DRAWTEXT((AB = 1),(LOW * 0.99),'低吸'),colormagenta;
AA1:=AMOUNT/V;
BB1:=L<AA1*0.9;
CC1:=(C-REF(C,1))/REF(C,1)*100>1.2;
DD1:=L<MA(C,5)*0.921;
EE1:=V<MA(V,5)*1.5;
慢建仓:=BB1 AND CC1 AND DD1 AND EE1,LINETHICK0,COLOR0099FF;
DRAWTEXT(慢建仓,L*0.99,'慢建仓'),COLOR0099FF;
VAR3AA:=IF((CLOSE>REF(CLOSE,1)),88,0);
VAR4AA:=IF(((CLOSE)/(REF(CLOSE,1))>1.05) AND ((HIGH)/(CLOSE)<1.01) AND (VAR3AA>0),91,0);
DRAWTEXT(FILTER((VAR4AA>90),45),(LOW)*(0.93),'★买 '),COLOR00FFFF;
DRAWTEXT(FILTER((VAR4AA>90),35),(LOW)*(0.99000001),'★买入'),COLOR00FFFF;
A1AA:=9;
A2AA:=(REF(CLOSE,A1AA+1)<CLOSE);
DRAWTEXT(FILTER((A2AA>-0.5),84),(HIGH)*(1.05),'高抛'),COLORFFFFFF;
VAR6:=REF(C,1);
VAR7:=SMA(MAX(C-VAR6,0),6,1)/SMA(ABS(C-VAR6),6,1)*100;
DRAWTEXT(CROSS(82,VAR7),H*1.01,'高抛'),colorblue;
[url=http://www.70822.com/soft/sort013/sort036/down-163861.html]乾坤生命线,灵犀一指(同花顺公式 副图 源码 测试图)[/url]