In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in a publication is governed by House Rules. You can favorite it to use it on a chart.
Hello, I've only been trying to learn PineScript for two months on my own, here I am posting a version of the strategy for a grid bot with 20 orders, order size 5%, earlier I tried to find something similar, but could not. Perhaps others, those who, like me, are just starting to learn PineScript, will find something useful. In the process of using grid bots, I noticed that the indicator is sufficient, so the strategy uses 7 indicators on different timeframes, but it is not necessary to use all 7, usually 3 is enough, therefore, by default, the values are set to limit so that there is no effect on the settings of others. The step between bot orders is set in the settings. The code can of course be simplified, but it's better for understanding, I think.
https://app.revenuebot.io/external/r/15151 - RevenueBot - Free Robot To Earn For You On Top Cryptocurrency Exchanges