Francesco78

DAX Trend following - 2-hours timeframe

Category: Strategies By: Francesco78 Created: January 17, 2019, 11:19 AM
January 17, 2019, 11:19 AM
Strategies
15 Comments
DAX Trend following - 2-hours timeframe

This DAX automatic trading strategy on the 2-hours timeframe, use a basic cycle oscillator to test “overbought” and “oversold” areas to open new orders.

All orders have stoploss and takeprofit.

Results attached are from walk forward analysis with 1 OOS period proving robustness of the optimized variables. Variables to be optimized are also described in one of the attached picture.

Discussions about the strategy are running here: Dax Trrend Following, h2 time zone:uk

defparam cumulateorders = false
n=2
soglia = 0.02
timestart = 90000
timeend = 180000
profitti = 275
perdite = 350
timeok = time>=timestart and time<=timeend

c = (sin(atan((close-open[n])/open[n]*100/n)))
if c crosses over soglia and timeok  then
 buy 1 contract at market
endif

if c crosses under -soglia and timeok  then
 sellshort 1 contract at market
endif

set target pprofit profitti
set stop ploss perdite

 

Download
Filename: wf_dax_1-1.png
Downloads: 340
Download
Filename: DAX-trend-following-2h-TF.itf
Downloads: 635
Francesco78
Francesco78 Master
Currently debugging life, so my bio is on hold. Check back after the next commit for an update.
Author’s Profile

Comments

nicola papangelo
7 years ago
#

ciao Francesco vorrei contattarti su facebook o in privato. Grazie

unkown
8 years ago
#

infatti basta leggere i post degli altri....

unkown
8 years ago
#

;-) sfido chiunque a riuscirci!

Francesco78
8 years ago
#

derschnee spiace a me che non riesci a replicarla. Prima di esprimere giudizi pensaci 2 volte.

unkown
8 years ago
#

mi spiace, ma la strategia postata non dà assolutamente la curva dei profitti allegata.

ironshirow
8 years ago
#

Ciao Francesco, ho provato anch'io con fuso italiano cambiando i profitti e le perdite in punti ma il risultato non cambia. Ho aggiunto anche lo spread a 1 punto dato che mancava ma sono sempre in perdita sia che parto nel 2018 o 2017 fino ai giorni nostri. Grazie

Francesco78
8 years ago
#

ok, fammi sapere come ti viene, ciao

derschnee
8 years ago
#

grazie mille Francesco: stasera provo da casa, ma non credo che sia un problema di orari. Non è che il target profit e lo stop loss sono espressi in euro, anziché punti? 275 punti di profitto mi sembrano tanti.

Francesco78
8 years ago
#

timestart = 90000 timeend = 180000 se lavorate con fuso italiano mettete timestart 100000 e timeend 190000 non dovrebbe cambiar el asostanza comunque,

Gianluca
8 years ago
#

(sin(atan che funzioni sono? non le trovo nella ricerca delle funzioni. e mi aggrego a derschnee i risultati non sono quelli esplicati. ed ho usato un grafico 200k barre a 2h

derschnee
8 years ago
#

che strano, a me vengono risultati del tutto opposti sul DAX a 2 ore...

Francesco78
8 years ago
#

You are most welcome!

Stenozar
8 years ago
#

Thanks Francesco!

Francesco78
8 years ago
#

c = (sin(atan((close-open[n])/open[n]*100/n))) this is the indicator. Itis a measure of the angle made by the price. I invented it, dont know if it is useful or not but I found that it worked well with the dax

Stenozar
8 years ago
#

Hi Francesco, is it possible to know which indicator you use for this strategy? thanks

ProRealCode ProRealCode
Loading...