Classic technical analysis relies upon the concepts of support and resistance, however defining them objectively can often be fraught with difficulties as technicians often disagree on exact definition and many like to rely on a case-by-case nature.
However to write code for support and resistance your definitions need to be exact and that is what this document is about. We still leave room for ‘settings/parameters’ but the rules are fixed.
For this project we are using support and resistance levels created by new highs/lows. However in the future we can expand this topic to using other levels like trend lines, moving average etc
We can also get a text print out:
The buy support levels for Bitcoin are $5971.05 from a swing low made on 2018-08-14, $5826.41 from a swing low made on 2018-06-24, $6526.87 from a swing low made on 2018-04-01 and Sell resistance levels at $8424.27 from a swing high made on 2018-07-24, $9964.5 from a swing high made on 2018-05-05, $9402.29 from a swing low made on 2018-01-17
or more simply
The buy support levels for Bitcoin are $5971.05, $5826.41, $6526.87 and Sell resistance levels at $8424.27, $9964.5, $9402.29
or retreive the data in a table
The buy support levels for Ethereum are $254.65 and Sell resistance levels at $407.95, $881.94, $363.81
The buy support levels for Ripple are $0.253983, $0.237587, $0.291359 and Sell resistance levels at $0.51956, $0.58836, $0.43517
The buy support levels for OmiseGo are $0.0148 from a swing high made on 2018-08-17 18:00:00, $0.012028 from a swing low made on 2018-08-08 18:00:00, $0.0148 from a swing low made on 2018-07-12 17:00:00 and Sell resistance levels at $0.01656 from a swing high made on 2018-07-13 06:00:00, $0.016664 from a swing low made on 2018-06-21 08:00:00
The buy support levels for Basic Att’n Token are $2.977e-05 from a swing low made on 2018-06-13 19:00:00, $2.98e-05 from a swing low made on 2018-06-29 09:00:00, $3.2e-05 from a swing low made on 2018-08-11 08:00:00 and Sell resistance levels at $3.584e-05 from a swing high made on 2018-08-19 13:00:00, $3.751e-05 from a swing low made on 2018-07-27, $3.572e-05 from a swing low made on 2018-05-11 12:00:00
The buy support levels for Qtum are $0.0005982 from a swing low made on 2018-08-14 02:00:00, $0.00060787 from a swing low made on 2018-08-26 07:00:00 and Sell resistance levels at $0.00075995 from a swing high made on 2018-08-15 06:00:00, $0.00078892 from a swing high made on 2018-08-18 02:00:00
The buy support levels for Iota are $0.408336, $0.372595, $0.652862 and Sell resistance levels at $1.24, $1.99, $0.929204
The buy support levels for Stellar are $0.218992, $0.158913, $0.173148 and Sell resistance levels at $0.348664, $0.318009, $0.300678
The high of the wedge is 7917.9917 and the low of the wedge is 5374.6137.
The high of the wedge is 69.5351 and the low of the wedge is 35.5845. The down trend resistance is at 57.6438.
The high of the wedge is 384.1349 and the low of the wedge is 213.1972. The up trend support is at 271.4688. The down trend resistance is at 326.4143.
The high of the wedge is 0.3029 and the low of the wedge is 0.1434. The down trend resistance is at 0.2371.