OPEN-SOURCE SCRIPT

Maximized Scalping On Trend (by Coinrule)

已更新
"The trend is your friend." This is one of the most famous and valuable teachings that experienced traders can give to newbies. There is a reason for that.

No matter your views about where the price moves, what matters is where the price heads to. The market is always right, and ultimately it decides who gets the profit and who has to take a loss.

The purpose of this strategy is to spot when it's the most suitable time to buy an asset profiting from a potential short-term price increase. The strategy tends to open trades frequently, closing them on average in one and a half days.

ENTRY

The buy order is placed on assets that present strong momentum when it's more likely that it is about to increase further in the short term.

To capture momentum on the asset, the rule strategy requires:

  • the MA50 greater than the MA100
  • the RSI greater than 50


The rule, then, places the order when

The price crosses above the MA9.

EXIT

This strategy comes with a stop loss and a take profit which adapt dynamically to market conditions.

The trade is closed in profit when the RSI is greater than 70, as the trend could experience a pull-back.

Alternatively, the trade is closed when the RSI is lower than 30, being this a sign of weakening of the trend.

Pro tip: The 1-hour time frame has proven to return the best results on average. The strategy can also work well in the 15-min time frame if you want to increase the trades' frequency.


The strategy assumes each order to trade 30% of the available capital and opens a trade at a time. A trading fee of 0.1% is taken into account.

版本注释
This strategy is the result of over 300 backtests when each parameter has been optimized to provide the best results over the long term.

According to the results of our analysis, entering the trade when the price crosses below the MA9 improves the results on average by 2.5 times on the 1-hour time frame.
版本注释
Small fix to make sure the Dates are editable to customize the window for the backtest
Moving AveragesOscillatorsscalpingscalpingcryptoTrend Analysistrendfollowing

开源脚本

本着真正的TradingView精神,此脚本的作者已将其开源,以便交易者可以理解和验证它。向作者致敬!您可以免费使用它,但在出版物中重复使用此代码受网站规则约束。 您可以收藏它以在图表上使用。

想在图表上使用此脚本?


更多:

免责声明