TradingView
TheYangGuizi
Jun 10, 2016 11:23 AM

ZeroLag ema + adx = true 

DAX index of German listed sharesFXCM

描述

Combined LazyBears ZeroLag EMA and CapnOscars moving average ADX. Here's the result.

I figured it could be used as a trend trendtrading system,
ADX red + ema cross downards = short.
ADX green + ema cross up = long.
ADX black + ema cross = no trade
Or something along those line. A way filter out whipsaws.
This is just something I threw together in 5 min, so din't go all in tho. Haven't had time to test.
2 ADX
3 Z-EMAs
Colors/settings can be customized.
评论
mehmetcoskuner666
Hello Brother
How can I set MA2 to turn red and green?
thank you.
sagenmurmu
Some bullish candles are showing in red color... Why?
mastervotu
why i cant understand this ?. can anyone explain..
dray10
@TheYangGuizi Hi, it's a good code. I would request you to add the following features to it, if you please could..
1. Option to generate three Tradingview Alerts using either the MA2 or the MA3 line. The alerts would be buy, sell, and exit. The alerts should be non-repetitive at per bar close, meaning a fresh buy(green line), sell(red line), and exit(black line) alert should be generated only when the previous buy/sell/exit condition changes.
2. Also plot the alerts on chart, maybe as green, red, and yellow(for exit) small triangles.
3. To avoid confusion, you may also keep only the MA2 line and remove the MA3 line altogether. We can always add multiple lines with different parameters using several of the same indicator.
It would be great if you please make these changes or publish a new one with these changes.
mehmetcoskuner666
Hello Brother
MA2 can set the alarm for red and green.
thank you.(google trans)
rez120
Great one. Thanks a lot.
lanceahmadi
I would also be interested how we can get an alert on MA 2 changing from red green and black, anyone have some insight?
更多