I have my favorite grid bot. Of course, the problem is if the price breaks out of the range.
My goal is to ensure that if the SMA3 crosses a given price level (below the grid) on a 3-minute downward trend, the grid bot is paused and the token is sold. When the price returns, the bot buys back what it previously sold (at a similar price) and waits for the range to reenter before resuming trading.
What I’ve tested:
Grid bot stoploss – it’s out of the question because I can only set a limit price or loss percentage
Trading bot: Short SMA crosses Long SMA. The problem is that SMAs are fluid, and I need a specific price level to cross
Trading bot with the Fixed Price option. It works, but only for a temporary aberration, not SMA 3
Trading bot: Combination of SMA and Fixed Price – the SMA curves from TV don’t match those from Gainium. Yes, in both cases I set the SMA and the same period ;). So I’m not sure about the effect.
trading bot using bot controller and the Price option. This is Beta, I’m not sure how it will work.
I feel like I’m missing an obvious, elegant solution and it’s overcomplicating things.
If I understand correctly, you want to stop the bot when the SMA3 crosses a specific value. We don’t support this natively, what we do support is control with price levels (value of current price, not the SMA3) and crosses between price and SMA3. Usually strategies look at crosses of the moving average against another moving average or price, not a specific value. You can always do it in tradingview through webhooks, though you can’t backtest it.
That’s a pity I was sure that this option was available, but I can’t see it.
Using a price that exceeds the price level exposes me to exiting the market when we have a single deep wick.
I’ve even tried an approach where SMA3 crosses SMA5000 or I use MAR, but even then I don’t have a horizontal line like the price level ;). I don’t want to use a webhook, it has failed me in the past.
1 Do you see any other solution to my problem?
2 Are you planning to launch a Dynamic Grid Bot (floating grid bot) that would constantly oscillate at a distance of x% from the current price or SMA, not between specific price values?
You could simulate your floating Grid Bot with a Combo Bot or a DCA bot that creates a bunch of separate DCA deals for a single pair via the dynamic price filter Over and under.
Thanks for the advice, but I don’t quite understand
Would you be so kind as to create such a bot for, say, SOL or another pair so that I can understand the mechanics? I know I’m asking a lot.
And if @aressanch could answer my questions, that would be nice.
I can’t think of any other way than doing it in tradingview with webhooks
This seems like a very specialized use case but feel free to post it as a feature request, if more users find the idea valuable we will consider for a future implementation.
I missed the central detail of SMA3 crossing a pre-defined price. Currently it can only be used with Current Price. Maybe there could be another option that allows to configure a fix price for that?