当前位置:分析家公式网 → 股票公式 → 同花顺公式 → 一键转帖:黑马主升(同花顺指标 副图 源码 测试图)
软件名称:[B]黑马主升(同花顺指标 副图 源码 测试图)[/B]
软件类型:国产软件
运行环境:Win10/Win9X/Win8/Win2000/WinXP/Win2003/Win7/
软件语言:简体中文
授权方式:免费版
软件大小:14.0 KB
官方主页:Home Page
更新时间:2022-11-21 00:06:18
软件简介:
黑马主升
SS1:=(LOW+HIGH+CLOSE*2)/4;
SS2:= MA(SS1,4);
SS3:=HHV(SS2,10);
SS4:=MA(SS3,3);
SS5:=1.25*SS4-0.25*SS3;
XKKJ:=IF(SS5>SS3,SS3,SS5);
FF1:=LLV(SS2,10);
FF2:=MA(FF1,3);
FF3:=1.25*FF2-0.25*FF1;
DKKJ:=IF(FF3<FF1,FF1,FF3);
MA13:=MA(C,13);
ZDHM:=CROSS(C,DKKJ) AND CROSS(C,MA13) AND CROSS(C,XKKJ);
ZHM:=CROSS(C,MA13) AND CROSS(C,XKKJ);
大黑马:=IF(ZDHM OR ZHM,50,0),coloryellow,POINTDOT;
DRAWTEXT(大黑马,68,'黑马'),colorblue;
VAR32:=(CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100;
VAR33:=SMA(SMA(VAR32,3,1),3,1)/28.57;
VAR34:=EMA(VAR33,5);
VAR35:=3*VAR33-2*VAR34;
战斗吧:=CROSS(VAR35,VAR33) AND VAR33<2.1 AND C>O,colorred;
DRAWTEXT(战斗吧,0.9,'b'),colorgreen;
顶:=85;
VAR5:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100;
CC:=SMA(VAR5,20,1),colorred;
CC1:=SMA(CC,5,1),colorgreen;
出击:=IF((CROSS(CC,CC1) AND (CC1 < 顶) ),30,0);
DRAWTEXT(出击,65,'出击'),COLORD9D919;
V9:=TROUGHBARS(3,15,1)<10;
V11:=IF(V9=1,50,0);
底部:=IF(V11=50,50,0);
吸星大法:=IF( 底部>REF(底部,1),40,0),LINETHICK2;
DRAWTEXT(吸星大法,52,'吸'),colorred;
Var1:=REF(CLOSE,2)/REF(OPEN,2)<0.95;
Var2:=REF(OPEN,1)<REF(CLOSE,2) AND ABS(REF(OPEN,1)-REF(CLOSE,1))/REF(CLOSE,1)<0.03;
Var3:=CLOSE/OPEN>1.05 AND CLOSE>REF(CLOSE,2);
早晨之星:=Var1 AND Var2 AND Var3;
STICKLINE(早晨之星,0,65,4,0),colorred;
DRAWTEXT(早晨之星,62,'早晨之星'),coloryellow;
MA20:=MA(C,20);
MA40:=MA(C,40);
MA60:=MA(C,60);
出水芙蓉☆:CROSS(C,MA20) AND CROSS(C,MA40) AND CROSS(C,MA60);
STICKLINE(出水芙蓉☆,50,0,1.2,0),coloryellow;
DRAWTEXT(出水芙蓉☆>0,50,'☆'),colorred;
MA5 := MA(CLOSE,5);
MA10 := MA(CLOSE,10);
MA60 := MA(CLOSE,60);
Var1:=MA(CLOSE,5);
Var2:=MA(CLOSE,10);
Var3:=MA(CLOSE,60);
Var4:=BARSLAST(CROSS(Var1,Var3));
Var5:=BARSLAST(CROSS(Var2,Var3));
Var6:=BARSLAST(HIGH=HHV(HIGH,Var5));
Var7:=BARSLAST(CROSS(Var2,Var1));
Var8:=BARSLAST(CROSS(Var1,Var2));
Var9:=Var4>Var5 AND Var5>Var6 AND Var6>Var7 AND Var7>Var8 AND Var8<5;
VarA:=COUNT(CROSS(Var2,Var1),Var5)=1;
老鸭头:=Var9 AND VarA AND Var3>REF(Var3,1),COLORFF00FF;
STICKLINE(老鸭头,40,0,0.4,0);
DRAWTEXT(老鸭头>0,40,'老鸭头'),colorblue;
nA1:=MIN(MA(C,5),MA(C,10))>MA(C,60) AND CROSS(MA(C,5),MA(C,10));
nA2:=MIN(MA(C,5),MA(C,10))/MA(C,60)<1.05;
nA3:=COUNT(V<MA(V,10),10)>6;
青龙取水:=nA1 AND nA2 AND nA3,COLOR00FF00,LINETHICK2;
STICKLINE(青龙取水,50,0,1.2,0);
DRAWTEXT(青龙取水>0,50,'青龙取水'),colorD9D919;
买线:=EMA(C,2),colorred,LINETHICK1;
卖线:=EMA(SLOPE(C,21)*21+C,42),POINTDOT,coloryellow;
益盟买:=CROSS(买线,卖线);
卖:=CROSS(卖线,买线);
DRAWTEXT(益盟买,LOW-0.1,'B'),COLORF00FF0,LINETHICK5;
DRAWTEXT(卖,HIGH+0.1,'');
J:=(C*2+H+L)/4;
K:=(EMA(J,13) - EMA(J,21))*180;
D:=EMA(K,2);
kk:=(K-D);
dd:=-1*(K-D);
ss:=CROSS(kk,dd);
VARbb:=EMA(EMA(CLOSE,5),5);
ll:=(VARbb-REF(VARbb,1))/REF(VARbb,1)*1000;
mm:=CROSS(ll,0);
KDJ观察:=ss AND mm;
DRAWTEXT(KDJ观察,10,'kdj'),colorred;
STICKLINE(KDJ观察,10,0,1,0),colorred;
德玛西亚:=zdhm OR zhm;
DRAWTEXT(德玛西亚,40,'DL'),colorwhite;
抄底线:20;
转强线:65,colorD9D919;
爆发线:80;
资金线:EMA(100*(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34)),3),linethick2;
主力线:WINNER(C)*100,linethick1;
VAR1T:=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);
VAR22AT:=EMA(VAR1T,8);
VAR33AT:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA(SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1),3,1);
趋势T:=EMA(VAR33AT,3)-10;
趋势线T:=趋势T,COLORFF0000;
追涨:=CROSS(趋势线T,VAR22AT)AND 趋势线T>REF(趋势线T,1)AND 趋势线T<50;
DRAWTEXT(追涨,8,'↑'),colorD9D919;
A :=MA(CLOSE,26);
W1:=C=HHV(C,20);
W2:=BARSLAST(W1);
W3:=IF(W2>0,REF(C,W2),REF(C,W2));
尝试突破:=CROSS(C,REF(W3,1));
DRAWTEXT(尝试突破 AND COUNT(尝试突破,5)=1,65,'△▽'),colorFF00FF;
A5A:=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);
安全位A:=20;
低位转强:IF(CROSS(A5A,安全位A),8,0);
VARK1:=MA(100*(CLOSE-LLV(CLOSE,34))/(HHV(HIGH,34)-LLV(LOW,34)),5)-20;
VARK5:=(HIGH+LOW+CLOSE)/3;
VARK6:=(VARK5-MA(VARK5,14))/(0.015*AVEDEV(VARK5,14));
VARK7:=(VARK5-MA(VARK5,89))/(0.015*AVEDEV(VARK5,89));
VARK8:=IF(VARK6>=150 AND VARK6<200 AND VARK7>=150 AND VARK7<200,10,0);
VARK9:=IF(VARK6<=-150 AND VARK6>-200 AND VARK7<=-150 AND VARK7>-200,-10,VARK8);
VAR21:=IF(VARK1>0,VARK1,0);
VARKA:=(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*100;
VARB:=100-ABS(VARKA);
OX:=IF(VARB<90,VARB,100);
预警:=IF(VARK7>=200 AND VARK6>=150,15,IF(VARK7<=-200 AND VARK6<=-150,-15,VARK9))+60;
VAR2A:=VAR21>48 AND 预警>60 AND OX<100;
DRAWTEXT(VAR2A AND COUNT(VAR2A,30)=1,30,'拉升在即狂牛!'),colorwhite;
HH:=(20*H+19*REF(H,1)+18*REF(H,2)+17*REF(H,3)+16*REF(H,4)+15*REF(H,5)+14*REF(H,6)
+13*REF(H,7)+12*REF(H,8)+11*REF(H,9)+10*REF(H,10)+9*REF(H,11)+8*REF(H,12)
+7*REF(H,13)+6*REF(H,14)+5*REF(H,15)+4*REF(H,16)+3*REF(H,17)+2*REF(H,18)+
REF(H,20))/210;
黄牛线5:=EMA(HH,90);
ZT:=REF(C,1)*1.1-C<0.01 AND H=C;
上升离合4:=(黄牛线5+((H-黄牛线5)*H-黄牛线5)/黄牛线5);
E5:=EMA(C,5);
TP6:=CROSS(上升离合4,E5);
DRAWTEXT(TP6 AND ZT,L*0.97,'主升'),LINETHICK4,colorblue;
MA5:=MA(C,5);
MA10:=MA(C,10);
MA30:=MA(C,30);
FA:=BARSLAST(CROSS(MA10,MA5)) AND CROSS(MA5,MA10);
FBK:=FA AND MA5>MA30 AND MA10>MA30 AND MA10>REF(MA10,1);
DRAWTEXT(FBK,L-0.58,'持股'),colorred;
AA:=(HHV(HIGH,20) - (2 * ATR));
BB:=CROSS(CLOSE,REF(HHV(HIGH,55),1));
SSS:=CROSS(MIN(MA(CLOSE,13),AA),CLOSE);
BBB:=BARSLAST(BB);
SSSB:=BARSLAST(SSS);
B1:=((BBB = 0) AND (REF(SSSB,1) < REF(BBB,1)));
B1B:=BARSLAST(B1);
B2:=((((BB = 1) AND (B1B < SSSB)) AND (B1B > 0)) AND (COUNT(BB,SSSB) < 3));
B2B:=BARSLAST(B2);
B3:=((((BB = 1) AND (B2B < B1B)) AND (COUNT(BB,SSSB) < 4)) AND (COUNT(BB,SSSB) > 2));
DRAWTEXT((B1 = 1),(LOW - 0.6),'跟进'),coloryellow;
DRAWTEXT((B2 = 1),(LOW - 0.6),'加码'),COLORFFAAFF;
VARO1:=REF(LOW,1);
VARO2:=(SMA(ABS(LOW-VARO1),13,1))/(SMA(MAX(LOW-VARO1,0),13,1))*4;
VARO3:=EMA(VARO2,13);
VARO4:=LLV(LOW,34);
VARO5:=EMA(IF(LOW<=VARO4,VARO3,0),3);
VARO6:=100-3*SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20
[url=http://www.70822.com/soft/sort013/sort036/down-165077.html]黑马主升(同花顺指标 副图 源码 测试图)[/url]
[url=http://www.70822.com/soft/sort013/sort036/down-165077.html]黑马主升(同花顺指标 副图 源码 测试图)[/url]