Posting code snippets in this forum is almost impossible - page 2

 
WHRoeder:

Pasting code has never kept the formatting for me after pressing the Post button:

Works great for me. Here is your formatted block, just with copy paste:

//++++ These are adjusted for 5 digit brokers.
double  pips2points,    // slippage  3 pips    3=points    30=points
        pips2dbl;       // Stoploss 15 pips    0.0015      0.00150
int     Digits.pips;    // DoubleToStr(dbl/pips2dbl, Digits.pips)
int init() {
    if (Digits == 5 || Digits == 3) {   // Adjust for five (5) digit brokers.
                pips2dbl    = Point*10; pips2points = 10;   Digits.pips = 1;
    } else {    pips2dbl    = Point;    pips2points =  1;   Digits.pips = 0;
    }

Even the pink block is pasted automatically...

Maybe it's a browser specific behavior? What are u using?

 

Hello, I just posted under the new topic 100 Pips a Day EA by Metaquotes... then saw this thread. I am looking for the code and instructions to change the EA code to work a 5 digit broker. I have never changed code before. I would appreciate the help if any of yoy guys are willing.

Thank you,

Sherry

Reason: