当前位置:分析家公式网 → 股票公式 → 同花顺公式 → 一键转帖:阻力压力(同花顺指标 副图 源码 测试图)
软件名称:[B]阻力压力(同花顺指标 副图 源码 测试图)[/B]
软件类型:国产软件
运行环境:Win10/Win9X/Win8/Win2000/WinXP/Win2003/Win7/
软件语言:简体中文
授权方式:免费版
软件大小:13.0 KB
官方主页:Home Page
更新时间:2023-01-28 00:03:44
软件简介:
阻力压力
//一年赚100W
//J/菜/单/趋/S00/起/建/C/吸筹/UIDO/跟庄/全异///////////////
//S00融入/加入抄B绝对底部,有未来PEAKBARS/TROUGHBARS
VAR233:=PEAKBARS(3,5,1)<10;
VAR235:=IF(VAR233=1,2,0);
顶AAA:= IF(VAR235=2,2,0);
顶AAAAA:IF(顶AAA>REF(顶AAA,1),88,105),coloryellow, LINETHICK2;
VARF:=TROUGHBARS(3,15,1)<4;
华为:IF(FILTER(VARF=1,3),98,-20),colorffcc66,LINETHICK1;//XG
DRAWTEXT(华为=L,-10,69.88,'抄B'),colorred;//抄底
//单/////////////////
L1AA:=LLV(L,10);//10日内最低价的最低值
起爆点:=(DCLOSE-REF(C,1))/REF(C,1)*100;//不定周期的收盘价-1日前的收盘价/1日前的收盘价*100
XXGG:=CROSS(起爆点,18) OR CROSS(起爆点,13);//起爆点上穿18 OR 起爆点上穿13
XXGG1:=CROSS(起爆点,20) OR CROSS(起爆点,18);
L33:=IF(XXGG,O,L1AA*0.999),coloryellow;//如果XXGG,返回开票价,否则返回L1AA*0.999,100
STICKLINE(XXGG1,L33=L,88,3),colorffcc66,LINETHICK3;//18-20//
STICKLINE(XXGG,L33=L,68,3),colorlired,LINETHICK5;//13-18//
DRAWTEXT(XXGG1,L33=8,'▲'),colorffcc66;//18-20//
VAR30:=PEAKBARS(3,15,1)<10;
VAR50:=IF(VAR30=1,2,0);
顶:= IF(VAR50=2,2,0);
大胜且归:=IF(顶>REF(顶,1),2,0),colorred,LINETHICK1;
DRAWTEXT(大胜且归,65,'大跌'),colorgreen;
//顶底////////////////////
VAR1:=IF(DATE>=1990601,0,1);
VAR3:=PEAKBARS(3,5,1)<1;
VAR5:=IF(VAR3=1,50,0);
头部:=IF(VAR5=50,100,0),colorgreen,LINETHICK1;
卖参考:IF(头部>REF(头部,1),71.8,100),colorgreen,LINETHICK1;//1.38,2
VAR2:=TROUGHBARS(3,5,1)<1;
VAR4:=IF(VAR2=1,50,0);
底部:=IF(VAR4=50,50,0),colormagenta,LINETHICK1;
买参考:IF(底部>REF(底部,1),43.8,0),colormagenta,LINETHICK1;//0.68,0启动
DRAWTEXT(VAR4,50.8,'买'),colorred;//0.68
DRAWTEXT(VAR5,85.8,'卖'),colorgreen;//1.58
//////////////////////
N:=5;
C0:=(H+L+C)/3;
a1:=HHV(C0,n);
a2:=LLV(C0,n);
a3:=a1-a2;
a4:=EMA((C0-a2)/a3,2)*100;
b1:=HHV(C0,4*n);
b2:=LLV(C0,4*n);
b3:=b1-b2;
b4:=EMA((C0-b2)/b3,2)*100;
C1:=HHV(C0,16*n);C2:=LLV(C0,16*n);C3:=C1-C2;
C4:=EMA((C0-C2)/C3,2)*100;
VARC:=(ZIG(3,6)>=REF(ZIG(3,6),1)) AND (REF(ZIG(3,6),1)<=REF(ZIG(3,6),2)) AND (REF(ZIG
(3,6),2)<=REF(ZIG(3,6),3))AND (REF(ZIG(3,6),3)<=REF(ZIG(3,6),4));
VARD:=(ZIG(3,6)<=REF(ZIG(3,6),1)) AND (REF(ZIG(3,6),1)>=REF(ZIG(3,6),2)) AND (REF(ZIG
(3,6),2)>=REF(ZIG(3,6),3))AND (REF(ZIG(3,6),3)>=REF(ZIG(3,6),4));
VarE:=MA(100*(CLOSE-LLV(CLOSE,34))/(HHV(HIGH,34)-LLV(LOW,34)),5)-20;
VarF:=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,1),15,1);
Var10:=100-3*SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA
((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);
Var11:=VarF<REF(Var10,1) AND VOL>REF(VOL,1) AND CLOSE>REF(CLOSE,1);
DRAWTEXT(Var11 AND COUNT(Var11,30)=1,38.88,'★大活动'),COLORff00ff;
STICKLINE(Var11 AND COUNT(Var11,30)=1,1,38,2),colorff00ff,LINETHICK1;
Var12:=(HIGH+LOW+CLOSE)/3;
Var13:=(Var12-MA(Var12,14))/(0.015*AVEDEV(Var12,14));
Var14:=(Var12-MA(Var12,70))/(0.015*AVEDEV(Var12,70));
Var15:=IF(Var13>=150 AND Var13<200 AND Var14>=150 AND Var14<200,10,0);
Var16:=IF(Var13<=-150 AND Var13>-200 AND Var14<=-150 AND Var14>-200,-10,Var15);
Var17:=(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*100;
Var18:=100-ABS(Var17);
Var19:=IF(Var18<90,Var18,100);
Var1A:=IF(VarE>0,VarE,0);
Var1B:=IF(Var14>=200 AND Var13>=150,15,IF(Var14<=-200 AND Var13<=-150,-15,Var16))+60;
Var1C:=Var1A>48 AND Var1B>60 AND Var19<100;
DRAWTEXT(Var1C AND COUNT(Var1C,30)=1,38.88,'★大笔出'),COLORffcc66;
STICKLINE(Var1C AND COUNT(Var1C,30)=1,1,38,2),colorffcc66,LINETHICK1;
抄底:IF(TROUGHBARS(2,5,1)=0 AND HIGH>LOW+0.01,28,0),colorred,LINETHICK2;
DRAWTEXT(抄底=60,88,'抄底'),colorred;
VAR33:=PEAKBARS(3,15,1)<10;
VAR35:=IF(VAR33=1,2,0);
顶1:=IF(VAR35=2,2,0);
顶A:IF(顶1>REF(顶1,1),38.8,110,1),colorlicyan,LINETHICK1;//大跌
DRAWTEXT(顶A=58.8,110,'逃顶'),colorliblue;//等号改成逗号就可以显示,但,是乱码!
V9:=TROUGHBARS(3,10,1)<5;
V11:=IF(V9=1,50,0);
底部:= IF(V11=50,50,0);
买:IF( 底部>REF(底部,1),68,-10),colorred,LINETHICK1;
DRAWTEXT(底部=68,0,'攻'),colorred;
//////////////////////////////////////////////////////
//趋势线/●黑B,有未来ZIG
VAR36:=ZIG(3,22)>REF(ZIG(3,22),1) AND REF(ZIG(3,22),1)<=REF(ZIG(3,22),2) AND REF(ZIG(3,22),2)<=REF(ZIG(3,22),3);
DRAWTEXT(VAR36,28.88,'●黑B'), colorffcc66;//黑马
//C点滴
方向:=XMA(XMA(L,25),25)-(XMA(XMA(H,25),25)-XMA(XMA(L,25),25))*1,coloryellow;
VAR233:=100*XMA(XMA((C-REF(C,1)),6),6)/XMA(XMA(ABS((C-REF(C,1))),6),6);
回调买:=LLV(VAR233,2)=LLV(VAR233,7) AND COUNT(VAR233<0,2) AND CROSS(VAR233,MA(VAR233,2));
XG3:=方向>H AND 回调买 AND L<=方向;
DRAWTEXT(XG3,39.8,'Z家'),COLORAC00AC;
STICKLINE(XG3,38,0),COLORAC00AC,LINETHICK2;
//C点
AAB:=(DCLOSE-REF(C,1))/REF(C,1)*100;
STICKLINE(AAB=L,58,5),colorffcc66,LINETHICK1;
TAA:CROSS(AAB,20);
STICKLINE(CROSS(AAB,10)AND AAB<20,0,1.4,3,0),colormagenta;
STICKLINE(CROSS(AAB,10)AND AAB<20,0.5,1.2,3,0),COLOR0080FF;
DRAWTEXT(CROSS(AAB,10)AND AAB<20,68.88,'▲'),COLOR0080FF;//▲小突colorffcc66//10colorffcc66;//▲10
STICKLINE(AAB,AAB,L=100,3),colorbrown,LINETHICK2;//ffcc66
DRAWTEXT(CROSS(AAB,20),78,'▲'),colormagenta;//猛突//20
//起X宝石,有未来DYNAINFO
XA_1:=(CLOSE-LLV(CLOSE,10))/(HHV(CLOSE,10)-LLV(CLOSE,10));
强庄起爆:=CROSS(XA_1,0.05)*3 AND FILTER(CLOSE/REF(CLOSE,1)>1.048 AND C=H AND BETWEEN(FORCAST(VOL,4),0.2*FORCAST(VOL,12),2.1*FORCAST(VOL,12)),28) AND NOT(DYNAINFO(4)=0);
DRAWICON(强庄起爆,18,25),colorffcc66;
//宇//下方小柱子,没有未来
VARF8:=TROUGHBARS(2,15,1)<4;
VAR118:=IF(VARF8=1,50,0);
STICKLINE(VAR118 AND COUNT(VAR118,30)=1,-18,-10,3,7),colorffcc66,LINETHICK5;//1,1,100,5,0
//吸筹,加入吸筹,没有未来
N5A:=9;
M1A:=3;
M2A:=3;
PA:=9;
快线:(CLOSE-LLV(LOW,N5A))/(HHV(HIGH,N5A)-LLV(LOW,N5A))*100,COLORFF937F,NODRAW;
慢线:SMA(快线,M1A,1),colorred,LINETHICK2,NODRAW;
空A:SMA(慢线,M2A,1),COLOR00FF00,NODRAW;
牛股:IF(BARSLAST(CROSS(慢线,空A))<PA AND BARSLAST(CROSS(空A,慢线))<PA AND CROSS(慢线,空A) AND 慢线<20,90,0),COLORFF937F,NODRAW;//STICK
STICKLINE(牛股,0,38.88,3,1),LINETHICK4,STICK,COLORFF937F;
//UIDO/加入S+B/有未来
DRAWICON(CROSS(ZIG(3,10),REF(ZIG(3,10),1)),0,7);//LOW*/买
DRAWICON(CROSS(REF(ZIG(3,10),1),ZIG(3,10)),100,8);//HIGH*/卖
//跟庄/加入上箭头,没有未来
NNN:=5;
VAR1A1:4*SMA((CLOSE-LLV(LOW,NNN))/(HHV(HIGH,NNN)-LLV(LOW,NNN))*100,5,1)-3*SMA(SMA((CLOSE-LLV(LOW,NNN))/(HHV(HIGH,NNN)-LLV(LOW,NNN))*100,5,1),3.2,1),color0088ff,LINETHICK0,NODRAW;
VAR2A2:8,colorgreen,LINETHICK0,NODRAW;
DRAWICON(CROSS(VAR1A1,VAR2A2),88,1);//L
[url=http://www.70822.com/soft/sort013/sort036/down-166048.html]阻力压力(同花顺指标 副图 源码 测试图)[/url]
[url=http://www.70822.com/soft/sort013/sort036/down-166048.html]阻力压力(同花顺指标 副图 源码 测试图)[/url]