fxDreema

    • Register
    • Login
    • Search
    • Back to the main page
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    1. Home
    2. Andermaiden2nd
    3. Posts
    • Profile
    • Following 0
    • Followers 3
    • Topics 10
    • Posts 81
    • Best 6
    • Controversial 0
    • Groups 0

    Posts made by Andermaiden2nd

    • RE: How to set take profit for current open buys or sells at the same time ?

      @amri19rosz You need to disciminate first between buys and sells and then trail the stop loss from the buys and at the same time trail the take profit from the sells (or viceversa)

      posted in Questions & Answers
      Andermaiden2nd
      Andermaiden2nd
    • RE: Sorry to ask you Again and Again. How to get the buy/Sell Price value from Modify variable Block. i dont know how to store the variable. Can you share practical Example. Thanks

      @amri19rosz 0_1505499051489_modifyvariables_openprice.jpg

      posted in Questions & Answers
      Andermaiden2nd
      Andermaiden2nd
    • RE: Magic Number as an input!?

      Go to project options and set your desired default magic number so you don't need to change it every time 0_1505497468775_magicnumber.jpg

      posted in Bug Reports
      Andermaiden2nd
      Andermaiden2nd
    • RE: What is your plan? When can the test period end? Big Problem: Magic- and Group-No.

      @Dieter If you go to project options you will find it as an imput parameter (sort of) 0_1505496952159_magicnumber.jpg

      posted in Questions & Answers
      Andermaiden2nd
      Andermaiden2nd
    • RE: boxes

      @Jennifer I realize it does not show the constants the easy way but try to save it a mq4 and load it in your profile or just copy the blocks and rebuild thhe constants by right clicking on them (there they will show). Anyways the constant in the short period box (the single, the one below the block "range filter 2"), is 10 which is the number of bars you wanted to take as the period for the box.

      posted in Questions & Answers
      Andermaiden2nd
      Andermaiden2nd
    • RE: boxes

      @fxDreema Indeed only Draw object is needed (I confused myself with some buttons I'm working in where I need to select them to change their colors when pressed)

      posted in Questions & Answers
      Andermaiden2nd
      Andermaiden2nd
    • RE: boxes

      @Jennifer Here it goes an example: https://fxdreema.com/shared/Fdu0dU2Hd

      posted in Questions & Answers
      Andermaiden2nd
      Andermaiden2nd
    • RE: How i can add commission broker on EA Take profit

      Yes, I would advise to translate the comission to pips and add it always as an offset. With a (maximum) leverage of 500 to 1, 7 dollars per lot would mean roughly an offset of 7 ticks but with different leverage it will change so you'll have to do the math.

      posted in Questions & Answers
      Andermaiden2nd
      Andermaiden2nd
    • RE: Sorry to ask you Again and Again. How to get the buy/Sell Price value from Modify variable Block. i dont know how to store the variable. Can you share practical Example. Thanks

      Yes, I agree that in that case it is better to take the price from the trade itself but since he said he didn't know how to store the value in the variable it is better to settle that too now that we are on it (for he might need to store other prices later different from the open/close price). I particualarly use variables to store what would be the "break even" price from a group of trades where some may be closed while others remain opened so it's messy, but I experienced what you mentioned, having to reopen MT4 losing the data stored in the variables.

      posted in Questions & Answers
      Andermaiden2nd
      Andermaiden2nd
    • RE: boxes

      Well, I guess I assumed she was trying to do what I did which was to draw a box around certain area while a condition is happening (ie: the price being in range) but you are right it is not needed to modify it if you draw it once the condition has already happened. It depends on what you want to acheive.

      posted in Questions & Answers
      Andermaiden2nd
      Andermaiden2nd
    • RE: Close trade after 3 candles

      I would also use the "check loss" block, besides the check age so you only close it if it is in loss (with expiry all trades will close no mather the profit/loss).

      posted in Questions & Answers
      Andermaiden2nd
      Andermaiden2nd
    • RE: boxes

      Yes, I use it. Draw a rectangle when you want it to start and then modify it's properties every tick/bar by selecting it first with "for each object" block first (located in loop for chart objects).

      posted in Questions & Answers
      Andermaiden2nd
      Andermaiden2nd
    • RE: Sorry to ask you Again and Again. How to get the buy/Sell Price value from Modify variable Block. i dont know how to store the variable. Can you share practical Example. Thanks

      When I want to store the price wether in the moment of opening a trade or in any other moment I use the formula block, but I guess you can use the modify variables block also. Just select "Market properties"/"Ask, bid, mid" and put it in the variable (in the modify variables block is the space to the right top where it says "select variable (right click)").

      posted in Questions & Answers
      Andermaiden2nd
      Andermaiden2nd
    • RE: 5 pending orders

      You can use the block "buy pending orders in grid" (or "sell pending orders in grid") near the buy/sell blocks.

      posted in Questions & Answers
      Andermaiden2nd
      Andermaiden2nd
    • RE: How to check future candle prices

      Then check the last (or last 2 or last 3) bars for the condition. You cannot check something that has not yet come to pass. Remember that when you are checking something it is because it is happening (current bar) or has already passed (you actually can feed negative bar ID numbers but only for drawing something because there's no bar there in ID -1), so imagine all the conditions already passed (when the trade would trigger) and plan it that way. So if you want to check certain condition and then check if the next or 2 or 3 bars later the price is higher, then you need to check at each bar if in the last three bars (that would be bar ID 1, 2 and 3) all your conditions have been met (that is if the pattern you are looking for formed and also if said previous bars have a lower open price).

      posted in Questions & Answers
      Andermaiden2nd
      Andermaiden2nd
    • RE: How can I get a button to do something?

      Thanks Miro! I'll be digging more in these tutorials 🙂

      posted in Questions & Answers
      Andermaiden2nd
      Andermaiden2nd
    • RE: Cannot Turn Off Block

      You see, that's why I use this "custom" Break Even built with pink blocks because with the "check profit" block you check the profit of the trade in money, just as you want to do for what I understand, where as for the standard break even blue block you can only filter distance in pips.

      posted in Questions & Answers
      Andermaiden2nd
      Andermaiden2nd
    • How can I get a button to do something?

      Hi everybody, I'm having trouble to get to do something with a button. I used the blocks "draw button" followed by the "check button state" follow by the condition, all this in the "on Tick" tab, but it would not work so... which is the correct way to use a button? also, do buttons work in a visual backtesting?

      posted in Questions & Answers
      Andermaiden2nd
      Andermaiden2nd
    • RE: Simple script not work!

      I have the same problem, can't get the button to do anything...

      posted in Questions & Answers
      Andermaiden2nd
      Andermaiden2nd
    • 1
    • 2
    • 3
    • 4
    • 5
    • 3 / 5