Hi Censura,censura » Sat Aug 01, 2015 3:13 am wrote:Ok using the HGI indicator which I have 16.07 loaded on charts can you let me know either where the information is or help me with how I can pull signals into my code
ie how I can get into either global or directly into my ea along with away to ensure I identify if a signal is given it on closed bar [1]
I really appreciate your help in this matter and thanks a gain for your great matrix
thank you
The indicator, when loaded on the chart, writes the signals to a set of buffers. You can see that, in the Data Window -- just move you mouse over the candles and see the values of the buffers in the Data Window change. In an EA, you can load the indicator in memory (using the iCustom-call) and read the values of these buffers, for a given candle shift. Have a look at lines 422-434 and 451-455 in the HGIMatrixMTFv31 to work out the buffer assignment for the type of signal. You can also get the signals by including hgi_lib.mqh and calling the functions getHGISignal and getHGISlope directly.
Hope this helps.
Rene.