Download MetaTrader 5
To add comments, please log in or register
They are already making profit using the Market. You can join them!
fulltilt
367
fulltilt 2015.02.21 12:44  

If it is from a decompiled EA I will remove it again

int init()
  {
//Calculate digits

   SlipPage = Slippage * MathPow(10, Digits - digits);

   if (Digits == 3 || Digits == 5)
   {
      convert2pips    = Point*10 ;
      PipFactor = 10;
   }
   else if (Digits == 4 || Digits == 2)
   {    
     convert2pips    = Point;
     PipFactor = Point;  
   } 
    
   if (gi_288) unused_00 = 0;
   else unused_00 = 1;
   if (Point == 0.00001) point = 0.0001;
   else {
      if (Point == 0.001) point = 0.01;
      else point = Point;
   }
   return (0);
} 
Keith Watford
Moderator
9418
Keith Watford 2015.02.21 12:59  

You are posting bits of code that have no relationship to each other.

I doubt that anyone knows what you are trying to do. 

fulltilt
367
fulltilt 2015.02.21 13:06  

yes, if anyone knows what I'm trying to do I say Thank You for Your GREAT help!

This is a nice place for wasting time with stupid idiots ...

Keith Watford
Moderator
9418
Keith Watford 2015.02.21 22:17  
fulltilt:

yes, if anyone knows what I'm trying to do I say Thank You for Your GREAT help!

This is a nice place for wasting time with stupid idiots ...

I don't know of any stupid idiots here. After all, it requires a certain level of intelligence to be able to study and write even basic code.

Maybe the talented programmers are unwilling to waste their time replying because you have not asked a question and shown the code related to that question.

You say that the code for a sell condition works, which suggests that the code for a buy condition doesn't. The logical thing would be to show the code for the buy condition that doesn't work. 

Alain Verleyen
Moderator
30183
Alain Verleyen 2015.02.22 15:00  
fulltilt:

yes, if anyone knows what I'm trying to do I say Thank You for Your GREAT help!

This is a nice place for wasting time with stupid idiots ...

So when you don't get what you want you start to insult people. Nice behaviour. But it's not allowed on this forum.
/ /12
To add comments, please log in or register