{突破买点} P1:=80; P2:=100; N1:=20; M1:=32; VAR1:=(C+H+O+L)/4; 卖出:=EMA(VAR1,N1)*(1+P1/900),COLORLIBLUE,LINETHICK1,DOTLINE; 买入:=EMA(VAR1,M1)*(1-P2/900),COLORMAGENTA,LINETHICK1,DOTLINE; 白色:= SMA(HIGH,21,2)*1*1.02,COLORWHITE,DOTLINE; 绿色:= SMA(CLOSE,2,1)*1,COLORGREEN,DOTLINE; XX:(绿色-卖出)*10,COLORSTICK; 一线天筹码:=EMA(WINNER(C)*70,5), COLORMAGENTA LINETHICK2; 通达信筹码:=EMA((WINNER(C*1.1)-WINNER(C*0.9))*80,5), COLORGREEN LINETHICK2; STICKLINE(CROSS(一线天筹码,通达信筹码),0,XX,1,0),COLORYELLOW; DRAWTEXT_FIX(1,0,0.25,0,'★黄竖柱为一线天筹码突破'),COLORYELLOW; {一线天筹码-通达信筹码,COLORSTICK;}; VA:=IF(CLOSE>REF(CLOSE,1),VOL,-VOL); OBV1:=SUM(IF(CLOSE=REF(CLOSE,1),0,VA),0); OBV2:=EMA(OBV1,3)-MA(OBV1,9); OBV3:=EMA(IF(OBV2>0,OBV2,0),3); MAC3:=MA(C,3); STICKLINE(OBV3>REF(OBV3,1) AND MAC3>REF(MAC3,1),0,XX ,0,0),COLORMAGENTA; DRAWTEXT_FIX(1,0,0.5,0,'★下红竖柱为庄影'),COLORMAGENTA; |
|