fxDreema

    • Register
    • Login
    • Search
    • Back to the main page
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    1. Home
    2. tonyramirez
    3. Posts
    T
    • Profile
    • Following 0
    • Followers 0
    • Topics 25
    • Posts 66
    • Best 3
    • Controversial 1
    • Groups 0

    Posts made by tonyramirez

    • No objects or comments showing up in MT5

      Can't seem to get anything to appear. I tried inserting a comment and various objects at any point in the project. I figured that way it would be drawn every tick - but nothing. Don't know if I'm doing something wrong or there is a bug. Here is an example:

      https://fxdreema.com/shared/rOCZb4Zsc

      Could someone do a quick backtest and see if they have the same problem?

      posted in Questions & Answers
      T
      tonyramirez
    • Custom colors for buy/sell arrows don't show up in MT5 charts

      The buy and sell nodes have options for selecting the arrow colors displayed for buys and sells on the chart. These colors don't show up in MT5 when you run the expert.

      It would be helpful to have this functioning because it would make it easier to distinguish arrows that open positions as opposed to closing them.

      posted in Bug Reports
      T
      tonyramirez
    • RE: If EA triggers so many opposing trades in one candle because of erratic volatility

      @len-1 So far I haven't used these features myself but if you share a project, maybe I can play around with it.

      posted in Questions & Answers
      T
      tonyramirez
    • RE: Any recommendations of how to add more volume as balance grows to

      If you open the buy/sell block you will see the first option is money management. Here you can choose options to change lot sizes as a percentage of your balance or equity.

      posted in Questions & Answers
      T
      tonyramirez
    • RE: If EA triggers so many opposing trades in one candle because of erratic volatility

      Open time filters in the left panel. You will see many options for limiting how many times a trade is made.

      posted in Questions & Answers
      T
      tonyramirez
    • RE: I did it right but the EA cannot take any trade

      Do you know how to share a project? Go to the projects menu and select the last option.

      posted in Questions & Answers
      T
      tonyramirez
    • RE: Help me! Take Profit with other price

      Rather than partially closing a large position, couldn't you just start with multiple smaller positions and close each separately? Seems easier..

      posted in Questions & Answers
      T
      tonyramirez
    • If you preset the pairs for trading inside a project, why does changing the pair in MT5 backtest setup panel, change backtest results?

      Tried setting up multiple currency pairs for trading from within in the project for the first time. Everything seemed fine, with trades from every pair showing up in the backtest report on MT5.

      However, just for the hell of it I tried changing the pair on the settings panel in MT5. I assumed this would have no effect because the expert would be dictating which pairs to trade. To my surprise every time I changed the pair in settings, I got a different backtest result - even though the results still contained trades from all pairs in the expert.

      How and why is the backtest altered when I change the pair in setup?

      posted in Questions & Answers
      T
      tonyramirez
    • RE: If EA triggers so many opposing trades in one candle because of erratic volatility

      Have you tried using the 'once per bar' block?

      See example:

      https://fxdreema.com/shared/bsSRQ1G5e

      posted in Questions & Answers
      T
      tonyramirez
    • RE: Closing a position once it's n candles old?

      @l-andorrĂ  said in Closing a position once it's n candles old?:

      @tonyramirez The second option should work. Can you please share your project?

      Thanks for the offer!

      I finally figured out that after a 'for each position' block you need to use the other pink blocks to perform actions like 'close position' rather than the generic blocks.

      posted in Questions & Answers
      T
      tonyramirez
    • * SOLVED* Suggested feature - get rid of confirmation for deleting connectors

      *** SOLVED *** Just right click on the connector!

      It's annoying to have to confirm each time you delete a connector. If it needs to be there, then you should have a 'don't ask again' checkbox or only allow connector to be deleted with 'ctrl + click'.

      posted in Bug Reports
      T
      tonyramirez
    • RE: Arrow color in 'close position' block not working?

      Thanks for your reply. To be more specific, in the 'close positions' node under 'more settings' you can choose arrow colors. I've never found MT5 to respect this, it just shows the same blue and red arrows for position closes that it does for new positions. It would be helpful to distinguish between position opens and closes by color.

      posted in Questions & Answers
      T
      tonyramirez
    • Closing a position once it's n candles old?

      This is easy provided you only have one position open but I can't figure how to close only one position when there are several open.

      The 'close position' block allows you to close a trade after n minutes, so I tried converting the candle to minutes. Problem is that all open positions are closed on the following monday after the weekend because time goes on even when the market is closed.

      When I use a 'for each position' loop block to close trades after n bars, all trades are closed that were opened in the past n bars, not just the trades that are n bars old or more.

      Thanks

      posted in Questions & Answers
      T
      tonyramirez
    • Arrow color in 'close position' block not working?

      When I set the color, it's not shown in any backtests. Is there a trick to it? đŸ™‚

      posted in Questions & Answers
      T
      tonyramirez
    • Suggested feature - enable passthrough

      There is a 'turn block on/off' feature which deactivates a block. It also prevents subsequent blocks from being executed. The suggestion is that a 'passthrough' state also be made available that deactivates a block but does not prevent subsequent blocks from executing.

      The benefit of passthrough would be that you could debug more efficiently by not having to unwire and rewire a block just to temporarily remove it from the algo.

      posted in Bug Reports
      T
      tonyramirez
    • Setting up variables/constants that have non-numeric values

      Some blocks have parameters that show text values e.g. the 'bull candle' node has a 'row mode' parameter that can be set to 'normal', 'candle size increase' and 'candle size decrease'. To assign these values to a variable, do you use an integer variable and assign as 0, 1, 2 etc. following the order in the drop-down menu or do you use a string variable and assign 'normal' etc?

      Thanks

      posted in Questions & Answers
      T
      tonyramirez
    • Tutorials on how to code back-to-back optimizations?

      I'd like to set up some optimizations that run all night, where for example I'm optimizing the same expert against several currency pairs. I'm assuming there would be a way to script this but haven't been able to find any resources on the topic.

      Thanks

      posted in Questions & Answers
      T
      tonyramirez
    • RE: Going insane trying to figure out problem with this simple expert

      @roar Thanks, I'll give that a try. However, I don't think it has anything to do with what's going on. The problem appears regardless of how many n bars you set to close the trade. As for the 'every n bars' on the left branch - I shouldn't even need to use it but if I don't, even weirder things happen which I'm not even sure how to describe.

      posted in Questions & Answers
      T
      tonyramirez
    • Going insane trying to figure out problem with this simple expert

      When backtesting this expert behaves in weird ways I can't explain. All it should do is:

      Branch 1

      1. If there is no position
      2. Buy if the SMA is higher than it was the previous bar

      Branch 2

      1. If there is a position
      2. Close the position after x bars

      I'm not going into all the weird stuff that happens but one thing that it always does is buy and sell within one second whenever conditions are met for the first time. After that it seems to behave as you would expect.

      I can't understand why it would perform this buy followed by an immediate sell when the algorithm says to wait x bars (and on all subsequent trades the rule is followed)

      Link to project below

      https://fxdreema.com/shared/cbRvWooob

      Thanks

      posted in Questions & Answers
      T
      tonyramirez
    • RE: Where to find description of various stop loss and take profit methods

      @l-andorrĂ  said in Where to find description of various stop loss and take profit methods:

      @tonyramirez I'm afraid there is no specific documentation for that. We can try yo help you for any question about any of them.

      I suppose then we should try to build it together and add it to the instructions section. Note, the following are only my assumptions.

      1. No stop-loss
        // Meaning obvious

      2. Fixed pips - Sets a stop a predefined number of pips below the entry price.
        // Meaning obvious when applied to Forex but does 1 point equate to 1 pip for other instruments?

      3. % of price - Sets a stop loss as a percentage of the current market price. This way risk is always constant regardless of market price
        // Using an example. if current price is 50, and you want to set a stop at 10% loss, do you set the value to 0.9? or 0.1?

      4. % of take profit - Sets the stop to be a percentage of the take profit amount. This is useful if you want to set up a fixed risk/reward ratio that is independent of price or take profit amount.
        // Presumably if you set no take profit or set take profit to '% of stop', then this will either generate an error or do nothing?

      5. Custom price level/pips/price fraction - ?
        // Presumably this allows you to set up more sophisticated ways of calculating a stop using things like indicators and candles.

      posted in Questions & Answers
      T
      tonyramirez
    • 1
    • 2
    • 3
    • 4
    • 3 / 4