fxDreema

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

    Storing specific candle high, low and pip size

    Questions & Answers
    2
    8
    1673
    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.
    • H
      Heisenburg last edited by

      Hi, would anyone be able to help with the above? I am wanting to store Monday daily candle high, low and pip length. I have tried doing this by using a weekday filter and rejecting Monday and accepting Tuesday onwards. And then creating 3 variables based on candle '1' for the high, low and pip length. However, I think as time moves on and we get to wednesday for example then these values would now store Tuesday values. Any helpuch appreciated!? Cheers

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

        What if we rejected every day other than Tuesday?
        0_1535986023269_49d6bacc-2bce-47b5-aa18-495c82d7371b-image.png

        Need small help? Tag me in your post
        Need big help? https://www.fiverr.com/big_algo/automate-your-winning-strategy-in-mql4-or-mql5

        1 Reply Last reply Reply Quote 0
        • H
          Heisenburg last edited by

          Thanks Roar,
          Would that not impede my ability to trade Tuesday-Friday though?I basically have the same thing as you only I'm not rejecting Wednesday-Friday and then I've for my condition blocks after the variables

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

            Yes, that would affect the later trading, but only if you put the condition blocks after the filters.. Why don't you just create a whole new tree for the condition blocks?
            0_1535988481447_d4fb5f45-a770-4728-b08e-4310403273b7-image.png

            Need small help? Tag me in your post
            Need big help? https://www.fiverr.com/big_algo/automate-your-winning-strategy-in-mql4-or-mql5

            H 1 Reply Last reply Reply Quote 0
            • H
              Heisenburg @roar last edited by

              @roar Thanks, I seem to be struggling to get this to work though for some reason. What I basically want to do is to use the High or Low and the Pip size in order to be able to take a trade on the high or low and to use the pip size to work out the stop loss.
              For example if I want to buy on the high I would do a buy pending order with the variable 'high' and so I would choose the attached settings but buy pending order never seems to place when i try the strategy tester, any ideas? Cheers

              0_1536043885735_Capture.PNG

              H 1 Reply Last reply Reply Quote 0
              • H
                Heisenburg @Heisenburg last edited by

                Further to this it looks like as the default value is zero then this Weekday filter doesn't seem to be working as if I manually change the Monday Daily High default from zero to a price on the chart I can see if buys at that price so it looks like this variable isn't doing what I want it to do ie work out the Monday Candle High value, anyone any ideas? Thanks

                H 1 Reply Last reply Reply Quote 0
                • H
                  Heisenburg @Heisenburg last edited by

                  Can anyone provide me with any wisdom on this? It looks to me that as I have more than one weekday filter that the second block of weekday filter is negating the first block of weekday filter that I am using to store Monday high/low/pip value even though I don't have them joined up, arrrghh!

                  1 Reply Last reply Reply Quote 0
                  • H
                    Heisenburg last edited by

                    Finally figures this out - Just needed to add an and block after Modify Variables.

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

                    Online Users

                    L
                    H
                    S
                    E

                    10
                    Online

                    146.7k
                    Users

                    22.4k
                    Topics

                    122.6k
                    Posts

                    Powered by NodeBB Forums | Contributors