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.


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.


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.

Note di rilascio: 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.
Note di rilascio: Small fix to make sure the Dates are editable to customize the window for the backtest
Script open-source

Nello spirito di condivisione promosso da TradingView, l'autore (al quale vanno i nostri ringraziamenti) ha deciso di pubblicare questo script in modalità open-source, così che chiunque possa comprenderlo e testarlo. Puoi utilizzarlo gratuitamente, ma il riutilizzo del codice è subordinato al rispetto del Regolamento. Per aggiungerlo al grafico, mettilo tra i preferiti.

Vuoi usare questo script sui tuoi grafici?