fxDreema

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

    Posts made by cmuphyfx

    • RE: MT5 Back testing JPY pairs

      Do you make any changes in your project settings for JPY pairs, or does the standard fxDreema project work fine for you?

      posted in Questions & Answers
      C
      cmuphyfx
    • RE: Equity Guardian

      I can't edit your drawing correctly. But what you could do is something like this. Have your constant be 20% and then use a formula to add 100 and save it to a local variable. Now your variable contains the value 120. Use that in the buy/sell order.

      image.png

      posted in Questions & Answers
      C
      cmuphyfx
    • RE: Equity Guardian

      If the variable Distance_Percentage is 20% you should just be able to add 100% to it and then multiply. For convenance I would add another formula block or modify variables block, and just add 100% to the variable, then use it in the pending order.

      posted in Questions & Answers
      C
      cmuphyfx
    • MT5 Back testing JPY pairs

      Hi there,

      I have an issue with either my EA or MT5 when I backtest JPY pairs. I want to risk 1% of the account balance per trade and I typically have a beginning balance of 100K. So, we should be looking for trades around 1K. The issue is that when I run this on any Major, like EURUSD, GBPUSD, etc, everything works fine but when I run it against a JPY pair, the risk is completely off. I typically have to adjust the risk to 100% for the asset to risk the appropriate amount. I'm wondering if there is a setting in the project that I need to change.

      dfee3cb3-2e61-4a72-aaee-8afb0f421d05-image.png

      This is a sample run against GBPJPY risking 1% of the account balance. A loss is $9.94, which should really be $994
      70b3780e-bafb-4207-a9f6-831b7f110a97-image.png
      d2b1c536-aa63-4f29-9911-fd87fde64f34-image.png

      Here is the same test, risking 100%
      e18772e8-5265-43d6-a731-71bb20d880cc-image.png
      6a5659c6-49bc-4d2c-851c-f1a639b30546-image.png

      posted in Questions & Answers
      C
      cmuphyfx
    • RE: OpenCL

      Reviving an old thread - any chance someone has been able to implement this? I have a few GPU's and this would greatly help me optimize my parameters! @fx-dreema

      posted in Questions & Answers
      C
      cmuphyfx
    • RE: Incorrect lotsize calculations

      @l-andorrĂ  Thank you for the help! As you said, the current candle does not have a close value. Appreciate it.

      posted in Questions & Answers
      C
      cmuphyfx
    • RE: Incorrect lotsize calculations

      Hi there -thank you for responding. Here's an image on how my buys and sells are setup. Percent to risk is a constant - always 1%... Most of the time time the orders are executed correctly, but randomly I will end up with 100 lot sells/buys. I also have a check in there that says the SL should not be less than a specific number (10 pips for example) so there should never be a time where we have a stop loss so small that the calculated risk % should be over 100lots. Should always be (on a 100K account) less than 25 lots.
      image.png

      posted in Questions & Answers
      C
      cmuphyfx
    • RE: Incorrect lotsize calculations

      Bumping this up from over a year ago. Having the same issue. Every once in a while my EA will place an order for 100 lots. I use the same risk % of the current balance (1%). Anyone know why this is happening?

      posted in Questions & Answers
      C
      cmuphyfx
    • RE: Help understanding once per bar vs tick

      1M OHLC is just the Open of the candle, high of the candle, low of the candle, close of the candle for each 1M candle, as I understand it... So there are only 4 values to process - still don't understand how tick data could affect my algo if I'm trading on the 5M, 15M etc...

      posted in Questions & Answers
      C
      cmuphyfx
    • Help understanding once per bar vs tick

      Hi there,

      Relatively new to EAs, but I have a background in software so I'm picking it up pretty quickly. I do have a fundamental question on why an EA that was built for a higher timeframe, like M5 or M15 operates differently on once per bar vs once per tick data? The signals I'm using are on the closing candles of M5 or M1, so it seems to me that what happens during that candle is irrevelent to my strategy - but, the backtester thinks differently as my strategy is not nearly as successful on tick data as it is on OHLC. Can someone explain it to me? I did search and dug through old posts but I didn't find a super clear explanation.

      Additionally, for bonus points... Is there anything I can do to optimize my EA such that it performs like it does in an OHLC backtest on the tick data? I'd be retired next month if the performance matched!

      Thanks!

      posted in Questions & Answers
      C
      cmuphyfx
    • 1
    • 2
    • 3
    • 4
    • 4 / 4