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
הסר מסקריפטים מועדפים הוסף לסקריפטים מועדפים
@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!
השב
I have just one question.
Have you created the corresponding study? I ask because it's known that in TradingView we can't create alerts base on strateies just on studies.
השב
DTCash yechielaros
@yechielaros, He has, if you look through his scripts, you'll find one that is titled the same, but with (Alerts) in the title
השב
Hi, this a great script ans very useful video on getting started with Autoview, do you have any recommendations on best Inputs for shorter time frames?

Thanks
השב
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 השב
pietersielie mksamanes
@mksamanes, yeah ive found the same thing, have you had any luck with a fix?
השב
mksamanes 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
השב
pietersielie mksamanes
@mksamanes, 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
השב
mksamanes pietersielie
@pietersielie, but that way you are unable to test or backtest the strategy and thats what im looking for...
השב
pietersielie mksamanes
@mksamanes, no you are misunderstanding, i'm going to code the the heiken ashi candles in the indicator in tradingview, and let the indicator make the decisions, instead of the opens and closes on the chart, so there will be normal candles on my chart, but heiken ashi in my indicator which does the buying and selling, therefore tradingview will do the back testing purely on my signals from the indicator, but on the values of normal candles, and thus represent true back testing, not fake results you get with using heiken candles on the chart
השב
בית סורק מניות סורק מט"ח סורק מטבעות-קריפטו יומן כלכלי סדרות איך זה עובד‏ תכונות גרף מחירון הפנה חבר חוקי הבית מרכז תמיכה כלים לאתרים וברוקרים יישומונים פתרונות גרפיים ספריית גרפים קלי משקל בלוג וחדשות טוויטר‏
פרופיל הגדרות פרופיל חשבון וחיוב הפנה חבר לשוניות התמיכה שלי מרכז תמיכה רעיונות שפורסמו עוקבים עוקב אחרי... הודעות פרטיות צ'אט התנתק