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: Draw line for average bid and ask

      I think I can try that for Trace. It always prints the lines in the main windows, but sometimes I'm printing values from some indicator and they can't be seen in the main window. Which is not that big problem when I just want to see whether the values are different than 0 or EMPTY_VALUE and then I remove the block 🙂

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: Block an EA remotely

      What error?

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: No trades nearby

      I added 2 new Time parameters, but I'm not sure that I am happy with the result. I decided to use Value -> Time (from "Condition") for the two times, because these options are more versatile. Both times are set to the current time. Of course, Time1 should be the oldest time (so if the trade is older than this time, it is excluded), but I don't want to add more parameters like for example "Do you want to use Time1?", so if Time1 equals to the current time, it is not used. Time2 is the time after which the trades are excluded, so when it equals to the current time, it is like it is not used as well... the trades cannot be newer than the current time.

      What I don't like is my confusion when using these times. I hope it is logical that with Time1 and Time2 we are making a range of time in which we have our trades. But the block itself is negative, its name starts with "No...". So, first with the time range we are selecting the trades that we want, and then the block itself excludes those trades in that negative "No trades..." sense. So now I am thinking if there is a need for "Trades nearby" block, where everything would be on the same side.

      Anyway. Try this thing and tell me if something can be optimized.

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: how to set Timeframe value at Condition block?

      It works for me with ENUM_TIMEFRAMES constants 😕

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: Draw line for average bid and ask

      In the offline version the block is named "Indicator tester" or something like that. The idea of this block is to print values on the chart, so you can see them... mostly to test the output values of custom indicators. It does that by printing multiple trendlines, one for each candle. It is not intended to be used as a custom indicator itself 🙂

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: How to get normal value?

      MetaTrader decides how to format the number automatically in this case. There is a function DoubleToString() to format the number, but the second parameter of this function is the number of digits after the decimal point. If I put 8 digits it prints the value normally, but if the value is for example 10, it prints 10.00000000. So I don't know how to make it work properly for big and small numbers. One way is to add new parameters in the "Comment" block for formatting, but I don't think that I like the idea... I don't know.

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: How to Create New Take Profit in same level

      The same profit level... but what is that level?

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: How to find lowest and highest value from indicator x-candles?

      Only for custom indicators, in "More settings" there are extra settings and I think this is available there.

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: No trades nearby

      I don't know how to do it right now. I guess I have to add some time filter settings 🙂

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: Volume Upper Limit - Sell block

      But your lot size is 0.1, which is less than 0.3, you should see a trade with 0.1 lots. The upper limit is the maximum lot size that the block could take, in case the requested lot size is bigger. Yours is not bigger, it is 0.1, but sometimes people use let's say Martingale, where the lot size is changing (and growing) - in this case an upper limit is probably a good idea.

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: I would want to add in ZigZag as my SL but how? I am new in EA building

      You know, I added ZigZag looooong time ago and I always forget how this indicator works. I see you are calculating some values, are they correct? Do you have good values from the indicator itself? I mean, is the reading of the values the problem or using them after that as a SL?

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: Something about GMT that confused me

      The GMT time depends on the local clock:
      https://docs.mql4.com/dateandtime/timegmt

      Returns the GMT, which is calculated taking into account the DST switch by the local time on the computer where the client terminal is running.

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: EA not importing

      True, this commented part is compressed version of the project itself - its blocks, settings and so on. The MQL above is the generated code, but it is not used when importing back.

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: .ex5 indicator to MyIndicator

      The file itself you can't use, but you can manually type the inputs. Here is more info: https://fxdreema.com/tutorial/builder/indicators#11

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: Add to a Position

      You probably want to use "pips away from open-price". The block you are using "pips away from take-profit" is now checking when the price is 100 pips above the take-profit (for sell) or below (for buy), which is true immediately, because the take-profit is 200 pips.

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: Block an EA remotely

      Above the blocks there is small search bar. Type http there. There is some information for the block as well. But of course this block requires you to have a server that can respond in a proper way.

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: Ninjatrader integration

      I don't know. I heard about NinjaTrader long time ago, but never really tried it 🙂

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: Get fresh password from http address?!

      There is a block for HTTP request. It is not very "clever" with the results it gets, but check it out... this is the only block to reach some server via HTTP 🙂

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: Server time shift back not working

      Fixed 🙂

      posted in Questions & Answers
      fxDreema
      fxDreema
    • 1
    • 2
    • 41
    • 42
    • 43
    • 44
    • 45
    • 374
    • 375
    • 43 / 375