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: Just a question

      @miki sharpe ratio is basically profit/risk, which is obviously a better metric than profit alone. However, using sharpe ratio in the optimizer often produces dead-end results - only 1 or 2 perfect trades with near infinite sharpe ratio and the genetic algorithm gets stuck with that.

      I have found recovery factor to be the best optimizer goal.

      posted in Questions & Answers
      roar
      roar
    • RE: What is "change status to"

      @sktsec it changes this little status message (I think, lol)
      0_1614289124807_5c48316c-904c-456f-b957-9bc055582891-image.png

      posted in Questions & Answers
      roar
      roar
    • RE: ghost trading

      @cesardefez if you flip a coin 10 times and always get heads, there is still a 50% chance to get heads again on the 11th flip.

      I dont have an answer to your question, but I'm afraid it wouldn't help you anyway.

      posted in General Discussions
      roar
      roar
    • RE: How to calculate the square root or Cube Root of any number?

      @moon https://fxdreema.com/shared/4SA4Gmmfd

      posted in Questions & Answers
      roar
      roar
    • RE: How to calculate the square root or Cube Root of any number?

      @moon

      MathSquare(123)

      MathPow(123, 1/2)
      MathPow(123, 1/3)

      posted in Questions & Answers
      roar
      roar
    • RE: Counting Bars Question

      @cdwilder1 thats a very important question and I'm happy to know the answer, lol

      Convert candle ID to time:
      v1 = iTime(NULL,0, 123)
      Put this code in a custom mql5 block and the open time of 123th candle is stored to variable v1.
      https://www.mql5.com/en/docs/series/itime

      Convert time to candle ID:
      v1 = iBarShift(NULL,0, D'2020.02.22 12:00')
      Put this code in a custom mql5 block and the ID of D'2020.02.22 12:00' candle is stored to variable v1.
      https://www.mql5.com/en/docs/series/ibarshift

      posted in Questions & Answers
      roar
      roar
    • RE: Option to Add at Applied Price if that possible

      @saeed-2 the difference between current close and last close is the candle ID, you can select that for every block.

      Candle ID 0 refers to the current candle (and current close)
      Candle ID 1 refers to last completed candle (and close of last candle)

      posted in General Discussions
      roar
      roar
    • RE: Calculating ADR in pips Wrong for JPY Pairs

      @breakertrader Digits() function returns the amount of decimals of the pair, so we can convert any point amount to raw value multiplying by MathPow(10,-Digits())

      For example, 10 point to raw price: 10*MathPow(10,-Digits())
      Then you can just use 1 pips = 10 points as a final calculation.
      Works with all symbols.

      posted in Questions & Answers
      roar
      roar
    • RE: how can out every number ?

      @moon with these 2 functions:
      https://docs.mql4.com/convert/doubletostr
      https://docs.mql4.com/strings/stringsubstr

      posted in Questions & Answers
      roar
      roar
    • RE: Calculating ADR in pips Wrong for JPY Pairs

      @breakertrader why do you need pips? Simplest way would be to work with raw values

      posted in Questions & Answers
      roar
      roar
    • RE: Option to Add at Applied Price if that possible

      @saeed-2 current price is the close price.

      posted in General Discussions
      roar
      roar
    • RE: How to make a trade open just at a candle close

      @sherifkudo I guess you want to use candle ID 1 in the "more settings"

      posted in General Discussions
      roar
      roar
    • RE: Compilation Errors HELP!

      @lopezdiaz2510
      If you have a variable input, you cannot use that checkmark thing.
      Also, I think Pips is not the correct input mode here, as your stop_loss variable is candle low - a level value - choose Custom (level) instead.
      0_1613425325873_fd2f433f-f067-464d-b99e-05937925b95b-image.png

      posted in Questions & Answers
      roar
      roar
    • RE: How to turn adjust field into a constant/input?

      @highmoose like this 0_1613335296311_a7354b32-c4df-43a6-b225-6112bba4bf80-image.png

      posted in Questions & Answers
      roar
      roar
    • RE: Place SL below current candle low (For buys)

      @avirovik candle low is not a pip value, its a level. Theres "Custom (price level)" input mode for that.

      posted in Questions & Answers
      roar
      roar
    • RE: INCREASE THE VOLUME EVERY TIME THE BALANCE INCREASES

      @luanainteglia tie your lot sizes to account balance:
      AccountBalance()/1000 * 0.01

      posted in Questions & Answers
      roar
      roar
    • RE: Strategy Results, Good? Bad? Okay?

      @seb-0 said

      When you are saying "the Sp500 and my EA are not correlated", do you mean 1.the behave of my EA on the Sp500 is uncorrelated to 2.the behave of my EA on any other instrument ?
      Thank you tho

      I meant just going long on sp500 and then using your EA to trade forex, for example. It is unlikely that a negative day on sp500 always happens same time as negative day with your EA trading EURUSD, for example. The return series are uncorrelated. In theory, having many profitable but uncorrelated investments will smooth out negative shokcs in the whole portfolio, giving you better sharpe ratio.

      posted in General Discussions
      roar
      roar
    • RE: Strategy Results, Good? Bad? Okay?

      @seb-0 I was just referring to some finance theory... Sp500 should be the ideal investment (you should put 100% of your money there), but its even better if you have 2 investments that dont correlate with each other (sp500 and your EA probably dont).

      posted in General Discussions
      roar
      roar
    • RE: Can I convert MT5 EA program to MT4 just by copy all the MT5 fxdreema blocks to MT4 EA builder?

      Hi @realjoker, @l-andorrĂ  might not have the time for detailed help for everyone asking, but he still does much more good than harm, dont you think? We shouldnt discourage helping on this forum, help is not that abundant in the first place. đŸ™‚

      posted in Questions & Answers
      roar
      roar
    • RE: Strategy Results, Good? Bad? Okay?

      @seb-0 Nice result. Put 50% of your money into this and 50% into sp500, and you probably get better Sharpe ratio than sp500 alone.

      posted in General Discussions
      roar
      roar
    • 1
    • 2
    • 24
    • 25
    • 26
    • 27
    • 28
    • 120
    • 121
    • 26 / 121