fxDreema

    • Register
    • Login
    • Search
    • Back to the main page
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    1. Home
    2. General Melchett
    3. Posts
    • Profile
    • Following 0
    • Followers 1
    • Topics 30
    • Posts 79
    • Best 6
    • Controversial 0
    • Groups 0

    Posts made by General Melchett

    • RE: Missing Images in https://fxdreema.com/tutorial/builder/indicators#11

      And these (all of the images on this page)
      https://fxdreema.com/tutorial/builder/chart-objects

      0_1632853764307_cc742544-cb42-40c2-9407-81f563863baf-image.png

      posted in Bug Reports
      General Melchett
      General Melchett
    • RE: Missing images in https://fxdreema.com/tutorial/builder/indicators#11

      Reported in Bugs

      posted in Questions & Answers
      General Melchett
      General Melchett
    • Missing Images in https://fxdreema.com/tutorial/builder/indicators#11

      https://fxdreema.com/tutorial/builder/indicators#11

      0_1632827020877_a2caa3a3-c96c-4cdc-85bd-dbbc81b5fcde-image.png

      Using Windows 10, Chrome (latest), also tested in incognito mode

      posted in Bug Reports
      General Melchett
      General Melchett
    • Missing images in https://fxdreema.com/tutorial/builder/indicators#11

      0_1632812147989_8c281b4a-f8e0-41fc-8755-130bb32ec29e-image.png

      https://fxdreema.com/tutorial/builder/indicators#11

      Missing images here, could they be fixed please?

      posted in Questions & Answers
      General Melchett
      General Melchett
    • User Interface suggestion: Reordering data rows

      I'd like to make a suggestion for possibly improving user interface:

      In the comments (ugly) block, and maybe others, would it be possible to drag and drop data rows into different orders? As otherwise you have to copy/paste to other areas if you want to just reorder some data. Or you could just have simple numbering box and you can put a new number in the box to reorder within your data rows.

      posted in Questions & Answers
      General Melchett
      General Melchett
    • RE: Compilation errors 'return' - function must return a value

      This happened to me just now.

      Error message looks like this and is very difficult to debug:
      0_1632734667206_compil erors.png

      It happened as in a comments (ugly) box a data row had a value of text (code). Even though the label was blank and there was no code in the box the error came up. So I changed it back to the default of 'Numeric' and it compiled successfully.

      posted in Questions & Answers
      General Melchett
      General Melchett
    • RE: Filtering time to the second

      Solved thanks to this thread: http://fxdreema.com/forum/topic/8861/time-filter-block-editting/3

      posted in Questions & Answers
      General Melchett
      General Melchett
    • Filtering time to the second

      I am attempting to place a pending order 2 seconds before a specific time.

      I created a condition that if Server Time == The time I set (11:30) minus 2 seconds ('Seconds_Before') then it will write a message to log (just so I know it works).

      Can anyone tell me what i am doing wrong?

      0_1632644828734_seconds timer.png

      posted in Questions & Answers
      General Melchett
      General Melchett
    • RE: Not all cores used / tasks unevenly distributed

      No idea how to troubleshoot your problem but instead of reinstalling windows why not try virtual box instead and run mt5 on a Windows VM? Might save you a bit of grief

      posted in Questions & Answers
      General Melchett
      General Melchett
    • RE: Close all trades when oldest trade is x minutes old

      @learningfx said in Close all trades when oldest trade is x minutes old:

      It seems to ignore all the trades on the 'oldest' day UNLESS I specify the symbol. But if I use 'any symbol' it ignores the older trades still?

      Appears that I have still much to learn! I assumed 'any symbol' would loop through all open trade symbols, but the symbols MUST be specified. So I have a constant that holds all regular Forex symbols and I specify this constant in the loop. Mystery solved.

      posted in Questions & Answers
      General Melchett
      General Melchett
    • RE: Close all trades when oldest trade is x minutes old

      OK I worked around it in the end by ensuring symbol was specified. Then the loop would identify the oldest trade and close it (close trade, filter by age), with another close trade box to close the rest in the basket.

      posted in Questions & Answers
      General Melchett
      General Melchett
    • RE: Close all trades when oldest trade is x minutes old

      This is bizarre, everything else works:

      • newest to oldest (correct)
      • profitable first (correct)
      • profitable last (correct)
      • oldest to newest (incorrect)

      It seems to ignore all the trades on the 'oldest' day UNLESS I specify the symbol. But if I use 'any symbol' it ignores the older trades still?

      posted in Questions & Answers
      General Melchett
      General Melchett
    • RE: Close all trades when oldest trade is x minutes old

      Current progress:

      https://fxdreema.com/shared/zh9bvm8Td

      For some reason when I create a loop to find the oldest trade and restrict it to 1 iteration (so the output should be the very oldest), it brings up a trade from 2 days ago, rather than the oldest trade (that is 3 days old). It works if I specify the pair that has the oldest trade in it, but I just need the oldest trade from all the open trades. Anyone have any ideas? This is what it looks like so far
      0_1632376658535_loop.png

      posted in Questions & Answers
      General Melchett
      General Melchett
    • Close all trades when oldest trade is x minutes old

      Hi everyone

      Total newbie here, would appreciate any implementation tips!

      I have an EA that opens trades and I am trying to create a separate fxdreema EA to close these baskets of trades when the oldest trade in the basket is x minutes old.

      So for example there are 2 trades open, one is 59 mins old, the other is 1 minute old. As soon as the first trade reaches 60 mins the EA closes both trades.

      I think I need the for loop to check the oldest trade, but then do I just need a close all block?

      I am having difficulty defining a condition that compares the age of the oldest trade to whether it is older than x number of minutes.

      And do I need a block for no trades?

      posted in Questions & Answers
      General Melchett
      General Melchett
    • RE: Compilation Errors HELP!

      If anyone else has this problem: I found where the error was by exporting the mq4 file and searching through the code for the erroneous character. It was in an int constant, couldn't be seen in the web UI, but erased value, retyped it and was all ok after that.

      posted in Questions & Answers
      General Melchett
      General Melchett
    • RE: How can I check if TP has changed?

      I'm not sure how to do that, I've only just started with this. I have no idea what a run block is!

      As far as I know, I need to:

      • Get all the current TPs for each trade (do I do that on Init? or on tick?)
      • For each TP, add it to a variable(?)
      • On tick, check the variable is the same (or different) to the original value
      • If it is the same, do nothing
      • If it is different, then send the alert

      Am I on the right track here?

      posted in Questions & Answers
      General Melchett
      General Melchett
    • How can I check if TP has changed?

      Hello everyone

      I'd like to check whether TP has changed on any of my trades. When TP is seen to have changed, then I want to send an alert. How can I do this?

      I think first on Tick I have Pass, then modify variables to log current TP

      Then on next Pass I have to check TP but I am not sure how to pass first TP to check take profit block. Can anyone give me some guidance?
      0_1601403967804_screenshot-fxdreema.com-2020.09.29-21_25_41.png

      posted in Questions & Answers
      General Melchett
      General Melchett
    • RE: Quick guidance on how to start a project

      @l-andorrĂ 

      I don't really have anything clear I want to start with, aside from a vision of how I want the panel to look like when it sits on the chart!

      posted in Questions & Answers
      General Melchett
      General Melchett
    • Quick guidance on how to start a project

      Hi, I'm new and wondered if someone could give me guidance on where I can start? I am not expecting to be spoonfed but some help would be great!

      I would like to build a utility to help a trader make quick, buy/sell limit trades on a chart.

      The trader would input a price for the current pair. From that price, a buy or sell limit price would be calculated x pips from the price entered. The trader would then click a button to set the pending order with the calculated values from where he entered his initial price. Does this make sense?

      So a use case would be:

      • The panel has editable lots and TP values
      • The trader selects whether the trade will be a buy or sell limit order
      • Trader enters a price into utility/panel
      • The utility calculates a new open price x pips from his entered price
      • The utility calculates how far away TP should be set from the open price
      • The trader clicks an execute order button and the utility sets a buy or sell limit order at the calculated price with the pre-set lot size and pre-set TP value

      Basically I would like to enter a price into a box, have all values already calculated for me and then to press the execute order button all within about 10 seconds. Buy/Sell limit, TP and lot size could be preset hours before. The quick bit needs to be the price entry and order execution.

      Anyone know whether such a utility already exists or where I can start?

      posted in Questions & Answers
      General Melchett
      General Melchett
    • 1
    • 2
    • 3
    • 4
    • 4 / 4