Hello,
I attached all files.
To export high, low, close or indicators like RSI,ADR to .csv data and so on no problem, big thanks to "hanover".
example from outhist.mq4: this works fine with iRSI or IADR or iOpen
- But what about datas, called objects, which are drawn in chart by custom indicator? (please see picture below)
To export RSI, CCI and so on it is easy because in Metatrader it is already implemented as: iRSI or iCCi
I need now the Zigzag indicator. Unfortunately it is not already implemented in Metatrader, so iZigzag is not defined.
First, you see a picture. I modified "zigzag"-standard indicator, so in chart you are now able to see Pip-move from last low to high or high to low and the percentage of retrace (see picture for better understanding how zigzag works).
So how can I export the "objects", the labels for example: on 2016/11/09 zigzag created the label: 448.5L Mi:11*1.78
448.5L stands for pip move, Mi:11 stands for days how long it takes and 1.78 is the consolidation like fibo retrace (here: 178% retrace).
So I need that output in .csv
Date////////////////Open//////////High////////Low////////Close////////Zigzag
2016/11/08 //////1.11646//////1.12213////1.11323//1.11052//// 0
2016/11/09 //////1.10522//////1.12989////1.09059//1.09068////448.5L Mi:11*1.78
.... and so on.
Here is the chart what I mean:
Now my question for export:
Do we really have to implemend the whole indicator into outhist.mq4 (see attached file) or does it easy work with iCustom or sth.?
Is there any code that just "grab" the informations on the chart and put it into .csv?
I really don't know how to export that values :/ Can anyone help me?
I attached:
outhist.mq4 original by hanover
outhiststocc.mq4 (exports stochastic with istochastic already implemented in metatrader so export is easy but what about custom output on chart i mentioned above?)
Zigzag.mq4 (modified by me for output on chart)
Thank you all
I attached all files.
To export high, low, close or indicators like RSI,ADR to .csv data and so on no problem, big thanks to "hanover".
example from outhist.mq4: this works fine with iRSI or IADR or iOpen
- But what about datas, called objects, which are drawn in chart by custom indicator? (please see picture below)
To export RSI, CCI and so on it is easy because in Metatrader it is already implemented as: iRSI or iCCi
I need now the Zigzag indicator. Unfortunately it is not already implemented in Metatrader, so iZigzag is not defined.
First, you see a picture. I modified "zigzag"-standard indicator, so in chart you are now able to see Pip-move from last low to high or high to low and the percentage of retrace (see picture for better understanding how zigzag works).
So how can I export the "objects", the labels for example: on 2016/11/09 zigzag created the label: 448.5L Mi:11*1.78
448.5L stands for pip move, Mi:11 stands for days how long it takes and 1.78 is the consolidation like fibo retrace (here: 178% retrace).
So I need that output in .csv
Date////////////////Open//////////High////////Low////////Close////////Zigzag
2016/11/08 //////1.11646//////1.12213////1.11323//1.11052//// 0
2016/11/09 //////1.10522//////1.12989////1.09059//1.09068////448.5L Mi:11*1.78
.... and so on.
Here is the chart what I mean:
Now my question for export:
Do we really have to implemend the whole indicator into outhist.mq4 (see attached file) or does it easy work with iCustom or sth.?
Is there any code that just "grab" the informations on the chart and put it into .csv?
I really don't know how to export that values :/ Can anyone help me?
I attached:
outhist.mq4 original by hanover
outhiststocc.mq4 (exports stochastic with istochastic already implemented in metatrader so export is easy but what about custom output on chart i mentioned above?)
Zigzag.mq4 (modified by me for output on chart)
Thank you all
Attached File(s)
out_hist.mq4
7 KB
|
285 downloads
out_histstoc1433.mq4
7 KB
|
261 downloads
Zigzag.mq4
8 KB
|
244 downloads