code-dumps/tradingview/README.md
2020-07-26 14:48:16 +08:00

327 B

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.