ALE

BLUSTER DAX intraday trading strategy

Category: Strategies By: ALE Created: October 11, 2016, 1:28 PM
October 11, 2016, 1:28 PM
Strategies
39 Comments
BLUSTER DAX intraday trading strategy

Simple trading strategy also made with the help of the signals given by the super smoother filter indicator, this time in intraday, on 15 minutes timeframe. Previous strategy made with this indicator is located here: http://www.prorealcode.com/prorealtime-trading-strategies/bund-cfd-strategy-4/

Test were made with mini CFD contracts, 1 point spread.

The strategy trade long and short positions, but long positions are much more triggered.

// THIS SIMPLE STRATEGY CATCH PROFIT BY UNIVERSAL INDICATOR
// IG MARKET GERMANY CASH 1 EUR MINI - SPREAD 1 - 15 M
DEFPARAM CumulateOrders = FALSE
DEFPARAM FlatBefore = 080000
DEFPARAM FlatAfter = 212900
if (time >=080000 and time < 110000) or (time >= 134500 and time <181400) then

 indicator1, ignored = CALL "BLUSTER DAX"
 c1 = (indicator1 >= 1)

 IF c1 AND CurrentDayOfWeek <> 1 THEN
  BUY 1 CONTRACT AT MARKET
 ENDIF

 indicator2, ignored = CALL "BLUSTER DAX"
 c2 = (indicator2 <= -1)

 IF c2  THEN
  SELL  AT MARKET
 ENDIF

 indicator3, ignored = CALL "BLUSTER DAX"
 c3 = (indicator3 <= -1)

 IF c3 AND  CurrentDayOfWeek <> 1  THEN
  SELLSHORT 1 CONTRACT AT MARKET
 ENDIF

 indicator4, ignored = CALL "BLUSTER DAX"
 c4 = (indicator4 >= 1)

 IF c4 THEN
  EXITSHORT  AT MARKET
 ENDIF

 // TRAILING STOP LOGIK BY KENNETH KVISTAD MODIFIED FOR LONG AND SHORT POSITION
 TGL =47
 TGS= 41

 if not onmarket then
  MAXPRICE = 0
  MINPRICE = close
  PREZZOUSCITA = 0
 ENDIF

 if longonmarket then
  MAXPRICE = MAX(MAXPRICE,close)
   if MAXPRICE-tradeprice(1)>=TGL*pointsize then
    PREZZOUSCITA = MAXPRICE-TGL*pointsize
   ENDIF
 ENDIF

 if shortonmarket then
  MINPRICE = MIN(MINPRICE,close)
   if tradeprice(1)-MINPRICE>=TGS*pointsize then
    PREZZOUSCITA = MINPRICE+TGS*pointsize
   ENDIF
 ENDIF

 if onmarket and PREZZOUSCITA>0 then
  EXITSHORT AT PREZZOUSCITA STOP
  SELL AT PREZZOUSCITA STOP
 ENDIF

 SET STOP PLOSS 70
 SET TARGET PPROFIT 87
ENDIF

// REGARDS ALE

Indicator needed to run the strategy : (“BLUSTER DAX”)

//-------------------------------------------------------------------------
// UNIVERSAL CODE POSTED BY NICOLAS
// SET TO RUN BLUSTER DAX STRATEGY
//-------------------------------------------------------------------------
bandedge=40

whitenoise= (Close - Close[1])
if barindex>bandedge then
 // super smoother filter
 a1= Exp(-1.414 * 3.14159 / bandedge) 
 b1= 2*a1 * Cos(1.414*180 /bandedge)
 c2= b1
 c3= -a1 * a1
 c1= 1 - c2 - c3
 filt= c1 * (whitenoise + whitenoise[1])/2+ c2*filt[1] + c3*filt[1]

 filt1 = filt

 if ABS(filt1)>pk[1] then
  pk = ABS(filt1)
 else
  pk = 0.99* pk[1]
 endif

 if pk=0 then
  denom = -1
 else
  denom = pk
 endif

 if denom = -1 then
  result = result[1]
 else
  result = filt1/pk
 endif
endif

RETURN result COLOURED(66,66,255) as "PRICE ACTION", 0 as "0"

 

Download
Filename: BLUSTER-DAX-STRATEGY.itf
Downloads: 887
Download
Filename: BLUSTER-DAX.itf
Downloads: 809
ALE
ALE Master
My name is Alessandro, i'm a trader since 2006 You can find me on my website: <a href="http://www.automatictrading.it/" rel="dofollow">www.automatictrading.it</a> <strong>(trading programming services Italy)</strong> Italy
Author’s Profile

Comments

JanWd
8 years ago
#

Hallo Ale, First of all, thank you for this strategy. Could you explain what the BLUSTER DAX indicator is doing, what it is meant to do ? I tested this strategy on the 15 min DAX, it gave me only whipsaw results, to almost zero profit, so I vary with the timeframes: 2-hour bars works with me. I used a pip spread of 1.7 and did not use the trailing stop loss you use (does it work, not with me). See the code of your strategy I have used, included the indicator below. It seems to work quite well with me for the 2 hours bars, however not that much result, but quite stable results, OOS results bit too good IS 66% 8 jan 2014 -16 nov 2016 920 Euro OOS 34% 17 nov - 10 may 2018 1.033 Euro 193 trades 55% winning, and ONLY 5;35 % IN THE MARKET with a position, during the day, which gives a very comfortable risk profile ! Appendix: your strategy as I tested it in PRT //================================================================================= // THIS SIMPLE STRATEGY CATCH PROFIT BY UNIVERSAL INDICATOR // IG MARKET GERMANY CASH 1 EUR MINI - SPREAD 1,7 - 15 Min DEFPARAM CumulateOrders = FALSE DEFPARAM FlatBefore = 080000 DEFPARAM FlatAfter = 212900 //DEFPARAM PRELOADBARS = 500 default is 200, is sufficient to let it work //=========================================== //------------------------------------------------------------------------- // UNIVERSAL CODE POSTED BY NICOLAS // SET TO RUN BLUSTER DAX STRATEGY //------------------------------------------------------------------------- bandedge= 40 //default is 40, optimise with variable does not work ? whitenoise= (Close - Close[1]) if barindex>bandedge then //is this condition needed, as barindex is always > 40 ? // super smoother filter a1= Exp(-1.414 * 3.14159 / bandedge) b1= 2*a1 * Cos(1.414*180 /bandedge) c2= b1 c3= -a1 * a1 c1= 1 - c2 - c3 filt= c1 * (whitenoise + whitenoise[1])/2+ c2*filt[1] + c3*filt[1] filt1 = filt if ABS(filt1)>pk[1] then pk = ABS(filt1) else pk = 0.99* pk[1] endif if pk=0 then denom = -1 else denom = pk endif if denom = -1 then result = result[1] else result = filt1/pk endif endif //Graph result COLOURED(66,66,255) as "PRICE ACTION", 0 as "0" //============================================================= N = 1 If (time >=080000 and time = 134500 and time =1 AND CurrentDayOfWeek 1 THEN BUY N CONTRACT AT MARKET // will also close short position ENDIF IF result <= -1 AND CurrentDayOfWeek 1 THEN SELLSHORT N CONTRACT AT MARKET // will also close long position ENDIF SET STOP PLOSS 70 SET TARGET PPROFIT 87 ENDIF // REGARDS ALE

ALE
ALE
10 years ago
#

no, only with TF 15m

enzo_52
10 years ago
#

Grazie tante, Thanks so much 

enzo_52
10 years ago
#

Hi Ale, so you have the same results with german 30 mini 1e cash TF 1h?  

enzo_52
10 years ago
#

Hi Ale, german 30 mini 1E 

Thanks 

 

ALE
ALE
10 years ago
#

I don't know why do you have different result, may be that the picture is hold.

Variables to set:

-Strategy
Window time trading
Tgl/Tgs

Stop & Profit


-Indicator
Bandedge
Whitenoise

ALE
ALE
10 years ago
#

Ciao Enzo,

non ho ben capito quale strumento stai utilizzando. Mi copieresti il nome di IG su PRT?

Grazie

Ale
PS: io non la sto usando in reale, perche vorrei modificarla, mentre sono in reale su qu_dax1h

 

enzo_52
10 years ago
#

Hi Ale,  german 30 cash mini 1E    ,  

Thanks a lot 

enzo_52
10 years ago
#

Thanks Ale, TF is time frame  , 

So, can you tell me the set -up for to have the same results on mini Dax cash?  

Thanks

Vincenzo 

ALE
ALE
10 years ago
#

ps: I'm not using this strategy on real account because It must be optimized.

ALE
ALE
10 years ago
#

Ciao Enzo,

No purtroppo c'è una grossa differenza, i CFD hanno delle quotazioni specifiche, è per questo motivo che nelle strategie pubblicate che trovi su questo sito, è indicato il codice dell'asset.
DAX tf cos'è?
PS: Scrivi in inglese cosi tutti possono comprendere domanda e risposta, grazie 

enzo_52
10 years ago
#

Grazie Ale, ma sai dirmi quali parametri cambiare per avere la.stessa equity anche sul  mini cash?  

Grazie 

Vincenzo 

enzo_52
10 years ago
#

CIAO aLE, GRAZIE PER AVER CONDIVISO, VOLEVO SAPERE COME MAI NON MI TROVO CON I RISULTATI CHE SONO NELL IMMAGINE , IO MI  TROVO UN 27% DI GAIN  DALL 8 OTT 2014 AL 7 NOV 2016,  dAX tf 15 MIN  1 P SPREAD    (ANCHE SE NON è CFD ,NON CREDO CI SIA TUTTA QUESTA DIFFERENZA CON IL 295% CHE VEDO NELLA FOTO)

GRAZIE

luigi
10 years ago
#

L'indicatore plotta il volume profile sul grafico con delle barre laterali. Su PRT versione end of day mi pare esista già. NOn ho abbonamento e quindi non posso testarla su time frame più bassi. Magari si riuscisse ad avere codice ;)

ALE
ALE
10 years ago
#

Intendevo dire la strategia basata sul market profile  + volme profile 

luigi
10 years ago
#

Il bello è che la piattaforma non mi fa richiamare i file. T3 è molto diversa da prorealtime, anche se sembrano la stessa cosa. La versione di T3 sta molto indietro a quanto pare. 

Quello che ti chiedevo è il volume profile, molto diverso dal market profile. Infatti il volume profile calcola su quali livelli sono concentrati i maggiori volumi a differenza del market che calcola quali sono i livelli più scambiati.

Grazie ;)

ALE
ALE
10 years ago
#

 ahaaha, un Drago non direi.. sono un appassionato.. quello si!!
Il Market Profile è  una delle strategie più interessanti da automatizzare, ma non me ne sono più interessato. Chiedo a Nicolas

Hai provato a scaricare i file .itf qui sopra e richiamarli con la piattaforma?

 

luigi
10 years ago
#

Ciao Ale, si ho provato più volte ma niente. E' chiaro che ho inserito l'indicatore da te creato già nella lista degli indicatori. Però proprio il codice mi da problemi.

Visto che tu con i codici sei un drago, per caso sai se esiste qualcosa sul volume profile da far girare sulla piattaforma T3?

Davvero grazie Ale per le risposte.

ALE
ALE
10 years ago
#

Ciao

È strano hai provato ad aprire una nuova creazione di Trading sistem e reincollare il codice?

luigi
10 years ago
#

Allora il primo errore me lo da su cumulate orders

Errore di sintassiLinea3, Colonna10
Una delle espressioni seguenti sarebbe più appropriata di"CumulateOrders":
","
"="

Se metto "=" mi fa andare avanti e mi porta altro errore:

 if MAXPRICE-tradeprice(1)>=TGL*pointsize then (l'errore che mi riporta è Errore di sintassiLinea46, Colonna26
Una delle espressioni seguenti sarebbe più appropriata di"(":
"["
"="
"+"
"-"
"*"
"/"
"mod"
"<"
">"
"<>"
"or"
"and"
"xor"
"then"

luigi
10 years ago
#

Allora il primo errore me lo da su cumulate orders

Errore di sintassiLinea3, Colonna10
Una delle espressioni seguenti sarebbe più appropriata di"CumulateOrders":
","
"="

 

ALE
ALE
10 years ago
#

Ciao

certo ! come posso aiutarti?

luigi
10 years ago
#

Ciao Ale,

ho provato ad eseguire il test usando la piattaforma t3 di webank ma mi da una serie di errori. E' possibile apportare qualche modifica?

Grazie.

Abz
Abz
10 years ago
#

hello

is this tested in tick mode?

ALE
ALE
10 years ago
#

Hello Abz

it's not in Tick mode.

This strategy must be improved, it's an idea only! 

#

Thanks for this strategy ALE. good job.

ALE
ALE
10 years ago
#

Hello Reb,

You're right, it's just a approximation.

You can consider 1.5 to spread  but you must also consider that the slippage factor often measuring 2/3 Also points.

Thanks

 

reb
reb
10 years ago
#

Hello all

Thanks for this strategy ALE.

Small question, if the strats works between 8am and 21h29 , why do you use a spread of 1 ?

By IG, spread is 2 between 8 and 9am and after 17h30

Reb

ProRealCode ProRealCode
Loading...