Page 8 of 55 FirstFirst ... 6 7 8 9 10 18 ... LastLast
Results 71 to 80 of 546
Like Tree74Likes

Requests and Raw Ideas

This is a discussion on Requests and Raw Ideas within the General Discussion forums, part of the Trading Forum category; Originally Posted by doc Dear Igor, I had checked the mod of my ea but I found an issue that ...

      
   
  1. #71
    igorad
    Guest
    Quote Originally Posted by doc View Post
    Dear Igor,
    I had checked the mod of my ea but I found an issue that I cannot understand.
    During high volatility moment the ea generates wrong touchx and previoustouchx (tested each tick mode on m1) as you can see from this video:

    Any support is really appreciate, thanks.

    Best regards

    doc
    Hi doc,

    I think it's not good idea to test tick data in the tester. Please try to test on the real market.

    Regards,
    Igor

  2. #72
    Junior Member
    Join Date
    May 2013
    Location
    A, A
    Posts
    12
    Quote Originally Posted by igorad View Post
    Hi doc,

    I think it's not good idea to test tick data in the tester. Please try to test on the real market.

    Regards,
    Igor
    Hi Igor,
    do you have a tick data indicator for mt5? (or any suggestion to store tick data)

    Thanks

    doc

  3. #73
    Junior Member
    Join Date
    May 2013
    Location
    A, A
    Posts
    12

    Question

    from this post: previous bid - MQL4 forum

    This code doesn't work on mt5:

    Code:
          static double bid_old = 0; 
          
       bid_old  = tick.bid;    
        
    Print("bid_old :",bid_old);
    What I suppose to do for get the previous tick data of bid price???

  4. #74
    Senior Member matfx's Avatar
    Join Date
    Sep 2013
    Location
    Malaysia
    Posts
    1,178
    Blog Entries
    114
    Follow matfx On Twitter
    Hi doc,

    Try this ticks indicator for metatrader 5.
    Attached Files Attached Files
    doc likes this.
    Follow my official trading theregulartrader blog

  5. #75
    Junior Member
    Join Date
    May 2013
    Location
    A, A
    Posts
    12

    Question

    Quote Originally Posted by matfx View Post
    Hi doc,

    Try this ticks indicator for metatrader 5.
    Thanks Matfx,
    but just a question is there a simpler way to have only the previous tick data of bid price, without using the icustom function?

    Best regards

    doc

  6. #76
    Senior Member matfx's Avatar
    Join Date
    Sep 2013
    Location
    Malaysia
    Posts
    1,178
    Blog Entries
    114
    Follow matfx On Twitter
    Quote Originally Posted by doc View Post
    Thanks Matfx,
    but just a question is there a simpler way to have only the previous tick data of bid price, without using the icustom function?

    Best regards

    doc
    Hi doc,

    As far as i know, this is the way the indicator work to show old tick data. I'm not a coder as well, Igorad might give his view into this icustom function.

    Regards,

    matfx
    Follow my official trading theregulartrader blog

  7. #77
    Junior Member
    Join Date
    May 2013
    Location
    A, A
    Posts
    12
    Quote Originally Posted by matfx View Post
    Hi doc,

    As far as i know, this is the way the indicator work to show old tick data. I'm not a coder as well, Igorad might give his view into this icustom function.

    Regards,

    matfx
    Thanks,
    I already used it, and it works correctly
    Code:
    CopyBuffer(handle_ticky,0,0,2,ticky)           !=2
    but I hope to find a simpler way without using the icustom.

    Best regards

    doc

  8. #78
    Junior Member
    Join Date
    May 2013
    Location
    A, A
    Posts
    12

    Question

    Hi Igor,
    could you please take a look inside the code of ticks.mq5, there is something wrong...after sometime I get the error arrayoutofrange(76,16)

    Code:
    int max_index=ArrayMaximum(AskBuffer,startindex,depth);
       max_index=max_index>=0?max_index:0;
       int min_index=ArrayMinimum(BidBuffer,startindex,depth);
       min_index=min_index>=0?min_index:0;
       double MaxPrice=AskBuffer[max_index]+indent*_Point;
       double MinPrice=BidBuffer[min_index]-indent*_Point;
    Best regards

    doc

    ticks__5.mq5
    Last edited by doc; 05-13-2014 at 09:34 PM.

  9. #79
    Junior Member
    Join Date
    May 2013
    Location
    A, A
    Posts
    12

    Question

    Quote Originally Posted by doc View Post
    Hi Igor,
    could you please take a look inside the code of ticks.mq5, there is something wrong...after sometime I get the error arrayoutofrange(76,16)

    Code:
    int max_index=ArrayMaximum(AskBuffer,startindex,depth);
       max_index=max_index>=0?max_index:0;
       int min_index=ArrayMinimum(BidBuffer,startindex,depth);
       min_index=min_index>=0?min_index:0;
       double MaxPrice=AskBuffer[max_index]+indent*_Point;
       double MinPrice=BidBuffer[min_index]-indent*_Point;
    Best regards

    doc

    ticks__5.mq5
    my version is the build 930

    I have no idea why this problem occured all the time...anyone could help me please?

    Regards

    doc

  10. #80
    Junior Member
    Join Date
    May 2013
    Location
    A, A
    Posts
    12
    Quote Originally Posted by doc View Post
    my version is the build 930

    I have no idea why this problem occured all the time...anyone could help me please?

    Regards

    doc
    I downloaded the same platform same build version from alpari (5 digits) and now this indicator works great without problems.

    DON'T DOWNLOAD MT5 FROM METAQUOTES!

Page 8 of 55 FirstFirst ... 6 7 8 9 10 18 ... LastLast

Tags for this Thread

Bookmarks

Posting Permissions

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