/*买线:=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);
触碰云怎么样?触碰云是一家成立于2019年的商家。触碰云主营香港/美国 VPS服务器、独立服务器以及免备案CDN。采用的是kvm虚拟构架,硬盘Raid10,Cn2线路,去程电信CN2、移动联通直连,回程三网CN2。最低1核1G带宽1M仅20.8元/月,不过这里推荐香港4核4G15M,香港cn2 gia线路云服务器,仅115.2元/月起,性价比还是不错的。点击进入:触碰云官方网站地址触碰云优惠码:优...
Virmach 商家算是比较久且一直在低价便宜VPS方案中玩的不亦乐乎的商家,有很多同时期的商家纷纷关闭转让,也有的转型到中高端用户。而前一段时间也有分享过一次Virmach商家推出所谓的一次性便宜VPS主机,比如很低的价格半年时间,时间到服务器也就关闭。这不今天又看到商家有提供这样的产品。这次的活动产品包括圣何塞和水牛城两个机房,为期六个月,一次性付费用完将会取消,就这么特别的产品,适合短期玩玩...
Bluehost怎么样,Bluehost好不好,Bluehost成立十八周年全场虚拟主机优惠促销活动开始,购买12个月赠送主流域名和SSL证书,Bluehost是老牌虚拟主机商家了,有需要虚拟主机的朋友赶紧入手吧,活动时间:美国MST时间7月6日中午12:00到8月13日晚上11:59。Bluehost成立于2003年,主营WordPress托管、虚拟主机、VPS主机、专用服务器业务。Blueho...