On this article we’ll develop a buying and selling system with a quite simple logic, primarily based on using the each day vary as a measure of market volatility. As might be seen, even an very simple and linear rule can provide rise to fascinating buying and selling concepts, particularly when utilized to markets characterised by directional strikes and phases of volatility growth comparable to Bitcoin (BTC).
The concept behind the technique is to take advantage of the times when the market reveals a sure compression of the transfer in comparison with its general tour. Particularly, the system will examine the physique of the bar, that’s, the gap between the open and the shut, with the entire vary of the day, outlined because the distinction between the excessive and the low. When the physique is smaller than a sure fraction of the vary, this situation might be interpreted as a doable section of indecision or compression, from which the market may subsequently generate a extra decisive transfer.
The technique will then enter lengthy by way of a cease order positioned above the shut, extra exactly at a distance equal to the vary of the bar. On this manner, the system is not going to enter the market instantly, however provided that the worth truly reveals sufficient bullish momentum to interrupt by the predefined entry degree.
The core of the preliminary code (in PowerLanguage) will due to this fact be this straightforward line:
if Physique < (dFactor * Vary) then purchase subsequent bar at shut + vary cease;
As you possibly can see, the logic is intentionally important: the parameter `dFactor`, initially set to 1, determines how small the physique of the bar have to be in comparison with the general vary in an effort to generate a buying and selling sign. To finish the construction of the system, a cease loss, a revenue goal and a compelled exit on the finish of the session are then added, in order to maintain the technique on an intraday horizon and keep away from in a single day publicity.
The session thought-about conventionally runs from 00:00 GMT to 23:59 GMT, to make it coincide with the calendar day, since cryptocurrencies are traded 24 hours a day. A 1440-minute bar timeframe, i.e. 24 hours, will even be used.
Within the following paragraphs we’ll due to this fact analyze intimately how this logic works, assessing its preliminary outcomes and doable optimizations of the primary buying and selling parameters.
Buying and selling System on Bitcoin: constructing the preliminary technique
Assuming we commerce with $100,000 per commerce, a hypothetical worth to simplify calculations however scalable because of the divisibility of the spot market, the commerce might be closed when a cease lack of $2,000 is reached (i.e. 2% of the place worth). This can be a somewhat broad worth however assumed to be essential on this market, given Bitcoin’s volatility and the way nervous its strikes might be. In any case, the technique has an intraday horizon, so it is going to shut positions on the finish of the session if essential, or upon reaching a take revenue of $10,000, equal to 10%.
Making use of this technique to the Bitcoin (BTC) spot market towards USDT (a stablecoin pegged to the greenback), from January 2017 to Could 2026 we acquire very encouraging outcomes, with an fairness line that rises in a reasonably common manner.

Determine 1 – Fairness line of the buying and selling system on Bitcoin (BTC) within the preliminary configuration
That is confirmed by the annual outcomes proven in Determine 2, which nevertheless reveal a mean commerce that’s not very excessive, particularly in recent times, and that would due to this fact be improved in an effort to make the technique extra sturdy with a view to additionally overlaying the working prices of actual buying and selling (commissions and slippage so as execution).

Determine 2 – Annual outcomes of the preliminary model of the Bitcoin buying and selling technique
Optimization of the Bitcoin buying and selling system: enhancing robustness and efficiency
Among the many variables that may be adjusted to optimize the technique there’s definitely the multiplicative issue of the vary, ‘dFactor’, but additionally the cease loss and take revenue values.
By various ‘dFactor’ between 0.5 and 1 in steps of 0.05, we acquire the leads to Determine 3.

Determine 3 – Optimization of the dFactor parameter of the Bitcoin buying and selling technique
Sorting them by web revenue, we are able to see that the worth 0.75 permits us to acquire a wonderful Web revenue/Drawdown ratio (the Customized Standards) and the most effective common commerce (about $454), with the values round it not altering the system metrics very a lot, confirming the validity of this filter.
With the chosen parameters, due to this fact, the entire revenue of the system approaches $241,000 over 530 trades, with a mean commerce of about $454. These outcomes point out a technique that’s already fairly good and may very well be utilized in stay buying and selling, however this doesn’t imply that additional work can’t be accomplished to enhance it.
For the time being, in truth, the technique makes use of a cease lack of $2,000, i.e. 2% of the place worth, and a revenue goal of $10,000. In Determine 4 we are able to see that by various the cease loss from $1,000 to $5,000 and the revenue goal from $0 to $30,000, the pair of values $3,000 and $15,000 seems to be optimum when it comes to the Web revenue/Drawdown ratio.

Determine 4 – Optimization of cease loss and take revenue of the Bitcoin buying and selling technique
Validation of the technique on different cryptocurrencies: Ethereum, BNB and Solana
With out going additional by including buying and selling filters that would simply result in overfitting within the optimization of the technique, we may merely attempt to validate it by making use of the identical logic to different cryptocurrencies, to examine whether or not it could additionally obtain good outcomes on them. It’s well-known that Bitcoin considerably leads the whole market, so the opposite cryptocurrencies have a tendency to maneuver in an analogous manner.
Beneath are the fairness traces of the identical technique utilized, with the identical parameters, to Ethereum (ETH), BNB and Solana (SOL), three of the primary altcoins within the crypto market.

Determine 5 – Fairness line of the technique utilized to Ethereum (ETH)

Determine 6 – Fairness line of the technique utilized to BNB

Determine 7 – Fairness line of the technique utilized to Solana (SOL)
The upward pattern of all of the fairness traces confirms the soundness of the technique, though to acquire the most effective outcomes for every of the cryptocurrencies thought-about it could be advisable to optimize the parameters, as was accomplished beforehand for BTC. This work is due to this fact left to the reader as a buying and selling train.
Conclusions: can a easy buying and selling system on Bitcoin work?
On this research we developed an very simple buying and selling system on Bitcoin, primarily based solely on the conduct of the each day vary and on market volatility.
The outcomes present how even important buying and selling logics can supply fascinating concepts when utilized to devices characterised by robust directionality and broad strikes comparable to Bitcoin (BTC).
The following validation on Ethereum, BNB and Solana additionally means that the buying and selling precept behind the technique could also be current extra usually within the cryptocurrency market.
In fact, no technique is a common answer and each method requires thorough testing, threat management and steady validation. Nevertheless, this instance as soon as once more reveals how simplicity, robustness and technique can typically characterize an efficient mixture within the improvement of buying and selling techniques on crypto markets.
Till subsequent time, and good buying and selling!
Andrea Unger
