bar size and wick size in one condition - page 2

 

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);
} 
 

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

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

 

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 ...

 
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. 

 
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.