通达信bs买卖
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
M30:MA(CLOSE,30),COLORGREEN;
M60:MA(CLOSE,60),LINETHICK2,COLORYELLOW;
V AR1:=SUM(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(LOW-REF(CLOSE, 1))),25); V AR2:=HIGH-REF(HIGH,1); V AR3:=REF(LOW,1)-LOW; V AR4:=SUM(IF(V AR2>0 AND V AR2>V AR3,V AR2,0),25); V AR5:=SUM(IF(VAR3>0 AND V AR3>V AR2,V AR3,0),25); V AR6:=V AR4*100/V AR1; V AR7:=V AR5*100/VAR1; V AR8:=MA(ABS(V AR7-V AR6)/(V AR7+V AR6)*100,15); V AR9:=(V AR8+REF(V AR8,15))/2; BUY:=ZIG(3,10); SELL:=MA(BUY,2); DRAWICON(CROSS(BUY,SELL),L-0.1,7); DRAWICON(CROSS(SELL,BUY),H+0.1,8); 买:BUY,NODRAW; 卖:SELL,NODRAW;
{IF(CROSS(BUY,SELL),L-0.1,DRAWNULL),CROSSDOT,LINETHICK2,COLORRED;
IF(CROSS(SELL,BUY),H+0.1,DRAWNULL),CROSSDOT,LINETHICK2,COLORGREEN;} {DRAWTEXT(CROSS(BUY,SELL),L-0.1,'B'),COLORRED;
DRAWTEXT(CROSS(SELL,BUY),H+0.1,'S'),COLORGREEN;} STICKLINE(BUY>SELL AND CLOSE>=OPEN,OPEN,CLOSE,-1,1),COLORRED; STICKLINE(BUY>SELL AND CLOSE>=OPEN,OPEN,LOW,0,0),COLORRED; STICKLINE(BUY>SELL AND CLOSE>=OPEN,CLOSE,HIGH,0,0),COLORRED; STICKLINE(BUY>SELL AND CLOSE<OPEN,OPEN,CLOSE,-1,0),COLORRED; STICKLINE(BUY>SELL AND CLOSE<OPEN,LOW,HIGH,0,0),COLORRED; STICKLINE(BUY<SELL AND CLOSE<=OPEN,OPEN,CLOSE,-1,0),COLORCY AN; STICKLINE(BUY<SELL AND CLOSE<=OPEN,LOW,HIGH,0,0),COLORCY AN;
STICKLINE(BUY<SELL AND CLOSE>OPEN,OPEN,CLOSE,-1,1),COLORCYAN; STICKLINE(BUY<SELL AND CLOSE>OPEN,OPEN,LOW,0,0),COLORCYAN; STICKLINE(BUY<SELL AND CLOSE>OPEN,CLOSE,HIGH,0,0),COLORCYAN; STICKLINE(BUY=SELL AND REF(BUY,1)>REF(SELL,1) AND CLOSE>=OPEN,OPEN,CLOSE,-1,1),COLORRED; STICKLINE(BUY=SELL AND REF(BUY,1)>REF(SELL,1) AND CLOSE>=OPEN,OPEN,LOW,0,0),COLORRED; STICKLINE(BUY=SELL AND REF(BUY,1)>REF(SELL,1) AND CLOSE>=OPEN,CLOSE,HIGH,0,0),COLORRED; STICKLINE(BUY=SELL AND REF(BUY,1)>REF(SELL,1) AND CLOSE<OPEN,OPEN,CLOSE,-1,0),COLORRED; STICKLINE(BUY=SELL AND REF(BUY,1)>REF(SELL,1) AND CLOSE<OPEN,LOW,HIGH,0,0),COLORRED; STICKLINE(BUY=SELL AND REF(BUY,1)<REF(SELL,1) AND CLOSE<=OPEN,OPEN,CLOSE,-1,0),COLORCY AN; STICKLINE(BUY=SELL AND REF(BUY,1)<REF(SELL,1) AND CLOSE<=OPEN,LOW,HIGH,0,0),COLORCY AN;V AR11:=(CLOSE-LLV(LOW,9))/(HHV(HIG H,9)-LLV(LOW,9))*100; V AR12:=SMA(V AR11,3,1); V AR13:=SMA(V AR12,3,1); V AR14:=V AR13 AND V AR13<20; LJB:=1/WINNER(CLOSE); {STICKLINE(LJB>10,L-0.45,L-0.4,-1,1),COLORYELLOW;} 平均:=(L+H)/2; KB:=ZIG(平均,10); KS:=MA(KB,2); DRAWICON(CROSS(KB,KS),L-0.2,1); DRAWICON(CROSS(KS,KB),H+0.2,2);
STICKLINE(BUY=SELL AND REF(BUY,1)<REF(SELL,1) AND CLOSE>OPEN,OPEN,CLOSE,-1,1),COLORCYAN; STICKLINE(BUY=SELL AND REF(BUY,1)<REF(SELL,1) AND CLOSE>OPEN,OPEN,LOW,0,0),COLORCYAN; STICKLINE(BUY=SELL AND REF(BUY,1)<REF(SELL,1) AND CLOSE>OPEN,CLOSE,HIGH,0,0),COLORCYAN;。