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 2 months ago by Greger2346.
-
-
09/13/2020 at 7:05 PM #144150
Thanks. I am certain there’s lots of room for improvement and optimization.
BTW not sure I understood what part was wrong with the %TrailingStop – does it matter in these versions or does it only matter if you use breakeven?
Here is the correct one :
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152// trailing stop percentageonce trailingstoptype2=1if trailingstoptype2 thenonce trailingpercent = 1once steppercent = (trailingpercent/10)*1if onmarket thentrailingstart = tradeprice(1)*(trailingpercent/100)trailingstep = tradeprice(1)*(steppercent/100)endifif not onmarket or ((longonmarket and shortonmarket[1]) or (longonmarket[1] and shortonmarket)) thennewsl=0endifif longonmarket thenif newsl=0 and close-tradeprice(1)>=trailingstart thennewsl = tradeprice(1)+trailingstependifif newsl>0 and close-newsl>trailingstep thennewsl = newsl+trailingstependifendifif shortonmarket thenif newsl=0 and tradeprice(1)-close>=trailingstart thennewsl = tradeprice(1)-trailingstependifif newsl>0 and newsl-close>trailingstep thennewsl = newsl-trailingstependifendifif barindex-tradeindex>1 thenif longonmarket thenif newsl>0 thensell at newsl stopendifif newsl>0 thenif low crosses under newsl thensell at marketendifendifendifif shortonmarket thenif newsl>0 thenexitshort at newsl stopendifif newsl>0 thenif high crosses over newsl thenexitshort at marketendifendifendifendifendif1 user thanked author for this post.
09/18/2020 at 8:22 AM #144620Hi Paul, your job is amazing. I’m using your last version (v3p3) on DJ 3minutes: last week really good, but yesterday a big lost with 3 loosing trades , do you think is it normal o is there something to optimize, for bettere performace?
Thank you very much.
09/18/2020 at 8:28 AM #144621hi, trading is like this…go
09/18/2020 at 9:22 AM #144631I’m growing more and more determined that on average it’s safer to turn most strategies off around FED announcements and similar macroeconomic events, regardless of the strategies being supposed to be robust and backtested on many such events, I’ve seen them go bananas too often now and it’s not worth it.
Since I had a profitable version of DJ3-strategy running already I took the risk of running the old one as well as the new ones, both with and without MM this week. Not the best idea I’ve had 😛
I guess it would be a bit too early to say whether it should be optimized differently.
09/18/2020 at 9:25 AM #14463209/18/2020 at 7:43 PM #144718something to optimize, for bettere performace?
Everything is optimised on the vectorial settings, the stochastic rsi is added on top of that, that’s one way to use to WF.
09/18/2020 at 10:51 PM #144732I’ve been sitting the whole week building different strategies just to get a feel for different indicators. Most have been crap and some has been ok, but nothing special.
Today I got a decent one that needed something else and I thought of the vector in this one. Perfect, could work. Then the money management. Then… all of a sudden, it was almost a copy of it hehe. Oh well, back to square one 🙂
09/20/2020 at 10:58 AM #144796Thank you Paul. I’m testing also DAX 3m Vectorial V3p4 on demo, but it has not the same behavior of backtest: total different trades. It seems that it does not close the positions, for example I’ve set weekendpostion=0 but Friday the script does not close the position. Could you help me? Maybe a new version? Thank you again for the great work.
09/20/2020 at 5:41 PM #144823Maybe check your time zone, any problem GMT+2, the code (DAX 3m Vectorial V3p4) is clear :
123456if not weekendposition thenif (dayofweek=5 and time>=215400) thenexitshort at marketsell at marketendifendifEven on backtest, every trades close before the week-end at 21h54min, if weekposition = 0
09/20/2020 at 6:38 PM #14482609/21/2020 at 8:38 AM #144854Where can I check time zone?
See red arrowhead on attached
1 user thanked author for this post.
09/21/2020 at 9:58 AM #14486109/21/2020 at 10:05 AM #14486209/21/2020 at 10:05 AM #14486409/21/2020 at 10:06 AM #144865 -
AuthorPosts
Find exclusive trading pro-tools on