CryptoRox

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.
https://www.youtube.com/watch?v=srR_ClDl...

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

Get your invite and join us in slack here:
http://slack.with.pink/
Sep 25
版本注释: Fixed a bug in the trailing stop.
Sep 25
版本注释: Added comments at top to clarify the settings at time of posting.
Sep 27
版本注释: - 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.
Mar 04
版本注释: 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
从收藏脚本中删除 添加到收藏脚本

评论

This is an amazing job you have done on this! Extremely impressive work. Any chance you could be persuaded to add an option to choose between longs/shorts/longs&shorts? Doing so would open up this script's usefulness to a much larger audience. 2 of the largest crypto exchanges don't offer shorts.
+17 回复
This is better than Tradingview Pine reference guide.
This is a great tutorial and reference template to build your own strategy upon.
Every section can be used by itself.
This script holds many keys to step up your game.
+5 回复
This is excellent!

Question - How do we set alerts on a strategy to command autoview? I have only been able to use alerts on non-strategy scripts.
+2 回复
CryptoRox SNOW_CITY
@SNOW_CITY, Hello good sir. We're glad you are enjoying the script. We appreciate your patience as this was not the simplest of strategies, initially, to turn into an alert script. However, we released the alert script and updated this one to include all the items necessary for alerts, plus an added feature for Martingale.



We hope this helps get you up and running!
+2 回复
Really good template, ty CryptoRox!
+2 回复
Hi CryptoRox

Can we really use heikin ashi candles on tradingview? with the snippet you add to your strategy? without getting fantasy results?
Because of false entries and exits
+1 回复
@mks17, yeah ive found the same thing, have you had any luck with a fix?
回复
mks17 pietersielie
@pietersielie, not yet but is in my future things to do, If I do I will let you know, let me know too if you find something
回复
@mks17, im going to script heiken ashi myself and let the indicator do the buy and sell instead of the candles on the chart, should fix the issue i think
回复
mks17 pietersielie
@pietersielie, but that way you are unable to test or backtest the strategy and thats what im looking for...
回复
首页 股票筛选器 外汇筛选器 加密货币筛选器 财经日历 如何运作 图表功能 价格 推荐朋友 网站规则 帮助中心 网站 & 经纪商解决方案 插件 图表解决方案 轻量图表库 博客 & 新闻 Twitter
概览 个人资料设置 账户和账单 推荐朋友 我的客服工单 帮助中心 已发表观点 粉丝 正在关注 私人消息 聊天 退出