fxDreema

    • Register
    • Login
    • Search
    • Back to the main page
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    1. Home
    2. jstap
    3. Posts
    • Profile
    • Following 2
    • Followers 222
    • Topics 37
    • Posts 9382
    • Best 1086
    • Controversial 23
    • Groups 0

    Posts made by jstap

    • RE: Highest closing price from open price

      Candle ID 1 close price adjusted +iATR(NULL,0,14,1)*3, is < or > open price got from pink for each trade above the condition, close if right

      posted in Questions & Answers
      jstap
      jstap
    • RE: Highest closing price from open price

      Candle close price?

      posted in Questions & Answers
      jstap
      jstap
    • RE: Highest closing price from open price

      do you mean a stop loss 3xATR from the open?

      posted in Questions & Answers
      jstap
      jstap
    • RE: Cannot obtain timestamp in the varable

      Add a shared link, time is stored as datetime or string in a variable

      posted in Bug Reports
      jstap
      jstap
    • RE: How to use the trailing stoploss function ?

      Place the trailing in a separate tree with at least 2 blocks, 1 can be a pass block. If you add a shared link the problems can be seen.

      posted in Questions & Answers
      jstap
      jstap
    • RE: Optimization speed improvements

      The EA doesn't call all lines at the same time it will call the lines depending on where they are in the code, many like the code on init only ruuns on start-up, on tick will run on every tick, unless you have something to stop it. That being said though there is still a lot that will run every tick.

      posted in Questions & Answers
      jstap
      jstap
    • RE: How to EA- turn off Auto Trading disable after profit got hit

      You are better off to just stop, but if you need to control another bots actions you can follow this: https://fxdreema.com/forum/topic/19004/help-custom-mql-code?_=1729240204895

      posted in Questions & Answers
      jstap
      jstap
    • RE: How to use the trailing stoploss function ?

      In the standard blocks, there is a trailing block, which has all these settings inside

      posted in Questions & Answers
      jstap
      jstap
    • RE: Adding drawdown in balance

      Add a shared link to show what you have done. I am not a fan of terminating, so I will use a bool variable to stop until the time to restart.

      posted in Questions & Answers
      jstap
      jstap
    • RE: Buy if value is over the maximum of last 5 candles

      What is it that's not working? alert or delay?

      posted in Tutorials by Users
      jstap
      jstap
    • RE: Hello, so I have a strategy that I enter a buy stop, buy limit, sell stop, and sell limit, I was wondering if the one order cancels other can make it so when the sell stop fills the sell limit cancels, and when the buy stop fills, the buy limit cancels.

      If you look in the blocks you will see, on the on trade tab at the top you have these blocks, limit/stop is changeable along with the type buy/sell, set up as many separate trees as you need.

      posted in Tutorials by Users
      jstap
      jstap
    • RE: Hello, so I have a strategy that I enter a buy stop, buy limit, sell stop, and sell limit, I was wondering if the one order cancels other can make it so when the sell stop fills the sell limit cancels, and when the buy stop fills, the buy limit cancels.

      on trade tab - purple trade created - delete pending order

      posted in Tutorials by Users
      jstap
      jstap
    • RE: Hedging Grid Mix Lots @ Boxxocode

      Pink blocks are like 2 to make 1, for each (dark pink) selects the trade/order to work with, the next (normally light pink) commits (or starts) the action you want to do.

      posted in Questions & Answers
      jstap
      jstap
    • RE: Hedging Grid Mix Lots @ Boxxocode

      It will work on any tab but, it needs an if trade/order block above, on trade is more a way of saying if this happens do this...

      posted in Questions & Answers
      jstap
      jstap
    • RE: Quick help here

      What is creating the arrow?

      posted in Questions & Answers
      jstap
      jstap
    • RE: buttons

      @MMZSAVANT 👍

      posted in Questions & Answers
      jstap
      jstap
    • RE: Hedging Grid Mix Lots @ Boxxocode

      You will need to set up a test project, something like every bar a random trade is placed (buy or sell), then get the 2 lists, you are probably best to use an array for this (I am not good with arrays) if only a small number standard variables would do, then you could check vales using the ticket number, and commit any actions you want.

      posted in Questions & Answers
      jstap
      jstap
    • RE: Hedging Grid Mix Lots @ Boxxocode

      It is quite complex, first you will need a list of least profitable and profitable running trades, then check the open time, then close the relevant least profitable and a profitable trade.

      posted in Questions & Answers
      jstap
      jstap
    • RE: Optimization speed improvements

      @seb-0 you are right FX is not clean or optimised, to me this is the trade-off to manually coding on MT, I think it has a lot to do with being able to add different lines of code quickly.

      posted in Questions & Answers
      jstap
      jstap
    • RE: What is executed first, "On Tick" code or "On Trade" code when trade happens?

      Although that is true the number of the first block in a tree affects which tree works first, meaning if the tree starts with 1 and the following connected blocks are a high number they will activate before the tree that starts with 2 is. I think on every tick these numbers are checked and activated, so as @Bogdaiki has said the tab matters less than the numbers.

      posted in Questions & Answers
      jstap
      jstap
    • 1
    • 2
    • 80
    • 81
    • 82
    • 83
    • 84
    • 469
    • 470
    • 82 / 470