OPEN-SOURCE SCRIPT
已更新 Ehlers Forward Reverse EMA

This is Ehlers most recent indicator, today is 6/17/18 "Forward and Reverse EMA". I have done my best to translate the code form trade stations easy language.
If anyone knows easy language could they check my translation against the easy language code below.
{
Forward / Reverse EMA
(c) 2017 John F. Ehlers
}
Inputs:
AA(.1);
Vars:
CC(.9),
RE1(0),
RE2(0),
RE3(0),
RE4(0),
RE5(0),
RE6(0),
RE7(0),
RE8(0),
EMA(0),
Signal(0);
CC = 1 - AA;
EMA = AA*Close + CC*EMA[1];
RE1 = CC*EMA + EMA[1];
RE2 = Power(CC, 2)*RE1 + RE1[1];
RE3 = Power(CC, 4)*RE2 + RE2[1];
RE4 = Power(CC, 8)*RE3 + RE3[1];
RE5 = Power(CC, 16)*RE4 + RE4[1];
RE6 = Power(CC, 32)*RE5 + RE5[1];
RE7 = Power(CC, 64)*RE6 + RE6[1];
RE8 = Power(CC, 128)*RE7 + RE7[1];
Signal = EMA - AA*RE8;
Plot1(Signal);
Plot2(0);
If anyone knows easy language could they check my translation against the easy language code below.
{
Forward / Reverse EMA
(c) 2017 John F. Ehlers
}
Inputs:
AA(.1);
Vars:
CC(.9),
RE1(0),
RE2(0),
RE3(0),
RE4(0),
RE5(0),
RE6(0),
RE7(0),
RE8(0),
EMA(0),
Signal(0);
CC = 1 - AA;
EMA = AA*Close + CC*EMA[1];
RE1 = CC*EMA + EMA[1];
RE2 = Power(CC, 2)*RE1 + RE1[1];
RE3 = Power(CC, 4)*RE2 + RE2[1];
RE4 = Power(CC, 8)*RE3 + RE3[1];
RE5 = Power(CC, 16)*RE4 + RE4[1];
RE6 = Power(CC, 32)*RE5 + RE5[1];
RE7 = Power(CC, 64)*RE6 + RE6[1];
RE8 = Power(CC, 128)*RE7 + RE7[1];
Signal = EMA - AA*RE8;
Plot1(Signal);
Plot2(0);
發行說明
Ehlers reverse EMA Trend just a little easier to see when it is above or below the zero line發行說明
Stratergyif TrendRevEMA > 0 and
CycleRevEMA crosses over 0 then
Buy next bar at Market
if TrendRevEMA crosses over 0
or CycleRevEMA crosses over 0 then
Buy to cover next bar at market
if TrendRevEMA crosses under 0 or
CycleRevEMA crosses under 0 then
Sell next bar at market
if TrendRevEMA < 0 and
CycleRevEMA crosses under 0 then
Sell Short next bar at Market
開源腳本
本著TradingView的真正精神,此腳本的創建者將其開源,以便交易者可以查看和驗證其功能。向作者致敬!雖然您可以免費使用它,但請記住,重新發佈程式碼必須遵守我們的網站規則。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。
開源腳本
本著TradingView的真正精神,此腳本的創建者將其開源,以便交易者可以查看和驗證其功能。向作者致敬!雖然您可以免費使用它,但請記住,重新發佈程式碼必須遵守我們的網站規則。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。