blockpartytrading

AutoTrader ðŸ‘ū Signal Generator [BPLabs]

blockpartytrading āļ—āļĩāđˆāļ­āļąāļ›āđ€āļ”āļ•:   
BlockParty Labs: ðŸ‘ū AutoTrader - Signal Generator ðŸ‘ū

Ever have a crazy idea for a strategy across multiple indicators, but have no way to test it out or implement it?

AutoTrader is built for people like you: tinkering in your lab, spotting opportunities, exploiting trading-edges that escape other market participants, all in realtime!

This builds upon indicators and events that you may have already explored in our "Indicator Lab". These two scripts are complementary, you can add both scripts to the same chart for more flexibility.
This is mainly because the "Indicator Lab" can be adjusted quicker as it is not doing all the heavy-lifting needed by AutoTrader. Please be patient with load-times.

AutoTrader works as follows:
  • Step 1: Decide on pre-conditions: that you want to enter trades (long or short). This could be anything from one Moving Average needs to be above another, or the RSI needs to be below some threshold, or close price is above the open price (green candle). This sets the stage for things that absolutely must be true before you are willing to trade in this direction.
  • Step 2: Decide on events that constitute an entry: (given your pre-conditions specified in Step 1 above). You can group these events (as is the default) where ANY condition can fire for the entry, or you can ungroup these so that each must fire independently together to strengthen an entry signal. Depending on your logic, you can also delay events or hold them for a number of bars.
  • Step 3: Review your signals for bad trades and look for ways to block them: You can do this by adding blocking signals, whereby you will see the signals change colour if they are blocked.
  • Step 4: Clarify your trading session: Maybe your signals only work on the weekends, or on weekdays, or maybe you want to exclude Mondays... All this is possible by adjusting the trading session and you will see these periods blacked-out to indicate no signals will be generated at all during these periods.
  • Step 5: Refine your strategy through Asset and Timeframe selection: Does your strategy work better on a different asset? What about different timeframes? How about 30 minutes, 3 hours, 12 hours, 17 hours, etc.? Note that some strategies simply do not work on certain asset/timeframe combinations, and even working strategies can fail over time. So make sure to continually test and review for optimum performance.
  • Step 6: Populate your Alert Messages: for automated trade-entry. From the examples below in the GUI inputs, copy the alert message-style which is relevant for you. For example, if you intend to send signals to a 3commas DCA bot, then copy the example message and change it to your custom bot ID and email token. Note that the Long entry message is independent of the Short entry message, because you could for example have different bot IDs to go in different directions.
  • Step 7: Setup/Create your Alert Messages: Remember to add the 3commas or Mizar webhooks if you are automating your trades. Make sure you test your syntax is working with a practice alert and then review the logs on your trading platform.

Due to the power of AutoTrader, the number of options can feel overwhelming, but it's really quite straight-forward once you get your head around it! Speak to other members of the community who are having success for tips and exchange profitable strategies between each other.

Synergies happen when clever motivated people get together! There are literally millions of combinations to explore, so the limit is really only your collective intellects and imaginations!

Unleash your inner geek! ðŸĪ“

Happy trading!

(Note the default setup example for Longs is "MA2 is above MA3" and for Shorts it is the reverse ("MA2 is below MA3") - basically exploiting the relationship between fast and slow moving averages.
This is coupled with a MACD crossover to generate Long and Short signals (green and red lines). This is not necessarily suggested as a working strategy, but just something to spark the imagination and start you thinking about what approach might work best for you. The mantra is "test, test, test" until you find a winner.
āđ€āļ­āļāļŠāļēāļĢāđ€āļœāļĒāđāļžāļĢāđˆ:
Added/Updated:
  • Trends/Flips: Donchian Channel, Volatility Stop
  • Indicator: Blast Off
  • Default settings: Included MACD crossover as default for more intuitive understanding
  • Volume Spike: Increased sensitivity and extended to include all similar events past the first trigger

Fixed Bugs:
  • Blank event spacers did not clear the event selection. Now fixed.
  • Further code clean-up / optimisation
āđ€āļ­āļāļŠāļēāļĢāđ€āļœāļĒāđāļžāļĢāđˆ:
Performance improvements - by reducing pre-conditions & events for long, short & blocking to only 3 options instead of 4, has given a 20%-30% performance boost by reducing iterative calculation time from the various permutations
GUI cleanup - tooltips, alignment, colours, etc.
Added MA2 & MA3 as displayed on chart by default
āđ€āļ­āļāļŠāļēāļĢāđ€āļœāļĒāđāļžāļĢāđˆ:
Minor GUI adjustment for iPhone app display.
Added barstate.isconfirmed for indicator events to prevent false signals on the current realtime bar. Indicator events will now only show for completed bars.
Updated signalling to distinguish blocking trades when hooked into a strategy tester
āđ€āļ­āļāļŠāļēāļĢāđ€āļœāļĒāđāļžāļĢāđˆ:
Alert & webhook optimisations
āđ€āļ­āļāļŠāļēāļĢāđ€āļœāļĒāđāļžāļĢāđˆ:
Features
Added MA Type: Zero-Lag EMA
Added MA Type: Zero-Lag Least-Squares MA
Added Trend Type: Chandelier Exit

GUI
Added ability to customise length, factor & source for Trends

Bugfix
General Performance Optimisations
āđ€āļ­āļāļŠāļēāļĢāđ€āļœāļĒāđāļžāļĢāđˆ:
Simplified Entry Signal selection for RoboStrat ðŸĶū
āđ€āļ­āļāļŠāļēāļĢāđ€āļœāļĒāđāļžāļĢāđˆ:
Moved Moving Average crossovers/crossunders from pre-conditions to events
āđ€āļ­āļāļŠāļēāļĢāđ€āļœāļĒāđāļžāļĢāđˆ:
Added MFI
Added CCI
Added Bollinger Bands as Channels
Added Stochastic indicator as well as Stochastic Cross event
Fixed a bug with blocking
āđ€āļ­āļāļŠāļēāļĢāđ€āļœāļĒāđāļžāļĢāđˆ:
Minor GUI updates
āđ€āļ­āļāļŠāļēāļĢāđ€āļœāļĒāđāļžāļĢāđˆ:
Cosmetic update
āđ€āļ­āļāļŠāļēāļĢāđ€āļœāļĒāđāļžāļĢāđˆ:
Fix: Session Selection
āļŠāļ„āļĢāļīāļ›āļ•āđŒāđ€āļ‰āļžāļēāļ°āļœāļđāđ‰āđ„āļ”āđ‰āļĢāļąāļšāđ€āļŠāļīāļāđ€āļ—āđˆāļēāļ™āļąāđ‰āļ™

āļāļēāļĢāđ€āļ‚āđ‰āļēāļ–āļķāļ‡āļŠāļ„āļĢāļīāļ›āļ•āđŒāļ™āļĩāđ‰āļˆāļģāļāļąāļ”āđ€āļ‰āļžāļēāļ°āļœāļđāđ‰āđƒāļŠāđ‰āļ—āļĩāđˆāđ„āļ”āđ‰āļĢāļąāļšāļ­āļ™āļļāļāļēāļ•āļˆāļēāļāļœāļđāđ‰āđ€āļ‚āļĩāļĒāļ™ āđāļĨāļ°āļĄāļąāļāļˆāļ°āļ•āđ‰āļ­āļ‡āļŠāļģāļĢāļ°āđ€āļ‡āļīāļ™āļāđˆāļ­āļ™ āļ„āļļāļ“āļŠāļēāļĄāļēāļĢāļ–āđ€āļžāļīāđˆāļĄāļĨāļ‡āđƒāļ™āļĢāļēāļĒāļāļēāļĢāđ‚āļ›āļĢāļ”āļ‚āļ­āļ‡āļ„āļļāļ“āđ„āļ”āđ‰ āđāļ•āđˆāļ„āļļāļ“āļˆāļ°āļŠāļēāļĄāļēāļĢāļ–āđƒāļŠāđ‰āļ‡āļēāļ™āđ„āļ”āđ‰āļŦāļĨāļąāļ‡āļˆāļēāļāļ‚āļ­āļ­āļ™āļļāļāļēāļ•āđāļĨāļ°āļ‚āļ­āļĢāļąāļšāļˆāļēāļāļœāļđāđ‰āđ€āļ‚āļĩāļĒāļ™āđ€āļ—āđˆāļēāļ™āļąāđ‰āļ™ āļ•āļīāļ”āļ•āđˆāļ­ blockpartytrading āļŠāļģāļŦāļĢāļąāļšāļ‚āđ‰āļ­āļĄāļđāļĨāđ€āļžāļīāđˆāļĄāđ€āļ•āļīāļĄ āļŦāļĢāļ·āļ­āļ—āļģāļ•āļēāļĄāļ„āļģāđāļ™āļ°āļ™āļģāļ‚āļ­āļ‡āļœāļđāđ‰āđ€āļ‚āļĩāļĒāļ™āļ”āđ‰āļēāļ™āļĨāđˆāļēāļ‡

āđ‚āļ›āļĢāļ”āļ—āļĢāļēāļšāļ§āđˆāļēāļ™āļĩāđˆāđ€āļ›āđ‡āļ™āļŠāļ„āļĢāļīāļ›āļ•āđŒāļŠāđˆāļ§āļ™āļ•āļąāļ§āļ—āļĩāđˆāđ„āļ”āđ‰āļĢāļąāļšāđ€āļŠāļīāļāđ€āļ—āđˆāļēāļ™āļąāđ‰āļ™āļ‹āļķāđˆāļ‡āđ„āļĄāđˆāđ„āļ”āđ‰āļĢāļąāļšāļāļēāļĢāļ§āļīāđ€āļ„āļĢāļēāļ°āļŦāđŒāđ‚āļ”āļĒāļœāļđāđ‰āļ”āļđāđāļĨāļŠāļ„āļĢāļīāļ›āļ•āđŒ āļāļēāļĢāļ›āļāļīāļšāļąāļ•āļīāļ•āļēāļĄāļāļŽāļĢāļ°āđ€āļšāļĩāļĒāļšāļāļēāļĢāđƒāļŠāđ‰āļ‡āļēāļ™āļ‚āļ­āļ‡āđ€āļĢāļēāđ„āļĄāđˆāđ„āļ”āđ‰āļāļģāļŦāļ™āļ”āđ„āļ§āđ‰ TradingView āđ„āļĄāđˆāđāļ™āļ°āļ™āļģāđƒāļŦāđ‰āļŠāļģāļĢāļ°āđ€āļ‡āļīāļ™āļŠāļģāļŦāļĢāļąāļšāļāļēāļĢāļ‹āļ·āđ‰āļ­āļŠāļ„āļĢāļīāļ›āļ•āđŒāđāļĨāļ°āđ„āļĄāđˆāđāļ™āļ°āļ™āļģāđƒāļŦāđ‰āđƒāļŠāđ‰āļ‡āļēāļ™āļŠāļ„āļĢāļīāļ›āļ•āđŒāļ™āļąāđ‰āļ™āđ† āļˆāļ™āļāļ§āđˆāļēāļ„āļļāļ“āļˆāļ°āđ„āļ§āđ‰āļ§āļēāļ‡āđƒāļˆāļœāļđāđ‰āđ€āļ‚āļĩāļĒāļ™āļŠāļ„āļĢāļīāļ›āļ•āđŒ 100% āđāļĨāļ°āļˆāļ™āđ€āļ‚āđ‰āļēāđƒāļˆāļ§āđˆāļēāļŠāļ„āļĢāļīāļ›āļ•āđŒāļ—āļģāļ‡āļēāļ™āļ­āļĒāđˆāļēāļ‡āđ„āļĢ āđƒāļ™āļāļĢāļ“āļĩāļ­āļ·āđˆāļ™āđ† āļ„āļļāļ“āļŠāļēāļĄāļēāļĢāļ–āļŦāļēāļ—āļēāļ‡āđ€āļĨāļ·āļ­āļāđ‚āļ­āđ€āļžāļ™āļ‹āļ­āļĢāđŒāļŠāļ—āļĩāđˆāļ”āļĩāđ„āļ”āđ‰āļŸāļĢāļĩāđƒāļ™āļŠāļ„āļĢāļīāļ›āļ•āđŒāļŠāļļāļĄāļŠāļ™āļ‚āļ­āļ‡āđ€āļĢāļē

āļ„āļģāļˆāļģāļāļąāļ”āļŠāļīāļ—āļ˜āļīāđŒāļ„āļ§āļēāļĄāļĢāļąāļšāļœāļīāļ”āļŠāļ­āļš

āļ‚āđ‰āļ­āļĄāļđāļĨāđāļĨāļ°āļšāļ—āļ„āļ§āļēāļĄāđ„āļĄāđˆāđ„āļ”āđ‰āļĄāļĩāļ§āļąāļ•āļ–āļļāļ›āļĢāļ°āļŠāļ‡āļ„āđŒāđ€āļžāļ·āđˆāļ­āļāđˆāļ­āđƒāļŦāđ‰āđ€āļāļīāļ”āļāļīāļˆāļāļĢāļĢāļĄāļ—āļēāļ‡āļāļēāļĢāđ€āļ‡āļīāļ™, āļāļēāļĢāļĨāļ‡āļ—āļļāļ™, āļāļēāļĢāļ‹āļ·āđ‰āļ­āļ‚āļēāļĒ, āļ‚āđ‰āļ­āđ€āļŠāļ™āļ­āđāļ™āļ° āļŦāļĢāļ·āļ­āļ„āļģāđāļ™āļ°āļ™āļģāļ›āļĢāļ°āđ€āļ āļ—āļ­āļ·āđˆāļ™ āđ† āļ—āļĩāđˆāđƒāļŦāđ‰āļŦāļĢāļ·āļ­āļĢāļąāļšāļĢāļ­āļ‡āđ‚āļ”āļĒ TradingView āļ­āđˆāļēāļ™āđ€āļžāļīāđˆāļĄāđ€āļ•āļīāļĄāļ—āļĩāđˆ āđ€āļ‡āļ·āđˆāļ­āļ™āđ„āļ‚āļāļēāļĢāđƒāļŠāđ‰āļšāļĢāļīāļāļēāļĢ

āļ„āļģāđāļ™āļ°āļ™āļģāļ‚āļ­āļ‡āļœāļđāđ‰āđ€āļ‚āļĩāļĒāļ™

āļœāļđāđ‰āđ€āļ‚āļĩāļĒāļ™āļŠāļ„āļĢāļīāļ›āļ•āđŒāļ™āļĩāđ‰āđ„āļĄāđˆāļŠāļēāļĄāļēāļĢāļ–āđƒāļŦāđ‰āļŠāļīāļ—āļ˜āļīāđŒāļāļēāļĢāđ€āļ‚āđ‰āļēāļ–āļķāļ‡āđ„āļ”āđ‰āļ­āļĩāļāļ•āđˆāļ­āđ„āļ› āļāļĢāļļāļ“āļēāļ­āļĒāđˆāļēāļĢāđ‰āļ­āļ‡āļ‚āļ­āļāļēāļĢāđ€āļ‚āđ‰āļēāļ–āļķāļ‡

āļ•āđ‰āļ­āļ‡āļāļēāļĢāļ—āļĩāđˆāļˆāļ°āđƒāļŠāđ‰āļŠāļ„āļĢāļīāļ›āļ•āđŒāļ™āļĩāđ‰āļšāļ™āļŠāļēāļĢāđŒāļ•āđƒāļŠāđˆāđ„āļŦāļĄ?

āļ„āļģāđ€āļ•āļ·āļ­āļ™: āļāļĢāļļāļ“āļēāļ­āđˆāļēāļ™ āļāđˆāļ­āļ™āļĢāđ‰āļ­āļ‚āļ­āļāļēāļĢāđ€āļ‚āđ‰āļēāļ–āļķāļ‡