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.
-
-
01/26/2020 at 10:46 PM #117960
DAX Min Stop Distance is 12 points (see attached).
The Reject message we get re min stop dist = 10 points is probably because there is no Standard error message for min stop dist = 12 points ?
So what do we need to do to these excellent Systems being posted to stop Rejects?
Does Line 62 need to read as below? Is that all ?
1once minstopdistance = 12 //101 user thanked author for this post.
01/26/2020 at 11:01 PM #117963Maybe you have any suggestions?
Yeah … 50% of something … I agree! 🙂
I’m going to give it a go on Demo Forward Test.
How are you getting around the 100 point min stop distance (see attached) ?
Are you getting Rejected or have you made changes to Fifi System code?
01/26/2020 at 11:10 PM #117965Does Line 62 need to read as below? Is that all ?
Or do we need to change as below …
12345678910111213breakpoint= 0 //breakpoint//=========//fixed value 12 for dax (the minimum distance the stop can be place to the current close)if breakpoint <= 12 thenif (12-breakpoint)>=0 and (12-breakpoint)<=12 thenonce minstopdistance=(12-breakpoint)elseonce minstopdistance = 12endifelseonce minstopdistance = 0endifEDIT / PS
I’ve made changes as above anyway and set it going on Demo … let’s see! 🙂
1 user thanked author for this post.
01/27/2020 at 1:33 AM #117971@GraHal Will also try 2 different versions, one like above and one with 15.
thanks for posting that pic with minimum distance info.
ps. see dow is down and with a gap! It underscores the cause to close position before the weekend, even if the backtest & equitycurve are showing it’s better to stay in the market. Exactly as I added here few post back.
1 user thanked author for this post.
01/27/2020 at 2:11 AM #11797201/27/2020 at 9:53 AM #117991why the difference in minimum stop distance?
You have posted a pic of the spread above.
01/27/2020 at 11:20 AM #11800601/27/2020 at 11:49 AM #118011Finally got one to take a trade and going the right way! 🙂
Where did u find the DJI 5 MIN version?
01/27/2020 at 11:58 AM #118014Where did u find the DJI 5 MIN version?
I set it up and posted it on here on Page 4 (I think page 4).
Using Paul’s and Fifi’s versions, we all should be trying different TF’s and Instruments then we might all get rich together!! 🙂
PS
5 min version doing even better now … see attached!
01/27/2020 at 12:35 PM #118019Where did u find the DJI 5 MIN version?
then we might all get rich together!! 🙂
Was this a provocation in reference to the fact that I wanted to keep my strategy secret in the other post?
Maybe you did not understand my intent well, if I behaved this way and I asked for private help for those interested (you included), is to avoid all those jackals who come to visit the forum only for interest (like the guy that the other day asked you to share your 10-15 profitable algos that you collected in last two years of hard work).
My intent was to direct my work only to veterans and active forum members in the moment that I find a strategy with 99% of winning trades.1 user thanked author for this post.
01/27/2020 at 12:49 PM #118027Was this a provocation i
No not at all, just the British humour surfacing again! 🙂
Your points are understood though, no worries!
PS
We might be waiting a while for 99% winning trades!? 🙂
I use a rule of thumb …
if % of Winning Trades (best if > 50%) x Gain to Loss Ratio (best if > 2) is >= 100 ish
then the System looks promising !?01/27/2020 at 12:59 PM #118028Btw the invite is open, maybe we can also talk about our collected profitable algos.
And you can give to me your 15 that you mentioned (joking, trying to do nice british humor? lol)
Anyway, can’t find your 5min version. Can you send it again?
1 user thanked author for this post.
01/27/2020 at 2:35 PM #118038Here’s a snippet which retrieves the timeframe it’s on. It’s of no use here yet, but maybe will be later on.
This is programmed by Nicolas.
12345678910111213// automatic retrieval of timeframe snippetif barindex < 3 thenmyday=opendaydayminutes = 1440*(myday-myday[1])myhour=openhourhourminutes = 60*(myhour-myhour[1])mymin=openminutebarminutes = mymin - mymin[1] + hourminutes + dayminutesbarminutes=abs(barminutes)mybarminutes = lowest[1](barminutes)[1]endifif hour=entryhour and (minute>=entryminute and minute<(entryminute+mybarminutes)) then1 user thanked author for this post.
01/27/2020 at 5:09 PM #118052I also coded something for time frame detection that can be found here:
https://www.prorealcode.com/topic/determine-the-charts-time-frame-in-a-program/#post-105538
I think mine returns the time frame in a more easily understood format but then again I might be biased!
1 user thanked author for this post.
01/27/2020 at 6:47 PM #118074Anyway, can’t find your 5min version. Can you send it again?
Attached as requested.
If you improve, other TF’s or other Instruments please post on here.Cheers
1 user thanked author for this post.
-
AuthorPosts
Find exclusive trading pro-tools on