fxDreema

    • Register
    • Login
    • Search
    • Back to the main page
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    1. Home
    2. kevin
    K
    • Profile
    • Following 0
    • Followers 0
    • Topics 2
    • Posts 21
    • Best 0
    • Controversial 0
    • Groups 0

    kevin

    @kevin

    0
    Reputation
    1549
    Profile views
    21
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    kevin Unfollow Follow

    Latest posts made by kevin

    • RE: Specify crossover candle?

      Ok, I have managed to get an indicator that paints an arrow above or below the candle where crossover happened. See the picture attached: http://imgur.com/ueOksdT

      Now, the thing is that I wonder which blocks to use to create the condition I would like. That is:

      Long - Condition 1: EMA 10 > EMA 20
      Condition 2: Bid x> High of the candle where the arrow (green one) is painted

      How do I go about with the second condition? Firstly I though of using the block indicator is visible... But that does not specifically select the candle where the arrow is painted. Moreover, the arrow is NOT painted exactly at the high/low of the candles, thus using the condition bid x> indicator is not an option as well. Help please?

      Thank you.

      posted in Questions & Answers
      K
      kevin
    • RE: Specify crossover candle?

      __I surrender with this question 🙂

      The only block that does iterate through candles and comparing indicator values is "Indicator moves within limits", but this block does not output anything. The other way to get some information is via "More options" when you are using custom indicators, because only for custom indicators there are more options in "More options" 🙂 The other way is to use "Loop (pass N times)", but because this block is too basic and there is no break mechanism, I would not use it for this case.

      What else... you can set some Variable and remember the price when the crossover happens, but when the EA is restarted, this information will be lost. And this information works only in forward direction.

      I think the best would be to have some custom indicator that outputs the information you need. Unfortunately fxDreema cannot build indicators :)[/quote:2qxos7uj]

      😄 Well, thank you anyway. Now that you mention custom indicators, I may try to have something like an arrow pointing to the candle of the crossover. When price crosses for example below the low of that candle (and all the other conditions are met aswell), trigger sell order. I just need to figure out where to get such an indi 😉

      posted in Questions & Answers
      K
      kevin
    • RE: Specify crossover candle?

      Greetings,

      Please, I would like to ask how to specify the candle at which MA's have crossed over? More specifically, Im trying to achieve the following condition:

      Daily timeframe, MA 10 < MA 20, If price is less than the low of the day of crossover, sell.

      Note, that price may wander off for several days and not reach that point, until it just gets there eventually. Thus, specifying candles by candle ID is useless in this case, because it may take several days until it reaches that point. Any ideas please?

      Thank you.

      posted in Questions & Answers
      K
      kevin
    • RE: Modify (Move) Pending Order to certain price level

      After weeks of trying and testing various versions, it now opens orders over orders, like I wanted but not in the correct amount. This is what I have: https://fxdreema.com/shared/W4vgNMRkc. I have reached the conclusion that it just does not work

      posted in Questions & Answers
      K
      kevin
    • RE: Modify (Move) Pending Order to certain price level

      __Try this: http://prntscr.com/bvf9pn Or better this: http://prntscr.com/bvfaee I didn't tried it, but I guess it will work[/quote:1b5qjvpb]

      Ok, I will test it out.

      When Im thinking about it, I logically would like to use blocks under "On Trade" - "Trade created" - because this is when I would like the EA to place 1 COUNTER pending order on each of the opposite levels. (Totaling 3 pending orders, because 3 levels)

      How do I make these pending orders EXACTLY on the same price level as the initial ones though? That is what I would like to solve.

      posted in Questions & Answers
      K
      kevin
    • RE: Modify (Move) Pending Order to certain price level

      Please read the post above as well 🙂

      TEST REPORT:
      Positives: Orders open exactly at the levels where they should. (What this means that "order on order" is truly precisely placed to the point)

      Negatives: They do not open in the correct count (now, too many orders open) All is caused by the "For each pending order" block.

      Please, take the time to go through these pictures thoroughly. It will help you understand the problem better.
      This is a scenario where price goes up through all three buy levels.
      What EA does WRONG: http://imgur.com/a/VZiCa

      What EA should do CORRECTLY: http://imgur.com/a/3p9NC

      Dont get confused now, here is the continuation. Remember, in the above scenario, price went up through all three buy levels. Now, imagine that it reverses, and goes through all three SELL levels. In the picture, take a look at the numbering (order) of actions (In green circles)
      Picture here: http://imgur.com/a/Zsqly

      Basically, the blocks "For Each pending order" (Blocks 7 and 10) are causing a little bit of chaos.
      __ The CORRECT WAY IS:
      Each time a position is opened on a certain level, 1 COUNTER pending order is created on each of the opposite levels (3 Counter pending orders in total) __

      posted in Questions & Answers
      K
      kevin
    • RE: Modify (Move) Pending Order to certain price level

      Well, these blocks you gave me really are a step forward. However, there is a slight error they cause. That is, when price hits for example the 1st sell level - a sell position opens (logically) - and the EA creates 3 Buy pending orders at the buy levels. That is great.

      But when price reverses, hits the 1st BUY Level, the EA creates SELL pending orders only at the lower two levels - misses out the 1st one.

      I think this is because of the "For each pending order" blocks, particularly 7 and 10. When price reverses from the opened sell position and hits BUY Level, the three sell levels are now like this: 1st Sell position 2nd Sell pending order 3rd Sell pending order. Therefore, the EA creates sell pending orders only at the lower two levels (Because "For Each pending order" - Level 1 Sell is no longer a pending order but an opened position).

      Picture here: http://imgur.com/a/T4Wjp (NOTE: See the small Arrows created by the orders)

      posted in Questions & Answers
      K
      kevin
    • RE: Modify (Move) Pending Order to certain price level

      Thank you! I shall test this and report back 🙂

      I think you got what it is all about 🙂 This strategy is a cleverly hidden martingale. Maybe you now see how the orders are multiplying on either side. So as long as there is enough money, I will always win, I even proved it mathematically, I did the calculations. Also, this will work perfectly in a trending market, because I need the price to reach TP/SL ASAP. In a ranging market, I may expect a call from Mr.Margin. However, I aim to make a certain amount of profit, then withdraw and start again, as far as money-management goes. So yeah, this is what Im playing with for weeks now 😄

      I would also like to add that I appreciate your approach, time and help 🙂 Your explanations are great and helpful

      posted in Questions & Answers
      K
      kevin
    • RE: Modify (Move) Pending Order to certain price level

      __And what happens if all 3 Buy orders are turned into trades and you have 0 Buy orders and 9 Sell orders? Is the strategy like endless loop of doing the same stuff again and again (creating orders again and again), or there is only 1 iteration and the maximum number of pending orders at a time is 9?[/quote😠zwlo6lj]

      There is no limit to creation of orders (OR actually there is, that being your margin - which is the only drawback of the strategy). So yes, it is an endless loop of creating orders. Here, this is an example of what happens when the price goes UP, DOWN and all the way UP again, through all the levels. http://imgur.com/I6PaIS3

      posted in Questions & Answers
      K
      kevin
    • RE: Modify (Move) Pending Order to certain price level

      __But you can delete them 😮

      I don't know what to tell you. This is only 1 step that you are explaining. But if there are more steps, the way to do things can be very different. Otherwise in my latest example I think I'm showing how to put 3 orders over 3 another orders. Of course, mine are all from the same Group.[/quote:16o3hnri]

      Ok, I will write the steps and hopefully, you will have the courage and enthusiasm to go through them all - hence, my PMs 🙂

      1. Create Initial Grid
        1.1) 3 STARTING buy pending orders above mid price in 5 pip increments (TP of all the buy pending orders 5 pips above the pending orders/ SL of sell pending orders at this level too)
        1.2) 3 STARTING sell pending orders below mid price in 5 pip increments (TP of all sell pending orders 5 pips below the pending orders/ SL of all buy pending orders at this level too)

      This was the initial grid. Now here is where the fun starts.

      When price hits 1st buy pending order level - ea should create another 3 sell pending orders at the same levels where the STARTING SELL pending orders are. When price hits 2nd buy pending order level - again, ea creates another 3 sell pending orders at the STARTING SELL levels. Same applied to 3rd buy pending order level - ea places another 3 sell pending orders at the STARTING sell levels.

      The reverse happens when price triggers sell pending orders - 1st level - ea places 3 buy pending orders at the STARTING BUYS levels. Same applies when it hits 2nd and 3rd level.

      For each pending order at that particular level, the ea will create 3 COUNTER pending orders at the opposite levels.
      This it it, I think I described it as best as I could. Picture here: http://imgur.com/a5hzTlB

      Please, it may seem complex, but it is not THAT complicated. It definitely isnt rocket science and I would be grateful if this amazing software would build this nice EA 🙂

      posted in Questions & Answers
      K
      kevin