Description Usage Arguments Value Examples
Says "buy", "sell" or do "nothing" for data when it profitable
1 |
df |
A given data.frame for testing. Must have a "High", "Low" and "Close" columns |
range.up |
The level for take profit. If contains then action is successfully. |
range.down |
The level for stop loss. If contains then action is not successfully. |
action |
1 for buy, 0.5 for do nothing and 0 for sell |
action.factor |
Factor with 3 levels: buy, sell, nothing |
buy |
1 for buy and 0 for others |
nothing |
1 for nothing and 0 for others |
sell |
1 for sell and 0 for others |
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.