search for: ema10

Displaying 2 results from an estimated 2 matches for "ema10".

2011 May 05
1
quantmod's addTA plotting functions
...ies(GSPC.close, theme=chartTheme('white'), up.col="black", dn.col="black") addTA(GSPC.EMA.3, on = 1, col = "#0000ff") addTA(GSPC.EMA.10, on = 1, col = "#ff0000") # browser() } When I run this, GSPC.close always appears. But only GSPC.EMA10 appears on the plot along with it. If I switch the order of the addTA calls, only GSPC.EMA3 appears. If I uncomment the call to browser() neither appears when the browser() interrupt occurs. I can then draw both GSPC.EMA.3 and GSPC.EMA10 manually, and let the function terminate. All intended plots...
2011 May 07
2
Convenience-at-the-expense-of-clarity (was: quantmod's addTA plotting functions)
...t;) >> addTA(GSPC.EMA.3, on = 1, col = "#0000ff") >> addTA(GSPC.EMA.10, on = 1, col = "#ff0000") >> # browser() >> } >> >> >> When I run this, GSPC.close always appears. But only GSPC.EMA10 >> appears on >> the plot along with it. If I switch the order of the addTA calls, >> only GSPC.EMA3 appears. If I uncomment the call to browser() >> neither appears >> when the browser() interrupt occurs. I can then draw both >&gt...