将公式的连线和横轴线去掉,仅留买卖线柱。(已解答:捧花绯夏)
[通达信] {买卖线柱} SHORT:=7; LONG:=19; RMA:=EMA(CLOSE,SHORT); NMA:=EMA(CLOSE,LONG); DOWN:DRAWLINE(H=HHV(H,BARSLAST(CROSS(RMA,NMA))+1),HHV(H,BARSLAST(CROSS(RMA,NMA))+1),L=LLV(L,BARSLAST(CROSS(NMA,RMA))+1),LLV(L,BARSLAST(CROSS(NMA,RMA))+1),0); 趋势区:=IF((EVERY(DOWN>=REF(DOWN,1),1)),4,2)COLOR0000FF,LINETHICK3; 低买:IF(((CROSS(趋势区,2.1))),5,0),STICK,COLORRED,LINETHICK3; 高卖:IF(((CROSS(3.9,趋势区))),-5,0),STICK,COLORFF9150,LINETHICK3; [ 本帖最后由 任刚 于 2017-11-10 20:24 编辑 ] |
楼主 |
2楼 |
3楼 |