OPEN-SOURCE SCRIPT

Moving Average Cross and/or Bbands bot

已更新
Hello TradingView and world!

This is one of our latest concepts for an actual bot builder. This script comes with a bunch of features that we're hoping will alleviate a lot of the stress and confusion around using and building strategies here on TV. Especially if the end-goal is to automate the strategies using Autoview.

This is a combination of 2 strategies, and gives you full control of each component within the script.

The 2 strategies are:
2 Moving Averages == if close is greater than moving average and moving average 1 is greater than moving average 2
Bolling Bands == if close is less than lower or greater than upper

Features / Settings included :
- Ability to change settings from a commodity market (default) to an altcoin or forex market.
- Backtest time period selector component
- Heiken Ashi Candles on/off
- Moving Average Strategy on/off
- Bollinger Bands Strategy on/off
- Both Moving Average settings can be adjusted
- Bollinger Bands length and multiplier can be adjusted.
- Pyramiding Greater Than, Equal To, or Less Than
- Trailing Stop with the ability to set a price in which the Trailing Stop activate
- Take Profit on/off and editable
- Stop Loss on/off and editable
- Margin Call on/off dependent on Leverage which is editable
- If pyramiding is used, the strategy will calculate and display your average on the chart
- Profit and Loss visuals added to the chart

You can watch a video here on how all the settings can be used and work together.
youtube.com/watch?v=srR_ClDlQx8

You can learn more about Autoview here:
autoview.with.pink/

Get your invite and join us in slack here:
slack.with.pink/
版本注释
Fixed a bug in the trailing stop.
版本注释
Added comments at top to clarify the settings at time of posting.
版本注释
- Made adjustments to Trailing Stop, Take Profit and Stop Loss and Margin Calls.
-This allowed for the amalgamation of the 4 conditions into a single alerts. (An adjustment necessary for the alert script).

- Added an option to mimic the Martingale strategy when pyramiding by doubling the order quantity size of your last open.
版本注释
Removed Heiken Ashi due to reports of repainting, even with them being built-in script.
Removed Martingale
Set default to Moving Average Cross 50, 200
Changed test start year date to 1
automationautoviewBitcoin (Cryptocurrency)Bollinger Bands (BB)bollingerbandstrategybotsMoving Averagespinkcoin

开源脚本

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

想在图表上使用此脚本?


更多:

免责声明