AlphaStrategy1_trail

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #128274 quote
    superkolleech
    Participant
    New

    Hello, after testing a lot of systems on a daily timeframe, I finally came up with this one. Looks pretty good to me. Seems to work best with futures. Any comments are welcome.

    mesxxxx-daily-1587931245cp8l4.png mesxxxx-daily-1587931245cp8l4.png AlphaSystem1_Trail.itf mesxxxx-daily-1587931245cp8l41.png mesxxxx-daily-1587931245cp8l41.png AlphaSystem1_Trail-1.itf
    #128541 quote
    Vonasi
    Moderator
    Master

    My only comment would be….. where’s the strategy?

    #128560 quote
    Nicolas
    Keymaster
    Master

    Sorry, my fault, I modified the topic.

    #128572 quote
    Vonasi
    Moderator
    Master

    I haven’t looked at the code (because my platform is not open) but my first thoughts when I saw that equity curve were that tick by tick was not on or the stop level is very close and you would not be allowed to trade in real life with a stop level that close.

    Plus how is the equity curve increasing when it shows on the positions chart that you have no positions open?

    #128573 quote
    Nicolas
    Keymaster
    Master

    Thanks for sharing, but I also think that you have used an instruction like SET STOP PTRAILING?

    #128582 quote
    superkolleech
    Participant
    New

    Thank you for your comments.

    Yes I have used “SET STOP PTRAILING” in the code. I thought it is using a trailing stop. Isn’t it?

    #128585 quote
    Vonasi
    Moderator
    Master

    Unfortunately SET STOP PTRAILING does not use tick by tick data and so gives false results.

    You should use a hard coded trailing stop that works as expected such as can be found here:

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

    #128587 quote
    superkolleech
    Participant
    New

    Thanks. I will look into this.

    I had the feeling that it is too good to be true anyway 🙂

    #128594 quote
    Nicolas
    Keymaster
    Master

    Thanks for sharing your code anyway, it is always greatly appreciated!

Viewing 9 posts - 1 through 9 (of 9 total)
  • You must be logged in to reply to this topic.

AlphaStrategy1_trail


ProOrder: Automated Strategies & Backtesting

New Reply
Author
Summary

This topic contains 8 replies,
has 3 voices, and was last updated by Nicolas
5 years, 10 months ago.

Topic Details
Forum: ProOrder: Automated Strategies & Backtesting
Language: English
Started: 04/28/2020
Status: Active
Attachments: 2 files
Logo Logo
Loading...