Mean reversal QFL v3My aim is to make the bots trade as you would trading QFL manually and “by the book” or at least to my experience and understanding from the material out there of how you should plan a QFL trade.
Im absolutely not a pro trader, I have made my share of costly mistakes trying to be clever or Beeing impatient resulting in painful losses. QFL is we’re I’ve had consistently good results tough.
Is this where I have to say I’m not a financial advisor and all that? Well I’m not. As always Do your own research and backtest, backtest, backtest.
First: I believe no bot strategy are set and forget, while they can run unattended 80-90% of the time you're always going to find yourself in a situation where you will have to manually handle a bad deal. It would also make sense to be somewhat involved in the really good trades making the most out of them. That’s why understanding the strategy the bot Is using is really important, hence why I prefer QFL. It's an easy concept to understand, and proved to be a safe way of making steady profit in pretty much all market conditions if done right.
Some changes in how aggressive you are might be needed if you are the impatient kind of trader who needs to see a lot of deals happening. But it is an added risk. In those cases Luc would advise to start “nibbling” but that would be hard to implement in a bot but I will see if that’s something I can implement.
Same goes for going the more conservative route when market conditions calls for it.
QFL stands for Quickfingersluc, and sometimes it is referred to as the Base Strategy or Mean Reversals. Its main idea is about identifying the moment of panic selling and buying below the base level and utilizing Safety orders.
Base level or Support Level refers to the lowest price level that was reached before the moment the price started increasing again. At that level, you can notice that buyers of some cryptocurrencies make a strong reaction.
As a bit of a learning material i want to make a few points on important factors in trading using the QFL strategy:
• Identify strong bases
• Read the history of the chart
• No emotions
Trading QFL using a bot has it’s limitations:
· Some of the bases are questionable but im constantly trying to improve this
· The strategy don’t take into consideration chart history(success rate)*
· You need to follow a predefined (by you) buying ladder, hence not considering a particular coin's average price movement, which may vary quite a lot. This why I for now has limited the strategy to SIMPLE bots. So that unique alerts can be created for each pair.
· A set Take profit %, possibly making you miss out on higher profits(This is easy to change during a trade though), and no chance of selling in layers(This is coming soon).
1. Some of the bases are questionable
The strategy will start trades of bases that you wouldn’t consider being a strong base(or a base at all) when looking at the chart.
For those not as familiar with QFL. What is a base, and what qualifies as a strong base?
• A base is also called the Support Level, which is the lowest price level that was reached before the price started turning and increasing again.
• A strong base is recognized by a steep fall in price after breaking the base(Panic), followed by a big reaction pump.
• The reaction pump is the most important factor to say that it is a strong base.
• And also the last base, the one you are trading of is the one that counts
Tip: Look for V shapes on the chart, easy to spot when zoomed out.
2. The integrated signals don’t take into consideration chart history(success rate)*
How can you assess the success rate by looking at the chart?
After finding the bases based on the criterias from the 1st point. Looking at the, how many times did it respect the base after breaking it? 7/10, 8/10, 9/10 times? Great! Chances of the next trade also respecting the base is big, and I would consider raising the TP on that deal. Any lower than that I would keep a really close eye on the deal, or even consider closing the deal. And again remember the last base is the one that counts. If all the others are nice strong bases but that last one you are about to take a trade off is no good the base is invalidated so be cautious.
3. You need to follow a predefined (by you) buying ladder
Crypto is volatile, and there is a huge variation in price movements on all the coins.
Trading manually, looking at the chart gives you a good idea on how much a coin on avg. drops below base, and how big the following reaction is. This gives you an indication on how deep you need to set your layers, and where you can take profit.
Using the strategy you have the backtester to see how much max deviation has been in the past so that you can figure out what the optimal max deviation is.
4. A set Take profit %, possibly making you miss out on higher profits(This is easy to change during a trade though), and no chance of selling in layers.
Not going to say to much about this other than what I often do is:
When a bot has started a trade I usually take a look at the chart. If I like what I see, nice chart history, success rate and trading of a strong previous base etc, with the current base break resulting in a panic drop I will consider increasing the TP so that it will make more profit. This can be a bit risky but also very rewarding. Imagine filling all safeties and then selling just below base! Massive profits!! (Gotta be honest though, almost never stretch it that far with a bot though, but it is a possibility) .
If you have studied the chart and concluded that this particular trade has a 90% chance of success, there isn’t really any reason not to place TP just below base. This is where I would like to have the option of layering my sell orders as well so its something im working on implementing.
Trailing is an option in 3commas, but it’s slow to place orders making you miss a selling opportunity when the coin makes a sudden spike up.
ABOUT THIS STRATEGY
In this strategy we can also reverse the strategy and go short. But i must warn you that that is alot riskier.
QFL is meant to be used on higher TF's like 1hr, 2hr and 4hr. But this strategy also work well on lower Timeframes.
The script also simulates DCA strategy with parameters used in 3commas DCA bots for futures trading.
Experiment with parameters to find your trading setup.
Beware how large your total leveraged position is and how far can market go before you get liquidated!
Do that with the help of futures liquidation calculators you can find online!
Included:
An internal average price and profit calculating, instead of TV`s native one, which is subject to severe slippage.
A graphic interface, so levels are clearly visible and back-test analyzing made easier.
Long & Short direction of the strategy.
Table display a summary of past trades
Vertical colored lines appear when the new maximum deviation from the original price has
been reached
All the trading happens with total account capital, and all order sizes inputs are expressed in percent.
How to use:
- Add the script to the current chart
- Open the strategy settings
-Tweak the settings to to your liking.
-Make a SIMPLE bot in 3commas and use the same settings as you did in tradingview if you only want the strategy to send signals to open a deal and let 3commas handle the rest.
If you check safety orders, Take profit deal stop and Stop loss. The strategy will send all the orders to 3 commas. If that’s what you want set TP in 3commas to 50% set number of safety orders to 0 and keep stop loss unchecked.
- Insert bot details using the deal start condition message found in your 3commas bot.
- When happy, right click on the "..." next to the strategy name, then "Add alert'".
- Under "Condition", on the second line, chose "Any alert () function call". Add the webhook from 3commas( 3commas.io ), give it a name, use {{strategy.order.alert_message}} as a placeholder message and "create".
In the future this signal might make it to the 3commas marketplace. You can then subscribe to that signal where I have cherrypicked coins based on thorough backtesting and optimization.
How to obtain access to the script: send me a private message in Tradingview
BASE
(IK) Base Break BuyThis strategy first calculates areas of support (bases), and then enters trades if that support is broken. The idea is to profit off of retracement. Dollar-cost-averaging safety orders are key here. This strategy takes into account a .1% commission, and tests are done with an initial capital of 100.00 USD. This only goes long.
The strategy is highly customizable. I've set the default values to suit ETH/USD 15m. If you're trading this on another ticker or timeframe, make sure to play around with the settings. There is an explanation of each input in the script comments. I found this to be profitable across most 'common sense' values for settings, but tweaking led to some pretty promising results. I leaned more towards high risk/high trade volume.
Always remember though: historical performance is no guarantee of future behavior . Keep settings within your personal risk tolerance, even if it promises better profit. Anyone can write a 100% profitable script if they assume price always eventually goes up.
Check the script comments for more details, but, briefly, you can customize:
-How many bases to keep track of at once
-How those bases are calculated
-What defines a 'base break'
-Order amounts
-Safety order count
-Stop loss
Here's the basic algorithm:
-Identify support.
--Have previous candles found bottoms in the same area of the current candle bottom?
--Is this support unique enough from other areas of support?
-Determine if support is broken.
--Has the price crossed under support quickly and with certainty?
-Enter trade with a percentage of initial capital.
-Execute safety orders if price continues to drop.
-Exit trade at profit target or stop loss.
Take profit is dynamic and calculated on order entry. The bigger the 'break', the higher your take profit percentage. This target percentage is based on average position size, so as safety orders are filled, and average position size comes down, the target profit becomes easier to reach.
Stop loss can be calculated one of two ways, either a static level based on initial entry, or a dynamic level based on average position size. If you use the latter (default), be aware, your real losses will be greater than your stated stop loss percentage . For example:
-stop loss = 15%, capital = 100.00, safety order threshold = 10%
-you buy $50 worth of shares at $1 - price average is $1
-you safety $25 worth of shares at $0.9 - price average is $0.966
-you safety $25 worth of shares at $0.8. - price average is $0.925
-you get stopped out at 0.925 * (1-.15) = $0.78625, and you're left with $78.62.
This is a realized loss of ~21.4% with a stop loss set to 15%. The larger your safety order threshold, the larger your real loss in comparison to your stop loss percentage, and vice versa.
Indicator plots show the calculated bases in white. The closest base below price is yellow. If that base is broken, it turns purple. Once a trade is entered, profit target is shown in silver and stop loss in red.
Support the Resistance BacktestHello Fellow Traders!
-------------------------------------------
This is the newest addition to Gnome Alerts PRO!
This Bot Script works on all Crypto, Leverage, Forex, & Traditional Exchanges.
Trade of Support & Resistance Levels in Realtime!
FEATURES
------------------------
*Autoview Ready*
- Easy to Use
- Backtesting Included
- Stop Loss
More info on how gain access in my profile!