fxDreema

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

    Posts made by roar

    • RE: custom code

      @ilias-0
      StringConcatenate(var1, "EURUSD", "c")
      This code puts "EURUSDc" into a string variable named var1.
      https://www.mql5.com/en/docs/strings/stringconcatenate

      posted in Questions & Answers
      roar
      roar
    • RE: Clos All Trades when Equity > Balance

      @antoniorenar make a constant named factor and then just write that name in the adjust field:
      0_1591104798045_32aea7e9-f6e4-4753-8503-0e26e26b08c1-image.png *factor

      To optimize from -5% to +20%, for example, use values:
      start 0.95
      step 0.05
      stop 1.20

      posted in Questions & Answers
      roar
      roar
    • RE: Clos All Trades when Equity > Balance

      @citiadvisor you want this:
      Equity > Balance * 1.05

      posted in Questions & Answers
      roar
      roar
    • RE: Minimum Volume Info

      @afgmarkets this bunch of code returns the minimum volume:
      SymbolInfoDouble(Symbol(), SYMBOL_VOLUME_MIN)
      https://www.mql5.com/en/docs/marketinformation/symbolinfodouble
      https://www.mql5.com/en/docs/constants/environment_state/marketinfoconstants#enum_symbol_info_double
      However the partial closing bug is not just about minimum volume, but also lack of rounding (or flooring) the number.
      You can do the % calculation manually and then just put the code in Custom input field instead of the percent field.

      This code calculates 33% of your position and then floors the value to nearest hundredth:
      MathFloor(PositionGetDouble(POSITION_VOLUME)*0.33 *100)/100

      posted in Questions & Answers
      roar
      roar
    • RE: Market is closed (10018)

      @afgmarkets if you use mt5, you could just change your broker (fxtm for example) and get 99% quality without messing with custom data.

      posted in Questions & Answers
      roar
      roar
    • RE: MACD CROSSING

      @alachi does both happen at the same time or is there a time difference?

      For example, the main line could cross at candle 1 and signal line at candle 2.

      Candle 0 = current candle, candle 1 = last completed candle, etc..

      posted in Questions & Answers
      roar
      roar
    • RE: add ATR on TP or SL

      @darazarbaf yes, use the Formula block for the calculation

      posted in Questions & Answers
      roar
      roar
    • RE: Rsi Divergence

      @pippusher618 here's an example project:
      https://fxdreema.com/shared/2HpRtQ8Pb

      However, an EA will sometimes find divergences in unexpected places, because you only see the profitable ones.

      posted in Questions & Answers
      roar
      roar
    • RE: add ATR on TP or SL

      Yes, just type *1.5 in the adjust field. There's lots of forum posts about this topic

      posted in Questions & Answers
      roar
      roar
    • RE: My EMA Duplicates when I backtest

      @freeflow you forgot to change MA method to exponential in block #2
      0_1590854365309_ae81f31d-15d1-4a30-ad0b-1a30610f8e26-image.png

      posted in Questions & Answers
      roar
      roar
    • RE: add ATR on TP or SL

      @yessojeb
      Sl mode: Custom (Price fraction)

      posted in Questions & Answers
      roar
      roar
    • RE: Can't download ex4 or mql files for a basic account. Please fix this.

      @okii downloading doesnt require flash or extensions. I know there is some extension available, but I dont use it. Maybe its outdated.

      Try using your browsers incognito mode and also try downloading a completely new project.

      posted in Bug Reports
      roar
      roar
    • RE: What type of constant do I need to show a boolean display?

      @l-andorrà its "bool".
      https://docs.mql4.com/basis/types

      posted in Questions & Answers
      roar
      roar
    • RE: fx dreema

      @ali-9
      small strategy = free
      big strategy = pay

      If you have more than 10 connections between the blocks, you got to subscribe.

      posted in Questions & Answers
      roar
      roar
    • RE: Currency exposure

      @l-andorrà thanks. Its not opposite logic here, the yellow just activates after the loop work has finished. So the block first activates orange (for x number of times) and then it activates yellow.
      Here's block info:
      0_1590770398291_4d036415-a20f-4f01-a2eb-f86e31403ee6-image.png

      posted in Questions & Answers
      roar
      roar
    • RE: Programmers wanted (again). How can I insert variable symbol names?

      @l-andorrà this block already takes care of it
      0_1590769604423_332dd9af-7409-4bb2-8007-10b25605270f-image.png

      posted in Questions & Answers
      roar
      roar
    • RE: Can't download ex4 or mql files for a basic account. Please fix this.

      @ankitrader its not about number of blocks, its number of connections

      posted in Bug Reports
      roar
      roar
    • RE: ON Mt4 Strategy Tester: Does speed of Visual mode affect the outcome of the test? And what does the Optimization (Balance, etc) do?

      @ankitrader speed does not affect.

      Optimization can be used to automatically find the best set of inputs. Best MA period, best lot size, best SL and TP, and so on.

      Balance, Balance + min drawdown, Balance + Recovery factor, these are used to define what is "best".

      posted in General Discussions
      roar
      roar
    • RE: Execute Trade when EMA = Stoch (Level 80)

      @satoriforex2k18 is using EMA really important here? If you used SMA, you could just get Stoch (1,5,1) because the %D parameter is SMA.

      edit: its the %D parameter

      posted in Questions & Answers
      roar
      roar
    • RE: Execute Trade when EMA = Stoch (Level 80)

      @satoriforex2k18 so you need to apply moving average to stoch data. This is a bit tricky, but can be done with the iMaOnArray function

      posted in Questions & Answers
      roar
      roar
    • 1
    • 2
    • 50
    • 51
    • 52
    • 53
    • 54
    • 120
    • 121
    • 52 / 121