fxDreema

    • Register
    • Login
    • Search
    • Back to the main page
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    1. Home
    2. Ipod
    3. Posts
    I
    • Profile
    • Following 2
    • Followers 2
    • Topics 18
    • Posts 121
    • Best 7
    • Controversial 0
    • Groups 0

    Posts made by Ipod

    • risk based volume (OrderCalcProfit) ?

      Has anyone figured out how to calculate risk using custom code or an alternative method to the blocks available?

      Reason being, lot calcs do not work properly when trading gold or indexs due to using MODE_TICKVALUE is unreliable.

      I see on forums to use OrderCalcProfit but I cannot figure out how to implement this into my ea.

      https://www.mql5.com/en/docs/trading/ordercalcprofit

      https://www.mql5.com/en/forum/457714#comment_50678611

      posted in Questions & Answers
      I
      Ipod
    • RE: trendline slope

      Inidicator rising or falling block

      image.png

      posted in Questions & Answers
      I
      Ipod
    • RE: Close all trades with sl or tp of the first trade as reference trade

      @Elham no problem, glad you have solved the problem đŸ™‚

      posted in Questions & Answers
      I
      Ipod
    • RE: check profit

      @ehsan355 Mark this forum as solved please.

      posted in Questions & Answers
      I
      Ipod
    • RE: Close all trades with sl or tp of the first trade as reference trade

      If you change this to 1, when the first trade is opened it records the price level as a variable as you have done. Each trade opened by your grid afterwards should be the same SL price.

      image.png

      but you would need to remove these or adjust these somehow as they would change the SL price level every time a trade opens.

      image.png

      posted in Questions & Answers
      I
      Ipod
    • RE: I am looking for a skilled and experienced Expert Advisor [ EA ] developer who can create a custom EA based on my strategies and requirements.

      I would suggest going to mql5 and requesting a coder there, your project looks pretty advanced for fxDreema.

      https://www.mql5.com/en/job

      posted in General Discussions
      I
      Ipod
    • RE: I want 2 indicators to confirm first before ordering

      Try something like this, hope it helps. I have not tested it but this is roughly how I would build a grid system.

      unnamed.mq4

      image.png

      posted in Questions & Answers
      I
      Ipod
    • RE: Condition check before allowing entry

      Turns out it was way simpler than I realised. Simply putting then like this works, they add up and I should be able to use this to prevent people using my EA with all the indicators turned off and risking their account.

      image.png

      posted in Questions & Answers
      I
      Ipod
    • RE: Add constants in one block

      @l-andorrĂ  my first post was confusing hence the simpler one here, I do believe it's possible just I have not figured it out yet.

      Thanks anyway.

      posted in Questions & Answers
      I
      Ipod
    • Add constants in one block

      Hi

      Is there anyway to add all constants in one block for a condition check?

      Lets say for ease

      • Block one (add up conditions) (CON1 + CON2 + CON3)

      • Block two (check the total value) CON_Check = !0 (pass or halt depending on my requirement)

      posted in Questions & Answers
      I
      Ipod
    • RE: Condition check before allowing entry

      @l-andorrĂ  how do I add constants in one block though? That is what I am asking đŸ™‚

      My actual project is built very differently than the example.

      2c1b07a0-e580-4013-a89d-80745f0989f1-image.png

      posted in Questions & Answers
      I
      Ipod
    • RE: need help resolving error issue

      You can check the error more deeply by exporting the mql5 code, opening the language editor and go to that specific line of code. It will at least give you a block number a few lines of code up which correlates to you blocks on fxdreema then.

      update: once in language editor, compile the code and it will give a list of errors for you to follow.

      posted in Questions & Answers
      I
      Ipod
    • RE: Condition check before allowing entry

      I apprecaite the concern but I think you mis-understand the questionor I did not explain well. I already have the indicators setup, I simply want to check at the end of the BUY tree if the total of the conditions = !0 otherwise stop at that block.

      The boxes I have left in my shared project are simply the enum condition checks and I deleted everything else out of my project. e.g. if I use BB it will be a value from 1-9 depending on my custom enum but if it reads 0 then that means it is OFF and it skips the indicator and moves onto the next one.

      What I want is to add up the constants from the custom enums in one block and check on a condition block if the value !=0, if they = 0 i will prevent trading.

      So for instance. Custom code block or variable block (add all the constants from my shared project)

      (BBCondition)+(BBAngle)+(HLCondition)+(HLAngle)+(ENVCondition)
      Check != 0
      Pass

      Thanks
      @jstap @l-andorrĂ 

      posted in Questions & Answers
      I
      Ipod
    • RE: Re-Initialize after settings change

      Old thread, but it still is an annoying feature especially with equity protection and modifying daily drawdown settings etc when you don't want to re-apply the ea but change something. I had to make lengthy condition checks and variable inputs to check if any specific settings have changed.. doh

      image.png

      posted in Questions & Answers
      I
      Ipod
    • Condition check before allowing entry

      Yo

      Basically, i want a check before allowing a buy trade. I use a ton of indicators, but all use custom enum, but if all the enums = 0 then check the value before trading. If they all add to 0 - prevent trading.

      So like below

      Add multiple conditions
      Check output value variable
      If variable = different from 0, then allow trading

      Thanks in advance

      https://fxdreema.com/shared/LNbcG2soe

      posted in Questions & Answers
      I
      Ipod
    • RE: I want 2 indicators to confirm first before ordering

      Your settings seem wrong, you are using within limits indicator and it only contains an upper value of 80, so anything below 80 will pass as true. If you had the lower value say 20 the RSI would need to be between value 20-80 and it would open a trade.
      What were you trying to achieve?

      image.png

      posted in Questions & Answers
      I
      Ipod
    • RE: bot test does not work on mt5 demo

      Click on "copy the link" and the past it in here.

      posted in Questions & Answers
      I
      Ipod
    • RE: doubts about the martingale

      If you want martingale, try following Boxxocode's videos for an idea of what you might have missed.

      https://www.youtube.com/watch?v=anAMQoiFfj0

      posted in Questions & Answers
      I
      Ipod
    • RE: bot test does not work on mt5 demo

      Share your project or give us more information to work with, no one here can read minds.

      posted in Questions & Answers
      I
      Ipod
    • RE: How to select block via bool

      Without seeing your project this is my best guess at what you're trying to achieve.

      https://fxdreema.com/shared/NTO8Wh4U

      image.png

      posted in Questions & Answers
      I
      Ipod
    • 1
    • 2
    • 3
    • 4
    • 5
    • 6
    • 7
    • 3 / 7