simple ea for supertrend

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

    Hy,i’m looking for a simple supertrend Ea to test.

    i’d like to have a simple one to use with t3 platform, for entries when supertrend change color.

    I’d like to have tp sl and trailing.

    Any suggests?

    Thanks

    Regards

    #177017 quote
    Nicolas
    Keymaster
    Master

    This is the strategy code you are looking about: https://www.prorealcode.com/topic/croisement-supertrend-en-cours-de-periode/#post-92490

    In order to have trailing stop, change the SET STOP PLOSS instruction with SET STOP PTRAILING

    There might be a lot of variant on forums though.

    #177024 quote
    cescof
    Participant
    New

    thanks for answer but i think this code is not compatible  with the old (v7 version) versione used by my platform t3 webank

    Any other suggests

    Thanks

    Regards

    #177032 quote
    robertogozzi
    Moderator
    Master

    Do not double post. Ask your question only once and only in one forum. All double posts will be deleted anyway so posting the same question multiple times will just be wasting your own time and will not get you an answer any quicker. Double posting just creates confusion in the forums

    I deleted the other one.

    Thank you 🙂

    #177033 quote
    robertogozzi
    Moderator
    Master

    Did you test it?

    Have you been reported any error?

    #177041 quote
    XORANDNOT
    Participant
    Senior

    Supertrend looks good and you can adapt almost anything by optimization.

    #177046 quote
    murre87
    Participant
    Senior

    cescof, Did u test it. Got exemple code and backtest?

    #177074 quote
    Nicolas
    Keymaster
    Master

    Sorry but PRT v7 is so old I can’t imagine how many things have changed since in the coding language!

    #177076 quote
    robertogozzi
    Moderator
    Master

    Try this one:

    myST = SuperTrend[3,10]
    IF Close CROSSES OVER myST THEN
       BUY at Market
    ELSIF close CROSSES UNDER myST THEN
       SELLSHORT at Market
    ENDIF
    SET TARGET pPROFIT   100
    SET STOP   pTRAILING 20
Viewing 9 posts - 1 through 9 (of 9 total)
  • You must be logged in to reply to this topic.

simple ea for supertrend


ProOrder: Automated Strategies & Backtesting

New Reply
Author
author-avatar
cescof @cescof Participant
Summary

This topic contains 8 replies,
has 5 voices, and was last updated by robertogozzi
4 years, 5 months ago.

Topic Details
Forum: ProOrder: Automated Strategies & Backtesting
Language: English
Started: 09/08/2021
Status: Active
Attachments: No files
Logo Logo
Loading...