Discussing the strategy VECTORIAL DAX (M5)
Forums › ProRealTime English forum › ProOrder support › Discussing the strategy VECTORIAL DAX (M5)
- This topic has 1,260 replies, 124 voices, and was last updated 1 month ago by Greger2346.
-
-
01/17/2020 at 8:23 PM #117112
Ciao Francesco, I was looking through your version to see what had changed and there seems to be 2 sets of stop loss/profit code, one that you’ve added in lines 246 247, plus another system starting at line 278 based on the sl and pt variables at lines 33 34
How does that work? Don’t they contradict each other?
01/17/2020 at 8:32 PM #11711301/17/2020 at 8:47 PM #117115Yes, I also tried taking each of them out but it only works with both, so they are definitely interacting in some beneficial way! Chi sa ???
01/17/2020 at 9:26 PM #11712701/18/2020 at 12:50 AM #117136Ok, I figured it out: at line 51 you have enablept = o, so the pt variable is disabled. Target profit is controlled at line 247. But because line 50 enablesl = 1, your stop loss at line 246 is doing nothing. That’s why it seemed that both were necessary, one was doing the stoploss and the other was doing the profit.
I changed enablept =1 and deleted lines 246, 247. Stoploss and profit are controlled by the sl and pt values at lines 33, 34 (%)
I ran a WF test which looks healthy (positionsize = 3). Also added optional money management: select 0, 1 or 2 at line 9
01/20/2020 at 7:10 PM #117351Hi,
Trying to test the DAX v5.0 but i get the following error, can someone please guide me in the right direction?
// EDIT
Forget about this, I solved it.
01/24/2020 at 10:26 AM #11766401/24/2020 at 4:15 PM #11773601/24/2020 at 6:16 PM #11776001/24/2020 at 7:27 PM #11776401/25/2020 at 7:32 AM #117785@Francesco btw you asked why the breakeven wasn’t triggered.
That was because the startbreakeven was set at 90, while profittarget in points was set at 80. So it took profit before the breakeven could be triggered.
Besides that, a stoploss of 30 points was added, but later on in the code there’s a stoploss of 2.5%. The trade could lose about 6-7 times as much points. Results with a 30 points stoploss are poor.
1 user thanked author for this post.
01/25/2020 at 12:30 PM #11779801/31/2020 at 4:38 PM #11837101/31/2020 at 7:26 PM #118389Is that v8 version posted on here fifi? I’ve been back to page 37 looking for it 🙁
Wouldn’t it be great if we had a central repository with version control esp for the big Threads like this one and Pathfinder and others?
I did have a quick 10 mins look at GitLab last night. It is possible to have free unlimited (private) repositories and unlimited collaborators.
Maybe I’ll look some more.
01/31/2020 at 8:18 PM #118391I’ve been back to page 37 looking for it
Why not just click on ‘View All Attachments’ at the top of the page? Obviously this won’t help if it is just posted as inserted code rather than an ITF attachment.
1 user thanked author for this post.
-
AuthorPosts
Find exclusive trading pro-tools on