I want to gather all the data from an indicator and export it/generate a graph in a new window. Is there an easy way to do it? I imagine it would be something along the lines "for (int i = 0; i < Bars; ++i) if (foundSignal) exportData"Also, I'd like to do a global indicator. Meaning...I want to do the above, but the indicator would run through all the currency pairs, not the one it's attached to. I want to gather information from all charts.Thank you!
iBarShift(symbolName, PERIOD_M1, iTime(symbolName, PERIOD_M10, bar))
if (iClose(symbolName, PERIOD_M1, curBar) < iClose(symbolName, PERIOD_M10, bar))
to see if the price is lower(could check for higher, it's just an example).
I don't like this solution but it's the only one I could find, is there a better one? Thank you!
mql4Forum: is there a way to check for a price at a specific time? For example, suppose I'm on a 10 min chart, and a signal pops up. I want to check if the price is smaller or higher 2 min later.
To add comments, please log in or register