当前位置:分析家公式网 → 股票公式 → 同花顺公式 → 一键转帖:高亢长空(同花顺公式 副图 源码 测试图)
软件名称:[B]高亢长空(同花顺公式 副图 源码 测试图)[/B]
软件类型:国产软件
运行环境:Win10/Win9X/Win8/Win2000/WinXP/Win2003/Win7/
软件语言:简体中文
授权方式:免费版
软件大小:12.0 KB
官方主页:Home Page
更新时间:2021-12-06 00:11:34
软件简介:
MA5=MA(C,5);
MA10=MA(C,10);
MA20=MA(C,20);
MA30=MA(C,30);
MA60=MA(C,60);
MID:=MA(CLOSE,20);
UPPER:=MID+2*STD(CLOSE,20);
LOWER:=MID-2*STD(CLOSE,20);
DIF:=EMA(CLOSE,12) - EMA(CLOSE,26);
DEA:=EMA(DIF,9);
MACD:=2*(DIF-DEA);
上影线:=ABS(H-MAX(C,O));
实体线:=ABS(C-O);
下影线:=ABS(MIN(C,O)-L);
VAR101:=REF((LOW+OPEN+CLOSE+HIGH)/4,1);
VAR202:=SMA(ABS(LOW-VAR101),13,1)/SMA(MAX(LOW-VAR101,0),10,1);
VAR303:=EMA(VAR202,10);
VAR404:=LLV(LOW,33);
VAR505:=EMA(IF(LOW<=VAR404,VAR303,0),3);
0,colorblack;
VAR21:=SMA(ABS(HIGH-VAR101),13,1)/SMA(MIN(HIGH-VAR101,0),10,1);
VAR31:=EMA(VAR21,10);
VAR41:=HHV(HIGH,33);
VAR51:=EMA(IF(HIGH>=VAR41,VAR31,0),3);
积洗限高:=IF(VAR505>20,20,VAR505);
拉出限高:=IF(VAR51<-20,-20,VAR51);
ji:IF(VAR505>REF(VAR505,1),积洗限高,0),colorred,NODRAW;
STICKLINE(VAR505>REF(VAR505,1),0,积洗限高,1.5,0 ),colorred;
xi:IF(VAR505<REF(VAR505,1),积洗限高,0),colorligreen,NODRAW;
STICKLINE(VAR505<REF(VAR505,1),0,积洗限高,1.5,0),colorligreen;
la:IF(VAR51<REF(VAR51,1),拉出限高,0),coloryellow,NODRAW;
STICKLINE(VAR51<REF(VAR51,1),0,拉出限高,1.5,0),coloryellow;
出:IF(VAR51>REF(VAR51,1),拉出限高,0),colorgreen,NODRAW;
STICKLINE(VAR51>REF(VAR51,1),0,拉出限高,1.5,0),colorgreen;
地:8,colorgreen;
短空:4*SMA((CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100,5,1)-3*SMA(SMA((CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100,5,1),3.2,1),colorblack;
关注:=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);
建仓:=EMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,34)-LLV(LOW,27))*4,4)*25;
庄:=CROSS(短空,地);
底:=CROSS(关注,3);
上:IF(关注<3 OR 建仓<10 ,80,100);
绝1:=LLV(LOW,3)<=LLV(LOW,60);
绝2:= C>O AND (C/O>1.03 OR C>1.03*REF(C,1));
绝:=绝1 AND 绝2;
N:=7;
M:=5;
VAR201:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*80;
生:=SMA(VAR201,N,1);
VA1:=HHV(HIGH,12)-LLV(LOW,26);
VA2:=HHV(HIGH,9)-CLOSE;
VA3:=CLOSE-LLV(LOW,9);
VA4:=VA2/VA1*100-70;
VA5:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100;
VA6:=(2*CLOSE+HIGH+LOW)/4;
VA7:=SMA(VA3/VA1*100,3,1);
VA8:=LLV(LOW,34);
VA9:=SMA(VA7,3,1)-SMA(VA4,9,1);
VARA:=IF(VA9>100,VA9-100,0);
VARB:=HHV(HIGH,34);
VARC:=EMA((VA6-VA8)/(VARB-VA8)*100,13);
VARD:=EMA(0.667*REF(VARC,1)+0.333*VARC,2);
VARE:=SMA(MAX(CLOSE-REF(CLOSE,1),0)/CLOSE,8,1)/SMA(ABS(INDEXC-REF(INDEXC,1))/INDEXC,8,1)*100-25;
VARF:=MA(VARE,3);
空:=EMA(VARD,1);
VAR1:=HHV(HIGH,9)-LLV(LOW,9);
VAR2:=HHV(HIGH,9)-CLOSE;
VAR3:=CLOSE-LLV(LOW,9);
VAR4:=((VAR2)/(VAR1))*(100)-70;
VAR5:=((CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60)))*(100);
VAR6:=((2)*(CLOSE)+HIGH+LOW)/(4);
VAR7:=SMA(((VAR3)/(VAR1))*(100),3,1);
VAR8:=LLV(LOW,34);
VAR9:=SMA(VAR7,3,1)-SMA(VAR4,9,1);
VAR10:=IF((VAR9>100),VAR9-100,0);
VAR11:=HHV(HIGH,34);
长空:EMA(((VAR6-VAR8)/(VAR11-VAR8))*(100),8),colorbrown;
长多:=EMA(长空,5);
V1:=MA5=HHV(MA5,20);
V2:=MA5>MA10;
V3:=MA(V,5)>MA(V,40)*1.01;
V4:=COUNT(MA(C,1)>REF(C,1),2)=2;
VV:=V1 AND V2 AND V3 AND V4;
A1:=EMA(CLOSE,8);
A2:=EMA(A1,20);
A3:=CROSS(A1,A2);
A4:=A1<EMA(CLOSE,120);
A5:=3*SMA((CLOSE-LLV(LOW,18))/(HHV(HIGH,18)-LLV(LOW,18))*100,21,1)-2*SMA(SMA((CLOSE-LLV(LOW,18))/(HHV(HIGH,18)-LLV(LOW,18))*100,20,1),8,1);
进:=CROSS(VARC,空) AND VARC>VARD AND VARC<55 AND C>O AND 短空<70 AND REF(C,1)<REF(MID,1) AND C>MID;
条件:=(长空>=REF(长空,1)) OR (短空<70 AND 长空<40 AND 短空>REF(短空,1));
DRAWTEXT(进 AND 条件,90,'进'),colormagenta;
DRAWTEXT(庄 AND 条件,75,'庄'),colormagenta;
DRAWTEXT(底 AND 条件,-2,'底'),colormagenta;
DRAWTEXT(绝 AND 条件,-30,'绝'),colormagenta;
KVAR2:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
KVAR3:=(SMA(KVAR2,3,1)-18)*1.55;
KVAR5:=(CLOSE-LLV(LOW,100))/(HHV(HIGH,100)-LLV(LOW,100))*100;
KVAR6:=SMA(KVAR5,10,1);
KVAR13:=(HHV(HIGH,5)-CLOSE)/(HHV(HIGH,5)-LLV(LOW,5))*(-1)+0.9;
KVAR14:=(HHV(HIGH,10)-CLOSE)/(HHV(HIGH,10)-LLV(LOW,10))*(-1)+0.92;
KVAR15:=(HHV(HIGH,15)-CLOSE)/(HHV(HIGH,15)-LLV(LOW,15))*(-1)+0.93;
KVAR16:=(HHV(HIGH,55)-CLOSE)/(HHV(HIGH,55)-LLV(LOW,55))*(-1)+0.94;
KVAR17:=(HHV(HIGH,89)-CLOSE)/(HHV(HIGH,89)-LLV(LOW,89))*(-1)+0.95;
KVAR18:=(HHV(HIGH,120)-CLOSE)/(HHV(HIGH,120)-LLV(LOW,120))*(-1)+0.91;
KVAR19:=(HHV(HIGH,180)-CLOSE)/(HHV(HIGH,180)-LLV(LOW,180))*(-1)+0.96;
KVAR1A:=((KVAR13*8+KVAR14*8+KVAR15*8+KVAR16+KVAR17+KVAR18+KVAR19)/28-0.1)*185;
KVAR1B:=SMA(KVAR1A,3,1);
KVAR1C:=(SMA(KVAR1B,8,1)-8)*1.18;
盈:=(KVAR3+KVAR6+KVAR1B*2)/4;
买:IF(盈>REF(盈,1) AND (进 OR 庄 OR 底 OR 绝),60,0),colorblack;
上穿周期:=BARSLAST(CROSS(MA5,MA10));
上升周期:=长多>REF(长多,1) AND 长多<50;
底部反转:=REF(MA5,上穿周期)<REF(MA30,上穿周期) AND REF(MA30,上穿周期)<REF(MA60,上穿周期);
连五穿十:=COUNT(MA5>=MA10,上穿周期)=上穿周期;
五穿二十:=CROSS(MA5,MA20) AND MA5>MA20 AND MA20>MA10 AND COUNT(MA5>REF(MA5,1),上穿周期)>=上穿周期 AND 短空>REF(短空,1);
十穿三十:=MA5>MA10 AND MA10>MA20 AND CROSS(MA10,MA30) AND COUNT(MA5>REF(MA5,1),上穿周期)>=上穿周期;
长影线:=(上影线/(下影线+实体线)>0.6) OR (下影线>0.33*实体线 AND 上影线>2*下影线)OR (O>REF(H,1) AND (H-L)/REF(C,1)>0.07 AND C<O);
金:=上升周期 AND 底部反转 AND 连五穿十 AND 五穿二十 AND NOT(长影线);
银:=上升周期 AND 十穿三十 AND (短空<70 OR DEA<0) AND L>REF(L,1) AND 短空<REF(短空,1) AND NOT(长影线);
DRAWTEXT(金,50,'▲'),colorbrown;
DRAWTEXT(银,50,'★'),colorred;
底部分歧:=短空>REF(短空,1)AND REF(短空,1)=LLV(短空,5)AND 盈<REF(盈,1) AND H<MA5;
顶部分歧:=短空<REF(短空,1)AND REF(短空,1)=HHV(短空,5)AND 盈>REF(盈,1) AND L<MA5;
炸弹:=MA5>MA10 AND MA10>MA20 AND MA20>MA30 AND (长影线 OR 顶部分歧);
DRAWTEXT(炸弹,100,'▼'),colorgreen;
DRAWTEXT(底部分歧,-10,'▲'),colorred;
[url=http://www.70822.com/soft/sort013/sort036/down-159493.html]高亢长空(同花顺公式 副图 源码 测试图)[/url]