{操盤(pán)密碼》之波段密碼主圖源碼 青色為操盤(pán)線,洋紅色為界點(diǎn)線。操盤(pán)線要上穿界點(diǎn)線買入} 買線:=EMA(C,2); 賣線:=EMA(SLOPE(C,21)*20+C,42); BU:=CROSS(買線,賣線); SEL:=CROSS(賣線,買線); DRAWICON(BU,L-0.1,1); DRAWICON(SEL,H+0.1,2); STICKLINE(買線>=賣線,LOW,HIGH,0.0,1),COLORRED; STICKLINE(買線>=賣線,C,O,2,1),COLORRED; STICKLINE(買線<賣線,LOW,HIGH,0.0,1),COLORGREEN; STICKLINE(買線<賣線,C,O,2,1),COLORGREEN; 散戶:EMA(C,5),COLORCCCCCC; 操盤(pán):MA(C,9),COLORCYAN,LINETHICK2; 界點(diǎn):MA(C,20),COLORMAGENTA; LC:=REF(C,1); RSI:=((SMA(MAX((C - LC),0),3,1) / SMA(ABS((C - LC)),3,1)) * 100); FF:=EMA(C,3); MA15:=EMA(C,21); 日:=150;昨前:=3; 高1:=REF(HHV(H,日),昨前); 低1:=REF(LLV(L,日),昨前); H1:=高1-(高1-低1)*0.191; H2:=高1-(高1-低1)*0.382; H3:=高1-(高1-低1)*0.5; H4:=高1-(高1-低1)*0.618; H5:=高1-(高1-低1)*0.809; 頂:REFDATE(高1,DATE),COLORRED; 一0.809:REFDATE(H1,DATE),COLOR22ACDE; 二0.618:REFDATE(H2,DATE),COLORMAGENTA; 三0.500:REFDATE(H3,DATE),COLORCCCCCC; 四0.382:REFDATE(H4,DATE),COLORGREEN; 五0.191:REFDATE(H5,DATE),COLOR22ACDE; 低:REFDATE(低1,DATE),COLORRED; |
|
來(lái)自: 常熟老李jlr5mr > 《波段密碼》