Description Usage Arguments Value
flags when to buy sell and hold a stock, after inputing trade signal from T.ind()
1 | T.flag(x, margin = 0.025)
|
x |
An xts object containing output from T.ind() |
margin |
signal strength from T.ind() that will trigger the flag |
xts object of trade signals,buy = 1, sell = -1, hold = 0
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.