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: Break even for a group of trades

      I'm talking about these blocks here - http://prntscr.com/b5292v These are designed to be used under "on Trade". If they actually work under "on Tick", this is only by chance, I never even tested them under "on Tick".

      What you are saying sounds right, at least for "Trailing stop (each trade)". For "Trailing stop (group of trades)"... I'm gonna check if this one works correctly, because I think that "Reset the stop on new trade" is not working.

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: Separate conditions on same EA

      First of all, AND it not needed, it's almost never needed. Remove those blocks and everything will be the same.
      I will suggest to use "No position" and it's orange output. It fits better because of it's name.
      Make sure you understand how these "Price x>..." and "Price x<..." blocks work. They would detect the moment when the price crosses some line, which means that their orange output is active only at few rare moments. It's different than the crossover in "Condition" where the output can be active until the end of the current candle.

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: Buying/Selling X Pips above Moving Average

      In MQL4 there is a function to get the value of Moving Average, here it is - https://docs.mql4.com/indicators/ima But in this function you can't set any Levels and I don't know other function that can.
      There is a function that is called SetLevelValue(), but it is used in custom indicators, not experts - https://docs.mql4.com/customind/setlevelvalue

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: EA THAT CLOSES ALL TRADES WHEN PROFIT IS X DOLLAR

      It also works if you go to the settings of the EA and set Magic Number to 0. This is the same value as the MagicStart input parameter of each EA... which I probably need to rename to MagicNumber 🙂

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: Trade based on the current price compared to the last entry price?

      The max number is controlled by... let's say "Check trades count".

      I don't know if this is even close to what you are asking for, but here it is - https://fxdreema.com/shared/ZDjQr6Tre
      New trade is created once a day - at 0:00. If there is no trade - a new Buy is created. If there is at least one trade and the current price is > from the open price of the newest trade - Buy is created. If the price is <, then Sell is created.

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: MA of indicator

      If you are asking for how to put MA over RSI, this is not possible in fxDreema and I don't know how it's possible in MQL4/MQL5 as well. Otherwise MA and RSI have very different values and not only this, but RSI is limited between 0 and 100. They are from different planets 🙂

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: how to Set stop loss within last 3 candles lowest price

      Try something like this - http://prntscr.com/b4hcn4

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: HELPS CREATE A CONDITION FOR MY STRATEGY .

      EAs are programs that deal with numbers, they don't understand what "pocket" means 😮 People make indicators to detect patterns, but you know... each indicator has it's own way of doing things, his own settings. It's not that simple to say to the EA - detect that "pocket" for me.

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: balance / equity and free margin zero until finish trade

      Look at the name of this block - Modify Variables. Modify... Variables. Variables, not Constants. Even it's color is blue-ish, like the color of Variables. Use Variables in it, not Constants.

      Variables are global variables. Constants are the same, but they are those "input" global variables... but not exactly variables, because MQL5 is giving error messages when you try to modify them.

      Again, Variables are variable, they can be modified. Constants are constant, the idea is to never modify them!

      Also, connect this block with other block (for example "Pass"). If a block is not connected, it is not used at all.

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: EA THAT CLOSES ALL TRADES WHEN PROFIT IS X DOLLAR

      I saw this in one of your projects - http://prntscr.com/b4h6ce Do not use == for prices, money and values like this, never! Use anything else, but not ==.

      Equity - Balance is the global profit of your account. To calculate profit from a group of trades only, try "Check profit (unrealized)"

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: Break even for a group of trades

      I think I explained everything, I don't know what else to say. Make one simple EA and try each block alone.

      I can see you use purple blocks for the Trade event. These should be used under "on Trade". I don't know what would be their behaviour under "on Tick"

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: Problem with Windows Edition

      Maybe you changed the clock or something. Log in again, it should be automatically fixed

      posted in Bug Reports
      fxDreema
      fxDreema
    • RE: Break even for a group of trades

      Again, your Step values are HUGE. I would not expect a Trailing block to behave as such when the Step option is bigger than the Stop option. What else can I say... I even posted an example. Well, not the same kind of values, but it works for EURUSD.
      Just do things one by one. Connect a block - test. Connect another block - test. Don't put 10s of blocks expecting that everything will magically work, it's so much harder to see what is really going on this way.

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: Buying/Selling X Pips above Moving Average

      I have never seen these levels in MQL4, or I am missing something. But let's say you are using Condition and you have Moving Average selected. There is Adjust field where you can write something like +0.0020 or +20pips

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: Two different Sets (Buy/Sell) rules within the same EA

      Yes, Group numbers

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: Trading pairs by session

      Probably. There is no single block or setting where to set everything

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: Modifying Open Price for pending orders

      https://fxdreema.com/shared/WCEdTO4Ob

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: Break even for a group of trades

      If you have 2 or more trades, then TS keeps their SL the same. 30 pips below Ask for each trade. Lot sizes does not matter.

      If you want to move SL depending on the group profit of all trades, which depends on their lot sizes - then there is another type of TS block - Trailing money loss. I tend to always forget how this one works 🙂

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: Break even for a group of trades

      Time filter is working, I just tested it - the yellow output passes between 22:00 and 01:00. The other 3 blocks looks fine. I did my test and my trade is closing as expected.

      Here is my example of working with BE and TS at the same time. It's important for TS to not interfere with BE, that's why I'm using Start that is bigger than the point at which BE moves SL. You want TS to be working after BE does it's job, right?

      https://fxdreema.com/shared/F5FBQ3avc
      http://i.imgur.com/fxs9bI6.png

      You can see I start without SL. Then at certain point (30 pips in profit) BE moves SL to 1.08716, which is exactly the Open Price. In Visual mode I am able to see that modification.
      The next modification is by TS. When 50 pips of profit are reached, SL is set 30 pips below Ask at that time, which is 20 pips above the Open Price. 1.08916 is exactly 20 pips above the Open Price. I mean, for EURUSD. Sorry, I am not very used to CFD and all that kind of stuff.
      After that SL is moving in about 1 pips steps, because my Step is 1 pips.

      But because you are working with instrument that has... I don't know how many digits, make sure that everything is right with the pips amount. Open some trade with SL of 100 pips (for example) and measure if the real SL is something that you can describe as 100 pips. Otherwise you can tune this thing in the options - the bench icon on the upper right corner. This is another topic, but I'm just saying.

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: Break even for a group of trades

      Another issue. You have "No trade/order" before buying and selling. Max 1 Buy and 1 Sell, or 2 trades. There are no groups in this case. I think you are showing me the wrong project 😕

      posted in Questions & Answers
      fxDreema
      fxDreema
    • 1
    • 2
    • 147
    • 148
    • 149
    • 150
    • 151
    • 374
    • 375
    • 149 / 375