fxDreema

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

    Pls Help to identify data type for custom indicator

    Questions & Answers
    2
    16
    1490
    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.
    • Y
      yogibear13 last edited by

      I am trying to input the variables of parameters of a Custom indicator into FxDreema but having difficulty as to the TYPE of variable I should input. Pls Let me know what I should input for " TimePrice " & " Modema " & check if the rest of them are correct. Thanks.

      TimeFrame - Current time frame [ STRING ]
      HalfLength - 64 [INT ]
      TimePrice - Median price (there's a choice of 7 to choose from clicking on here.) [ ????? ]
      ModeMa - Linear weighted ( there's a choice of 4 to choose from clicking on here.) [ ????? ]
      ATRMultiplier 1 - 2.0 [ IS this INT or DOUBLE ? ]
      ATRMultiplier 2 - 3.0 [ IS this INT or DOUBLE ? ]
      ATRPeriod - 240 [ INT ]
      Shift - 0 [ INT ]
      Multicolor - True ( choice of true or false.) [ BOOL ]

      A 1 Reply Last reply Reply Quote 0
      • A
        ambrogio @yogibear13 last edited by

        @yogibear13 hello! looking in the forum
        https://fxdreema.com/instructions/builder/data-types
        https://fxdreema.com/forum/topic/8073/another-question-for-real-programmers/4
        https://fxdreema.com/forum/topic/7923/ea-enum-constant/2

        1 Reply Last reply Reply Quote 0
        • Y
          yogibear13 last edited by

          I have changed " TimePrice " data type as " ENUM " but when clicking on the " exe" tab, generates an Error message as data type "unidentifier ".I also tried inputting as " ENUM_TimePrice " and still come up with errors. What should I do ?

          A 1 Reply Last reply Reply Quote 0
          • Y
            yogibear13 last edited by

            Also I saw on youtube , a category in FxDreema Forum called " Working with FxDreema ", can't see that category in the forum now.

            1 Reply Last reply Reply Quote 0
            • A
              ambrogio @yogibear13 last edited by ambrogio

              @yogibear13 Please, read well the documentation and click on the external links. Anyway ENUM_APPLIED_PRICE

              1 Reply Last reply Reply Quote 0
              • Y
                yogibear13 last edited by

                But my Indicator does not have " Applied Price " as a parameter, instead it has " TmaPrice ." So what should I input as data type because I cannot make out anything from the links provided.

                A 1 Reply Last reply Reply Quote 0
                • A
                  ambrogio @yogibear13 last edited by

                  @yogibear13 please, can you upload your indicator?

                  Y 1 Reply Last reply Reply Quote 0
                  • Y
                    yogibear13 @ambrogio last edited by

                    Here is the uploaded Indicator.0_1612964760960_TMACentered_End_Point +2xbands_mtf_V2.ex4

                    A 1 Reply Last reply Reply Quote 0
                    • A
                      ambrogio @yogibear13 last edited by

                      @yogibear13

                      0_1612967973117_img1.JPG

                      1 Reply Last reply Reply Quote 0
                      • Y
                        yogibear13 last edited by

                        The data type " ENUM_APPL & ENUM_MA_ " is partly obstructed& cannot see the whole of it. Would you mind typing here the full form for both data types.0_1612972909540_FxDreema_2.jpg

                        1 Reply Last reply Reply Quote 0
                        • A
                          ambrogio last edited by ambrogio

                          @yogibear13 https://fxdreema.com/forum/topic/7923/ea-enum-constant/2
                          https://fxdreema.com/forum/topic/8073/another-question-for-real-programmers/2

                          ENUM_APPLIED_PRICE
                          ENUM_MA_METHOD

                          @yogibear13 you haven't read the topics i gave you.

                          1 Reply Last reply Reply Quote 0
                          • Y
                            yogibear13 last edited by

                            Many Thanks. I have amended as above. But I have put Value of "5" for TmaPrice and "4" for ModeMa. Will this still work ? Also, are these Constants & Constants / variable Box connected to a particular indicator or are just general ? Lastly if I want to bring up this Constants box again for this particular indicator to amend it, how is that done ?

                            1 Reply Last reply Reply Quote 0
                            • Y
                              yogibear13 last edited by

                              I have amended as you have shown me. When I click on the exe tab, I get error message " Median Price ", " Linear Weighted " as undeclared identifier. I noticed that when intially i manually entered the parameters in the custom indicator Box, i had entered values as " Median price " and " Linnear Weighted ". Should I had entered as numbers ?

                              A 1 Reply Last reply Reply Quote 0
                              • A
                                ambrogio @yogibear13 last edited by ambrogio

                                @yogibear13 yes, you have to put numeric value (i leaved 0 so this value can be modified in the input tab of the EA, as my screenshot above)

                                0_1612987877107_Cattura di schermata (53).png

                                0_1612987886973_Cattura di schermata (54).png

                                1 Reply Last reply Reply Quote 0
                                • Y
                                  yogibear13 last edited by

                                  Could ypu pls help me on this one as well (as in the picture).
                                  On Blue Arrow , Ea buys & on Red Arrow Ea sells.
                                  In the picture, after taking the BUy trade at No.1, Red arrow appears No.2.
                                  So, Previous trade is closed [BUY 1] & New Sell [2] is opened.
                                  But another Red Arrow appears No.3 and I also wish to open & take this trade as well. But now according to the FxDreema diagram ( below the MT4 chart ), it will open the 2nd RED Arrow trade BUT will close the previous one [No.2] BUT I wish to keep BOTH No. 2 & No. 3 opened until an opposite BLUE Arrow appears.
                                  So, is there some function that can say :-
                                  " IF Previous opened order is opposite ie. BLUE, THEN CLOSE, OTHERWISE OPEN SELL ORDER " Vice versa for the Blue arrow orders.

                                  1 Reply Last reply Reply Quote 0
                                  • Y
                                    yogibear13 last edited by

                                    0_1612989374589_FXdreem_MaBBands(2).png

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

                                    Online Users

                                    C
                                    C
                                    K
                                    T
                                    E

                                    11
                                    Online

                                    146.9k
                                    Users

                                    22.4k
                                    Topics

                                    122.6k
                                    Posts

                                    Powered by NodeBB Forums | Contributors