fxDreema

    • Register
    • Login
    • Search
    • Back to the main page
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    1. Home
    2. trader.philipps
    3. Posts
    T
    • Profile
    • Following 3
    • Followers 38
    • Topics 20
    • Posts 1001
    • Best 91
    • Controversial 2
    • Groups 0

    Posts made by trader.philipps

    • RE: Store Trade Targets such as TP1, TP2, etc. *** SOLVED ***

      @trader-philipps Okay, found the error. I need to filter for prefeix not name contains.

      posted in Questions & Answers
      T
      trader.philipps
    • RE: Store Trade Targets such as TP1, TP2, etc. *** SOLVED ***

      @roar How do I pick up the Horizontal lines correctly?

      Example for deletion ....

      0_1580395438415_3024adce-879c-4942-bb0a-d3953478bbcb-image.png

      Doesn't work. The lines are all with the color AliceBlue!

      posted in Questions & Answers
      T
      trader.philipps
    • RE: how to add max number of open trade option ?

      @mbiganyi-dagwi Still hard to give an exact answer as we can't see how No Trade and Check trades count are configured. May you shar the project link here?

      posted in Questions & Answers
      T
      trader.philipps
    • RE: Store Trade Targets such as TP1, TP2, etc. *** SOLVED ***

      @roar Unfortunately I cannot set the prefix of the horizontal line with a variable. Even if I put code there, it is interpreted as a string.

      0_1580391512688_4c5f52b3-8ea4-466c-adca-6fd6129b8257-image.png

      This doesn't work.

      So I have to set a static lable such as TP1 or TP2 and have just 1 order per time / chart.

      Do you have any other idea?

      Another issue I might face with your approach is that the ticket number changes when partially closing a trade. But there might be a way to work around that.

      posted in Questions & Answers
      T
      trader.philipps
    • RE: EA should not open trades at certain times

      @dragonfly617 Like this

      0_1580373243336_6a785467-5e38-4388-a4fe-f3d52eb8a1ba-image.png

      I also set my variable vsNewTradesEnabled to "False" or "True" in order to dosplay this information in a comment block. But that is optional.
      Furthermore I addes a Weekday block which is also optional for the requested functionality.

      posted in Questions & Answers
      T
      trader.philipps
    • RE: EA should not open trades at certain times

      @dragonfly617 Define what you mean by "not to work". I assume you mean it SHOULD NOT open new trades, but SHOULD care about open trades. Is that correct?

      posted in Questions & Answers
      T
      trader.philipps
    • RE: Manual Trailing stop loss

      @l-andorrà said in Manual Trailing stop loss:

      Did you consider the possibility of running the same EA on different charts with one single trade each? That would dramatically ease the structure of the EA.

      Manual opened trades will have magic number 0 unless you have some trade manager that can set a magic number. So it wouldn't matter if there are 2 or 10 EURUSD trades, the EA on each chart would pick them all up.

      posted in Questions & Answers
      T
      trader.philipps
    • RE: Store Trade Targets such as TP1, TP2, etc. *** SOLVED ***

      @roar Interesting approach. Usually I try to avoid visual stuff. How would you identify those lines? By prefix?

      posted in Questions & Answers
      T
      trader.philipps
    • RE: how to add max number of open trade option ?

      @mbiganyi-dagwi That depends what you are doing behind the blocks. If you use No Trade, the blocks connected on the orange dot will only be executed if there is "NO TRADE". If those blocks are checking your entry conditions, you wouldn't be able to let them be executed until all open trades are closed.

      posted in Questions & Answers
      T
      trader.philipps
    • Store Trade Targets such as TP1, TP2, etc. *** SOLVED ***

      At current I'm always recalculating my profit target again and again, what is a bit inefficient. Also I recognized that pips away from block sometimes doesn't work correctly and hence some trades run through my TP1 for instance withaut any partial closure. So I am thinking ao a different way to achieve this.

      At current I have some solutions in my mind.

      1. Store my profit targets in the order comment and read it from there. Not nice as I expose my levels to the broker, but could work.
      2. On new trade I'd store the order ticket number in a global variable where the order ticket is the interger value and my profit targets are the string value. I could then read this and split the string into the right numbers.

      Is there a better approach to persist the targets without the need to re-calculate them? Simple variable or array will be lost when EA gets re-initialized or terminal restarted.

      Any ideas are welcome!

      posted in Questions & Answers
      T
      trader.philipps
    • RE: How/what blocks can i use the blocks to structure this problem?

      @fxgjg Sounds like you are more opening and deleting pending orders than trade them. However, is the number of pending orders fix or variable? You might count through the open orders and close that much that you no need anymore. But I need to understand what's the intention first - especially static vs variable rules.

      posted in Questions & Answers
      T
      trader.philipps
    • RE: struct member undefined

      @BlueMoon Or share your project that we can compile it for you. As @roar said there is a variable you use that is not defined or recognized as a variable. If the compiler complains about BuySell2222 variable, check the variable declaration in fxdreema if it's written the same way.

      posted in Questions & Answers
      T
      trader.philipps
    • RE: How to check if a block is On or Off

      @l-andorrà Yeah with flags you have check function but I currently prefer switching On/Off a block.

      posted in Questions & Answers
      T
      trader.philipps
    • RE: Binary options trade disabled

      @jakedabass Looks okay. But the issue you're facing has a different reason I think. Are there any other hints in the logs?

      posted in Questions & Answers
      T
      trader.philipps
    • RE: How the EA follows these objects on the chart????

      @gt-0 Check the buffers of the indicator in data window <CTRL>-D in terminal.

      posted in Questions & Answers
      T
      trader.philipps
    • How to check if a block is On or Off

      Simple issue, but I can't find the solution (yet). How can I check if a specific block is swiched On or Off? For instance if I have several places were a specific block gets switched Off or On and I want to write the state of the block in a comment to display on screen.
      Example: Block ID 10 is the Trade Entry path.

      I know that I can track by writing a variable, but is there a specific function to check if a block is ON or Off?

      posted in Questions & Answers
      T
      trader.philipps
    • RE: Binary options trade disabled

      @jakedabass Ok, than maybe it's your terminal. Check the following:

      1. Verify options -> Expert Advisors -> Allow live trading
      2. Verify expert properties -> common -> Allow live trading and Long & Short positions
      posted in Questions & Answers
      T
      trader.philipps
    • RE: Manual Trailing stop loss

      @salahuddinonline I think 1 For each trade block is enough. However, that might not be the solution of the issue.

      posted in Questions & Answers
      T
      trader.philipps
    • RE: Close all Pending Order before weekend

      @asto94 Something like this

      0_1580212393234_b2e9427c-31d1-4fa8-809f-be095a45b44f-image.png

      posted in Questions & Answers
      T
      trader.philipps
    • RE: close pending orders when take profit

      @niko Is that TP closing the entire order and all pending orders should be deleted?

      In that case go to the on Trade tab. Do something like this

      0_1580212025237_7b4619e8-efa9-4db1-960c-f5662b4827ea-image.png

      Adjust the Trade closed block to your needs!

      posted in Questions & Answers
      T
      trader.philipps
    • 1
    • 2
    • 11
    • 12
    • 13
    • 14
    • 15
    • 50
    • 51
    • 13 / 51