popopo's Blog

Avatar

NATR/EMA Contest Strategy

NATR/EMA Contest Strategy
Hello, in this blog I will explain how my strategy works. This strategy is using only 2 indicators, NATR and EMA indicator. The EMA indicator is used as a direction of the current trend, and the NATR indicator is used as a trigger to enter trade.
EUR/USD is the currency pair for this strategy.
Now let us see how EMA indicator is used in this strategy.
Above is EMA indicator with time period of 50 on 30 minutes EUR/USD pair. When the price is above the EMA line, trend i…
Die komplette Geschichte lesen
Übersetzen in Englische Sprache Zeige Original
fprophet avatar
fprophet 26 Apr.

Very nice, well done.
Getting a lot of java.lang.ArrayIndexOutOfBoundsException errors when I try the latest version from the Strategy contest - fixed by replacing the natr indicator code as follows:

long time = history.getBar(instrument, period, side, 1).getTime();
double natrFast[] = indicators.natr(instrument, period, side, natrPeriod1, filter, 2, time, 0);
double natrSlow[] = indicators.natr(instrument, period, side, natrPeriod2, filter, 2, time, 0);

oderum Kommentare zu hinterlassen
Avatar

February 2019 Strategy Contest Winner (2nd Place)

Hi
My name is Susanto and I would like to thank Dukascopy to give us this opportunity.
Background
About 7 years ago my friend introduced me to Foreign Exchange Market (Forex) and after studying for a while I became interested.
Since I have background in computer programming, I give my attention to writing code to experimenting and backtesting various strategy.
Not long after that I joined Dukascopy Strategy Contest, first writing JForex strategy in Java then in Visual JForex.
Although I have cod…
Die komplette Geschichte lesen
Übersetzen in Englische Sprache Zeige Original
oderum Kommentare zu hinterlassen
Avatar

Popopo has published strategy CCI5_SL40

CCI5 Strategy Logic : If CCI crosses level line 85 downward AND
current bid price is LESS or EQUAL then previous candle LOW then go
long --- or --- If CCI crosses level line MINUS 85 upward AND current
price is GREATER or EQUAL then the previous candle HIGH go short
Candle Period is 30 minute Indicator also using 30 minute periode cci
time period is 14 This is a rather simple strategy. The logic is when
cci crosses level line 85 or -85 upward or dawnward. I use geometrical
mm
Die komplette Geschichte lesen
Übersetzen in Englische Sprache Zeige Original
oderum Kommentare zu hinterlassen