Getting that 5th digit?
Page 1 of 502 12 LastLast
Results 1 to 10 of 12

Thread: Getting that 5th digit?

  1. #1
    I am trying to have a script to pull on the worth of each digit.

    Let's state the bid is 1.12345

    The Bid function returns: 1.1234
    MarketInfo(Symbol(), MODE_BID) returns: 1.1234

    What's there?

  2. #2

  3. #3

  4. #4
    Quote Originally Posted by ;
    Let's say the bid is 1.12345

    The Bid function yields: 1.1234
    Bid isn't a function.
    Quote Originally Posted by ;
    What's there?

    MQL4 doc:

    Quote Originally Posted by ;
    void Print(...)
    Data of double type are published with 4 decimal digits after stage. To output more exactly, use the DoubleToStr() function.
    The Exact Same applies to Comment() and Alert() incidentally.

  5. #5

  6. #6
    Quote Originally Posted by ;
    Bid is not a function
    Who are you the syntax police!? Everyone knew what the intent of the question was without giving the asker a slap on the syntax wrist. On top of that you're a newb on your own? - PLEASE... Setup to Shut Me Up!! - I am dying to find that a mt4stats of a EA composed by an 'expert' (a self proclaimed expert at that) - In reality you're correcting RR, one of the very best and most helpful MT4 experts on this board. (he deserves the name - 3000 posts! - 10 Vouchers!! - Hundreds of code snippets, EA's, technology assistance, etc.. .) Gimme a break!! What have you written which makes you an expert? Please show. I await your reply oh great MT4 Master (NOT!!!)

  7. #7
    Quote Originally Posted by ;
    Still, Bid isn't a function.

  8. #8
    Quote Originally Posted by ;
    Still, Bid is not a function.
    I feel the exact same applies when I say Intron is not a trader

    I openly say that I am a trader first. Programming is something I can do, but not something I want to live my life.

    I believe you understood what I was getting at. What's more interesting is that you don't provide me an answer.

    You will all see the reason why I am attempting to get the 5 digits, hopefully before the end of the week.

    Thanks everyone for the help. Hopefully everything works out.

  9. #9
    Quote Originally Posted by ;
    My response works quite well.
    No it doesn't. Or rather it functions and the 'normilisers' heat the CPU up correct but all three do nothing actually. There is no point to round the values that are rounded.
    Quote Originally Posted by ;
    and satisfies Ron's question.
    This is around Ron to pick.

    Quote Originally Posted by ;
    I think RR's original question was about MarketInfo(...), and it can be a function. The rest is just esoteric. TomAto, LOL, Tomato.
    Still doesn't make Bid a job.

  10. #10
    Quote Originally Posted by ;
    No it does not. Or it works and of the 'normilisers' warmth the CPU up correct but three do nothing in fact. There is no point to around the values which are already curved whatsoever.This is around Ron to pick.

    Still does not make Bid a job.
    Thank you for your response, always keen to learn something new. ....

    Edit , this kind of crap talk isn't worthwhile deleting all of my articles in this thread, as it's a waste of my time.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
This website uses cookies
We use cookies to store session information to facilitate remembering your login information, to allow you to save website preferences, to personalise content and ads, to provide social media features and to analyse our traffic. We also share information about your use of our site with our social media, advertising and analytics partners more information