Increase decimals in MT4 data window
Results 1 to 7 of 7

Thread: Increase decimals in MT4 data window

  1. #1
    Hello,

    I'd love to know if a person knows how to increase the number of decimals shown in the information window. For price I receive 5 digits but for a number of this indior I use I only get 4. Can I increase this?

    Due

  2. #2
    Quote Originally Posted by ;
    Hello,

    I would love to know if someone knows how to increase the amount of decimals displayed in the data window. For price I receive 5 digits but for a number of the indior I use I only get 4. Can I increase this?

    Thanks
    utilize this code:
    PHP Code: <code><span style=”color: #000000”> <span style=”color: #0000BB”>doubledXPoint</span><span style=”color: #007700”>=</span><span style=”color: #0000BB”>1</span><span style=”color: #007700”>;


    </span><span style=”color: #FF8000”>// ------------------------------------------------------------------
    //|expertinitializationfunction|
    // ------------------------------------------------------------------
    </span><span style=”color: #0000BB”>intinit</span><span style=”color: #007700”>()

    </span><span style=”color: #0000BB”></span> </span> </code>

  3. #3
    Thanks so much Newton51, it works so much better. Will test it a while more to see if there are any problems with the indi. Appreciate your help.

  4. #4

  5. #5
    Sorry for bringing up an old thread, but I attempted to stick to the directions about how to boost the screen to 5 decimals for one of those indi in the information window but neglected.

    Can any kind soul pls help to edit the Keltner Indi so that it shows 5 decimals in the information window of MT4.

    A thousand thanks in advance.
    https://www.forexforum.co.za/attachm...9984099581.mq4

  6. #6
    Quote Originally Posted by ;
    Sorry for bringing up an old thread, but I attempted to follow the instructions on how best to boost the display to 5 decimals for one of those indi in the data window but failed.

    Can any kind soul pls enable you edit the Keltner Indi so it displays 5 decimals in the data window of MT4.

    A thousand thanks in advance.
    I'm an amateur in coding and maybe there is a more elegant solution, but this will always provide you five digits in DataWindow, regardless of whether specimens for your Symbol is 2,3,4 or 5.

    I hope this is what you seek.
    https://www.forexforum.co.za/attachm...1409133503.mq4

  7. #7
    Utilize the following:


    emptiness IndiorDigits( int digits)

    Sets precision format (the count of digits after decimal point) to visualize indior values. The emblem price preicision is used by default, the indior has been attached to this symbol chart.

    Parameters:
    Records - Precision format, the count of digits after decimal point.

    Sample:

    int init()

    //-- two additional buffers are used for counting.
    IndiorBuffers(3);
    //-- placing of drawing parameters
    SetIndexStyle(0,DRAW_HISTOGRAM,STYLE_SOLID,3);
    SetIndexDrawBegin(0,SignalSMA);
    IndiorDigits(Digits 2);
    //-- 3 alloed buffers of an indior
    SetIndexBuffer(0,ind_buffer1);
    SetIndexBuffer(1,ind_buffer2);
    SetIndexBuffer(2,ind_buffer3);
    //-- short name for DataWindow and indior subwindow
    IndiorShortName(OsMA( FastEMA , SlowEMA , SignalSMA ));
    //-- initialization done
    return(0);

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.