| stevehopwoodforex.com https://www.stevehopwoodforex.com/phpBB3/ Print view |
|
| HGIMatrix https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?t=3973 |
Page 53 of 68 |
| Author: | renexxxx [ Fri Jul 31, 2015 8:48 pm ] |
| Post subject: | HGIMatrix |
Hi Censura, 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. |
|
| Author: | censura [ Mon Aug 03, 2015 7:39 am ] |
| Post subject: | HGIMatrix |
Hi thank you ok so can I use GlobalVariableSet("HGIsignal"+Symbol(),iBuffer); from your indicator or GlobalVariableSet("HGIsignal"+Symbol(),iBuffer); directly into my ea GlobalVariableSet("HGISlope"+Symbol(),HGISlope); thanks |
|
| Author: | renexxxx [ Mon Aug 03, 2015 7:49 am ] |
| Post subject: | HGIMatrix |
No, don't use Global Variables. In your EA do something like: Code: Select all Cheers ... Rene. |
|
| Author: | censura [ Mon Aug 03, 2015 8:40 am ] |
| Post subject: | HGIMatrix |
Hi sorry to be a pain, I have done this and have installed hgi_lib.mqh in include folder added below to ea #include <hgi_lib.mqh> compiled both opened and closed platform but says can't read open file? I loaded the file from your page1 |
|
| Author: | art [ Mon Aug 03, 2015 9:06 am ] |
| Post subject: | HGIMatrix |
hi renexxxx i cant stop alert popping up , its saying History updated and downloading more bars on all the pairs i have all the alerts switched off, using the non library version, i also have the alerts switched off in HGI,cheers |
|
| Author: | milanese [ Mon Aug 03, 2015 9:14 am ] |
| Post subject: | HGIMatrix |
Please use the lib version of the HGIMatrix if you want to use TF's like W1 or MN1, as it could be your broker has not enough history data for the HGI indicator to work, the lib should work... Cheers Tommaso |
|
| Author: | art [ Mon Aug 03, 2015 9:21 am ] |
| Post subject: | HGIMatrix |
thanks a lot tomasso youre a star |
|
| Author: | renexxxx [ Mon Aug 03, 2015 10:05 am ] |
| Post subject: | HGIMatrix |
I think that you mean that it is complaining that it can not find hgi_lib.ex4. This file needs to be present in the \Libraries folder and can be obtained from here. You are lucky that I'm so patient with you, as this has been explained many times before. A bit of reading would be prudent before asking questions. Cheers ,,, |
|
| Author: | SpiderX [ Tue Aug 04, 2015 1:21 am ] |
| Post subject: | HGIMatrix |
Major respect on the amount of patience here. Cheers |
|
| Author: | renexxxx [ Fri Aug 07, 2015 2:40 am ] |
| Post subject: | HGIMatrix |
I received a change request to be able to switch-off signals you're not interested in. So, I have introduced three new parameters:
Version 32 and 32L are in Post 1. |
|
| All times are UTC | Page 53 of 68 |
|
Powered by phpBB® Forum Software © phpBB Limited |
|