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/
發布通知: 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
從常用腳本中移除 新增至常用腳本

評論

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.
+19 回覆
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.
+6 回覆
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.
+3 回覆
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!
+5 回覆
Nice script thanks but there seems to be a glitch in that you cannot calculate P&L based on % of the account, it will only calculate 1 contract per trade.
+2 回覆
@CryptoRox Thanks for the amazing script! I still seem to be getting an indicator repaint warning message, which is giving me backtest results that are too good to be true. Is there anything I can do to prevent repainting?

Thanks again for all the hard work and for Autoview, I signed up last week and I'm sinking my teeth, I love the concept!
+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
+2 回覆
@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
回覆
首頁 股票篩選器 外匯篩選器 加密貨幣篩選器 全球財經日曆 如何運作 圖表功能 價格 推薦朋友 網站規則 幫助中心 網站 & 經紀商解決方案 小工具 圖表解決方案 輕量圖表庫 部落格 & 新聞 推特
概覽 個人資料設定 賬戶和賬單 推薦朋友 代幣 我的客服工單 幫助中心 發表的想法 粉絲 正在關注 私人訊息 在線聊天 登出