|
|||||||
| Register in Forex TSD! | |
|
Trading Systems Leaders in this forum (automated trading systems) are winning more than 3000 pips in a month (30000$ investing one lot every time). Click here to register and get more information |
|
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
Interesting. Thanks.
FerruFx
__________________
THE HEART of FOREX & THE PROBABILITY METER - Trade with 100% confidence and ... Stress Less!!! Coding services: Experts Advisors, indicators, alerts, etc ... more info by PM NEW: video presentation of the Probability Meter ... 24hrs action on the website |
|
|||
|
hi
|
|
|||
|
Hi there, can you explain how this works?
__________________
Metatrader 4 - EA Live and Demo Hosting Solutions http://www.omegasupreme.com |
|
||||
|
Well, with SendSignal, it stores a text message of up to 255 characters long in a Registry ("HKEY_CURRENT_USER\Software\TradeSwitch\Signal s") under a subfolder named with the first string parameter of this function ("Name"), e.g. "EURUSD". This text message is then stored as a key-value pair in that subfolder. The key is defined with a shortable DateTime string, the value is filled with that message. Each time when SendSignal is called, a new key-value pair is then added in sorted order.
When ReceiveSignal is called with the Name string as parameter (like "EURUSD"), the oldest key-value pair that is still stored in that subfolder is read from and deleted afterwards. The value string is then returned back as result. With FlushSignal, all key-value pairs that are still left stored during SendSignal in the Name selected subfolder are deleted. Used for restarting EA in Init function. Hope this helps. Jeff |
|
||||
|
Quote:
. I was just in the middle reading the TradeSwitch folder.
__________________
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Signal Alert | vidda | Suggestions for Trading Systems | 5 | 08-12-2007 06:05 AM |
| changes for ki signal | rizdwan74kl | Indicators - Metatrader 4 | 2 | 04-02-2007 10:50 PM |
| signal line | xxDavidxSxx | Expert Advisors - Metatrader 4 | 2 | 10-17-2006 05:31 AM |
| Trend Signal | CP6 | Indicators - Metatrader 4 | 16 | 08-15-2006 05:29 PM |