Dax / UT 2mn / Long only.

Forums ProRealTime English forum ProOrder support Dax / UT 2mn / Long only.

Viewing 12 posts - 1 through 12 (of 12 total)
  • #39966

    Dear Nicolas,

    I am pleased to share the following strategy.

    The trade is triggered by the MACD histo / TF – 2mn / Instrument: DAX, 1eur.

    I stand ready for your kind feedback.

    IMPORTANT: Great forum, thx to Nicolas, Maz, Ale, Maverick 😉 , and everyone else for your ideas and bit of codes !

    DJ

     

     

    1 user thanked author for this post.
    #39973

    The code. 😉

    #40010

    Thanks Inertia. I moved the topic to ProOrder section and add the code with the correct button to insert code 🙂

    It’s great you made the walk forward analysis! So the only setting you optimized is the “trailingstop” variable? Any change to get a short version to see how it goes?

    #40052

    Thank you Nicolas. Yes for the “trailingstop”, and replaced the MACD 12 26 9 by 16 26 9…Is that the correct way to do a WF ?

    Attached the short version…How does this sounds like ?

    DJ

    #40068

    Dear Nicolas,

    Attached is the best I can do: => Stop Loss set to 45 and No target (No Limits !!)

    OK?

    1 user thanked author for this post.
    #40094

    Thanks for sharing! Is it really possible to have both trailing an stop loss in the same code?

    #40097

    Hi T-rader.

    Yes at first. Then it works roughly like a OCO order. Once the value of the trailing stop gain in profit, the original stop will be cxl’d to be moved to the trailing value.

    Hope this is clear. 😉

    https://www.prorealcode.com/blog/trading/complete-trailing-stop-code-function/

    Tx.

    #40110

    I made videos in French to explain the WFA. If you made a backtest for the whole history with optimized variables of one of your OOS period, I think you did not understand how it should work 🙂

    Anyway, I think we should be careful with the result of the WF test you made for a main reason, most of the Out Of Sample results have huge WFE (>200%).

    Why did you made the test of the short version on a 15 minutes timeframe? While the long one is designed for the 2 minutes one?

    #40115

    Thank you Nicolas. WF’s feedback much appreciated. I’ll have a look asap.

    Short version: It doesn’t work well with the TF 2mn. The 15TF works much better for this kind of signal.

    The idea would be to start both strategies at once and one may partially cover the losses of the other.

    But, agree, it is not a perfect TF match Long Short…

    Based on your experience, don’t you think that these 2 strategies, despite their different TF deserve a try ?

    Tx again for your time and kind help on it.

    DJ

     

    #40118

    Well, the spread is not the same after 170000, you should reduce the schedules of the strategy or add at least 1 point to the spread in backtests.

    I just realized that your short version can’t work effectively because your trailing stop function doesn’t include the short orders but only the long ones!

    #40139

    OMG 🙁 – but thank you…

    1 pts added (total of 2).

    Attached the versions with and without trailing stop.

    Same amount of draw downs in both case … My choice goes logically to the most profitable one.

    I will WF it and put them in a demo account see how it goes.

    Thank you Nicolas.

     

    #40155

    The trailing stop version for short orders can be easily found in forums or directly into comments of the blog post related to it.

    1 user thanked author for this post.
Viewing 12 posts - 1 through 12 (of 12 total)

Create your free account now and post your request to benefit from the help of the community
Register or Login