JCGMarkets

B.Bands | Augmented | Intra-range | Long-Only

JCGMarkets 已更新   
Here you have the essential trading engine based on Bollinger Bands .
The idea behind is to trade the intra-range of the bands.

How is going to work?
  • Define which Bollinger Bands we want to use. Classic Bollinger Bands or Augmented Bollinger Bands . Without selecting, the algorithm doesn't show a strategy.
  • Define the length of the Moving Average and the Standard Deviation by default the classic 20-2.
  • Define the Bollinger Bands Spread Max Range (Upper-Lower) to be able to determine wheter or not you're in a price range or potential breakout.
  • Define data source to trigger exit and entry points.
  • Define profit based on Middle Band or Opposite Band.
  • Define Stop Loss % and activate Trailing Stop if desired with the percentage required.
  • Determine if you want to sell only on profit after triggering the entry signal. * Note Stop Loss remains activated.
  • Choose a date range if you want to study a specific period.

Bear in mind, this is the essential trading engine, open for you to test, try and improve under your requirements. You can determinate when is the ideal market to implement it based on many other indicators. Maybe you wish to change the stop loss settings for ATR, previous low, etc. Totally up to you.

Note the script comes with initial capital, fee % and slippage by deault. This may change for your assets. Make sure you define it in advance.

NOTE: If you trade assets such BTC, you must update the initial capital. By default 5000 (USD) The script doesn't support fraction trading such 0.01BTC.
Will be updated on next version.

Feel free to get in touch if you've got any question.
版本注释:
Partial contracts updated
Version updated

开源脚本

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

免责声明

这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。

想在图表上使用此脚本?