fxDreema

    • Register
    • Login
    • Search
    • Back to the main page
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    1. Home
    2. rafaelgrecco
    3. Topics
    R
    • Profile
    • Following 0
    • Followers 1
    • Topics 28
    • Posts 111
    • Best 7
    • Controversial 0
    • Groups 0

    Topics created by rafaelgrecco

    • R

      "For Each Closed Position" block is not working.
      Bug Reports • • rafaelgrecco

      8
      0
      Votes
      8
      Posts
      718
      Views

      fxDreema

      @rafaelgrecco I tested this and it worked on the tester. But when I tested it on real, it didn't work properly. I investigated it and eventually I found that in one function I forgot to put some code. I fixed this. I tested it and I think it works now.

    • R

      For Each Closed Trade - Block Filters
      Questions & Answers • • rafaelgrecco

      6
      0
      Votes
      6
      Posts
      768
      Views

      l'andorrà

      @rafaelgrecco You're welcome.

    • R

      Check Age filter
      Questions & Answers • • rafaelgrecco

      4
      0
      Votes
      4
      Posts
      748
      Views

      l'andorrà

      @rafaelgrecco You're welcome.

    • R

      Possible bug using "For Each Closed Position" on MQL5 block.
      Bug Reports • • rafaelgrecco

      5
      0
      Votes
      5
      Posts
      1015
      Views

      R

      I managed to find a different solution. I'll just keep this topic here, eventually the admin/programmer will read this and have a look at this bug.

      Thanks for your time.

    • R

      How to cancel order if it takes too long to open
      Questions & Answers • • rafaelgrecco

      19
      0
      Votes
      19
      Posts
      2937
      Views

      R

      @trader-philipps Yeah, I've talked to other people that also uses my current Broker (or any Broker in Brazil) and it seems it is a common problem.

      Unfortunately there's nothing I can do, like changing brokers... all I wanted was a way to cancel the trade if it took too long to be executed, but I don't think that's possible 😞

    • R

      ObjectSet function on MQL5
      Questions & Answers • • rafaelgrecco

      3
      0
      Votes
      3
      Posts
      2535
      Views

      R

      Thanks miro!!

    • R

      Is it possible to change the value of an indicator using an EA?
      Questions & Answers • • rafaelgrecco

      6
      0
      Votes
      6
      Posts
      1486
      Views

      fxDreema

      Create a variable with some name. Then modify it. And then use it.
      That blue thing can be put there when you right-click on the input field. I used Moving Average for the screenshot, but it can be anything else. But ATR has a little bit different values.

      0_1550007052501_5142c291-ffe3-4c94-ad11-d823dc51bf78-image.png

    • R

      Working with Terminal Variables (Global Variables on MT4)
      Questions & Answers • • rafaelgrecco

      3
      0
      Votes
      3
      Posts
      2656
      Views

      R

      Thank you very much!

      I didn't know there was a tutorial for it...

    • R

      How to Select "Least profitable trade"?
      Questions & Answers • • rafaelgrecco

      5
      0
      Votes
      5
      Posts
      2170
      Views

      roar

      @rafaelgrecco said in How to Select "Least profitable trade"?:

      What I was missing was:

      Reseting the variable "smallestprofit" on every new loop

      We must reset the variables at some point, so the ea don't get "stuck" to some big loss that is already closed. Now it resets the variable on every tick, and also calculates it again so we always have the correct value. It is not the most cpu-optimal way but should work fine.

      Using the second output of "Each Trade" to wait for all trades to be checked

      I think this is the correct way, we must first check all trades in order to find the lowest profit.

      The looping blocks work a bit different than other blocks, go ahead and test different logic builds 🙂

    • R

      Question about "For each trade" block
      Questions & Answers • • rafaelgrecco

      3
      0
      Votes
      3
      Posts
      901
      Views

      R

      Thank you once again!

    • R

      Importing Project Resets Bollinger Bands Deviation Field
      Bug Reports • • rafaelgrecco

      3
      0
      Votes
      3
      Posts
      829
      Views

      R

      It's fixed, thanks!!

    • R

      Builder Issue ETF
      Bug Reports • • rafaelgrecco

      1
      0
      Votes
      1
      Posts
      426
      Views

      No one has replied

    • R

      Help detecting this indicator's values
      Questions & Answers • • rafaelgrecco

      7
      0
      Votes
      7
      Posts
      1698
      Views

      timmyhanke

      @rafaelgrecco

      I know how it is, I've been there to many times , but the relief when a solution come to the rescue is worth it 😊

    • R

      Wait 1 Candle Block
      Questions & Answers • • rafaelgrecco

      3
      0
      Votes
      3
      Posts
      1784
      Views

      timmyhanke

      @rafaelgrecco

      simply set your conditions to candle one then have a once per bar block on top followed by your conditions .

      It will pass once the first thing it does when a new bar is created and only once , simple is often the way to go

    • R

      Strategy for: Do Not Trade Inside Chart Rectangle
      Questions & Answers • • rafaelgrecco

      4
      0
      Votes
      4
      Posts
      1106
      Views

      timmyhanke

      @rafaelgrecco

      sure that you figured it out ? beacuse what i know you will have a line above everything and a line below evertything , based on your knowlage and your risktaking, so to make a condition that are between those meaning < high and > low and connect that to an and block and use that as a filter and add that to your buy/sell conditions , and drag the and yellow dot to continue your jouney , meaning if its not between those two lines , in your case that the market isnt raging .

    • R

      Working with Groups - "comma" unexpected token
      Bug Reports • • rafaelgrecco

      1
      0
      Votes
      1
      Posts
      577
      Views

      No one has replied

    • R

      Select Object By Name - Several Objects
      Questions & Answers • • rafaelgrecco

      9
      0
      Votes
      9
      Posts
      3585
      Views

      l'andorrà

      @mehrdad-zaiemi This is the second thread you use for the exact same question. Please don't duplicate questions.

    • R

      Calculating Simple Moving Average of a Indicator
      Questions & Answers • • rafaelgrecco

      3
      1
      Votes
      3
      Posts
      1983
      Views

      P

      Hi,

      I programmed a custom indicator that shows the moving average of ATR. This may help you or others to achieve something similar.0_1496012111333_ma_atr.mq4

    • R

      Check Lot Size?
      Questions & Answers • • rafaelgrecco

      4
      0
      Votes
      4
      Posts
      3199
      Views

      M

      yes, pink blocks are for some kind of check and control in trades 🙂

    • R

      Modify Stop Loss and Trailing Stop Question
      Questions & Answers • • rafaelgrecco

      6
      0
      Votes
      6
      Posts
      4915
      Views

      R

      I guess you are right. If Trailing Stop is already being used, there is no point on setting a initial SL.

      I'll just turn it off and let Trailing Stop do it's job and see how it will behave.

      Thanks!

    • 1
    • 2
    • 1 / 2