OPEN-SOURCE SCRIPT

Rate of Change Strategy

已更新
This strategy calculates the rate of change over time to determine buy/sell points. This strategy is best run with 1 hour candles.

Configurable values:

  • SMA Fast (days)
  • SMA Slow (days)
  • SMA Reference (days)
  • ROC Low (%)
  • ROC High (%)
  • Order Stake (%)
  • Look back Candles
版本注释
Quite a few changes with this release...

  • IMPORTANT - default settings are for ADAUSDT on BINANCE_US with 1 hour candles
  • Use 1 hour candles with this strategy
  • Got rid of high offset, we're just going to use trailing stoploss and take profit to exit.
  • Added plots for everything
  • Added absolute stoploss
  • Added take profit
  • Added bullish outside candle reversal as a buy signal
  • Read the comments for details
  • Still need to make some variables accessible via the settings
版本注释
Lots of changes, biggest being the correct code for stops and trailing stops.

  • Removed candle signal
  • Changed percentage inputs to take whole numbers
  • Show all plots with a checkbox
  • Configured for ETH on BinanceUS with 30 min candles
版本注释
Reset some default values for ETH on BinanceUS 30m candles
版本注释
Updated to pinescript 5, best used with day candles.
Simple Moving Average (SMA)sma

开源脚本

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

想在图表上使用此脚本?


更多:

免责声明