code-dumps/tradingview
2020-07-26 14:48:16 +08:00
..
macd-rsi.txt NEW: initial commit 2020-07-26 14:48:16 +08:00
README.md NEW: initial commit 2020-07-26 14:48:16 +08:00

Strategy for use with tradingview.com

macd-rsi.txt

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.