AlphaStrategy1_trail

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #128274 quote
    superkolleechsuperkolleech
    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
    VonasiVonasi
    Moderator
    Master

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

    #128560 quote
    NicolasNicolas
    Keymaster
    Legend

    Sorry, my fault, I modified the topic.

    #128572 quote
    VonasiVonasi
    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
    NicolasNicolas
    Keymaster
    Legend

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

    #128582 quote
    superkolleechsuperkolleech
    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
    VonasiVonasi
    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
    superkolleechsuperkolleech
    Participant
    New

    Thanks. I will look into this.

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

    #128594 quote
    NicolasNicolas
    Keymaster
    Legend

    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.
ProRealAI ProRealAI New

Stuck on this ProBuilder code?

Describe what this topic is trying to build, in plain English, and ProRealAI writes the ProRealTime™ indicator, screener or system for you.

Available in 7 languages
Try ProRealAI

AlphaStrategy1_trail


ProOrder: Automated Strategies & Backtesting

New Reply
Author
Summary

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

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