Displaying 2 results from an estimated 2 matches for "ema3".
Did you mean:
ema
2011 May 05
1
quantmod's addTA plotting functions
...ck")
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 are
visible after the function terminates. So it isn't as if one wipes out the
other. Th...
2011 May 07
2
Convenience-at-the-expense-of-clarity (was: quantmod's addTA plotting functions)
...#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 are
>>...