fxDreema

    • Register
    • Login
    • Search
    • Back to the main page
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    1. Home
    2. fxDreema
    3. Posts
    • Profile
    • Following 0
    • Followers 691
    • Topics 32
    • Posts 7485
    • Best 277
    • Controversial 18
    • Groups 1

    Posts made by fxDreema

    • RE: Hide indicators in the visual test

      You tried it?

      Indicators does not exists in EAs or Scripts, they are something separate

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: reset martingale betting system

      Just create some trade from another "Buy now" or "Sell now" with the initial lot when you want to reset Martingale

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: Simple cross below is not working

      Here is more about this crossover - https://fxdreema.com/demo/mt4-crossover-indicators
      But you have two values and they don't have previous state

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: Pending order question

      Stop or Limit - this depends on where the open price it. This is how I did it initially and this is how I still understand it better. I never understood those limit and stop things 🙂

      By default you get Buy order that is 20 pips above the price ot Sell order that is 20 pips below. This is because "Price offset" is 20 by default. But this value can be also negative. Try -20 and the order will go on the opposite side of the price.

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: Trade depending the last candle

      For some reason I don't understand what is the issue here 🙂 1 short, 2 shor, here and there... I'm confused

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: Hide indicators in the visual test

      If I try this, no MA lines appear on the chart. Only after the backtest. But while testing there are no indicators on the chart at all - https://fxdreema.com/shared/O73N0QUud

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: reset martingale betting system

      You have two options for Reset. "Reset after how many losses?" and "Reset after how many profits" These are normally fixed numbers, they don't change. But if their value comes from a Variable, you can control them from outside the block by controlling the variable.

      Or just create trade with your initial profit at any given time from another Buy now/Sell now (where Maraingale is not present).

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: Turing Off EA after set $/Pips made

      It's so easy to get the current Account Balance, Account Equity, Account Profit or the total profit realized by group of closed trades. Or the total unrealized profit (by currently working trades). It's just a bit harder to get the profit of closed + working trades, bit it's not impossible. I just don't understand which of these variants do you want to use.

      Turning blocks on or off is pretty obvious. It's just action that can be done. What I don't understant is the profit calculation.... or whatever it is. Because I posted some example above of how to get shanpshot of Equity and then use it later.

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: USING OR AND EFFICIENCY

      I told you few times. "OR" is like Once per tick. You can run it 100000 times in that tick and it will pass 1 time. On the next tick - the same happens. "OR" block is not aware of other blocks. "OR" does not care what is above or below it. "OR" does not have control over other blocks.

      With "OR"
      https://fxdreema.com/shared/bXPswk7xe
      http://prntscr.com/aafjco

      No "OR"
      https://fxdreema.com/shared/JNLyZbopc
      http://prntscr.com/aafjqf

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: NOTHING working on .EX5

      http://prntscr.com/aaffs7
      Try to set this string value as 00:00

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: NOTHING working on .EX5

      http://prntscr.com/aafc35
      This thing appears to be 0. I can admit that I have no idea what this value is. It comes from here - https://www.mql5.com/en/docs/constants/ ... oconstants - search for SYMBOL_LAST. It is described as "Price of the last deal" and back in the day I added it in "Condition" just because it exists in the documentation, but what it does... I don't really know.

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: Condition: Market Properties: Backtest vs Live

      Then I don't understand what you want. The opposite of trailing stop for me is... trailing profit - the idea to trail Take-Profit, because normally we work with Stop-Loss. I don't have an idea what Trailing Start block should be

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: How to calculate the sum of all open lots?

      This shows the sum of lots for buys, sells and both https://fxdreema.com/shared/xN2HKsDyd

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: Only one trade at a time

      There are blocks "Buy pending order" and "Sell pending order". Also there is "No pending order" block, as well as "Check pending orders count"

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: Help, the condition 6 does not works

      Becaused of this - https://fxdreema.com/demo/mt4-wrong-closing-rule
      "OR" is not needed.

      posted in Bug Reports
      fxDreema
      fxDreema
    • RE: Only one trade at a time

      The very first example here - https://fxdreema.com/examples/ Use "No Trade"

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: How to calculate the sum of all open lots?

      Oh no, Terminal Variables used again... now I will definately rename those.
      Do it like this here - http://prntscr.com/a95vic

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: MT5 and BuyNow / ClosePositions

      I don't even know what FORTS is 🙂

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: USING OR AND EFFICIENCY

      Well, blocks 701, 1183 and 1288 will all run once 9927 passes. That "OR" below cannot stop this. Obviously in this situation the behaviour of the yellow output in case of crossover does not help. But this rule for the yellow output for crossover is as old as fxDreema, this was one of the first features. If I have to decide now, I will probably choose to not do it like this.

      Fun fact - in the beginning Condition and Formula blocks were 1 single block 🙂

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: My first fxdreema EA

      This video is not for people with photosensitive epilepsy 😄

      CHART_WIDTH_IN_BARS and CHART_WIDTH_IN_PIXELS are read only. CHART_HEIGHT_IN_PIXELS is not, but It appears to be woking only on indicator subwindows.
      Open new chart, add some oscillator and play with this EA:

      int subWindow = 1; // 0 is the main window, 1 is the first subwindow and so on...
      int setpx = 20; // initial height
      
      void OnInit() {
         ChartSetInteger(0, CHART_HEIGHT_IN_PIXELS, subWindow, setpx);
         EventSetMillisecondTimer(5);
      }
      
      void OnTimer() {
      
         if (setpx > 300) {EventKillTimer(); return;}
         
         ChartSetInteger(0, CHART_HEIGHT_IN_PIXELS, subWindow, setpx);
         
         Comment(
            "Main Chart Height: " + ChartGetInteger(0, CHART_HEIGHT_IN_PIXELS, 0) + " px\n" +
            "Subwindow Height: " + ChartGetInteger(0, CHART_HEIGHT_IN_PIXELS, subWindow) + " px"
         );
         
         setpx++;
      }
      

      If you set subWindow to 0, nothing happens.

      posted in Questions & Answers
      fxDreema
      fxDreema
    • 1
    • 2
    • 168
    • 169
    • 170
    • 171
    • 172
    • 374
    • 375
    • 170 / 375