not a bad way in principle for an intrade - page 7

 

AUD/USD Australian Dollar/US Dollar 0.694 0.6938 0.6941 0.43%

EUR/USD Euro/USD 1.3462 1.3461 1.3463 -0.02%
GBP/USD GBP/USD 1.7324 1.7323 1.7325 -0.14%
NZD/USD New Zealand Dollar/US Dollar 0.6175 0.6171 0.6178 -0.14%

XXXUSD down

--

USD/CAD US Dollar/Canadian Dollar 1.1793 1.1787 1.1799 -0.19%
USD/CHF US Dollar/Swiss Franc 1.1368 1.1364 1.1371 0.08%
USD/HKD US Dollar/Hong Kong Dollar 7.7564 7.756 7.7568 0.01%
USD/ILS US Dollar/Israeli Shekel 3.7341 3.7216 3.7466 0.11%
USD/JPY US Dollar/Japanese Yen 101.6 101.57 101.63 0.18%
USD/NOK USD/Norwegian krone 6.5084 6.4996 6.5173 -0.21%
USD/RUR USD/RUR 26.2955 26.2918 26.2993 0.01%
USD/SEK USD/Swedish krone 7.406 7.404 7.408 -0.45%
USD/SGD USD/Singapore dollar 1.482 1.4818 1.4822 0.16%

USDXXX up

--

Asia is buying the quid at the moment

but there's choppiness in the CAD and AUD pack

 
YuraZ >> :

AUD/USD AUD/USD USD 0.694 0.6938 0.6941 0.43%

EUR/USD Euro/US Dollar 1.3462 1.3461 1.3463 -0.02%
GBP/USD GBP/USD 1.7324 1.7323 1.7325 -0.14%
NZD/USD New Zealand Dollar/US Dollar 0.6175 0.6171 0.6178 -0.14%

XXXUSD down

--

USD/CAD US Dollar/Canadian Dollar 1.1793 1.1787 1.1799 -0.19%
USD/CHF USD/Swiss franc 1.1368 1.1364 1.1371 0.08%
USD/HKD US Dollar/Hong Kong Dollar 7.7564 7.756 7.7568 0.01%
USD/ILS US Dollar/Israeli Shekel 3.7341 3.7216 3.7466 0.11%
USD/JPY US Dollar/Japanese Yen 101.6 101.57 101.63 0.18%
USD/NOK USD/Norwegian krone 6.5084 6.4996 6.5173 -0.21%
USD/RUR US Dollar/Russian Rouble 26.2955 26.2918 26.2993 0.01%
USD/SEK USD/Swedish krone 7.406 7.404 7.408 -0.45%
USD/SGD USD/Singapore Dollar 1.482 1.4818 1.4822 0.16%

USDXXX up

--

Asia is buying the quid at the moment.

but there is a divergence in the CAD and AUD pack


Why don't you do something on the expert, you keep writing analytics and test it and give me the results?

 
sergeev писал (а) >>

If you have an expert, you may use an expert and test it and give me the results.

1 it is difficult to fully test it in the tester

since

1. no full multi-currency support

2. the test speed when reading more than a dozen pairs will be low

---

1.1 write your own multicurrency tester in C++

--

2 problem with quality history for a large group of pairs

3 not all pairs in the history centre

--

3-2 is possible to test on a small area

i.e. from M15 and from a broker which has a great number of pairs, i.e. MRC

everyone understands that m1 is too noisy

---

the overall task is not easy



 
YuraZ >> :

everyone understands that m1 is too noisy as a substance

---

So it's not an easy task.



Noise is half the problem

the big GREaT for the multicurrency is the isochronous flow of quotes i.e. non-linearity of the time scale

because of the holes, the synchronicity is out of synch in some places

>> let's all together (multicurrency Mensheviks) ask Metakvot to make optional doji in new MT4

with all due respect to the great mega-experience of the Metakwaters

 
YuraZ писал (а) >>

XXXUSD down

--

USDXXX up

--

Asia is buying the quid at the moment.

but there's a bump in the CAD and AUD pack

On the 17th the forecast worked - sluggishly but it worked!

another day of shooting - I want a moose!!! that's not how it works

 
YuraZ >> :

17th forecast worked - sluggish but it worked!

another day of work - I want a moose!!! it doesn't work like that!


Another Murphy's Law recall? :))))

 

The beginning of expert writing is done. Here is an indicator that calculates %Ch


//+------------------------------------------------------------------+
//|                                                        Multi.mq4 |
//|                                Copyright © 2008, Сергеев Алексей |
//|                                         mailto: urgunt@gmail.com |
//+------------------------------------------------------------------+
#property copyright "Copyright © 2008, Сергеев Алексей"
#property link      "mailto: urgunt@gmail.com"

#property indicator_separate_window
#property indicator_buffers 2

#property indicator_color1 LimeGreen
#property indicator_color2 Crimson
#property indicator_level1 0.0

double BufHi[];
double BufLo[];
//+------------------------------------------------------------------+
int init()
{
	SetIndexBuffer(0, BufHi); SetIndexStyle(0,DRAW_HISTOGRAM);
	SetIndexBuffer(1, BufLo); SetIndexStyle(1,DRAW_HISTOGRAM);
	return(0);
}
//+------------------------------------------------------------------+
int deinit() { return(0); }
//+------------------------------------------------------------------+
int start()
{
	int counted_bars=IndicatorCounted();
	int bar0; string str; datetime time0;
	int i;
	double pc, a;
	for ( i=0; i<Bars; i++)
	{
		// получаем полуночный бар
		str = TimeYear(Time[ i])+"."+TimeMonth(Time[ i])+"."+TimeDay(Time[ i]);
		time0 = StrToTime( str);
		bar0=iBarShift(NULL, 0, time0);
		// берем цену закрытия предыдущего дня
		pc=iClose(NULL, 0, bar0+1); a=0;
		if ( pc!=0) a=(Close[ i]*100)/ pc-100;
		if ( a>=0) BufHi[ i]= a; 
		if ( a<=0) BufLo[ i]= a;
	}
	return(0);
}

I will be glad if somebody helps to calculate several currency pairs in one indicator (can be in a separate window or in a chart). I suggest to set the list of pairs in advance as an array. We may be bound to a brokerage company this way but for the time being I think it will be convenient.

By the way, a question at once. How to load the missing history on the called symbol from the indicator?

Files:
multi.mq4  2 kb
 
олее крупныйsergeev >> :

The beginning of expert writing is done. Here is the indicator that calculates %Ch


By the way, a quick question. How to load the missing history by the called pair ?

One more question and also at once....

Whenever, especially on optimization, it eats up the resource, to determine the inflection point we call the custom indicator three times.

The ones that I use in my Expert Advisors, I modify if possible, so that they show the signal in the additional buffer at once and calculate NN bars, not more..... but maybe a bicycle, or worse, a wheel I invent.... :((((..... another method possible? It's still a full calculation anyway.... so it's logical to get everything you need on one call

According to the history, as far as I understood from MQL, it should be loaded by itself.... You just need to check if it has been loaded or not on the real account.
But if you use another symbol of the indicator, there is one warning right away: look for the appropriate bar by its time instead of number, but not by its timechart, it goes like this

Time[n] = ibarshift(Time[n])....

 

Continuing and developing the theme, I have made an index for simultaneous viewing of all currencies in a list.

Pair names are given for MRC. I was looking at these indices and I cannot understand what criteria YuraZ uses to enter the trades so confidently. I did not see anything so "synchronous" in those charts. If before the European session there is a rise and we should buy, after the start of Europe there is a fall. Some kind of screw-up.



Files:
_multiux.mq4  6 kb
_multixu.mq4  5 kb
 

The indicator is difficult to read in this way

it can be as simple as a commentary at the top of the main screen

like so many pairs in xUSD rising + USDx falling and total percentage and vice versa