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/20/2020 at 6:57 PM #12009702/20/2020 at 9:08 PM #120110
@Florian Legeard thanks for testing. Looking back at the short trade. The cause is the trailing stop. Don’t know why but it is off because of the multi time frame. Not really an answer for this a.t.m. Will look into this later.
On the 1 hour chart the trailingstop still isn’t triggered.
02/21/2020 at 3:20 PM #120166here’s a fix for the trailingstop.
Still when it’s a really close call for entry, it can be different to the 1 hour chart.
i.e. 21 oktober a 4 am on 1 hour chart dax long, but not on 1 minute which is correct.
the usual, load this file on dax 1 hour with mode 1 for backtesting
and run mode 0 for demo on 1 minute
4 users thanked author for this post.
02/24/2020 at 9:58 AM #12026503/05/2020 at 12:11 PM #121228@Paul , really, your solution seems to have fixed it from barely ever running to running everytime, and the strategy has kicked ass so far. 4 great trades, 100% winrate
How complicated was the fix to MTF? Since I guess the same problem applies to for instance the SAF or the TimeHunter. Are they simple enough pieces of code that I could perhaps try copypasting it myself into the other strategies?
Also, not sure where in the thread I find it, but which variables should I look out for when trying to modify any of them to another instrument?
03/05/2020 at 2:13 PM #121253in hindsight it wasn’t difficult, but I really found the solution because the feedback and I pushed a bit more. The concept is great. Backtest in higher timeframe, run live is a small timeframe.
Here, the goal was to to optimise the bar-number(=time) and the points it needed to break. So it can be used very easy on other markets. (see oil version)
The trick is have the entries at a low timeframe, the trialingstop on a high timeframe and the exit from the trailing-stop again on a lower timeframe.
The saf version I’ve put aside a.t.m. Timehunter can be setup the same as barhunter.
1 user thanked author for this post.
03/05/2020 at 4:03 PM #121269Not sure what the difference is between Timehunter and barhunter.
But so to try it other instruments, I could take your mod of barhunter and the most important variables to change would be entry time, stop loss hours, stoploss distance…
and this as well(?)
1atrtrail = averagetruerange[atrtrailingperiod]((close/10)*pipsize)/1000is it the /1000 that should be changed?
03/05/2020 at 4:14 PM #121271they are the same, though barhunter uses bars instead of time.
There could be a problem when there’s no trade in a morning or a bar is missing, then the barnumbers shift that day I thought. The results on 1 hour timeframe are similar. Going lower, the difference might grow.
With barhunter, take the barnumber and check on which timeframe you are running. 1 hour = optimise 0-23 bars, going lower, the number of bars go up to check each day.
I wouldn’t optimise stoploss & profittarget too quickly. Maybe 1 or 2% depended on frame.
Barnumber is most important.
The ATR is also a little issue. Going to forex it might have to be adjusted. I think I posted somewhere were I pointed that out. But don’t have the right settings at hand. Check the atr on the chart and see if the line is displayed properly.
03/05/2020 at 4:27 PM #12127503/05/2020 at 4:44 PM #12127603/05/2020 at 4:47 PM #12127703/22/2020 at 4:41 PM #12292803/23/2020 at 11:13 PM #123062Hi, The latest oil-version is the version you see in attachments. (result update in pic)
No wallstreet version in the works, too busy with renko’s. If you have new idea’s you can post them.
1 user thanked author for this post.
03/23/2020 at 11:51 PM #12306803/23/2020 at 11:55 PM #123072 -
AuthorPosts
Find exclusive trading pro-tools on