strategy BarHunter DAX v1p
Forums › ProRealTime English forum › ProOrder support › strategy BarHunter DAX v1p
- This topic has 255 replies, 11 voices, and was last updated 2 years ago by  sfl. sfl.
- 
	
		
- 
		
			
				
01/26/2020 at 10:38 AM #11785901/26/2020 at 1:01 PM #117879Goodmorning Fifi, nice! I found last half part of december is not so good and better not to trade. 12345678910111213141516171819once holiday = 1// resetif intradaybarindex=0 thentradecounter=0breakvaluelong=99999breakvalueshort=0tradeday=1endif// holidayif holiday thenif month=12 and day>=15 thentradeday=0elsetradeday=1endifendif01/26/2020 at 2:32 PM #11788601/26/2020 at 2:38 PM #11788701/26/2020 at 4:26 PM #117914excellent on SAF40 I agree but the spread at 30 points on entry would knock a chunk out of the profits? 01/26/2020 at 4:26 PM #117916Merci Fifi pour le partage. En effet la stratégie est tres prometteuse. Toutefois, j’ai essayé de l’automatiser sur un compte réel mais PRT m’en empeche à cause de “remplacer variables par de valeurs fixes” et “l’instruction graph”. Avez vous essayé de la faire tourner en réel? Si oui comment avez vous fait? Merci 01/26/2020 at 4:32 PM #11791701/26/2020 at 4:38 PM #11791901/26/2020 at 5:22 PM #117922Merci Fifi pour le partage. Did you ask the creator of the algorithm for permission? 
 If you do not have authorization the algorithm will put your account at 001/26/2020 at 5:45 PM #11792301/26/2020 at 6:10 PM #117925@GraHal I agree with you! But I prefer to take 50% of something, rather than 100% of nothing 🙂 To go further, I have a strategy that allows me to diversify and decorrelate my strategies. 
 I develop strategies that are complementary and this one is little in the market, rather regular and generates gains when my other strategies are losing.
 The other interesting point is that I integrated a reinvestment of earnings compared to the starting capital which allows to compensate for the penalizing spread.Maybe you have any suggestions? 🙂 1 user thanked author for this post.01/26/2020 at 6:15 PM #11792601/26/2020 at 6:37 PM #11793501/26/2020 at 7:08 PM #11794201/26/2020 at 7:57 PM #117954always liked to close the position if possible before the weekend. So I’ve this 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051once closebeforeweekend = 0once closebeforeweekendinloss =0once securebeforeweekendprofit=1if closebeforeweekend thenif onmarket thenif (dayofweek=5 and hour>=22) thensell at marketexitshort at marketendifendifendifif securebeforeweekendprofit thenif (dayofweek=5 and hour>=18) thenif longonmarket thenif close>positionprice+15 thensell at tradeprice(1)+10 stop//else//if hour>=22 then//sell at market//endifendifendifif shortonmarket thenif close<positionprice-15 thenexitshort at tradeprice(1)-10 stopelseif hour>=22 thenexitshort at marketendifendifendifendifendifif closebeforeweekendinloss thenif (dayofweek=5 and hour>=22) thenif longonmarket thenif close<positionprice thensell at marketendifendifif shortonmarket thenif close>positionprice thenexitshort at marketendifendifendifendif1 user thanked author for this post.
- 
		AuthorPosts
			Find exclusive trading pro-tools on 
 
 
 
  
 

 
  
		 
		 
		