/*买线:=EMA(C,2);
卖线:=EMA(SLOPE(C,21)*20+C,42);
BU:=CROSS(买线,卖线);
SEL:=CROSS(卖线,买线);
DRAWTEXT(bu,LOW,'买'),ALIGN 1,VALIGN0,colorwhite,l inethick3;DRAWTEXT(bu,LOW,''),ALIGN 1,VALIGN0,Color208FFF,LINETHICK3;DRAWTEXT(sel,HIGH,'
'),ALIGN1,VALIGN0,ColorFFFF00,LINETHICK3;
DRAWTEXT(sel,HIGH,'卖'),ALIGN 1,VALIGN2,colorgreen,l inethick3;STICKLI N E(买线>=卖线,LOW,HIG H,0.1,1),colorred;
STICKLI N E(买线>=卖线,CLOSE,OPEN,8,1),colorred;
STICKLIN E(买线<卖线,CLOSE,OPEN,8,0),color00ff00;
STICKLIN E(买线<卖线,LOW,HIGH,0.1,1),color00ff00;
STICKLINE(CROSS(买线,卖线)OR CROSS(卖线,买
线),O P E N,C LOS E,6,0),co lo rffff00;
指导线:
EMA((EMA(CLOSE,4)+EMA(CLOSE,6)+EMA(CLOSE,12)+EMA(CLOSE,
24))/4,2),l inethick1,ColorFFffFF;
1:=MA(C,1);
B2:=SMA(S MA(SMA(B 1,2,1),2,1),2,1);
S MA2:=MA(B2,3);
止损下限:IF(LLV(MA(B2,8),3)<B2,LLV(MA(B2,8),3),B2);
IF(B2>S MA2,B2,DRAW NULL),COLORRED,LINETH ICK4;
IF(B2<S MA2,B2,DRAW NULL),COLORGREEN,LINETH ICK4;
SNAKEA:H HV(MA(B2,1),13),COLORYELLOW;
VAR1A:=(2*CLOSE+HIGH+LOW)/4;
VAR2A:=MA(VAR1A,7);
VAR3A:=VAR2A-MA(VAR1A,7/2)<0;
VAR4A:=VAR2A-MA(VAR1A,7/2)>0;
VAR5A:=BARS LAST(VAR3A);
VA R 6 A:=0-BA R S LAS T(VA R4 A);
VAR7A:=IF(VAR3A<=0,VAR5A,VAR6A);
STICKLINE(SNAKEA>B2 AND B2>SMA2,SNAKEA,B2,0,0),COLORBLUE;
STICKLINE(SNAKEA>SMA2 AND B2<SMA2,SNAKEA,SMA2,0,0),COLORBLUE;
VAR11A:=(CLOSE*2+HIGH+LOW)/4;
VAR21A:=EMA(VAR11A,13)-EMA(VAR11A,34);
VAR31A:=EMA(VAR21A,5);
VAR2:=((CLOSE>REF(CLOSE,1))AND(CLOSE>REF(CLOSE,2)));
VAR3:=((REF(VAR2,1)AND(CLOSE<=REF(CLOSE,1)))AND(CLOSE>=REF(CLOSE,2)));VAR4:=((REF(VAR3,1)AND(CLOSE>=REF(CLOSE,1)))AND(CLOSE<=REF(CLOSE,2)));VAR5:=((REF(VAR4,1)AND(CLOSE<=REF(CLOSE,1)))AND(CLOSE>=REF(CLOSE,2)));VAR6:=((REF(VAR5,1)AND(CLOSE>=REF(CLOSE,1)))AND(CLOSE<=REF(CLOSE,2)));VAR7:=((REF(VAR6,1)AND(CLOSE<=REF(CLOSE,1)))AND(CLOSE>=REF(CLOSE,2)));VAR8:=((REF(VAR7,1)AND(CLOSE>=REF(CLOSE,1)))AND(CLOSE<=REF(CLOSE,2)));VAR9:=((REF(VAR8,1)AND(CLOSE<=REF(CLOSE,1)))AND(CLOSE>=REF(CLOSE,2)));VARA:=((REF(VAR9,1)AND(CLOSE>=REF(CLOSE,1)))AND(CLOSE<=REF(CLOSE,2)));VARB:=((REF(VARA,1)AND(CLOSE<=REF(CLOSE,1)))AND(CLOSE>=REF(CLOSE,2)));VARC:=((REF(VARB,1)AND(CLOSE>=REF(CLOSE,1)))AND(CLOSE<=REF(CLOSE,2)));界:MA(CLOSE,27),l inethick1,Color00FFFF;
DRAWTEXT(CROSS(指导线,界),界,' ↑★'),ALIG N 1,VALIG N0,colorred;DRAWTEXT(CROSS(界,指导线),界,' ↓★'),ALIG N 1,co lo rcyn;
*/
N:=10;
MAH:MA(HIGH,N);
MAL:MA(LOW,N);
MAC:MA(CLOSE,N);
A1:=BARSLAST(MAH>REF(MAH,1))+1;
A2:=BARSLAST(MAH<R E F(MAH,1))+1;
B 1:=BARSLAST(MAL>R E F(M AL,1))+1;
B 2:=BARSLAST(MAL<R E F(M AL,1))+1;
C1:=BARSLAST(MAC>REF(MAC,1))+1;
C2:=BARSLAST(MAC<REF(MAC,1))+1;
DRAWCOLORLINE(A1<A2,MAH,COLORRED,COLORGREEN);DRAWCOLORLINE(B1<B2,MAL,COLORRED,COLORGREEN);DRAWCOLORLINE(C1<C2,MAC,COLORRED,COLORGREEN);
N1:BARSLAST(CROSS(A1<A2&&B1<B2&&C1<C2,0.5))+1;
N2:BARSLAST(CROSS(A1>A2&&B1>B2&&C1>C2,0.5))+1;FILLRGN(N1<N2| |REFX(N1<N2,1),MAH,MAL,COLORRED);FILLRGN(N1>N2| |REFX(N1>N2,1),MAH,MAL,COLORGREEN);
最近我们是不是在讨论较多的是关于K12教育的问题,培训机构由于资本的介入确实让家长更为焦虑,对于这样的整改我们还是很支持的。实际上,在云服务器市场中,我们也看到内卷和资本的力量,各大云服务商竞争也是相当激烈,更不用说个人和小公司服务商日子确实不好过。今天有看到UCloud发布的夏季促销活动,直接提前和双十一保价挂钩。这就是说,人家直接在暑假的时候就上线双十一的活动。早年的双十一活动会提前一周到十天...
在刚才更新Vultr 新年福利文章的时候突然想到前几天有网友问到自己有在Vultr 注册账户的时候无法用支付宝付款的问题,当时有帮助他给予解决,这里正好顺带一并介绍整理出来。毕竟对于来说,虽然使用的服务器不多,但是至少是见过世面的,大大小小商家的一些特性特征还是比较清楚的。在这篇文章中,和大家分享如果我们有在Vultr新注册账户或者充值购买云服务器的时候,不支持支付宝付款的原因。毕竟我们是知道的,...
racknerd怎么样?racknerd美国便宜vps又开启促销模式了,机房优秀,有洛杉矶DC-02、纽约、芝加哥机房可选,最低配置4TB月流量套餐16.55美元/年,此外商家之前推出的最便宜的9.49美元/年套餐也补货上架,同时RackNerd美国AMD VPS套餐最低才14.18美元/年,是全网最便宜的AMD VPS套餐!RackNerd主要经营美国圣何塞、洛杉矶、达拉斯、芝加哥、亚特兰大、新...