fxDreema

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

    Topics created by ramimoujaes

    • R

      Refresh
      Questions & Answers • • ramimoujaes

      3
      0
      Votes
      3
      Posts
      270
      Views

      B

      @ramimoujaes , i think it's better to just reload the template. Refreshing is hard to do.

    • R

      High/Low
      Questions & Answers • • ramimoujaes

      16
      0
      Votes
      16
      Posts
      2807
      Views

      l'andorrà

      @ramimoujaes This is the way to program the stop loss for a buy:

      0_1616079815073_01.png

      Obviously you will need the high for a sell. However, please notice that if a trade is open at the beginning of today's daily candle, the SL price will be the same as the open and the trade will immediately close. Are you aware of that?

    • R

      Pay
      Questions & Answers • • ramimoujaes

      19
      0
      Votes
      19
      Posts
      2513
      Views

      TipsyWisdom

      i think youre talking super computer type material. Not $30 pi material.

    • R

      Gridding system
      Questions & Answers • • ramimoujaes

      46
      0
      Votes
      46
      Posts
      7085
      Views

      F

      Hi @ramimoujaes sorry I kwow that your post is quite very old. Are you still looking for a solution to your problem?

    • R

      Check positions
      Questions & Answers • • ramimoujaes

      4
      0
      Votes
      4
      Posts
      442
      Views

      bk7

      Just one but you have to test it first on demo or a backtest.
      Keep in mind, that stocks indices and so an have different pip calculations. This version should work for forex

    • R

      Multicurrency
      Questions & Answers • • ramimoujaes

      2
      0
      Votes
      2
      Posts
      368
      Views

      l'andorrà

      @ramimoujaes That EA can already trade on ANY chart. What do you want exactly?

    • R

      Custom Indicator
      Questions & Answers • • ramimoujaes

      3
      0
      Votes
      3
      Posts
      388
      Views

      l'andorrà

      You can also tale alook at these tutorials:

      https://fxdreema.com/forum/topic/4208/tutorial-06-my-indicators-in-fxdreema
      https://fxdreema.com/forum/topic/9105/tutorial-working-with-ex4-ex5-indicator-file

    • R

      Help
      Questions & Answers • • ramimoujaes

      3
      0
      Votes
      3
      Posts
      353
      Views

      l'andorrà

      @ramimoujaes No offense ramimoujaes, but that sounds more like a wishlist than a solid strategy. I will be more than happy to help you to implement any strategy to want, but you need to provide a detailed list of conditions to be met, not a wishlist.

    • R

      Gradual decrease in lot size, and timing
      Questions & Answers • • ramimoujaes

      19
      0
      Votes
      19
      Posts
      1452
      Views

      roar

      @ramimoujaes I don't know about your folders.. Do you mean the builder? Build it On Tick.

      The P's are just shortcuts to different arguments in your block, you can modify your varialbes in the right popup pane using those shortcuts. But if you dont want to use them, just forget them, they arent any danger.

    • R

      MA cross over close
      Questions & Answers • • ramimoujaes

      4
      0
      Votes
      4
      Posts
      413
      Views

      l'andorrà

      @ramimoujaes You need to change the opposite symbole here for blocks 6 and 11:

      0_1601133967150_01.png

    • R

      Lot size decrease
      Questions & Answers • • ramimoujaes

      16
      0
      Votes
      16
      Posts
      1588
      Views

      R

      Greetings @roar ,

      A thousand apologies for disturbing you. I just wanted to thank you for your earliest response and support.

      Just to give you a brief on my project. I am simply trying to create an EA on mt5, where positions are open based on the RSI indicator (Overbought/Oversold). Essentially there are no stop-loss, there is a take-profit (which is very minimal). Opened positions are closed after a candle or two has passed by.

      I am positive that the first couple trades are going to take minimal profit, at the same time I am positive the last trade opened, is going to be a loss. Which is why I would like the EA to open the first couple positions with lot size of 1.0 (must be adjustable) and as more positions have been closed, the lot size will decrease. For example, if the first position started at lot 1.0, then every 2 positions (for example, must be adjustable) lot size will decrease by 0.1. However, when EA closes the two positions, both with lot size of 0.1, then the next positions taken will be 0.01 (because you can not take positions a 0 lot position (0.1-0.1=0) until a new candle/bar is opened.

      When the new candle is opened, and no position are opened, then restart. What do I mean by restart. I mean the positions that will be opened on a new candle when conditions are met, shall start over starting with lot size of 1.0, then every two positions closed, decrease lot size by 0.1, until lot size reaches 0.01. And the process goes on and on.

      I just wanted to explain it to you in detail.

      I would like to tell you that I am not a programmer, and I am really new to the whole mt5 forex trading world. As much as I read the articles presented by fxdreema, I still have blank mind unfortunately. So I kindly request from you, at your earliest convenience to baby step me, as in tell me exactly what should I do in fxdreema (what to type in, which blocks to connect) in order to complete this project.

      My struggle is how to start the lot size by 1.0 (adjustable) when conditions are met, and then every 2 positions closed (adjustable), decrease the lot size by 0.1 (adjustable) until the EA reaches lot size 0.01. Then on new candle restart lot size, start with lot size of one and decrease as positions are taken.

      I kindly request help from the one and only @roar with my struggle.

      Shared Project: https://fxdreema.com/shared/ntRhJgAUc

      Sincerely

      Rami

    • R

      Breakeven
      Questions & Answers • • ramimoujaes

      8
      0
      Votes
      8
      Posts
      978
      Views

      D

      @l-andorrà NO sir ,its possible ,I do create an E.A its placing breakeven on my buy trade while on my sell trade is not placing so.

    • R

      Stop Loss percentage
      Questions & Answers • • ramimoujaes

      2
      0
      Votes
      2
      Posts
      374
      Views

      l'andorrà

      @ramimoujaes Please condider to modify yor project as per my suggestion in your other thread. Your money management is certainly complex. Can you please provide a numerical detailed example of several trades to be managed?

    • R

      A Set
      Questions & Answers • • ramimoujaes

      2
      0
      Votes
      2
      Posts
      313
      Views

      S

      With this configuration
      0_1600421469787_Capture d’écran (223).png you will have something close to what you want, but still can open two trades on a 0.03 volume instead of one.
      Else you can use a variable like that https://fxdreema.com/shared/1uA6HIgBb

    • R

      Close Positions
      Questions & Answers • • ramimoujaes

      23
      0
      Votes
      23
      Posts
      4140
      Views

      l'andorrà

      @ramimoujaes Because the same should be done with blocks 1 and 2, sorry.

    • R

      Moving average
      Questions & Answers • • ramimoujaes

      4
      0
      Votes
      4
      Posts
      1208
      Views

      l'andorrà

      @ramimoujaes Then remove both 'close trades' blocks from its current positions a create a new separated tree with the closin conditions headed by a 'For eachtrade' block like this:

      0_1600442032483_01.png

      One is for buys and the other for sells.

    • R

      Opening position only once
      Questions & Answers • • ramimoujaes

      2
      0
      Votes
      2
      Posts
      410
      Views

      TipsyWisdom

      trying putting a "No Trade" block above each. then specify buy or sell.

      Next, if that doesn't work, put a Check Trade Count and set it <1.

    • R

      Close position after a specific time.
      Questions & Answers • • ramimoujaes

      2
      0
      Votes
      2
      Posts
      658
      Views

      l'andorrà

      @ramimoujaes For your question one this is the simplest way to do it:

      0_1600271828705_01.png

      However, this will close the trade immediatley after creating it, so you will need another filter to know at what exact moment the EA is supposed to know when a new candle is open.

      For your question 2 you can use this:

      0_1600271928736_02.png

      I forgot to add a 'clse trades' block below, sorry.

    • R

      Strong Confirmation
      Questions & Answers • • ramimoujaes

      24
      0
      Votes
      24
      Posts
      1956
      Views

      l'andorrà

      @ramimoujaes I answerd in your new thread. Please take a look at my suggestions there. We can continue there also, please..

    • R

      Assist in timinings
      Questions & Answers • • ramimoujaes

      6
      0
      Votes
      6
      Posts
      561
      Views

      roar

      @ramimoujaes this is actually very close, just add "no position" checks:
      https://fxdreema.com/shared/fj89p7mHb

    • 1
    • 2
    • 1 / 2