Discussing the strategy VECTORIAL DAX (M5)
Forums › ProRealTime English forum › ProOrder support › Discussing the strategy VECTORIAL DAX (M5)
- This topic has 1,263 replies, 125 voices, and was last updated 8 months ago by VinzentVega. 
- 
	
		
- 
		
			
				
11/19/2019 at 7:19 PM #11314911/19/2019 at 7:58 PM #113151You need to test on 3 min TF as that System I posted is a 3 min TF System … may as well now just so we have it all correctly compared?? 🙂 PS Just noticed drawdown is less by a factor of 10 (42 manual exit vs 420) … so that is a big benefit. You don’t have to be at the screen 100% of the time … but I guess you have to keep looking at progress regular but I often do this on my phone while I am outside working on the car or garden etc. 11/19/2019 at 8:06 PM #11315211/19/2019 at 8:09 PM #11315311/19/2019 at 8:32 PM #11315511/19/2019 at 8:47 PM #113159total loss of £-132 but this makes a mockery of the computed Max Drawdown figure of £546?? On reflection it doesn’t make a mockery as we would have to look at the MAE (max adverse excursion) that the losing trades made to end up at a total loss of £-132?? 11/19/2019 at 8:52 PM #11316211/20/2019 at 12:14 AM #113170haha, my fault. Are so used to using 5 min TF Spread=4 Now it should be better.. What changes did you make to get to your numbers? can you copy your lines please? 11/20/2019 at 10:19 AM #113198123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125//-------------------------------------------------------------------------// Main code : Vectorial DJI 3M v6.0 +entFilt//-------------------------------------------------------------------------//-------------------------------------------------------------------------// Main code : Vectorial DJI 3M v6.0//-------------------------------------------------------------------------//-------------------------------------------------------------------------// Main code : _Vectorial Dax V3//-------------------------------------------------------------------------// ROBOT VECTORIAL DAX// M5// SPREAD 1.5// by BALMORA 74 - FEBRUARY 2019DEFPARAM CumulateOrders = falseDEFPARAM Preloadbars = 50000T1 = 6p1 = average[t1](close)p2 = average[t1*2](close)p3 = average[t1*6](close)p4 = average[t1*3](close)a1 = p1 > p2 and p2 > p3 and p3 > p4a2 = p1 < p2 and p2 < p3 and p3 < p4//VARIABLESCtimeA = time >= 080000 and time <= 180000CtimeB = time >= 080000 and time <= 180000// TAILLE DES POSITIONSPositionSizeLong = 1PositionSizeShort = 1//STRATEGIE//VECTEUR = CALCUL DE L'ANGLEONCE PeriodeA = 10ONCE nbChandelierA= 15MMA = Exponentialaverage[PeriodeA](close)ADJASUROPPO = (MMA-MMA[nbchandelierA]*pipsize) / nbChandelierAANGLE = (ATAN(ADJASUROPPO)) //FONCTION ARC TANGENTECondBuy1 = ANGLE >= 35CondSell1 = ANGLE <= - 40//VECTEUR = CALCUL DE LA PENTE ET SA MOYENNE MOBILEONCE PeriodeB = 20ONCE nbChandelierB= 35lag = 1.5MMB = Exponentialaverage[PeriodeB](close)pente = (MMB-MMB[nbchandelierB]*pipsize) / nbchandelierBtrigger = Exponentialaverage[PeriodeB+lag](pente)CondBuy2 = (pente > trigger) AND (pente < 0)CondSell2 = (pente CROSSES UNDER trigger) AND (pente > -1)//ENTREES EN POSITIONCONDBUY = CondBuy1 and CondBuy2 and CTimeACONDSELL = CondSell1 and CondSell2 and CtimeB//POSITION LONGUEIF CONDBUY and A1 THENbuy PositionSizeLong contract at market//SET Target %PROFIT 1//SET STOP %LOSS 0.7ENDIF//POSITION COURTEIF CONDSELL and a2 THENSellshort PositionSizeShort contract at market//SET Target %PROFIT 1.2//SET STOP %LOSS 1ENDIF//VARIABLES STOP SUIVEURONCE trailingStopType = 1 // Trailing Stop - 0 OFF, 1 ONONCE trailingstoplong = 9 // Trailing Stop Atr Relative DistanceONCE trailingstopshort = 8 // Trailing Stop Atr Relative DistanceONCE atrtrailingperiod = 14 // Atr parameter ValueONCE minstop = 0 // Minimum Trailing Stop Distance// TRAILINGSTOP//----------------------------------------------atrtrail = AverageTrueRange[atrtrailingperiod]((close/10)*pipsize)/1000trailingstartl = round(atrtrail*trailingstoplong)trailingstartS = round(atrtrail*trailingstopshort)if trailingStopType = 1 THENTGL =trailingstartlTGS=trailingstartsif not onmarket thenMAXPRICE = 0MINPRICE = closePREZZOUSCITA = 0ENDIFif longonmarket thenMAXPRICE = MAX(MAXPRICE,close)if MAXPRICE-tradeprice(1)>=TGL*pointsize thenif MAXPRICE-tradeprice(1)>=MINSTOP thenPREZZOUSCITA = MAXPRICE-TGL*pointsizeELSEPREZZOUSCITA = MAXPRICE - MINSTOP*pointsizeENDIFENDIFENDIFif shortonmarket thenMINPRICE = MIN(MINPRICE,close)if tradeprice(1)-MINPRICE>=TGS*pointsize thenif tradeprice(1)-MINPRICE>=MINSTOP thenPREZZOUSCITA = MINPRICE+TGS*pointsizeELSEPREZZOUSCITA = MINPRICE + MINSTOP*pointsizeENDIFENDIFENDIFif onmarket and PREZZOUSCITA>0 thenEXITSHORT AT PREZZOUSCITA STOPSELL AT PREZZOUSCITA STOPENDIFENDIF11/20/2019 at 11:16 AM #11320811/20/2019 at 1:51 PM #11322811/20/2019 at 2:03 PM #113231I do not arrive at the same numbers as you. Your 2nd image is not using the same Auto-System as the 1st image … you show results for EUR/USD 15M AYM(1) … don’t worry it happens to the best of us!!! 🙂 🙂 11/20/2019 at 2:04 PM #113232It gives me a profit of 231 euros For what period?? The figs bullbear showed are for about 1 month only. Best you post a screen shot of your results?? 11/20/2019 at 2:09 PM #113233I do not arrive at the same numbers as you. Your 2nd image is not using the same Auto-System as the 1st image … you show results for EUR/USD 15M AYM(1) … don’t worry it happens to the best of us!!! 🙂 🙂 Just mistake of title 🙂 > same results 🙂 11/20/2019 at 2:11 PM #113235It gives me a profit of 231 euros For what period?? The figs bullbear showed are for about 1 month only. Best you post a screen shot of your results?? Just mistake of title :)> same results. 
- 
		AuthorPosts
			Find exclusive trading pro-tools on 


 
		 
		 
		