fxDreema

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

    everjn17

    @everjn17

    -1
    Reputation
    519
    Profile views
    38
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    everjn17 Unfollow Follow

    Best posts made by everjn17

    • Weird Zero Divide Error On Dukascopy Data Indices

      Hi'
      I was developing the EA with good results so far, the FxDreema builder is just so easy to use and still flexible. However, i just got some weird error, i ever deal with Zero Divide Error coming from my custom indicator previously and it solved. But this new error is just so weird.
      When i try to backtest my EA using default data provider (from my broker and not using Dukascopy's Data) it run smoothly, but when i use Dukascopy data it getting the Zero Divide Error (see the screenshoot). And what makes this weirder is this only happens when i backtest the EA on an Indices, if I backtest on currency pair (even using Dukascopy data) it runs smoothly.

      Anyone have thought about this error? Please help me with it.

      Screenshoot :
      0_1581234687843_Screenshot_68.png

      posted in Questions & Answers
      E
      everjn17

    Latest posts made by everjn17

    • RE: Help with Failed Executed Order

      Thanks for your answer.
      I did try using loop thru open position but it seems unreliable for me. I'd like the idea of comparing open position before and after trade, however i'm bit confuse on what block to use. I tried to check the "Check Trade Count" block, but i don't know how to store the value of the trade count after using that block

      posted in Questions & Answers
      E
      everjn17
    • Help with Failed Executed Order

      Hi Guys,
      I am running an EA right now with some scale up money management system on it. Basically what it does, after x criteria is met, it open first trade that i call Base trade.
      Then on each x amount of price movement that against me i add more to the position with 1.2x the lot of previous trade.

      However, sometimes my broker or my MT4 or my VPS failed to execute for any reason. Sometimes a network error or sometimes the log just throw "common failure". The point is this thing happens once in a while which really screw my position sizing.

      When the order failed to execute, somehow my EA just keep trying to execute the order but with higher lot position each time it tries to execute it.

      Is there any block that i can use after "Buy Now" or "Sell Now" block to confirm if the order is succeed? I want to catch the result and compare it, if the order succeed than it goes to next step but if not, keep try to execute the order but without increasing the position size.

      posted in Questions & Answers order position size
      E
      everjn17
    • RE: Error in Comparison That Should Never Happen

      Still doesn't have any clear solution for this Bug.

      posted in Questions & Answers
      E
      everjn17
    • RE: Error in Comparison That Should Never Happen

      Yes since you'll need a custom indicator for it to run. However i can't share the custom indies as i have a copyright with the programmer of that indicator. You can replace the custom indicator with simple moving average crossover condition to test the EA.

      posted in Questions & Answers
      E
      everjn17
    • RE: Error in Comparison That Should Never Happen

      Hi' Guys,
      Here i share the EA project links which hopefully will get you better sense of what i am doing
      https://fxdreema.com/shared/N4acCy3bd

      Also, here's a youtube video i made explaining what i am aiming for and the issue i had
      https://youtu.be/2YwjV1d9d70

      Thanks in advance

      posted in Questions & Answers
      E
      everjn17
    • Error in Comparison That Should Never Happen

      Hi' Guys,
      I am trying to edit some of my EA here but got stuck for almost a day with some stupid misscalculation.

      So, as you can see on the screenshot(SS1) i have a block that compare if distancePerc > TP_Percentage. This block never get executed as TRUE. It always falls into FALSE result.

      I am surely have some moment that it should turn into TRUE. I do the LogMessage to check and make sure that some times the distancePerc > TP_Percentage is TRUE.

      However, if i reverse the logic to distancePerc<TP_Percentage, sometimes it executed as TRUE and sometimes as FALSE. Like what it should be. It's also match with the LogMessage from those 2 value.

      The data type of both value is the same (double). Also i attach Screenshot (SS2 and SS3) so you can see my variable and constant list.

      Really hope someone can point me out to some stupidity i made. Or perhaps this is a bug?

      SS1
      SS1.png

      SS2
      SS2.png

      SS3
      SS3.png

      posted in Questions & Answers
      E
      everjn17
    • RE: HELP with Error "Cannot Load Custom Indicator" on Strategy Tester MT5

      @miki
      Wow, it works.
      Sorry i misunderstood what you mean previously,

      Thanks Miki, you save me a lot of time

      posted in Questions & Answers
      E
      everjn17
    • RE: HELP with Error "Cannot Load Custom Indicator" on Strategy Tester MT5

      @miki
      Thanks for your answer,
      I did delete the PRICE_TYPE enum and try to run it again on strategy tester, but the same error still come up.

      posted in Questions & Answers
      E
      everjn17
    • HELP with Error "Cannot Load Custom Indicator" on Strategy Tester MT5

      Hi' guys,
      I just stuck in this error with no clear clue at all for a day.
      So, i create a custom indicator which just an RSI but taking it's value using VWAP instead of "Close". I successfully build the indicator and load it to the chart with no problem.
      Then i upload it to my EA on Fxdreema as Custom Indicator then use it for the calculation. Basically when the RSI corss the BuyLine Value, it'll open a BUY trade. Simple.
      I download the Ex5 from Fxdreema and try to test it using Strategy Tester. Then here's the big error i don't have any clear clue.
      The strategy tester just threw this error:0_1607419023414_Screenshot_168.png

      I did check the Indicator and load it manually, it successfully loaded without any issue. I also try to load the EA right away into the chart, it loaded successfully. So the error only appears on Strategy Tester. I try using Every Tick and 1 minute OHLC test and results are the same.

      Here's my indicator if you want to check the code inside,
      0_1607419142201_vwap.mq5

      Here's my FxDreema Project :
      https://fxdreema.com/shared/HYCH1kx2e

      Please help me if you find some clue,

      Thanks

      posted in Questions & Answers
      E
      everjn17
    • Help Clarify "For Each Position/Trade" Block

      Hi'
      I was creating two EA to help me trade cfd stocks on MT5. One EA to help me opening trade on a certain price and the other one for a rush buy meaning using market order.
      For sake of simplicity let's call the first one "EA Pending" and the second one "EA Rush".
      So, the EA Pending have a block called "For Each Position" which gonna trigger the next block where it will move the stop loss to breakeven when the price hit 25% of TP. And the "EA Rush" doesn't have any of that block.
      .
      So, from what i read on the forum and some documentation, the "For Each Position" are gonna scan thru all of the available trades that are still open. All trade included wheter it's openend by the EA Pending or openend by EA Rush will be scanned.
      .
      Problem is, when i open trade using EA Rush, when it reach 25% of the TP, the stop loss didn't move and nothing happen. Even when it reach 50% TP, the stop still not move. Meanwhile, when i open a trade using EA Pending, even i change the symbol opened on the chart, when it reaches 25% of TP, the stop will be moved.
      .
      Here's my settings on "For Each Position" block, is there anything wrong i am doing here?
      0_1603183675917_Screenshot_140.png

      Regards,

      posted in Questions & Answers
      E
      everjn17