fxDreema

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

    Topics created by Laneciar

    • L

      Multiple Trades Closing At Different Times
      Questions & Answers • • Laneciar

      9
      0
      Votes
      9
      Posts
      1759
      Views

      fxDreema

      @laneciar Everything in "Buy now" block happens at the time when the trade is created. Except the expiration settings, because I wrote a system that would check the time on every tick outside this block. But SL and TP are just levels and they will be placed at certain level and that's all. To close the trade on indicator signals, then you need to do it outside this block - to detect the signal (with Condition for example) and then to close it (with "Close trades").

      But when you use "Close trades", it's important to NOT allow this block to close any trade immediately after the trade is created. Many people make this error, because the conditions to close the buy are the same as the conditions to sell, and the conditions to close the sell are the same as the conditions to buy. A loop happens and the EA buys and sells non stop. Take a look at the third example here - https://fxdreema.com/examples - where I used two "Close trades", but because of the settings in the blocks no such deadly loop happens.

    • L

      EA to close half trades when crossing Buffer point, while putting trail loss on other half.
      Questions & Answers • • Laneciar

      3
      0
      Votes
      3
      Posts
      685
      Views

      C

      @laneciar Here some screen shots with possible ways to go about it... I haven't tried, depends on your indicator, and where you want to TP. Configure specifically. Anyone with other suggestions, or if I am wrong about these, please correct and give your perspective. Thanks.

      First example is with two sets of buy sell, where one is with Trailing stop loss, the other with TP at price level from indicator buffer. Different Groups!!!
      In the picture is SL at price level, with TP at 100% from SL , meaning same distance on profit from open price as the SL. This could be 200% etc.
      But you could do SL at some pips, and TP at some level, based on indicator.
      0_1556022910012_Screen Shot 2019-04-23 at 15.29.42.png

      Second example is for loop with condition on indicator or how you want it. But in this case, I guess you will have to have more than 0.01 lot size, as 0.01 is minimum at most brokers, and currencies. It depends, I guess.
      0_1556023271323_Screen Shot 2019-04-23 at 15.29.55.png

      Third Example is with on trade event, not on tick.. and with Groups!!! also.
      0_1556023481861_Screen Shot 2019-04-23 at 15.30.39.png

      Hope this helps, and if there are other suggestions please help, this is good to know for everybody. Thanks.

    • L

      How to Have Bot Read From Different Chart Time Frames
      Questions & Answers • • Laneciar

      3
      0
      Votes
      3
      Posts
      616
      Views

      fxDreema

      Yes, better post some example (Projects -> Create a Shared Copy). I can also see your projects, so for me only the name of the project works. Otherwise different timeframes should work for the Tester.

    • L

      Looking For Accurate Trendline/Trend Zone Indicator That My EA Can Measure
      Questions & Answers • • Laneciar

      29
      0
      Votes
      29
      Posts
      6377
      Views

      C

      @laneciar no pb. I wrote to you in chat.

    • L

      How to Have Bot Buy/Sell When it Hits Tread lines in Picture
      Questions & Answers • • Laneciar

      4
      0
      Votes
      4
      Posts
      898
      Views

      C

      @laneciar Glad I was of help. I'm also quite a newbie, but learning.
      At the top of all condition blocks, you could use a - No trade - block. That way, the underlying chain of blocks, triggers only if there is no trade. Also, you could give it a Break even block, tied to the else point (orange).
      So... If no trade... then chain of blocks. Else, (meaning when trade) > BE function.

    • 1 / 1