PROTECTED SOURCE SCRIPT

Ultimate Grid Tool + Alerts (DCA & Limit Orders) [enzedengineer]

Overview
The "Ultimate Grid Tool + Alerts" script works much like a grid bot from automated trading services such as 3Commas making it a good free alternative with some extra utility.

How it works
The user is prompted to set up a grid by manually defining a lower and upper range and then by selecting how many grid segments they want (max 20). The script will automatically create equally spaced grids within this defined range. The script has built in alerts which are intended to be used in conjunction with a third-party application to execute buy and sell orders on an exchange.

The script has two alert functionalities to choose between:
  • Limit orders (like traditional grid bots) or;
  • DCA zones (time-based)


DCA zones:
This is the default selection. Each zone has its own alert condition which is triggered if the price closes within that zone. The frequency of the alert is determined by the user's chart resolution, therefore you can have the alert trigger every day, or 4 hours, or 30 minutes and so on. This allows for flexibility, for example, you could go from DCA'ing at $20 per day at higher prices to $100 per day as the price drops into the lower end of your grid range.

Limit orders:
This mode is selected by checking the "Limit Order" box. As mentioned earlier, this mode works like traditional grid bots with each grid line representing a limit order. The alert condition is met when ta.cross(close, gridline) = true.

Buy and Sell:
This mode is selected by checking the "Buy and Sell" box. This is a visual modification only which changes the colour of the grids to help plan the user's trading. Please note, there is no buying or selling logic within the script itself - this should be built into the alert message to be used with a third-party application for exchange order execution.


Use case: The author of this script has been using it with the default settings to DCA into Bitcoin in the current bear market. Using a chart resolution of 15 minutes the script purchases x-amount of Bitcoin every 15 minutes (Alertatron executes the exchange orders). This method provides a well blended average price and takes away the internal conundrum of "should I buy some today". No matter what, the bot will make a purchase within at least 15 minutes of the ultimate Bitcoin bottom and arguably this gives a psychological edge and reduces FOMO (fear of missing out). 
forecastingGRIDgridbotgridsgridtradinglevelPortfolio managementrangerangetraderangetradingtoolVolatility

保護スクリプト

このスクリプトは保護スクリプトとして公開されており、個人利用として利用することは可能です。

チャートでこのスクリプトを利用したいですか?

免責事項