fxDreema

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

    Posts made by Trader3487

    • RE: Check Trades Position Block?

      having trouble getting this to draw arrow: http://fxdreema.com/shared/am8G3OUpb
      I created this one to test but it's opening orders very close to each other. Even though the buy now comes after "every tick" block, it should only open an order if there are no other orders within 0.001 above or below. Am I missing something? http://fxdreema.com/shared/EejFU65ae

      Thank you! 🙂

      posted in Questions & Answers
      T
      Trader3487
    • RE: Check Trades Position Block?

      ... how can I check if the block is actually looping through all of the orders and not just checking the first (newest) order?

      posted in Questions & Answers
      T
      Trader3487
    • RE: Check Trades Position Block?

      brilliant! thank you. When I added a levels tester to print "open price" on screen it prints only the open price of first order in loop so it seems that the "in loop/trade order in loop" in condition blocks only checks the first trade. But we want if candle close[0] < open price level for any open trade not just the first trade. Or maybe it is working correctly but levels tester can print only one value?

      posted in Questions & Answers
      T
      Trader3487
    • RE: Check Trades Position Block?

      also, is there a way to check whether another trade is open close to the current market value? For example, if trade exists within 10 pips of candle close[0], then don't open new trade

      posted in Questions & Answers
      T
      Trader3487
    • RE: Check Trades Position Block?

      I am looking for a block/way to do the following: if less than 3 trades exist between high point and low point of previous 12 hours, then open trade. If condition is false, do not open trade.
      In other words, is there a way to check if trade/how many trades are running within specific market range?

      posted in Questions & Answers
      T
      Trader3487
    • RE: Switching EAs On Live Chart

      great, so it sounds like the group number entered in the trailing stop block that is associated with the buy/sell blocks should continue to work with the new ea. Thanks 🙂

      posted in Questions & Answers
      T
      Trader3487
    • RE: Switching EAs On Live Chart

      will it remember trailing stops?

      posted in Questions & Answers
      T
      Trader3487
    • RE: Switching EAs On Live Chart

      Assuming the group #s stay the same, if you switch the ea on a live chart will it still manage the trades that were opened with the old ea (i.e. does project id, magic #, etc. have to be the same)?

      posted in Questions & Answers
      T
      Trader3487
    • RE: Simpler Way Than Using 8 Blocks?

      if I have the same ea running on multiple 5-decimal charts (meaning, same ea is running on EURUSD, GBPUSD, AUDUSD, etc), are formula results kept separate for each chart or do they overwrite each other? For example, the formula block that calculates trailing stop distance (spreadsize + s/l size) stores result in variable named "SL_5point". Does it hold each symbol's result separately or does each one overwrite the other one? It looks like it can hold separate values for SL_5point variable simultaneously (one for each chart) because I opened up 8 different charts on a demo account and attached the same ea to each one. The comment on each chart is displaying different value for SL_5point variable. I hope this is true 🙂

      posted in Questions & Answers
      T
      Trader3487
    • RE: Simpler Way Than Using 8 Blocks?

      I think I will separate this ea into 3 different eas: one ea for 5-decimal charts, one for 3-decimal charts & one for 2-decimal charts and rename variables for each one.

      posted in Questions & Answers
      T
      Trader3487
    • RE: Simpler Way Than Using 8 Blocks?

      Where do I find "input in digits" or is that the concept that you go on to describe? That sounds doable but could you do one example on test project id: mt4-8457, just want to make sure I'm on the right track...

      posted in Questions & Answers
      T
      Trader3487
    • RE: Simpler Way Than Using 8 Blocks?

      ok great! Now last step: associating the correct trailing stop with the correct market. There are 3 different trailing stops in this ea - one for 5-decimal charts, one for 3-decimal charts, and one for 2-decimals. I tried this strategy of "Market (empty=Current)" parameter with the trailing stop also but it doesn't seem to work. If if use group #s then I need to duplicate the buy/sell blocks 3 times. I'm testing this out here before applying it to a more complicated scenario. Eventually, I want to set the ea on 8 different charts (8 different markets) and, depending on which market it is on, the correct trailing stop should apply.

      Thanks for your help 🙂

      posted in Questions & Answers
      T
      Trader3487
    • RE: Simpler Way Than Using 8 Blocks?

      only one "Less than..." block for all symbols (1 block total) or one for each symbol (8 blocks total)?

      Thanks for the tip about "on init" - that will make things a lot cleaner 🙂

      posted in Questions & Answers
      T
      Trader3487
    • RE: Simpler Way Than Using 8 Blocks?

      I am using 8 "if less than n trades are running" blocks (project id: mt4-8457). Is there a simpler way to do this?

      posted in Questions & Answers
      T
      Trader3487
    • RE: Variable For Broker's Minimum S/L

      well, let's say you want to offset the trailing stop so it starts after the open price. A fixed value won't work for all symbols, wouldn't I need a dynamic value? How would I do this?

      posted in Questions & Answers
      T
      Trader3487
    • RE: Variable For Broker's Minimum S/L

      I noticed that when you edit block, the comma (",") in "MarketInfo("EURUSD",MODE_STOPLEVEL)" changes to a period (".") but if you set it back to a comma, then it compiles without errors. But it still doesn't work correctly.

      Trailing stop mode = dynamic size (in pips)
      Start when profit is above = dynamic level

      dynamic size (in pips) = dynamic level?

      posted in Questions & Answers
      T
      Trader3487
    • RE: Variable For Broker's Minimum S/L

      this is giving me compile errors when I put MarketInfo("EURUSD",MODE_STOPLEVEL) into "start when profit is above" field. If I leave that field empty then, it works but I need to put this there as offset so trailing stop doesn't start in the negative zone: http://fxdreema.com/shared/hp3YtkRhc

      posted in Questions & Answers
      T
      Trader3487
    • RE: Variable For Broker's Minimum S/L

      thanks!

      posted in Questions & Answers
      T
      Trader3487
    • RE: Variable For Broker's Minimum S/L

      Is there a way to call variable that contains broker's s/l minimum for a particular symbol? For example, to use a condition block that says if market price for [symbol name] > broker minimum for that symbol, then set s/l.

      I am looking at the column on the right side of this page titled "limit and stop loss levels": http://www.xm.com/assets/pdf/spreads/XM ... o_2013.pdf

      posted in Questions & Answers
      T
      Trader3487
    • RE: Passing Formula Results To Project Variable

      I found a workaround by using formulas instead of variables but here is an example before implementing workaround. Project id: mt4-1808

      posted in Questions & Answers
      T
      Trader3487
    • 1
    • 2
    • 8
    • 9
    • 10
    • 11
    • 12
    • 13
    • 14
    • 15
    • 10 / 15