[Archive!] WRITING A COUNTRY TOGETHER!!! - page 31

 
Virgiz >> :


By the way, why can't you use this principle for multicurrency?

For EURUSD: If ∆GBPUSD is down, etc.





How's that? Explain....

 
PapaYozh >> :

It doesn't matter which constant to use, as long as it is a constant.

But mathematical calculations will be much simpler if the constant is 0 rather than 1 (or some other value other than zero).

+1

 
PapaYozh >> :

It doesn't matter which constant to use, as long as it is a constant.

But mathematical calculations would be greatly simplified if the constant was 0 rather than 1 (or some other non-zero value).

.Interesting method, what if "zeroing out" PI/speed of light/gravity would be a new word not just in maths and physics...

... ...that would definitely make EVERYTHING easier.

+10

 
JavaDev писал(а) >>

.Interesting method, what if "zeroing in" on PI/speed of light/gravity would be a new word not just in maths and physics...

... It would definitely make EVERYTHING simpler.

+10

You are trying to twist the essence of what you are saying. I can tell you that you can also zero out the speed of light, but then the speed of your car would be negative, what difference would it make?

For your better understanding I will give you the example of temperature. Does the fact that Celsius "0" does not coincide with absolute zero (Kelvin) make something not count?

 
JavaDev писал(а) >>

.Interesting method, what if "zeroing in" on PI/speed of light/gravity would be a new word not just in maths and physics...

... It would definitely make EVERYTHING simpler.

+10

And second. Why in the right part of the equation should be one and not 2, not 2.13 etc.? What is the reason for choosing one?

 
PapaYozh >> :

You are trying to twist the essence of what you are saying. I can tell you that you can also zero out the speed of light, but then the speed of your car will be negative

Hit me again, I haven't laughed like that in a long time.

+20

 
JavaDev писал(а) >>

Hit me again, I haven't laughed like that in a long time.

+20

You somehow ignored the Celsius example, your blindness must be selective.

 
PapaYozh >> :

You somehow ignored the Celsius example, your blindness must be selective.

Sorry to keep you waiting (couldn't suppress a fit of laughter).

What, as of now, 1 inch = 1 cm ? ... or is it 0 ?

 
JavaDev писал(а) >>

Sorry to keep you waiting (I couldn't help myself having a fit of laughter).

What, as of now 1 inch = 1 cm ? or is it 0 ?

What do inches and centimetres have to do with it ? You rejected the possibility of changing the scale by moving the zero value, I gave the temperature example. The same can be done with other scales. I'm not going to support the flubbing further, sorry.

 

I just made the same idea, but instead of using MA to determine delta, I used CCI

//+------------------------------------------------------------------+
//|                                                      RGB-CCI.mq4 |
//|                                                    Strukov Roman |
//|                                                   srb-78@mail.ru |
//+------------------------------------------------------------------+
#property copyright "Strukov Roman"
#property link      "srb-78@mail.ru"

#property indicator_separate_window
#property  indicator_buffers 4
#property  indicator_color1  Red
#property  indicator_color2  Green
#property  indicator_color3  Blue
#property  indicator_color4  Black

extern int period_CCI = 900;
extern int History   = 5000;

double GBP[], EUR[], JPY[], USD[]; 

int init()
  {
   SetIndexBuffer(0, GBP);
   SetIndexStyle(0,DRAW_LINE,STYLE_SOLID,2);
   SetIndexBuffer(1, EUR);    
   SetIndexStyle(1,DRAW_LINE,STYLE_SOLID,2);
   SetIndexBuffer(2, JPY);
   SetIndexStyle(2,DRAW_LINE,STYLE_SOLID,2);
   SetIndexBuffer(3, USD);
   SetIndexStyle(3,DRAW_LINE,STYLE_SOLID,2);
   IndicatorShortName("RGB system");
   return;
  }
int start()
  {
  int i, Counted_bars;
      Counted_bars = IndicatorCounted(); 
      i = Bars- Counted_bars-1; 
      if ( i> History-1) i= History-1;      
  while( i>=0) 
    {
     USD[ i] = -iCCI("EURUSD",NULL, period_CCI,0, i)-iCCI("GBPUSD",NULL, period_CCI,0, i)+iCCI("USDJPY",NULL, period_CCI,0, i);
     EUR[ i] = iCCI("EURUSD",NULL, period_CCI,0, i)+iCCI("EURGBP",NULL, period_CCI,0, i)+iCCI("EURJPY",NULL, period_CCI,0, i);         
     GBP[ i] = iCCI("GBPUSD",NULL, period_CCI,0, i)-iCCI("EURGBP",NULL, period_CCI,0, i)+iCCI("GBPJPY",NULL, period_CCI,0, i);        
     JPY[ i] = -iCCI("USDJPY",NULL, period_CCI,0, i)-iCCI("EURJPY",NULL, period_CCI,0, i)-iCCI("GBPJPY",NULL, period_CCI,0, i);       
     i--;
    }
   return;
  }

Unfortunately, now for the correct display of the indicator the history of all 6 pairs for the selected timeframe is needed

Reason: