fxDreema

    • Register
    • Login
    • Search
    • Back to the main page
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    1. Home
    2. Mitchp
    M
    • Profile
    • Following 0
    • Followers 1
    • Topics 10
    • Posts 53
    • Best 0
    • Controversial 0
    • Groups 0

    Mitchp

    @Mitchp

    0
    Reputation
    8
    Profile views
    53
    Posts
    1
    Followers
    0
    Following
    Joined Last Online

    Mitchp Unfollow Follow

    Latest posts made by Mitchp

    • RE: Why does this script sometimes open positions with MAX lot size?

      @l-andorrà That was for a previous version where I used limit order. I wanted limit order 0.25ATR under the open of the candle.

      posted in Questions & Answers
      M
      Mitchp
    • RE: Why does this script sometimes open positions with MAX lot size?

      @DragonZueloTrends No no, it isn't martingale. Risk should be consistent (0.25% in this example)

      I'm not able to re-produce the issue either, it just happens sometimes.

      The risk is suppose to be consistently 0.25%, the stop-loss is calculated based on volatility using the average true range indicator. The multiplier is to calculate stop-loss position, not risk.

      posted in Questions & Answers
      M
      Mitchp
    • Why does this script sometimes open positions with MAX lot size?

      https://fxdreema.com/shared/pmD96sI2d

      This script works fine most of the time. Sometimes however it ignores the risk settings and just opens a position with the max allowed lot size with the broker.

      I've already lost quite a bit of money through this bug, since it just opened 40 lots instead of around 0.2.

      Anyone know why this is happening?

      The script is suppose to open a trade with the correct risk %, SL and TP (based on ATR and RR).

      posted in Questions & Answers
      M
      Mitchp
    • RE: Sells not working, need help.

      I got it to work. I just referred to the lines in the condition block instead of market price.

      Even though it works now, I still don't understand why it worked for longs but not for sells.

      posted in Questions & Answers
      M
      Mitchp
    • RE: Sells not working, need help.

      @jstap https://fxdreema.com/shared/N37zK7q6d

      The line gets drawn correctly.

      posted in Questions & Answers
      M
      Mitchp
    • RE: how i can close first trade when third trade opened

      Maybe you can use loop.

      "For each position"

      Loop direction: Oldest to newest
      Not more than "n" trades: 1

      Then link it to a "Close positions" block.

      Put the loop after your Buy and Sell block, then every time a position is opened it should theoretically close the oldest position.

      And since you want it separate for buys and sells, you create 2 of these identical loops and connect one to Buy block and one to Sell block. Also filter each loop by type for Buys or Sells.

      I hope this works for you.

      posted in Questions & Answers
      M
      Mitchp
    • Sells not working, need help.

      https://fxdreema.com/shared/mO4db2YGc

      "N" day breakout strategy. Buy when we get above the high of "N" days (and close out sells), and sell when we get below the low of "N" days (and close out longs).

      For some reason, it does not detect the "N" day low.

      I added a log message to it, to identify the problem. It does not print the message (it does for the high), indicating the problem is within the condition block. I don't understand, since the long trades do work and it's just the exact opposite.

      In it's current state it takes one long trade and holds it forever.

      posted in Questions & Answers
      M
      Mitchp
    • RE: For each object bug (MT5 only, works fine in MT4)

      @l-andorrà This one isn't a question. It is a bug report?

      posted in Bug Reports
      M
      Mitchp
    • RE: Need drawing to disappear once price went through it.

      @l-andorrà I created a bug report and tagged admin.

      posted in Questions & Answers
      M
      Mitchp
    • RE: Need drawing to disappear once price went through it.

      @JayPhillbrooks Nope, no variables

      posted in Questions & Answers
      M
      Mitchp