fxDreema

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

    Help with candles

    Questions & Answers
    2
    9
    1065
    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.
    • E
      edwardseer last edited by

      hi im trying to take m15 signals and output it to m5 candles for visual backtesting. but i just cant seem to make it work. please help me see the problem >< Thank you.

      ......
      Stocastic.xml

      1 Reply Last reply Reply Quote 0
      • E
        edwardseer last edited by

        nvm realised i did not change the timeframe for the price too >>

        1 Reply Last reply Reply Quote 0
        • E
          edwardseer last edited by

          how do i set it to delete the current arrow drawn on the chart when the conditions are no longer met for the current bar.

          1 Reply Last reply Reply Quote 0
          • E
            edwardseer last edited by

            also can i clarify the indicator moves within limits, the periods starting from candle is the starting candle id, ie 1 means 1 bar before, then the period of how many candles refer to how many candles to the LEFT of the starting candles

            1 Reply Last reply Reply Quote 0
            • E
              edwardseer last edited by

              y wouldnt the blue line draw in the following file its under the indicator moves within limits part

              ......
              Stocastic.xml

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

                Ummmm... are you aware that your blocks are located under "on Init", so the EA runs more like a Script - one time, when you add it?

                Yes, the period starts from that candle to the left.

                1 Reply Last reply Reply Quote 0
                • E
                  edwardseer last edited by

                  yes i am aware its on init due to weekend market are close and i wanna do a visual backtest of the signals generated.
                  i cant seem to make it work though. not sure why.
                  what i wanted to do is when the indicator moves within the limit for period of 3 candles it draws a line. ID0 is the "current" candle in the loop and ID 1 is the candle before
                  i ended up using strategy tester instead. although its not gd for multiple timeframe analysis due to cant timeframe switch

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

                    The problem comes from the fact that I use some cache inside block "Indicator moves within limits". It always returns the result from the first iteration, because the EA stays on the same candle. I will see if I can make it work for your case, and still using cache (to work faster in normal situation).

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

                      I removed that cache now, otherwise I need to make the code even more complex, which is something I don't like. So I don't know, maybe I will turn it on again if someone decide that the block runs slowly.

                      Anyway, does it work now? I have blue lines here and there, but I have no idea what should I see 🙂

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

                      Online Users

                      R
                      A
                      T
                      N
                      K
                      R
                      R

                      14
                      Online

                      146.7k
                      Users

                      22.4k
                      Topics

                      122.6k
                      Posts

                      Powered by NodeBB Forums | Contributors