fxDreema

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

    Posts made by Erhan79

    • RE: How to use Loop: Pass "n" times?

      I tried to stop it with loop (break) but it did not work 😞

      Any other way to stop loop?

      posted in Questions & Answers
      E
      Erhan79
    • RE: How to use Loop: Pass "n" times?

      FxDreema please help me how to use this block. I created this project:

      https://fxdreema.com/shared/aaHBdtavb

      I want in every bar to check last "Lookback" number of bars and count the number of bars fitting my bullish trend bad criteria (a bar has a higher high and higher low with respect to previous bar) But my bar count result is always "1". I tried several altertive ways to do this but always failed. I think my way to use Pass "n" times block is wrong, but what need to do?

      Any help is appreciated 🙂

      posted in Questions & Answers
      E
      Erhan79
    • RE: Write to File

      Thank you very much:)

      posted in Questions & Answers
      E
      Erhan79
    • RE: Write to File

      Hi...

      I designed following expert to get the statistics of different RSI levels with price. I want to write collected statistics to file but i am stucked.

      This code works but for every row it creates a new file:

      https://fxdreema.com/shared/qEYD94zcc

      Every file put file name one more .csv name...

      Please help to collect all records in one file...

      thanks and best regards

      posted in Questions & Answers
      E
      Erhan79
    • RE: Custom MQL Code Round Function

      Thank you very much

      posted in Questions & Answers
      E
      Erhan79
    • RE: Custom MQL Code Round Function

      Hi,

      If you don't mind I have a beginner question.

      I am trying to calculate 1.618 Fibonacci Time Extension of last "n" period candles highest and lowest price times.

      Variable A = Highest Price Candle ID
      Variable B = Lowest Price Candle ID

      Var C = Var A - Var B ( A>B)

      Var D = Var C * 1.618 (calculated with formula window)

      Var E = round (Var D) --> I want to round Var D value to nearest integer. For this step I think I must use "Custom MQL Code Module"?

      I tried "E = MathRound (D);" code in Custom MQL Code window but i got error messages like this;

      Compilation errors
      'Double' - undeclared identifier
      'E' - undeclared identifier
      'E' - some operator expected
      'D' - undeclared identifier
      'D' - some operator expected

      https://fxdreema.com/shared/kqoOXuFcc

      Please help 😕

      posted in Questions & Answers
      E
      Erhan79
    • 1 / 1