Any questions from a PROFI to a SUPER PROFI - 1. - page 23

 
sergeev:

select S=1 or S=-1. then multiply the required value by S

like this:


I didn't ask the question correctly, I meant this but that's from the realm of bedtime fiction, I'm going to bed, it's easier to write a mirror, thanks.

   R1 = LouZZ+(5*pips); 
 
Martingeil:

I didn't ask the right question, I meant this

I still don't understand what you want then.
 
sergeev:
I still don't understand what you want then.

He wants symmetry relative to the centre line. Pivots seem to be counting
 
Martingeil:

I did not ask the question correctly, I meant this, but this is from the realm of fiction at night, go to sleep, it is easier to write a mirror, thanks.



And change the sign pips.

I'm not a pro, but as I understand it is necessary to change the sign itself, and if it fails, you can change what's after the sign. Or is the question from another planet...

 
Vinin:

It needs symmetry relative to the centre line. Pivots seem to count

Yes almost guessed only levels, I have already made a mirror with a minus sign, if the signs could be reversed in programming, the code would be reduced, although who needs it such cases are rare.

R1 = LouZZ+(5*pips);
если бы знак менялся, тогда писать зеркало не пришлось бы.
R1 = LouZZ-(5*pips);
 
FOReignEXchange:


And change the sign pips.

I'm not a pro, but I understand that you have to change the sign itself, and if it doesn't work, you can change what comes after the sign. Or the question is from another planet...

In my case it won't work, if you can change it it would be interesting. The pips value is constant it is output to external variables. the numbers are also constant. in fact, everything in the brackets is a constant number, you just need to change the sign.

R1 = LouZZ+(5*pips);
если бы знак менялся, тогда писать зеркало не пришлось бы.
R1 = LouZZ-(5*pips);
 

Martingeil:

In my case it does not work, if you can change it it would be interesting. The pips value is constant it's output to external variables. the numbers are also constant. in fact everything in the brackets is a constant, you just have to change the sign.



Then LouZZ should be changed

Like | - LouZZ +(5*pips) | and | LouZZ +(5*pips) | .

 
FOReignEXchange:

Then LouZZ must be changed

oddly enough, this is also a constant number)))

I made a mirror like this.

   if(h<l){
   Comment(" цена впадины ZZ = ",LouZZ);
   R1 = LouZZ+(5*pips);   R2 = LouZZ+(18*pips);   R3 = LouZZ+(39*pips);
   R4 = LouZZ+(68*pips);  R5 = LouZZ+(105*pips);  R6 = LouZZ+(150*pips);   
   R7 = LouZZ+(203*pips); R8 = LouZZ+(264*pips);  R9 = LouZZ+(333*pips);    
   
   S1 = LouZZ+(1*pips);   S2 = LouZZ+(10*pips);   S3 = LouZZ+(27*pips);
   S4 = LouZZ+(52*pips);  S5 = LouZZ+(85*pips);   S6 = LouZZ+(126*pips);   
   S7 = LouZZ+(175*pips); S8 = LouZZ+(232*pips);  S9 = LouZZ+(297*pips);          
   }else{
   Comment(" цена вершины ZZ = ",LouZZ);
   R1 = LouZZ-(5*pips);   R2 = LouZZ-(18*pips);   R3 = LouZZ-(39*pips);
   R4 = LouZZ-(68*pips);  R5 = LouZZ-(105*pips);  R6 = LouZZ-(150*pips);   
   R7 = LouZZ-(203*pips); R8 = LouZZ-(264*pips);  R9 = LouZZ-(333*pips);    
   
   S1 = LouZZ-(1*pips);   S2 = LouZZ-(10*pips);   S3 = LouZZ-(27*pips);
   S4 = LouZZ-(52*pips);  S5 = LouZZ-(85*pips);   S6 = LouZZ-(126*pips);   
   S7 = LouZZ-(175*pips); S8 = LouZZ-(232*pips);  S9 = LouZZ-(297*pips);     
   } 
 
Martingeil:

oddly enough, it is also a constant number)))



Then we should come up with a non-constant number equal to +-1. :)
 
Martingeil:

made a mirror like this.


I answered your question at the beginning. read it again and understand how it works.

Reason: