Traderji.com - Discussion forum for Stocks Commodities & Forex

Expert Advisor question

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. ...


Go Back   Traderji.com - Discussion forum for Stocks Commodities & Forex > TOOLS & RESOURCES > Software > MetaStock

Notices

Reply
 
Thread Tools
Sponsored Links
  #1  
Old 13th June 2006, 04:58 AM
Member
 
Join Date: Jun 2006
Posts: 1
Appreciation: 20
joshcr is on a distinguished road
Default Expert Advisor question

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!
Reply With Quote
  #2  
Old 22nd August 2007, 05:09 PM
Member
 
Join Date: Aug 2007
Posts: 4
Appreciation: 20
anil_k3 is on a distinguished road
Default Re: Expert Advisor question

could any body share meta stock progamming ?
plz giv me codes
Reply With Quote
  #3  
Old 22nd August 2007, 11:16 PM
Moderator
 
Join Date: Nov 2005
Posts: 7,521
Appreciation: 65
uasish will become famous soon enough
Default Re: Expert Advisor question

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
Reply With Quote
Sponsored Links


Reply

Bookmarks


Advertise Here


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

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


All times are GMT +5.5. The time now is 03:41 AM.

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.
 


Copyright © 2001 - 2008, Traderji.com All Rights Reserved.

Recommended Websites - www.TradersEdgeIndia.com - www.TradingPicks.com - www.MasterOfTrading.com