Bitcoin Forum
May 30, 2024, 09:31:57 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Listen to MACD and do the opposite.  (Read 987 times)
Wary (OP)
Hero Member
*****
Offline Offline

Activity: 798
Merit: 1000


Who's there?


View Profile
April 01, 2014, 11:39:37 PM
 #1

I've just manually simulated MACD-based trading for the last year.

Took 3 days intervals chart from bitcoinwisdom.
We are supposed to sell when the signal line (the blue one) goes below MACD line(the brown one) and buy - when it goes above. Right?

For the last year there was only one pair of crossings: it went below at June 14 and crossed back at Aug 19
The sell price (middle of candle for June 14) was 100, and buy price for Aug 19 was 105.
So I've ended up with 5% less BTC than started.
3d-MACD trade gives you 5% of loss.
 
I've done the same with 1d intervals.
There were 5 pairs of crossings. Here are the results:

sold       bough    prices     gain

Apr 16   Apr 23   70-130    -46%
May 2   May 23  112-126   -11%
June 8   Jul 16    114-92    +24%
Dec 16  Jan 3     780-795   -2%
Jan 26   Mar 7    811-652   +24%

Totally 27% of loss.

WTF?!!!  Is there something I'm not getting about this MACD stuff?

Fairplay medal of dnaleor's trading simulator. Smiley
smoothie
Legendary
*
Offline Offline

Activity: 2492
Merit: 1473


LEALANA Bitcoin Grim Reaper


View Profile
April 01, 2014, 11:45:46 PM
 #2

I've just manually simulated MACD-based trading for the last year.

Took 3 days intervals chart from bitcoinwisdom.
We are supposed to sell when the signal line (the blue one) goes below MACD line(the brown one) and buy - when it goes above. Right?

For the last year there was only one pair of crossings: it went below at June 14 and crossed back at Aug 19
The sell price (middle of candle for June 14) was 100, and buy price for Aug 19 was 105.
So I've ended up with 5% less BTC than started.
3d-MACD trade gives you 5% of loss.
 
I've done the same with 1d intervals.
There were 5 pairs of crossings. Here are the results:

sold       bough    prices     gain

Apr 16   Apr 23   70-130    -46%
May 2   May 23  112-126   -11%
June 8   Jul 16    114-92    +24%
Dec 16  Jan 3     780-795   -2%
Jan 26   Mar 7    811-652   +24%

Totally 27% of loss.

WTF?!!!  Is there something I'm not getting about this MACD stuff?

You forgot to read the "disclaimer" that said "This indicator doesn't guarantee a profit." Cheesy

███████████████████████████████████████

            ,╓p@@███████@╗╖,           
        ,p████████████████████N,       
      d█████████████████████████b     
    d██████████████████████████████æ   
  ,████²█████████████████████████████, 
 ,█████  ╙████████████████████╨  █████y
 ██████    `████████████████`    ██████
║██████       Ñ███████████`      ███████
███████         ╩██████Ñ         ███████
███████    ▐▄     ²██╩     a▌    ███████
╢██████    ▐▓█▄          ▄█▓▌    ███████
 ██████    ▐▓▓▓▓▌,     ▄█▓▓▓▌    ██████─
           ▐▓▓▓▓▓▓█,,▄▓▓▓▓▓▓▌          
           ▐▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▌          
    ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓─  
     ²▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓╩    
        ▀▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▀       
           ²▀▀▓▓▓▓▓▓▓▓▓▓▓▓▀▀`          
                   ²²²                 
███████████████████████████████████████

. ★☆ WWW.LEALANA.COM        My PGP fingerprint is A764D833.                  History of Monero development Visualization ★☆ .
LEALANA BITCOIN GRIM REAPER SILVER COINS.
 
Dalmar
Hero Member
*****
Offline Offline

Activity: 1092
Merit: 500

Life is short, practice empathy in your life


View Profile
April 01, 2014, 11:50:03 PM
 #3

You can anticipate crossovers on the shorter time frames and in conjunction with other indicators. That April loss could have been avoided by using a stop and seeing that the rally obviously exhausted on the RSI.


▄▄▄▄▄▄▄▄▄▄▄
▄▄████████████████▄
▄▄██████████████████████▄
 █████████████▀█████████████▄
▄█████████████▀ ▄█▀ ███████████
▄██████████      ▀▀  ████████████
▄█████████████   ▄▄▄   ▀▀██████████
█████████████▀   ████▄   ▀█████████▄
█████████████    ▀▀█▀▀   ▄██████████
████████████▀   ▄▄      ████████████
████████████   ▄████▄    ███████████
█████████      ██████    ██████████
█████████▄▄            ▄██████████
▀██████████  ██  ▄▄▄▄████████████
▀█████████▄▄█▄ ███████████████▀
▀██████████████████████████▀
▀█████████████████████▀
▀▀██████████████▀▀
▀▀▀▀▀▀▀

B i t c o i n t a l k   ▄▄▄▄▄

DONATION CAMPAIGN

                                     ▄
                                   ▄██
               ▄▄▄▄▄▄▄           ▄███
             ▄█████████▄        ████
▄▄▄         ▄████████████     ▄████▀
 ▀██▄▄      █████████████   ▄█████▀
  ▀█████▄   █████████████  ▄██████
    ▀█████▄  ███████████▀▄███████
     ▀██████▄▄▀▀██████▀ ████████▀
       ████████▄      ▄████████▀
        █████████▄  ▄██████████
         █████████████████████
          ████████████████████
          ███████████████████
          ███████████████████
          ██████████████▀▀▀
          ███████▀▀▀▀
          ▀▀▀▀

BE A HOPE
FOR A LIVABLE WORLD
▄▄▄█████████▄▄▄
▄▄███████████████████▄▄
▄▄█████████████████████████▄▄
▄███████████████████████████████▄
▄█████████████████████████████████▄
████████████▀▀▀▀▀██████▀▀▀▀██████████
███████████▀       ▀█▀       ▀█████████
███████████▀                    █████████
███████████                     █████████
█████████████                   ███████████
██████████████▄               ▄████████████
████████████████▄▄▄         ▄█▀▀   ████████
███████████▀▀     ▀▀█▄▄▄▄▄▄██     ▄████████
██████▀█▄                ▀▀▀█▄ ▄█████████
██████▄ █▄          ▄▄▄▄▄▄▄▀▀▄███████████
██████▄ ▀█                ▄████████████
██████▄  ██████▄▄▄    ▄██████████████
▀██████▄██████████████████████████▀
▀███████████████████████████████▀
▀▀█████████████████████████▀▀
▀▀███████████████████▀▀
▀▀▀█████████▀▀▀

ONE

little

HELP CHANGES
EVERYTHING

..DONATE..
Hpotsirc
Newbie
*
Offline Offline

Activity: 43
Merit: 0


View Profile
April 01, 2014, 11:55:59 PM
 #4

I am quite new to TA myself but as far as i understand it a MACD crossover gives a buy/sell signal but this shouldn't be used a alone. You should rather use several indicators of different types and trade when most or all of them agree on a signal.
Wary (OP)
Hero Member
*****
Offline Offline

Activity: 798
Merit: 1000


Who's there?


View Profile
April 02, 2014, 12:15:51 AM
 #5

You can anticipate crossovers on the shorter time frames
Anticipate? Do you mean one shouldn't wait for the crossover, but buy/sell earlier? Say, when distance between the lines reduced to, say, 1/3 of maximum.

That April loss could have been avoided by using a stop and seeing that the rally obviously exhausted on the RSI.
Was it showing on RSI? The spells of green daily candles weren't becoming shorter: gggggRRggggRggggggggRgggCRASH

Fairplay medal of dnaleor's trading simulator. Smiley
Wary (OP)
Hero Member
*****
Offline Offline

Activity: 798
Merit: 1000


Who's there?


View Profile
April 02, 2014, 12:19:25 AM
 #6

You forgot to read the "disclaimer" that said "This indicator doesn't guarantee a profit." Cheesy
It does guarantee the profit, it just doesn't guarantee that it's you who'll get it Cheesy

Fairplay medal of dnaleor's trading simulator. Smiley
chessnut
Legendary
*
Offline Offline

Activity: 924
Merit: 1001



View Profile
April 02, 2014, 12:23:44 AM
 #7


WTF?!!!  Is there something I'm not getting about this MACD stuff?

rule of thumb, if a computer can do it, you will lose your money.

Wary (OP)
Hero Member
*****
Offline Offline

Activity: 798
Merit: 1000


Who's there?


View Profile
April 02, 2014, 12:30:22 AM
 #8

You should rather use several indicators of different types and trade when most or all of them agree on a signal.
Agree. It just seems that this specific indicatog gives you signal when it's too late. Sad

rule of thumb, if a computer can do it, you will lose your money.
Wow! Well said!

Fairplay medal of dnaleor's trading simulator. Smiley
Hpotsirc
Newbie
*
Offline Offline

Activity: 43
Merit: 0


View Profile
April 02, 2014, 12:35:10 AM
 #9

Agree. It just seems that this specific indicatog gives you signal when it's too late. Sad
Well i guess that is due to the nature of the MACD since it is trend following. But i think this problem can be ironed out by tuning. Have you tried using other combinations? On Bitcoinwisdom you can set them under Settings -> Indicator Parameters. Maybe you can improve your results by playing around with this a little bit. A quite "famous" combination seems to be 10/21.
EDIT:I also remember reading quite an important fact about TA: Somebody said that they will never be right 100% of the time, so a good indicator will propably just give you good signals somewhere between 60%-90% of the time (Please note that these numbers are made up by me!). Thats the reason why you always need to set up a drop-loss threshold for each trade depending on how much money/coins you are willing to risk.
RyNinDaCleM
Legendary
*
Offline Offline

Activity: 2408
Merit: 1009


Legen -wait for it- dary


View Profile
April 02, 2014, 12:42:18 AM
 #10

When back testing like that, use the close price since that's when the generated signal should be acted upon.
Second, it's not going to guarantee profits but it does tend to keep you in when the trend is up and get you out when the trend is down. Using daily (or even more so the 3-day), the price will definitely bottom and turn before the MACD crosses up and similarly top before it crosses down, so yes, you may end up selling high and buying higher, but IF it had continued down for a longer period of time, you would be out effectively preserving capital. It's more of a safety than the holy grail.

If you want to front run the MACD, there are better ways than trading when it gets close. This is a good way to lose money or your precious BTC.

And as others have said, one indicator alone will give false signals especially during sideways consolidations. If you want to range trade at these times, then use a shorter time frame like 6hr or 4 hr. But you will still have losses here and there due to volatility whipping the price around faster than the indicator can keep up.

chabmarwen
Newbie
*
Offline Offline

Activity: 3
Merit: 0


View Profile
April 02, 2014, 12:44:24 AM
 #11

I also did the backtesting for the 4h MACD and the 1h MACD, and the conclusion was so obvious !
The 4h chart gave me a small profit (considering going fiat when a bearish crossover occured-and not going short on bitfinex)
Whereas the 1h chart gave me huge profit. I did this backtesting from september til january.
At that time, I didn't know anything about margin trading. Considering these new options (leverage+possibility of shorting), it was obvious that you could be a winner by just following MACD 1h crossovers. You can ofcourse have a better strategy if you add other indicators and add fundamental analysis to your strategy.

I'd like to add that considering the fluctuations of bitcoin, especially during bubbles (like in April or November), using MACD in such big timeframes is quite irrelevant. I didn't try to go in 15m timeframe because I think you will get eaten by fees and swaps. Finally, you will get more often wrong than right, but you winnings will be much more important and erase your losses.

Hope I did help Wink
knightcoin
Full Member
***
Offline Offline

Activity: 238
Merit: 100


Stand on the shoulders of giants


View Profile
April 02, 2014, 01:01:44 AM
 #12

off topic ( signed out )

waves ...

#define

Supercalifragilisticexpialidocious
https://www.youtube.com/watch?v=t8dZkx3tITk


http://www.introversion.co.uk/
mit/x11 licence 18.x/16|o|3ffe ::71
Wary (OP)
Hero Member
*****
Offline Offline

Activity: 798
Merit: 1000


Who's there?


View Profile
April 02, 2014, 01:21:23 AM
 #13

Everybody, thanks a lot !!!

Fairplay medal of dnaleor's trading simulator. Smiley
seleme
Legendary
*
Offline Offline

Activity: 2772
Merit: 1028


Duelbits.com


View Profile WWW
April 02, 2014, 02:27:36 AM
 #14

I also did the backtesting for the 4h MACD and the 1h MACD, and the conclusion was so obvious !
The 4h chart gave me a small profit (considering going fiat when a bearish crossover occured-and not going short on bitfinex)
Whereas the 1h chart gave me huge profit. I did this backtesting from september til january.
At that time, I didn't know anything about margin trading. Considering these new options (leverage+possibility of shorting), it was obvious that you could be a winner by just following MACD 1h crossovers. You can ofcourse have a better strategy if you add other indicators and add fundamental analysis to your strategy.

I'd like to add that considering the fluctuations of bitcoin, especially during bubbles (like in April or November), using MACD in such big timeframes is quite irrelevant. I didn't try to go in 15m timeframe because I think you will get eaten by fees and swaps. Finally, you will get more often wrong than right, but you winnings will be much more important and erase your losses.

Hope I did help Wink

Any indicator/bot under the sun would give you a profit in that period. It was period of huge bubble, then huge crashes. Just go to cryptotrader.com and backtest any bot you find there for that period and it will be big winnings.

It's long flat markets where the value of indicators comes to shine.

       ███████████████▄▄
    ██████████████████████▄
  ██████████████████████████▄
 ███████   ▀████████▀   ████▄
██████████    █▀  ▀    ██████▄
███████████▄▄▀  ██  ▀▄▄████████
███████████          █████████
███████████▀▀▄  ██  ▄▀▀████████
██████████▀   ▀▄  ▄▀   ▀██████▀
 ███████  ▄██▄████▄█▄  █████▀
  ██████████████████████████▀
    ██████████████████████▀
       ███████████████▀▀
.
.Duelbits.
.
..THE MOST REWARDING CASINO......
   ▄▄▄▄████▀███▄▄▄▄▄
▄███▄▀▄██▄   ▄██▄▀▄███▄
████▄█▄███▄█▄███▄█▄████
███████████████████████   ▄██▄
██     ██     ██     ██   ▀██▀
██ ▀▀█ ██ ▀▀█ ██ ▀▀█ ██    ██
██  █  ██  █  ██  █  ██
█▌  ██
██     ██     ██     ████  ██
█████████████████████████  ██
████████████████████████████▀
█████████████████████████
█████████████████████████
████████████████████████▌
       +4,000      
PROVABLY FAIR
GAMES
   $500,000  
MONTHLY
PRIZE POOL
      $10,000     
BLACKJACK
GIVEAWAY
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!