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

 
sergeev писал (а) >>
ok, i'll try to finish it

putting in a billet!

for convenience I have made a read/write PAR, INI file operation

this will give some flexibility in setting up and sifting out and bringing in pairs

INI file can be edited

COUNTSYMBOL= Количество пар 



furthermore, the pairs themselves are transparent and understandable



each one has a number only to be loaded into the array



can be edited by editor



alas MT4 does not have a full analysis of the number of instruments

(you can use scripts from Vadim Junko https://www.mql5.com/ru/code/8411)



it is ideal to read all pairs from the environment



[DATEVERSION]
DATE=2008.10.21
[VERSION]
VERSION=V1.S000001
[COUNTSYMBOL]
COUNTSYMBOL=53
[SYMBOL]
1=EURUSD
2=GPBUSD
3=AUDUSD
4=NZDUSD
5=USDCAD
6=USDCHF
7=USDALL
8=USDARS
9=USDBRL
10=USDBWP
11=USDCLP
12=USDCNY
13=USDCOP
14=USDCVE
15=USDCZK
16=USDDKK
17=USDDOP
18=USDDZD
19=USDEGP
20=USDGEL
21=USDGIP
22=USDHKD
23=USDHRK
24=USDHUF
25=USDIDR
26=USDILS
27=USDINR
28=USDIRR
29=USDISK
30=USDJPY
31=USDKRW
32=USDLBP
33=USDLSL
34=USDMAD
35=USDMXN
36=USDMYR
37=USDNOK
38=USDNPR
39=USDPHP
40=USDPKR
41=USDPLN
42=USDQAR
43=USDRUB
44=USDSAR
45=USDSEK
46=USDSGD
47=USDTND
48=USDTRY
49=USDTWD
50=USDUAH
51=USDXOF
52=USDZAR
53=USDZMK


Files:
yzchmc_v1.mq4  5 kb
inifiles.mqh  11 kb
 
link to the <inifiles.mqh> library - https://www.mql5.com/ru/code/7067
 

watch out for exotic currencies

exotic currency quotes are torn and heavily pitted

 
sergeev писал (а) >>
library link <inifiles.mqh> - https://www.mql5.com/ru/code/7067

Alexei!

Then we can solve the problem in the following way!

Let's position each significant pair on the chart! Of the 53, we need to discard the ones that are noisy

less should remain!

EURUSD %-1.6

...

USDCAD %+2.1

etc.

...

If I have time, I will write it ...


It should be written in blocks - modular - so as not to interfere with each other

I will certainly rewrite the block of reading and writing!

will be simply called from init, and later will be in the library

void init()

{

InitializeINIFile(); //

}

---

>be careful with exotic currencies
>quotes for exotic pairs are jagged and heavily pitted

I temporarily switched it on before I found out what to remove


---

corrected

Files:
 

The question is how to output the indicator in such a way that it would be convenient to view the history and easy to understand what is where. That is, suggestions from

olyakish 20.10.2008 14:51

В таком виде индикатор сложно воспринимать
можно просто комментарний в верхний части основного экрана
типа столько то пар в хUSD растет + USDх падают и общий процент и на оборот

I agree, it's complicated... But is there an alternative to visual?


That is, for the current state, of course, the information in the corner is enough. But really want to run and look at the history.

Apart from the already proposed options, nothing comes to mind. Maybe we should calculate the arithmetic mean to have only one value for the indicator or something else? But then we would lose some information... In general, tell me and I will do it right away...

 
sergeev писал (а) >>

The question is how to output the indicator, so that it would be convenient to view the history and easy to understand what's where. I mean suggestions from

I agree, it's complicated... But is there an alternative to visual?


That is, for the current state, of course, the information in the corner is enough. But really want to run and look at the history.

Apart from the already proposed options, nothing comes to mind. Maybe we should calculate the arithmetic mean to have only one value for the indicator or something else? But then we would lose some information... Well, tell me and I will do it right away...


The option with the bars was very good.

--

for an expeditious solution %

 

Will this do?

Apart from each currency direction, there is a total amount of interest.


 
sergeev писал (а) >>

Will that do?

In addition to each direction of the currency pairs there is a total amount of interest.


Sure!

visually good, you can go through the story!

--

If I have time, I will enclose the % indicator in the next few days.

no history, for the moment!

let's try to prointegrate

 
Files:
 
Closed the euR. as it's Friday, there's not much else to look forward to.