文章预览
第一部分 【上升趋势战法】1主图 【主力成本画线】 主图 编写如下: ZK1:=(EMA(EMA(H,25),25)-EMA(EMA(L,25),25))*1+EMA(EMA(H,25),25),DOTLINE,COLORBLUE; ZD1:=EMA(EMA(L,25),25)-(EMA(EMA(H,25),25)-EMA(EMA(L,25),25))*1,LINETHICK2,COLORRED; ZD2:=EMA(ZD1,25),LINETHICK2; DRAWBAND(ZD1,RGB(55,0,0),ZD2,RGB(0,91,0)); DRAWKLINE(H,O,L,C); STICKLINE(ZD1>LOW AND ZD1 < HIGH,ZD1,MIN(MIN(OPEN,CLOSE),ZD1),2,0),COLORYELLOW; STICKLINE(ZD1>MIN(C,O) AND ZD1 < MAX(C,O),ZD1,MIN(OPEN,CLOSE),2,0),COLORYELLOW; STICKLINE(ZD1>HIGH,OPEN,CLOSE,2,0),COLORYELLOW; STICKLINE(ZD1>HIGH,HIGH,LOW,0,0),COLORYELLOW; VAR23:=100*EMA(EMA((C-REF(C,1)),6),6)/EMA(EMA(ABS((C-REF(C,1))),6),6); 回调买:=LLV(VAR23,2)=LLV(VAR23,7) AND COUNT(VAR23 < 0,2) AND CROSS(VAR23,MA(VAR23,2)); XG:=ZD1>HIGH AND 回调买 AND L < =ZD1; JJ:=(HIGH+LOW+CLOSE)/3; QJ0:=VOL/IF(HIGH=LOW,4,HIGH-LOW); QJ1:=IF(CAPITAL=0,QJ0*(JJ-MIN(CLOSE,OPEN)),QJ0*IF(HIGH=LOW,1,(MIN(OPEN,CLOSE)-LOW))); QJ2:=IF(CAPITAL=0,QJ0*(MIN(OPEN,CLOSE)-LOW),QJ
………………………………