fxDreema

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

    Backtest Mode Input variable

    Questions & Answers
    3
    7
    282
    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.
    • A
      Alex 13 last edited by Alex 13

      Good morning everyone,
      I want to input variables to change between 3 input mode's.
      Every tick
      1minute bar ohlc
      Openprice
      My goal is to echif backtestresolds like in the live market.
      Is this possible to implement and change the blocks accordingly and what happens with the higher timeframe indicators in the Code.
      It would be wonderful if someone can help me.

      1 Reply Last reply Reply Quote 0
      • l'andorrà
        l'andorrà last edited by

        You will need a ENUM type variable to do that. I'm not an expert on that but I'm sure you will find many threads dedicated to that topic by selecting ENUM (capital letters) as keyword.

        (English) I will try to help everyone in these fxDreema forums. But if you want to learn how to use the platform in depth or more quickly, I can help you with my introductory fxDreema course in English at https://www.theandorraninvestor.eu.

        (Català) Miraré d’ajudar tothom en aquests fòrums d’fxDreema. Tanmateix, si vols aprendre a fer servir la plataforma amb més profunditat o més de pressa, t’hi puc ajudar amb el meu curs d’introducció a fxDeema en català a https://www.theandorraninvestor.eu/ca.

        (Español) Intentaré ayudar a todo el mundo en estos foros de fxDreema. Sin embargo, si quieres aprender a usar la plataforma en profundidad o más deprisa, te puedo ayudar con mi curso de introducción a fxDreema en español en https://www.theandorraninvestor.eu/es.

        1 Reply Last reply Reply Quote 0
        • A
          Alex 13 last edited by Alex 13

          Thank you for your responding. I have found something that i would like to implement can i postet hear the link to it?

          1 Reply Last reply Reply Quote 0
          • A
            Alex 13 last edited by

            #property strict

            enum ENUM_BAR_PROCESSING_METHOD
            {
            PROCESS_ALL_DELIVERED_TICKS, //Process All Delivered Ticks
            ONLY_PROCESS_TICKS_FROM_NEW_M1_BAR, //Only Process Ticks From New M1 Bar
            ONLY_PROCESS_TICKS_FROM_NEW_TRADE_TF_BAR //Only Process Ticks From New Bar in Trade TF
            };

            //################
            // Input Variables
            //################

            input ENUM_TIMEFRAMES TradeTimeframe = PERIOD_M15; //Trading Timeframe
            input ENUM_BAR_PROCESSING_METHOD BarProcessingMethod = ONLY_PROCESS_TICKS_FROM_NEW_M1_BAR; //EA Bar Processing Method

            1 Reply Last reply Reply Quote 0
            • A
              Alex 13 last edited by

              because of this errors that i recive

              Unbenannt c.JPG

              S 1 Reply Last reply Reply Quote 0
              • S
                sktsec @Alex 13 last edited by

                @Alex-13
                Your ENUM codes seems right. The problem may have happened somewhere else. See the error, it seems not related to your inputs code

                1 Reply Last reply Reply Quote 0
                • A
                  Alex 13 last edited by

                  No,this are different errors.

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

                  Online Users

                  M
                  A
                  M
                  E
                  O
                  O
                  S
                  A

                  14
                  Online

                  146.7k
                  Users

                  22.4k
                  Topics

                  122.6k
                  Posts

                  Powered by NodeBB Forums | Contributors