fxDreema

    • Register
    • Login
    • Search
    • Back to the main page
    • Categories
    • Recent
    • Tags
    • Popular
    • Search

    For each Trade

    General Discussions
    2
    6
    2014
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • M
      mpr260975 last edited by

      Hi

      I'm really struggling with this block. It consumes my PC for hours in any one month back testing. If I use 'For Each Trade' > 'Pips away from take profit' > 'Modify stops'...it carries out 3 million trades per fortnight (backtesting). My PC can't take it and falls in a heap. Its ridiculous. Why does it do this? How can I make it more efficient?

      1 Reply Last reply Reply Quote 0
      • fxDreema
        fxDreema last edited by

        By the way you don't need any of the "AND" blocks you use.

        Hours for 1 month testing doesn't sound normal for me. I can see this in one of your projects: http://prntscr.com/cbv6m1 Blue blocks doesn't need pink blocks to work. In this case you don't need the pink blocks, because the Trailing stop block has the loop, the filters and everything inside. Trailing stop block is like multiple pink blocks into 1 block.

        1 Reply Last reply Reply Quote 0
        • M
          mpr260975 last edited by

          Thanks admin. I'm getting the hang of it. Fantastic tool and has saved me and many others lots of money in developers.

          Why is there no volume indicator included ? And how best would I include support and resistance levels? Ie, rather than = < or > conditions, could you include <> within certain pips channel. If 2 candle lows are similar and a floor has been hit, I'd like to use that but currently I'd have to code it.

          1 Reply Last reply Reply Quote 0
          • fxDreema
            fxDreema last edited by

            I don't know, I can't find Volumes indicator in MQL4's indicators list: https://docs.mql4.com/indicators Not even in the Indicators folder.
            This <> is interesting idea, but I don't think I will make it. It can be dome with two Condition blocks.

            1 Reply Last reply Reply Quote 0
            • M
              mpr260975 last edited by

              How can within <> be achieved with two conditions blocks?

              The way I see it, you can have one condition whereby candle 2 is compared to candle 1 (higher/lower/crossover etc...or different - god knows what different means btw). However, I can't see any way of coding higher but within x pips or lower but within x pips. The different option might do this but there is no description what 'different' means.

              I'm trying to code something to detect resistance levels.....how would you do this?

              Michael

              1 Reply Last reply Reply Quote 0
              • fxDreema
                fxDreema last edited by

                Different means "not equal to", the opposite of "!=". These is no option to check that a value is between two limits in "Condition". Well, you can try "Indicator moves within limits", which I think with proper settings can do that

                1 Reply Last reply Reply Quote 0
                • 1 / 1
                • First post
                  Last post

                Online Users

                V
                E

                16
                Online

                146.7k
                Users

                22.4k
                Topics

                122.6k
                Posts

                Powered by NodeBB Forums | Contributors