OPEN-SOURCE SCRIPT
Updated

Multi-TF Buy Low Sell High (based on coinrule)

129
This strategy based on idea from Coinrule:

help.coinrule.com/articles/108587-multi-time-frame-buy-low-sell-high-short-term

ENTRY

To capture the strength behind the reversal on the asset, the strategy requires that MA50 be lower than the current market price. To capture a contrarian opportunity on the asset, the rule requires that RSI be lower than 35 on a higher timeframe.

The rule places the order when both conditions above are met. The buy order only ends up being placed on assets when it seems they are leaving the "oversold" status on the RSI.

EXIT

This strategy comes with a conditional stop loss and a target take profit.

The engine only engages the stop loss if, as a whole, the rule is in a certain pre-defined loss. The rule checks the total cumulative PnL across all trades (open and closed) by that strategy, and if this is greater than the predefined amount, only then does it apply the stop loss logic. This way you can adapt the risk management of the strategy to the market, becoming more risk-averse when the market turns against you and become more risk-loving when you are trading in favourable market conditions.
Release Notes
This strategy based on idea from Coinrule:

help.coinrule.com/articles/108587-multi-time-frame-buy-low-sell-high-short-term

ENTRY

To capture the strength behind the reversal on the asset, the strategy requires that MA50 be lower than the current market price. To capture a contrarian opportunity on the asset, the rule requires that RSI be lower than 35 on a higher timeframe.

The rule places the order when both conditions above are met. The buy order only ends up being placed on assets when it seems they are leaving the "oversold" status on the RSI.

EXIT

This strategy comes with a conditional stop loss and a target take profit.

The engine only engages the stop loss if, as a whole, the rule is in a certain pre-defined loss. The rule checks the total cumulative PnL across all trades (open and closed) by that strategy, and if this is greater than the predefined amount, only then does it apply the stop loss logic. This way you can adapt the risk management of the strategy to the market, becoming more risk-averse when the market turns against you and become more risk-loving when you are trading in favourable market conditions.

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.