fxDreema

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

    Posts made by sktsec

    • RE: Empty Group #

      @Boillot84
      I check the code for MT5.
      if (group == "")
      {
      if (magic_number == MagicStart)
      {
      group_pass = true;
      }
      }
      But
      bool TradeSelectByIndex(
      int index,
      string group_mode = "all",
      string group = "0",
      string market_mode = "all",
      string market = "",
      string BuysOrSells = "both"
      )

      An attempted to fix the bug would be
      replace all -> group = "0"
      with -> group = ""

      posted in Questions & Answers
      S
      sktsec
    • RE: Empty Group #

      I have do a simple demo test in MT4. Pretty sure the Loop Block would not read those open trades with another magic numbers.

      I run 2 EAs which each open a trade and then loop to see it. Then I closed one of them. Confirmed the one without trade cannot see the other's trade.

      May be some bug in your case, provide you sure the trade is made by another EA. Any chance you misread the trade that is actually made by the same EA ?

      posted in Questions & Answers
      S
      sktsec
    • RE: Empty Group #

      2 magic numbers. The EAs will not interact, except when you deal with the option for all order

      posted in Questions & Answers
      S
      sktsec
    • RE: How can a file be created on back testing?

      Are you reading this file:
      C:\Users\Cleric\AppData\Roaming\MetaQuotes\Tester\24F345EB9F291441AFE537834F9D8A19\Agent-127.0.0.1-3000\logs\20260224.log

      Copy following path in the File Manager to see if there is any log file in the directory
      C:\Users\Cleric\AppData\Roaming\MetaQuotes\Tester\24F345EB9F291441AFE537834F9D8A19\Agent-127.0.0.1-3000\logs\

      posted in Questions & Answers
      S
      sktsec
    • RE: Indicator Library

      @dreematrade

      1. EarnForex has website and github. It is systematic and have a lot of standard indicators with source code included.
      2. Forex Station. Individuals will share their indicators and source codes not included. But you might be confused to know which are mostly useful. Its indicators are keep updating and running through the forum to see what happens is time consuming.
      3. fxcodebase.com : tons of indicators. You can even request one you want
      4. FXSSI: It is commercial but has a lot of free indicators of high quality. You might find some quite useful.

      The best of all, however, is to write your own with AI

      posted in Questions & Answers
      S
      sktsec
    • RE: How can a file be created on back testing?

      Just did some demo. File IO is strictly restricted in MT5. But Print() does work.

      So tried Print() to export the data you want.

      The result will be in the log file. Read the line in the Journal tab of the tester, that is like

      2026.02.22 22:25:41.280 Core 01 log file "C:\Users\James\AppData\Roaming\MetaQuotes\Tester\D0E8209F77C8CF37AD8BF550E51FF075\Agent-127.0.0.1-3000\logs\20260222.log" written

      Open the log file and see if you can get what you want. Noted it contains some extra data that you might not want.

      posted in Questions & Answers
      S
      sktsec
    • RE: How can a file be created on back testing?

      The File folder often exists in data folder as \MQL4\Files, like indicator file in data folder as \MQL4\Indicators.

      MT4/MT5 handle file read/write like a sandbox and only those folders/files in \MQL4\Files can be assessed.

      posted in Questions & Answers
      S
      sktsec
    • RE: (buy/sell expiration mode) Not Working...

      I think you confused your conditions. Like higher than upper band and lower than lower band at the same time

      posted in Bug Reports
      S
      sktsec
    • RE: Hello, I cannot access the builder. It shows: TypeError: Cannot use 'in' operator to search for 'active' in _391

      Are other PCs on the same network having the same problem ? Or anti-virus software blocked your access ?

      Try an VPN connection to see if problem could be solved. If not, reinstalling Windows is an option.

      posted in Bug Reports
      S
      sktsec
    • RE: How to get line/MA slope

      @doeveR
      Maybe normalization by ATR can help. Say, divide the increment or slope, by ATR. Or you can even try the square root of ATR. That make sense as ATR is approximately proportional to time square. And the slope is given by increment over time.

      Just make some test to see what you want

      posted in Tutorials by Users
      S
      sktsec
    • RE: How to make the moving average turn red when it angles upwards and turn green when it angles downwards in fxdreema

      @l-andorrà
      In Chinese, he just want to say: Thank you, AI has helped me code.

      posted in Questions & Answers
      S
      sktsec
    • RE: EA control from CSV

      @nikolay_s
      The code seems straightforward and should work. I have tried it with codes similar to you. Try this one: https://fxdreema.com/shared/K9SXQIxK

      If in your case still not working, it might be the csv file problem. The csv file in above demo is created with path fxDreema\positionAllowed.csv in the File folder. I have tested with or without delimiter, space, line feed, ... and they are all working. By the way, how do you edit and save the file ? Have you debug and check file_handle has been valid ?

      My code is simple:

      string InpFileName="positionAllowed.csv" ;
      string InpDirectoryName="fxDreema" ;
      //--- reset the error value
      ResetLastError();
      //--- open the file for reading (if the file does not exist, the error will occur)
      int file_handle=FileOpen(InpDirectoryName+"//"+InpFileName,FILE_READ|FILE_CSV|FILE_ANSI);
      if(file_handle!=INVALID_HANDLE)
      {
      v::positionRead = (int)FileReadNumber(file_handle);
      //--- close the file
      FileClose(file_handle);
      }
      capture_001_31012026_002040.png

      posted in Questions & Answers
      S
      sktsec
    • RE: only 1 trade

      Add once per bar under condition

      posted in Questions & Answers
      S
      sktsec
    • RE: Working with MT5 Donchian Channel

      @uchiha
      The indicator is not found probably because it has been put in a folder ("Free Indicators") under the indicator folder. Try copying the indicator to the indicator folder (i.e. 1 level of above the original folder)

      posted in Questions & Answers
      S
      sktsec
    • RE: Problem with changing internal values ​​on blocks

      @FED
      Don't think that is the case.

      But the response time actually varies when you double click to open a block. The response might be so slow that you "felt" that was not working. The problem may be from your ISP / location. In my case, all my connection to fxdreema requiring VPN / Proxy connection. But it is good for other ISPs, so it seems not geo-location problem. Maybe some protocol blocked by my ISP, I really don't know the exact reason.

      posted in Questions & Answers
      S
      sktsec
    • RE: Check profit

      @Michaelgstrainjr
      You profit is selected in terms of pips, not money.

      Is that what you need ?

      posted in Questions & Answers
      S
      sktsec
    • RE: How do I make my EA into a demo?

      You don't need it in most cases. Any EA you created do work on both Demo / Real account

      posted in Questions & Answers
      S
      sktsec
    • RE: High and low

      @MT4stefano
      It is the price of the candle on your chart. Seems bid price.

      posted in Questions & Answers
      S
      sktsec
    • RE: Experts & Indicators can't be attached to chart ? error [538] !!

      This error code means licensing problem. That happens when upgrading Windows and your EA / indicator is from Market. Just remove all and re install them from Market.

      posted in Questions & Answers
      S
      sktsec
    • 1
    • 2
    • 3
    • 4
    • 5
    • 40
    • 41
    • 2 / 41