BoilerRoomColdCaller - 3Commas Grid Bot SignalThis is very similar to 3Commas' grid bot, the range is from the previous 7 days' lowest low decreased by 3% to the previous 7 days' highest high increased by 3%, you can also adjust if you want 7 days' highest/lowest close price as your range or highest high and lowest low as your range. 10 buys and 10 sells within the range, the unit price would be (high-low)/19.
The buy signals and the sell signals will be triggered if:
- The previous close is below one specific green line (buy line), and the current close is above that specific green line, or
- The previous close is above one specific green line (buy line), and the current close is below that specific green line
Thus, whether the price is dropping below these lines or rising above these lines, a buy or sell signal will be triggered when they cross green or red lines. Your entry price will be the next open price after this candle's close reaches the lines.
Big thanks to @glaz, who helped me a lot with this script. Please give a like button and share if you like this script. Let me know if you have questions, thanks guys.
Gridtrading
Cyato Grid Basic Buy & Sell [BACKTEST]Private indicator
This Grid bot strategy creates buy orders when the price goes down one level or more, and sell order when the price goes up one level or more.
To avoid useless trades, the lastest traded level is disabled until another level is crossed.
To create the grid, one upper level and one lower level is calculated. Those 2 levels are either given by the user using "MANUAL" mode or automatically calculated by an AI. The space between these two levels are then divided equally into several steps, creating the grid. The number of steps is chosen by the user, from 3 to 20.
HOW IT WORKS
This is the Backtest version meaning this is the one you should use with the Strategy Tester (more below).
Select either "MANUAL" or "AI" mode.
When using "MANUAL", you have to configure an upper level and a lower level.
When using "AI", the upper and lower level are automatically calculated from last 7 days high/low plus a 3% deviation. You can configure the timeframe and the deviation.
Select the grid quantity, from 3 to 20.
Example with 3:
Example with 10:
Example with 20:
You can choose between "Once Per Bar Close" or "Once Per Bar" alert type.
"Once Per Bar Close" will wait candle close to confirm a trade.
"Once Per Bar" will trigger a trade if the price crossed a step anytime inside a candle. Note that the backtest will still use bar close price in its calculation.
BACKTESTING
The strategy will buy 1 contract when a BUY signal appears and sell 1 contract when a SELL signal appears.
Here 1 contract = 1 BTC
The strategy can buy up to 20 contracts. Pyramiding is enabled.
The Backtest info panel is here to show how many trades are open in the backtest.
I know very well that a backtest has no value if several trades are left open. That is why I coded a feature to close all open trades at once on the last candle. This feature can be turned on and off.
To get this indicator, use the link in my signature below, thanks!
Cyato Grid Basic Buy & Sell [ALERTSETUP]Private indicator
This Grid bot strategy creates buy orders when the price goes down one level or more, and sell order when the price goes up one level or more.
To avoid useless trades, the lastest traded level is disabled until another level is crossed.
To create the grid, one upper level and one lower level is calculated. Those 2 levels are either given by the user using "MANUAL" mode or automatically calculated by an AI. The space between these two levels are then divided equally into several steps, creating the grid. The number of steps is choosen by the user, from 3 to 20.
How it Works
This is the Alert Setup version meaning this is the one you should use to create alerts (more below).
Select either "MANUAL" or "AI" mode.
When using "MANUAL", you have to configure an upper level and a lower level.
When using "AI", the upper and lower level are automatically calculated from last swing high/low.
Select the grid quantity, from 3 to 20.
Example with 3:
Example with 10:
Example with 20:
Creating the Alerts
When opening the alert popup, select "Cyato Grid" in the condition.
Make sure to use the option "Once per bar close" in order to stay in sync with the graphics on chart. (Only use "Once per bar" if you really know what you are doing).
Available alerts:
- BUY : Buy alert. Green label on chart.
- SELL: Sell alert. Red label on chart.
To get this indicator, use the link in my signature below, thanks!
Gridbot visualizor and advisor V1.0This scripts visualizes the buy and sell levels as used by gridbots.
It also gives you some recommended settings if you want to use manual mode instead of AI mode, based on timeframe, target grid size etc.
The inputs should be pretty much self explanatory, if you have any questions feel free to drop me a message below.
Have fun, be healthy and profitable!
Jurgenvv ( aka CryptoJur)
This script uses some code or ideas from:
ck-3commas-GRID-bot-Visualisation by ChrisKaye.
How to make the status box to the right was learned from Daveatt his scripts.
inwCoin Ultimate Grid StrategyinwCoin Ultimate Grid Strategy is the proof of concept of infamous grid trading strategy.
IDEA :
- The idea is to put the price level as a grids on the chart and when price cross up or cross down it will enter position.
- If the price move to next level it will take profit the last level and enter new position.
Caution :
- If market is trending into one direction, it's not wise to run this strategy counter trend. eg. run short grid when trend is up or run long grid when trend is down.
- So make sure you have something to define the big trend like Moving Average (18) TF weekly.
- I still can't try in range market ( sideway ) because this strategy using 5 min TF to work and tradingview don't provide data back that far.
How to use
1) Find out which start value of your asset that you want to use. Eg. BTC is 8000 for this time ( 22/2/2020 )
2) Define the spread of each grid as percent. ( eg. 2% for BTC ). You can choose small percent like 0.2% or 0.01 in asset like currency or altcoin/btc
3) The default grid level is 20 grids, so you can try and try again until you happy with the result.
4) This strategy is fix position size so it can easily calculate.
5) Don't forget to check "Properties" tab to try changing capital size and fee rate to match your criteria
6) This strategy is not perfect, it just some proof of concept to see if the strategy is working in real trade.
Extra :
If you want to access to alert for this strategy you can inbox me for detail.
ck - 3commas GRID bot VisualisationHi,
This is a very quick script indicator to show the “grid” for an active (or one you are planning to manually configure) 3commas Grid bot.
To use, you’ll need to go to your Grid bot page in 3commas and enter the Upper and Lower Limit Values, either from the “manual” section if you are planning a new Grid bot, or from an open Grid trade by clicking the monthly button and using the Upper value (in green) and the Lower value (in red).
Have fun!