Not logged in
Viewing 7 posts - 1 through 7 (of 7 total)
  • #260052 |
    Participant
    14 Posts

    Dear Mr. Tomas

    I have strategy like that, EA will buy when price close above EMA50 and MACD crossover 0.00022 value. Stoploss will set below the lowest candle and TP will equal 1.5time stoploss. Or EA will close profit if profit total +5$. Can you have me for this code?

    Thank you,
    <p style=”text-align: left;”>

    #260108
    tomas262
    Administrator
    1427 Posts

    Hello,

    what do you mean by “profit total” >= 5 USD?  Does that mean your close either by TP, SL or 5 USD profit?

    #260111
    Participant
    14 Posts

    Dear Mr. Tomas,

    Close position by two case:

    1. Close by SL,TP.

    2. Close when total profit of positions is 5USD.

    #260155
    tomas262
    Administrator
    1427 Posts

    Hello,

    ok, makes sense. When referring to lowest candle what lookback period do you use? 10 bars or 20 ?

    #260161
    Participant
    14 Posts

    Dear Mr. Tomas,

    Time frame M15 and 20bars.

    Thank you,

    #260200
    tomas262
    Administrator
    1427 Posts

    Hello,

    check the example on your strategy attached

    Attachments:
    You must be logged in to view attached files.
    #260202
    Participant
    14 Posts

    Dear Mr. Tomas,

    Thank you very much.

Viewing 7 posts - 1 through 7 (of 7 total)

You must be logged in to reply to this topic.