fxDreema

    • Register
    • Login
    • Search
    • Back to the main page
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    1. Home
    2. drankman
    3. Posts
    D
    • Profile
    • Following 3
    • Followers 0
    • Topics 43
    • Posts 155
    • Best 2
    • Controversial 1
    • Groups 0

    Posts made by drankman

    • RE: Cancel if volume too small, because I don't want to round it up to 0.01

      @l-andorrĂ  thank you!
      I'll try this one next week. i'll let you know how it goes.

      @ambrogio yes, I am using the function inside buy and sell block, thats actually my problem.
      I have similar idea with what you mentioned, I ll try that one.

      Thank you both! đŸ™‚ have a great weekend

      posted in Questions & Answers
      D
      drankman
    • Cancel if volume too small, because I don't want to round it up to 0.01

      Hi all,

      I need some helps.

      Problem: My EA is calculating order volume size based on risk percentage. So far so good, however sometimes the calculation is resulting to smaller than 0.01 (the metatrader standard minimum), then broker round it up to 0.01.

      For example: For US30, the EA calculated that the volume should be 0.003, because it isn't possible, the broker round it up to 0.01.

      Request: Is there any function that can identify the volume size, so if the volume size is smaller than 0.01, I better not taking the order at all instead just round it up.

      Any helps would be appreciated!

      Thanks!

      posted in Questions & Answers
      D
      drankman
    • EA acting weird. EA took order of unexpected numbers of lots

      Hi guys,
      Somehow my EA acting weird. It takes pending order with exceeding numbers of the percentage setting. (See attached screenshot, yellow mark) It took 100 lots, even though I set the limit percentage of balance. Most of the time EA takes proper order limit. (see also screenshot) So, this incident happened very rare. Maybe in 2 months, it happens twice already.

      Any idea why this happened and also any idea how to prevent this. even though fortunately I realized this mistake and delete the order immediately, but I don't want this incident happen again especially if I am not aware.

      e4899b5f-cf3d-4eef-995a-2473357277fe-image.png

      posted in Questions & Answers
      D
      drankman
    • RE: average calculation for indicators

      @roar ok. Thanks, ! will try to do that.

      posted in Questions & Answers
      D
      drankman
    • average calculation for indicators

      Hi guys,

      any idea how to calculate the average of technical indicators for example RSI in the last 10 bars?

      Thanks in advance! đŸ™‚

      posted in Questions & Answers
      D
      drankman
    • RE: EA start setting

      @l-andorrĂ 
      So here is an example I have a particular setting where open trade will close, if it meets certain condition.

      So in some cases, when I restarted EA, the trade closed where it is not supposed to. I realized this because I have used the same EA on 2 accounts (from the same brokers), and on one of the accounts, the trade was not closed.

      Once I activated the auto trading, then (maybe after 15 min or so) the trade on the other accounts was closed now which is on better price of course...

      posted in Questions & Answers
      D
      drankman
    • EA start setting

      Hi all,
      I have some issues when starting EA on the chart.
      Whenever I started to put EA even though I haven't clicked the "Auto Trading" button, the EA has already running the calculation.
      I know it probably because I put EA on tick, so it always started to run the EA immediately.
      I tried several solutions, like using time filter or hours filter, but sometimes during this filtered time, I need to restart the EA, so I am just wondering if there's any other solutions to avoid this "error"?

      Any helps would be appreciated. đŸ™‚
      Thanks!

      posted in Questions & Answers
      D
      drankman
    • RE: Open Price=Stop Loss Price

      @roar ok. Thanks so much! will try that đŸ™‚

      posted in Questions & Answers
      D
      drankman
    • Open Price=Stop Loss Price

      Hi guys,
      I've created a condition, where Stop Loss will move to Open Price Level after certain situation.
      Now. I want to create a condition, where if the Open Price is the same with Stop Loss Price.
      Would this condition below works?

      344c5734-b171-4cf5-bd3b-976dfee08849-image.png

      If yes, what option mode of Stop Loss should be used? There are price level, price fraction and pips.

      Thanks so much in advance!

      posted in Questions & Answers
      D
      drankman
    • RE: Spread size

      @l-andorrĂ  Thanks as always! đŸ™‚

      posted in Questions & Answers
      D
      drankman
    • Spread size

      Hi all,
      I have a question regarding spread size:
      Does the spread size digit is the same as digit for pips with points?

      6d84670b-f6d9-46d1-b623-03c2bfebaf77-image.png

      Based on the above pictures, does this mean, I should put the spread size multiply with 10? So lets say GBPUSD has 13 spread size then it means 130 points ?

      as in this block below?
      47e9c429-6734-4222-9da6-d24410c4ff43-image.png

      Thanks guys!

      posted in Questions & Answers
      D
      drankman
    • RE: Modify Stop Loss not working properly

      @jstap ok thanks!!

      posted in Questions & Answers
      D
      drankman
    • RE: Modify Stop Loss not working properly

      @jstap

      Thanks for the response.

      Did you mean like this?
      Pic 1:
      3899d6ab-62f7-47f4-bfb0-6107f124606e-image.png

      or Pic 2:

      51092194-b408-4b18-9bab-4c3168b3b3f7-image.png

      posted in Questions & Answers
      D
      drankman
    • Modify Stop Loss not working properly

      Hi guys,

      I have created EA using modify stop
      Here is the project:

      https://fxdreema.com/shared/fPPkERdVb

      The problem was, based on the project above. I only got the alert messages, however the Stop Loss or Take Profit did not modify to the open price as I created in the block. So, I am assuming there's something wrong in the block "modify stop", because it went only through the alert block.

      Could anyone help?

      Thanks

      posted in Questions & Answers
      D
      drankman
    • RE: undo function

      @ambrogio oh cool. thanks!
      didnt see that đŸ™‚

      posted in Questions & Answers
      D
      drankman
    • undo function

      Hi guys,

      I am just wondering if there is an undo button in fxdreema? for instance I accidentally deleted something and I would like to undo this.

      Thanks đŸ™‚

      Cheers!

      posted in Questions & Answers
      D
      drankman
    • RE: How to get iMACD from MT4 to MT5

      @roar how do you use CopyBuffer function in this case?

      iMACD(_Symbol,PERIOD_CURRENT,12,26,9,PRICE_CLOSE);
      CopyBuffer(handle,0,0,20,MACDBuffer)

      is 20 in this particular example candle shift?
      I'm thinking to make a loop with this, so I was wondering which one is the candle shift..

      I saw something like this from MQL5 websites:

      image.png

      posted in Questions & Answers
      D
      drankman
    • How to get iMACD from MT4 to MT5

      Hi everyone and all the experts @jstap @l-andorrĂ  @roar ,

      I am trying to convert MT4 to MT5, however, the iMACD value in "custom MQL mode" is not well converted. I tried to look up on MQL5 website, but I could not get it right.

      So basically,
      iMACD in MT4:

      iMACD(_Symbol,PERIOD_CURRENT,12,26,9,PRICE_CLOSE,MODE_MAIN,0);

      but in MT5, the main line and candle shift are not included (the last two functions in bracket). see below.

      iMACD(_Symbol,PERIOD_CURRENT,12,26,9,PRICE_CLOSE);

      Anyone have any idea how to convert this iMACD from MQL4 to MQL5 that include the main line and candle shift?

      Thanks in advance!

      posted in Questions & Answers
      D
      drankman
    • RE: Highest Value

      thanks @l-andorrĂ  @jstap @roar
      how do I find candle ID using loop?

      posted in Questions & Answers
      D
      drankman
    • RE: getting the candle id for previous day high and low

      Hi @miro1360

      I am trying to use this to find candle ID for another indicators (MACD in this case).
      Basically I would like to find candle ID with the highest MACD value or lowest MACD value.
      However, I am kinda failed.

      Can you help?
      How to find candle ID within evaluation period of the highest MACD value or lowest MACD value.

      image.png

      posted in Questions & Answers
      D
      drankman
    • 1
    • 2
    • 3
    • 4
    • 5
    • 6
    • 7
    • 8
    • 1 / 8