code-dumps/tradingview/README.md

5 lines
327 B
Markdown
Raw Normal View History

2020-07-26 13:33:27 +08:00
# Strategy for use with tradingview.com
## macd-rsi.txt
2020-07-26 14:48:16 +08:00
Long when MACD crossover upwards. Short when RSI exceeds 75. Simple strategy for use with stocks with a long-term uptrend. I'm still working on the code to not short but only close a portion of previous positions. Can't get strategy.close or strategy.close_all to work.