![]() |
|
| Discuss Expert Advisor question at the MetaStock within the Traderji.com - Discussion forum for Stocks Commodities & Forex; Hello all, I'm working on getting some auto trading going and need a little help/advice. ... |
|
|||||||
| Notices |
![]() |
|
|
Thread Tools |
| Sponsored Links |
|
#1
|
|||
|
|||
|
Hello all, I'm working on getting some auto trading going and need a little help/advice. Ok here's what i am doing and what i want to do.
I have used one of the built-in experts, Equis-MACD, and modified this to use with an auto trading robot. The code I currently have for the “BUY” signal is as follows: ExtFml("TradeBoltMS.MakeMyPosition", "EUR/USD", 10000, "MACD 1", LastValue(Cross(MACD(),Mov(MACD(),9,E)))); Cross(MACD(),Mov(MACD(),9,E)) This sends a signal to my robot and submits a trade. What I want to do is once this signal is sent I want this to be followed by another signal to close or “flatten” the trade once the currency goes in my favor 20pips. I know that following this with a “SELL” signal would do this in my case but I want to reserve the “SELL” signal so I can do the exact same thing in the opposite direction. Is this possible? Can someone help me out with it? Are there any good resources online that I can access for configuring these things? Thanks! |
|
#2
|
|||
|
|||
|
could any body share meta stock progamming ?
plz giv me codes |
|
#3
|
|||
|
|||
|
joshcr,
One is Long; Two is Exit; Three is Short ; Four is Buy Cover; This can be done with variables (if your version of MS is non registered);alternatively by Dlls . Ask Equis they provide this Dll Free to registered user. Asish |
| Sponsored Links |
|
|
![]() |
| Bookmarks |
| Thread Tools | |
|
|
Similar Threads for: Expert Advisor question
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Metastock Expert Advisor - Pivot Analysis | karthikmarar | MetaStock | 51 | 11th January 2008 07:46 AM |
| Metastock Expert Advisor Help | settipalli | MetaStock | 5 | 25th October 2007 08:34 AM |
| Metastock Expert advisor as a learning aid. | sh50 | MetaStock | 10 | 12th May 2007 08:44 AM |
| Seeking Expert Opinions | RSBALA | Introductions | 1 | 4th November 2006 04:06 PM |
| Metastock Expert | JIIENDRA | MetaStock | 9 | 7th April 2006 01:13 PM |
Indemnity, Disclaimer & Disclosure
Notice:
• By visiting Traderji.com you indicate your acceptance of our Forum
Rules Disclaimer & Disclosure and indemnify Traderji.com, its
associates and related parties of all claims howsoever resulting from
the usage of the forum.
• Disclaimer: Trading or investing in stocks & commodities
is a high risk activity. Any action you choose to take in the markets
is totally your own responsibility. Traderji.com will not be liable for
any, direct or indirect, consequential or incidental damages or loss arising out of the use of this information.
• Disclosure: The information in this forum is neither an offer to sell nor solicitation to buy any of the securities mentioned herein.
The writers may or may not be trading in the securities mentioned.
• All names or products mentioned are trademarks or registered trademarks of their respective owners.
General Content Disclaimer Notice:
In light of our policy of encouraging candid, open exchanges of views and the rapid distribution of information originating from many sources, Traderji.com cannot determine the accuracy of information that may be uploaded to the forum. Opinions, advice and all other information expressed by participants in discussions are those of the author. You rely on such information at your own risk. You are urged to seek professional advice for specific, individual situations and not rely solely on advice or opinions given in the discussions. Since Traderji.com is an open and free discussion forum, any comments made by members of this forum in their posts reflect their own views and not of the owner or administrator of Traderji.com. Thus the owner/administrator indemnify themselves of all claims whatsoever and will not be liable or responsible for any members comments/views in this forum Traderji.com. If you find any objectionable or offensive posts made by members of this forum which you would like to bring to our notice for removal then please Contact Us.