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 1 year ago by sfl.
-
-
02/06/2020 at 9:19 PM #11888902/06/2020 at 9:25 PM #11889202/06/2020 at 9:29 PM #11889302/06/2020 at 9:30 PM #11889502/06/2020 at 9:32 PM #11889602/06/2020 at 9:55 PM #118899
And grahal we don’t have the same update
We are all using the same version of Platform.
It’s just that yours (French) was updated in Nov 19 and mine (UK) in Jan 20 … PRT being French, they look after their own first!!?? 🙂
Joking apart, I think PRT stagger updates so any problems affect less users all at once?
02/07/2020 at 8:20 AM #11891002/07/2020 at 9:06 AM #11891402/07/2020 at 9:13 AM #11891612345678910once limitSLbroker=0if time >210000 and time<070000 and CurrentDayOfWeek>=0 thenlimitSLbroker=12elsif time>070000 and time<210000 and CurrentDayOfWeek>=0 thenlimitSLbroker =10elsif time>210000 and CurrentDayOfWeek>5 thenlimitSLbroker=271endifmindist = limitslbrokerHello,
You can write this and modify the hour and adapt the values1 user thanked author for this post.
02/14/2020 at 9:01 AM #11961602/14/2020 at 1:58 PM #11963202/14/2020 at 2:27 PM #119635I noticed that all the time that the system stopped was trying to open positions at 4.00am.
What could be added to the code in order to “turn it off” since like 2:00 to 7:00?
I think this could be more interesting to “avoid” the problem instead trying to set the mindist.Also because the system, without opening that 4.00am positions in demo is doing much more better.
1 user thanked author for this post.
02/14/2020 at 4:07 PM #11963712345678910111213// holidayif holiday thenif (month = 5 and day = 1) or (month = 12 and day >=22) or (time>020000 and time<070000 )thentradeday=0elsetradeday=1IF abs(open-close)<28 thentradeday=1elsetradeday=0endifendifendifTry this
1 user thanked author for this post.
02/14/2020 at 5:41 PM #11963802/14/2020 at 5:54 PM #119639bonjour sur quel instrument et TF faut il utiliser votre strategie? MerciHello which instrument and TF must use your strategy there? Thank you
-
AuthorPosts
Find exclusive trading pro-tools on