fxDreema

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

    Posts made by 123456

    • RE: Magic Number/Separate the Different EA's

      __The best way is to create some Constants (you can see Constants on the right side) and use them inside blocks. These are basically "extern" MQL4 variables. See here: http://fxdreema.com/documentation/proje ... 0variables

      Magic number is attribute of every trade/order, and the idea is that different EAs can share the same pool with trades and orders without interfere each other.
      Every EA created with fxdreema has at least one input parameter called MagicStart, which is magic basically number. More here: http://fxdreema.com/documentation/proje ... d%20groups

      Very nice view of the question by the way :)[/quote:4bh9eof8]

      Hi,

      Is this understanding correct:

      • Group# , separates the different orders/blocks within the EA. Or even between different EA's if unique/not duplicated values are used in each EA ?

      • Magic Start , separate the different EA's from each other, even if they all use the same Group# numbers. It is unique to the project, provided not deliberately duplicated in other EA ?

      My question is:
      Can I set the project Magic Start number to be a constant, referring to your reply ? This way I can give each EA a unique Magic Start number from Metatrader (asuming the 'Constant's' values can be set/changed from Metatrader) ?

      Few more unrelated questions:

      • On Fx Dreema Desktop version, in which folder is the EA saved ? Can I decide/set the folder where the EA file will be saved ? I cant find the EA and I only get the message "Check if Metatrader 4 directory is correctly set". Where is the EA file ending up ?

      • How do I export my project as MT5 file ? I can only see export as .mq4 and .ex4 on the top left corner ? Or is it enough to selct MQL5 as code language, and where can I change again/back to MQL4/MQL5 file type ?

      • Is it possible/available to use Virtual Stop in MT5 ?

      • For the block "Chart Screenshot", which folder/where will the screenshots be saved ? Is it possible to send the screenshots to my email (for every opened and closed trade) ?

      • How can I make the EA trade only in the period one hour after the market opens and close all open trades one hour before the market closes ? (starts Sunday 6 pm EST (11:00 pm GMT), closes on Friday 6 pm EST (21:00 pm GMT) and only trades during this time ? Like here http://fxdreema.com/forum/viewtopic.php?f=2&t=1873. But how do I setup and input these blocks ??

      • How do I close all open trades at the end of the bar ? So that all open trades are closed when a new bar begins/start/form ?

      • Once an X-Pip profitable sell/buy trade[s] has occurred/accumulated, I would like to disable new/further sell/buy trades until a new bar starts. How do I set this up with?

      • When it comes to protecting the EA code (in case of the theft of my computer, or the EA is stolen from my PC by an hacker, or to protect the EA from my broker if using the brokers VPS service), do you have any measures to protect the EA code/ prevent EA decompiling ?

        Thank you for your wonderful help, and the wonderful EA creator.

      posted in Questions & Answers
      1
      123456
    • RE: Magic Number/Separate the Different EA's

      Hi,

      I want to use the same EA on multiple time frames in multiple currency pairs, at the same time.
      As an example, at any time the EA will be running on all/at once/at the same time in 12 charts:

      AUDUSD,M1 , AUDUSD,M30 , AUDUSD,H4 and AUDUSD,D1
      GBPUSD,M1 , GBPUSD,M30 , GBPUSD,H4 and GBPUSD,D1
      EURUSD,M1 , EURUSD,M30 , EURUSD,H4 and EURUSD,D1

      Totaling 12 copy of the same EA running at the same time in M1, M30, H4, and D1 for currency pairs AUDUSD, GBPUSD and EURUSD.

      __Make the used blocks input values available in MetaTrader (change the input values from MetaTrader) __

      1. The EA code/block are the same/identical for all of the EA’s. The only unique/different value for each time frame/currency pair will be the Stop Loss level (Virtual Stop Loss), Take Profit leve and the price level (I will use the ”Signals (flip-flop)” block) EA will use to open/close trades in different time frames/currency pair.

      These unique input values for each unique timeframe/currency pair are in blocks “Modify each trade” to modify the Take Profit, Stop Loss levels, "Spread Filter" block and the adjust value in the “Signals (flip-flop)” block.
      How / where can I make it so I can manually enter these variables for each EA before placing the EA in the chart ? So I don’t have to make 12 copies of the same EA all hard wired with separate values for these two blocks only.

      **Magic Number / Separate the Different EA's **

      1. Make so that each EA operates only within its own chart. The EA only closes/monitors trades in its own chart (time frame /currency pair) and does not interfere with other EA’s trades ? I think it is called Magic Number.
      posted in Questions & Answers
      1
      123456
    • 1 / 1