Professional Documents
Culture Documents
2022 VOLUME I
Publication Category
Course-based Assignment
Academic Context
In a 100-level Principles of Macroeconomics course, students prepared professional reports on various class topics.
The present report is about the digital asset module of the class. Students learned how to code trading algorithms by
using PineScript and had the chance to familiarize themselves with the concepts and applications of technical
analysis.
DOI: 10.48762/2022.554 | Published by Carnegie Mellon University Library Publishing Service | CC BY 4.0
UNDERGRADUATE JOURNAL
VOLUME I 2022
accuracy, we use the longer period by looking at the 30- • The Triple EMA strategy provided the highest average
minute charts (Miller et al., 2019). percentage loss in losing trades value for the
ETHUSDT pair accounting for 119.07%.
Since the available literature limits the scope of tests to
• The Triple EMA and stochastic + WMA strategy
one or a couple of trading strategies (Grobys et al., 2020),
provided the highest average percentage loss in
it’s more difficult to compare and assess their
losing trades value for the ADAUSDT pair accounting
effectiveness in predicting the future price movement.
for 0.06%.
With multiple strategies, our study can evaluate and rate
the best performing strategy for a specific cryptocurrency
pair. Our study contributes to the growing literature on Indicator Descriptions
the three large cryptocurrencies. Specifically, it brings new The technical strategies in our study draw on various
insight into the field of technical analysis in the combinations of the following indicators:
cryptocurrency industry by testing several strategies that
Exponential Moving Average: A calculation used to
have not been researched to the same extent as the
analyze data points by creating a series of averages of
simple moving average strategy. Therefore, investigating
different subsets of the full data set, that places a greater
a greater range of strategies is justified.
weight and significance on the most recent data points.
The strength of this strategy is that it indicates a change
Executive Summary in momentum and trend.
• The Triple EMA strategy provided the highest average
percentage gain in winning trades value for the Moving Average Convergence/Divergence: A trend-
BTCUSDT pair accounting for 2916.9%, as well as the following momentum indicator that shows the
largest maximum percentage gain of 33.95% and the relationship between two moving averages of a security’s
lowest total number of trades of 66. price. It is calculated by subtracting the 26-period
exponential moving average (EMA) from the 12-period
• The TTM Squeeze + EMA had the highest number of EMA.
trades for all the three currency pairs with the
number of trades being 620, 641, 622 for BTCUSDT, Heikin Ashi: A smoother-looking candle because
ETHUSDT, and ADAUSDT respectively. essentially taking an average of the movement. There is a
tendency with Heikin Ashi to stay red during a downtrend
• The Triple EMA strategy provided the highest average and green during an uptrend, whereas normal
percentage gain in winning trades value for the candlesticks alternate colors even if the price is moving
ETHUSDT pair accounting for 337.79%, as well as the dominantly in one direction.
largest maximum percentage gain of 48.91% and the
lowest total number of trades of 41. Parabolic SAR: A technical indicator used to determine the
price direction of an asset, as well as draw attention to
• The Triple EMA strategy provided the highest average when the price direction is changing. On a chart, the
percentage gain in winning trades value for the indicator appears as a series of dots placed either above
ADAUSDT pair accounting for 0.16%, as well as the or below the price bars.
largest maximum percentage gain of 95.96% and the
lowest total number of trades of 61. TTM Squeeze Indicator: A volatility and momentum
indicator introduced by John Carter of Trade the Markets
• The EMA + Heikin Ashi + Parabolic SAR is the best (now Simpler Trading), which capitalizes on the tendency
strategy for all the currency pairs with a percentage for prices to break out strongly after consolidating in a
of winning trades of above 50% for each currency tight trading range. The volatility component of the TTM
pair. Squeeze indicator measures price compression using
Bollinger Bands and Keltner Channels. If the Bollinger
• The TTM Squeeze + EMA strategy has the highest
Bands are completely enclosed within the Keltner
number of winning trades for all the currency pairs.
Channels, that indicates a period of very low volatility.
• The stochastic + WMA strategy provided the highest This state is known as the squeeze. When the Bollinger
average percentage loss in losing trades value for the Bands expand and move back outside of the Keltner
BTCUSDT pair accounting for 1625.02%. Channel, the squeeze is said to have “fired”: volatility
DOI: 10.48762/2022.554 | Published by Carnegie Mellon University Library Publishing Service | CC BY 4.0
UNDERGRADUATE JOURNAL
VOLUME I 2022
increases and prices are likely to break out of that tight Strategies & Results
trading range in one direction or the other. The on/off This section describes each technical strategy and its
state of the squeeze is shown with small dots on the zero analysis results.
line of the indicator: red dots indicate the squeeze is on,
and green dots indicate the squeeze is off. The indicator Strategy 1: EMA Crossover
also uses a momentum oscillator to show the expected Indicators
direction of the move when the squeeze fires. This Exponential Moving Average (9)
histogram oscillates around the zero line; increasing Exponential Moving Average (21)
momentum above the zero line indicates an opportunity Exponential Moving Average (200)
DOI: 10.48762/2022.554 | Published by Carnegie Mellon University Library Publishing Service | CC BY 4.0
UNDERGRADUATE JOURNAL
VOLUME I 2022
concave-up
Number of winning trades
• Take Profit: MACD Red line crosses above Blue line for every losing trade
1.52 1.56 2.00
DOI: 10.48762/2022.554 | Published by Carnegie Mellon University Library Publishing Service | CC BY 4.0
UNDERGRADUATE JOURNAL
VOLUME I 2022
• Take Profit: Parabolic SAR Dot getting above Red Strategy 4: Triple EMA
Heikin Ashi Candle Indicators
• Stop Loss: Double value of our ATR percentage in Exponential Moving Average (9)
points below entry price Exponential Moving Average (13)
Exponential Moving Average (21)
Short Position
• Candle is below EMA (200) Strategy Description
• Red Heikin Ashi Candle Long Position
• Parabolic SAR Dot getting above candles • Candle is above EMA (200)
• Green Heikin Ashi Candle
• Take Profit: Parabolic SAR Dot getting below Green
Heikin Ashi Candle • Parabolic SAR Dot getting below candles
• Stop Loss: Double value of our ATR percentage in • Take Profit: Parabolic SAR Dot getting above Red
Heikin Ashi Candle
points above entry price
Table 3 shows that ADAUSDT had the highest number of • Stop Loss: Double value of our ATR percentage in
trades with 456 trades and ETHUSDT had the highest points below entry price
Percentage of winning
57.48% 59.68% 53.29%
trades
DOI: 10.48762/2022.554 | Published by Carnegie Mellon University Library Publishing Service | CC BY 4.0
UNDERGRADUATE JOURNAL
VOLUME I 2022
DOI: 10.48762/2022.554 | Published by Carnegie Mellon University Library Publishing Service | CC BY 4.0
UNDERGRADUATE JOURNAL
VOLUME I 2022
Number of maximum
7 9 7
consecutive losing trades
Percentage of winning
35.71% 35.00% 33.07%
trades
DOI: 10.48762/2022.554 | Published by Carnegie Mellon University Library Publishing Service | CC BY 4.0
UNDERGRADUATE JOURNAL
VOLUME I 2022
Number of maximum
4 4 4 Averate % gain in winning
consecutive winning trades 754.76% 53.72% 0.04%
trades
Number of maximum
12 8 10 Average % loss in losing
consecutive losing trades 505.51% 34.53% 0.02%
trades
Maximum % gain in winning
33.26% 28.32% 27.47% Number of maximum
trades 6 6 6
consecutive winning trades
Maximum % loss in losing
19.80% 13.58% 14.70% Number of maximum
trades 8 14 7
consecutive losing trades
Percentage of winning
32.73% 37.76% 34.39% Maximum % gain in winning
trades 31.65% 31.12% 23.35%
trades
Number of winning trades
1.96 1.77 2.00 Maximum % loss in losing
for every losing trade 15.90% 25.19% 25.54%
trades
Percentage of winning
43.51% 43.48% 44.88%
trades
Strategy 8: Vortex + EMA
Indicators Number of winning trades
1.49 1.56 2.00
for every losing trade
Exponential Moving Average (200)
Vortex Indicator
DOI: 10.48762/2022.554 | Published by Carnegie Mellon University Library Publishing Service | CC BY 4.0
UNDERGRADUATE JOURNAL
VOLUME I 2022
• Change must happen under the 25 threshold strategy for all the currency pairs providing a percentage
• RSI above the 95 threshold Upper band of winning trades of over 50% for each currency pair. It is
• Take Profit: Change in STC color from red to then followed by Strategy 5 for BTCUSDT with percentage
green with it happening under the 25 threshold of winning trades of nearly 45%, and Strategy 9 for
• Stop Loss: Double value of our ATR percentage in ADAUSDT and ETHUSDT giving a percentage of winning
points above entry price trades of 51% and 58% respectively. Strategy 9 is the third
best strategy for BTCUSDT, Strategy 5 for ETHUSDT and
Table 9 shows that the BTCUSDT currency pair had the Strategy 8 for ADAUSDT.
highest number of trades with 67 trades, however,
The top two lowest percentage of winning trade strategies
ETHUSDT had the highest percentage of winning trades,
for all currency pairs are Strategies 1 and 2, followed by
at 58.33%. BTCUSDT had the highest average percentage
Strategy 7 for BTCUSDT, Strategy 6 for ETHUSDT and
gain in winning trades, the highest number of maximum
Strategy 4 for ADAUSDT.
consecutive losing trades of 7, as well as the highest
average percentage loss in losing trades compared to
other currency pairs. ETHUSDT had the highest implied TABLE 10: STRATEGY RANKING BASED ON PERCENTAGE OF WINNING
TRADES
number of winning trades for every losing trade of 1.79,
meaning that $1.79 is gained by risking a dollar on Strategy Ranking Based on Percentage of Winning
average. It also had the highest maximum percentage Trades
Rank BTCUSDT ETHUSDT ADAUSDT
gain in winning trades and the lowest maximum
percentage loss in losing trades. 1 Strategy 3 Strategy 3 Strategy 3
Number of maximum
6 8 5
consecutive winning trades
Number of maximum Table 11 depicts the ranking of the strategy based on the
7 3 5
consecutive losing trades
number of winning trades for every losing trade.
Maximum % gain in winning According to it, Strategy 3 is the best strategy for all three
33.58% 36.14% 30.45%
trades
currency pairs, providing a ratio of around 5. Then this is
Maximum % loss in losing followed by Strategy 1 with number of winning trades for
26.94% 23.65% 33.33%
trades
every losing trade of 2.52 for the BTCUSDT pair, Strategy 4
Percentage of winning with ratio of 2.84 for the ETHUSDT pair, and Strategy 6
44.78% 58.33% 51.61%
trades
with ratio of 3.33 for the ADAUSDT pair.
Number of winning trades
1.11 1.79 1.33
for every losing trade
Conclusion
Table 10 presents the ranking of the strategies based on
the percentage of winning trades. Strategy 3 is the best
DOI: 10.48762/2022.554 | Published by Carnegie Mellon University Library Publishing Service | CC BY 4.0
UNDERGRADUATE JOURNAL
VOLUME I 2022
Acknowledgements
The authors would like to thank Diala Budeir for her
collaboration and contributions in this course
assignment.
References
Brown, M. S., & Pelosi, M. J. (2019). Moving averages
trading method applied to cryptocurrencies.
Economics, Commerce and Trade Management: An
International Journal, 2 (1), 13-22.
Han, Y., Liu, Y., Zhou, G., & Zhu, Y. (2021). Technical
Analysis in the Stock Market: A Review. SSRN
Working Paper 3850494, 2021.
DOI: 10.48762/2022.554 | Published by Carnegie Mellon University Library Publishing Service | CC BY 4.0