Results 1 to 3 of 3
 0 Attachment(s)    

Thread: Array in extern?????

  1. #1
    Junior Member
    Join Date
    Feb 2009
    Posts
    4

    Question Array in extern?????

    can it be possible to pass an array as extern?? If so how? If not possible how can I beat around this..
    something like
    extern string trades[4];// where the array contain changeable strings
    or like
    extern int days[7];

  2. #2
    Administrator funyoo's Avatar
    Join Date
    Sep 2008
    Posts
    7,003

    Default

    Quote Originally Posted by starlimit03 View Post
    can it be possible to pass an array as extern?? If so how? If not possible how can I beat around this..
    something like
    extern string trades[4];// where the array contain changeable strings
    or like
    extern int days[7];
    Hi starlimit03 and welcome,

    Not to my knowledge.

  3. #3
    Junior Member
    Join Date
    Feb 2009
    Posts
    4

    Default

    ok thanx
    what I actually want to do is get an EA which can trade based on multiple news per day..
    the number of news would be extern, the news hours and minutes would also be extern....
    I want the minute & hour values to be passed as array so I can loop actions on them...

Similar Threads

  1. Ticks in array
    By fxtester in forum MQL programming
    Replies: 0
    Last Post: 08-15-2014, 18:17

Tags for this Thread

news

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •