TradingView
Puffy23
21 Feb 2018 pukul 23.16

GoldenCross by Puffy 

Bitcoin / U.S. dollarBitstamp

Huraian

This is a simple trading strategy that seeks the Golden Cross and Death Cross on the 4HR chart. The fast moving indicator in this strategy is the EMA 50 and the slow moving indicator is the EMA 200. When the EMA 50 crosses over the EMA 200 the strategy indicates a buy. When the EMA 50 crosses below the EMA 200 the strategy indicates a sell. This strategy averages trades in the 40 - 50 day range and as such should not be used with heavy leverage.
Komen
msahin5656
is it repaint?
Puffy23
@msahin5656, It does not repaint. The code is very simple and should be available for review.
msahin5656
@Puffy23, Correct me if I am wrong but why it give buy signal at 11600? It has to be sell is not it?
Puffy23
@msahin5656, The script correctly identified the EMA 50 crossing over the EMA 200. This will not catch bottoms or tops, it simply identifies trend changes and signals accordingly. Again, with the average trade length near 50 days a price drop after a buy or a price jump after a sell should not be any surprise. It looks for long term strength or weakness.
msahin5656
@Puffy23, I see thanks for the answer :)
Puffy23
@msahin5656, Happy to help. Let me know if you have any other questions.
Lebih