SoftKill21

MACD oscillator with EMA alert version 4H

This is the study/indicator alert version of the macd + ema strategy.

The strategy details are the following :
Is a simple, yet efficient strategy, which is made from a combination of an oscillator and a moving average.

Its setup for 4h candles with the current settings, however it can be adapted to other different timeframes.

It works nicely ,beating the buy and hold for both BTC and ETH over the last 3 years.
As well with some optimizations and modifications it can be adapted to futures market, indexes(NASDAQ, NIFTY etc), forex( GBPUSD ), stocks and so on.

Components:
MACD
EMA
Time condition
Long/short option

For long/exit short we enter when we are above the ema , histogram is positive and current candle is higher than previous.
For short /exit long , when close below ema , histo negative and current candles smaller than previous


If you have any questions please let me know !
סקריפט קוד פתוח

ברוח TradingView אמיתית, מחבר סקריפט זה פרסם אותו עם קוד פתוח, כך שסוחרים יוכלו להבין ולאמת זאת. הידד למחבר! אתה יכול להשתמש בו בחינם, אך שימוש חוזר בקוד זה בפרסום הנו בכפוף ל כללי הבית . אתה יכול להגדירו כמועדף ולהשתמש בו בגרף.

רוצה להשתמש בסקריפ זה בגרף?

תגובות

Hello Softkill 21

Brilliantly done, been using a very smiliar tactic for a while now, mostly done by hand eye coordination though, so it's very nice to have a built out skript, so i thank you.
Do you know a way to incorparate the skript in to a stock screener on tradingview, example being only show stocks that would be a "buy" according to your code?

Thanks in advance for any help!
Kind regards
Bulldog
+2 השב
rvoda268 Bulldog15
@Bulldog15, bro can you give me that stratagy script
השב
If the MACD goes negative before the price drops below the MA, it does not give the sell signal.
+1 השב
hi there, thanks for your time on this, as a new ish crypto trader im still learning the ins and outs and was looking into a sricpt like yours suggested.

Is there a way i can use this script and copy it onto my graphs? sorry for sounding thick :D

thanks in advance
השב