Output basic price/trend stats

MQL4 Indicators Scripts

Specification

Hello,

I'd like to run a script to output a (txt?) file with the following data as shown:

The assets (EURUSD etc) should be variable and be able to include FX, indices, bonds and commodities and as many as needed (prob only 10 really needed)

The periods in the indicators should also be variables

Thanks!

 

Asset                          EURUSD  GBPUSD  USDJPY  S&P500  FTSE100   Gold Oil

 

Prices

Open                           1.3478                               

High                           1.3000                               

Low                            1.3050                               

Close                          1.3750                        

 

Pivot                          1.3478                               

S 1                            1.3000                               

S 2                            1.3050                               

R 1                            1.3750                               

R 2                            1.3600 

 

Trend

Price vs last down fractal     HIGHER  ?       ?       ?       ?       ?       ?

Price vs last up fractal       LOWER   ?       ?       ?       ?       ?       ?

21 Day SMA                     ABOVE   ?       ?       ?       ?       ?       ?

21 Week SMA                    BELOW   ?       ?       ?       ?       ?       ?

 

Volatility

ATR (14)                       80.2    101                           

Yesterday’s TR                 50.3    56                            

Yest TR % of ADR (14)          63%     56%                           

 

Daily Correlation

%                              EURUSD  GBPUSD  USDJPY  S&P500  FTSE100  Gold  Oil

EURUSD                         X       67                            

GBPUSD                         96      X                             

USDJPY                         54      45      X                     

S&P500                         89      23             X             

UK 100                         67      45                     X

Gold                           -24     78                             X      

Oil                            56      89                                     X

Responded

1
Developer 1
Rating
(30)
Projects
93
49%
Arbitration
18
56% / 17%
Overdue
38
41%
Free
2
Developer 2
Rating
(20)
Projects
43
30%
Arbitration
6
0% / 50%
Overdue
17
40%
Free
Published: 1 code
3
Developer 3
Rating
(10)
Projects
14
29%
Arbitration
1
0% / 100%
Overdue
5
36%
Free
4
Developer 4
Rating
(34)
Projects
80
34%
Arbitration
13
31% / 54%
Overdue
19
24%
Free
5
Developer 5
Rating
(54)
Projects
164
43%
Arbitration
43
47% / 16%
Overdue
58
35%
Free
Published: 1 code
6
Developer 6
Rating
(4)
Projects
7
43%
Arbitration
5
0% / 60%
Overdue
3
43%
Free
Published: 1 code
7
Developer 7
Rating
(90)
Projects
159
61%
Arbitration
40
18% / 63%
Overdue
70
44%
Free
8
Developer 8
Rating
(5)
Projects
15
60%
Arbitration
2
0% / 100%
Overdue
5
33%
Free
9
Developer 9
Rating
(1)
Projects
0
0%
Arbitration
1
0% / 100%
Overdue
0
Free
10
Developer 10
Rating
Projects
0
0%
Arbitration
2
0% / 100%
Overdue
0
Free
11
Developer 11
Rating
(64)
Projects
144
46%
Arbitration
19
42% / 16%
Overdue
32
22%
Free
12
Developer 12
Rating
(1)
Projects
4
25%
Arbitration
1
0% / 100%
Overdue
1
25%
Free
Published: 6 codes

Project information

Budget
10 - 50 USD