Not logged in

Forums

Viewing 5 posts - 1 through 5 (of 5 total)

Forums>EA Wizard>General Discussion>Merge numbers in a different way ?

  • #197301 |
    Customer
    89 Posts

    I have 2 integer variables and I want to add/merge them in a different way to get int3

    int1 = 50
    int2 = 14

    int3 = 5014

    is it possible ??

    • This topic was modified 4 months, 1 week ago by  JS17.
    #197303
    Administrator
    348 Posts

    Hello,

    it can be easily done using the Addition function. See file attached

    Attachments:
    You must be logged in to view attached files.
    #197308
    Customer
    89 Posts

    Tomas
    Using your example int3 = 64
    which is NOT what I want
    I need to merge the numbers?

    The answer I need is int3=5014, which is not simple addition

    Thanks anyway

    • This reply was modified 4 months, 1 week ago by  JS17.
    #197361
    Administrator
    348 Posts

    Oops, ok, this requires a little mql4 trick. Find the example attached

    Attachments:
    You must be logged in to view attached files.
    #197369
    Customer
    89 Posts

    Tomas – Many thanks working now

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.