Ok this is just some strat based on MACD, checking for a few conditions until giving buy/sell signals to Gunbot via alerts.
It is generalized but if you want to go play with the values. I will continue to develop this further and am happy to receive feedback.
Notations are coming.
-ONLY use this with TV_GAIN: 0.6 because on downtrends it is supposed...
Work in progress... Added new MAs with variable smoothing... EhlersSuperSmoother, EhlersEmaSmoother, xema. Added additional alerts for gunbot or similar cryptobots. Couldn't find the original author of the new MAs, so if you are, drop me a line for credit.
This is a repost, the first version was locked and I am unable to unlock it. So I'm simply publishing it anew.
This is more of a test run than anything. Gunbot approximation courtesy of Vosechu and the original can be found here....
This helps find the right levels by showing darker colors for the most prominent areas. So if you want to see if you can sneak in a buy at some little hump, you can tell how likely it'll be by whether it's super light (unlikely, you'll have to set the level to like 0.25) or super dark...
This indicator shows a close approximation to what Gunbot would use in its GAIN and STEPGAIN strategies.
The middle two lines are the EMA(2h) and EMA(4h) lines. The inner two grey lines are BUYLVL2/SELLLVL2, the outer grey lines are just there to constrain the color bands. The green and red bands are indicators of where the candle has exceeded your setting and...
Companion script to "Ultimate Smoothed MA", details in that description.
Adapted from Chris Moody's "Ultimate Moving Average-Multi-TimeFrame-7 MA Types"
If you'd like to receive alerts on turning points, the conditions in line 96 and 97 can be used for alertcondition.
This is an attempt to convert gunbot's SG strategy into a proper TradingView strategy. The problem is that SG Sell Level relies on % above purchase price, which we don't actually know in TradingView. So we could try to get the average of the next bar or something, which maybe this is what the Slippage setting is? I'm not sure.
Anyways, using % above EMA does...
When using moving averages there is usually a trade-off between lag and smoothness. Multiple formulas have been devised to reduce lag while maintaining smoothness, and each one has its trade-offs.
This script, tweaked from Chris Moody's extremely popular "Ultimate Moving Average-Multi-TimeFrame-7 MA types" is another attempt.
Added least-squares moving average...
I have developed a Microprofit Script for Tradingview and would like to introduce you to it.
More Details on the forum
First of all some keypoints to it:
-It uses Gunbot
-Many Microtrades on a bullish market
-Even make Profit on Sideway & wavy downtrends
-Double up to infinity
-Controlled downtrend averaging