Traderji.com - Discussion forum for Stocks Commodities & Forex

Help in making an Explorer

Discuss Help in making an Explorer at the MetaStock within the Traderji.com - Discussion forum for Stocks Commodities & Forex; SORRY MY MISTAKE - THIS IS NOT AN EXPLORER, BUT AN EXPERT Dear friends, I ...


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

Notices


Advertise Here

Reply
 
Thread Tools
Sponsored Links
  #1  
Old 3rd May 2007, 07:33 AM
Member
 
Join Date: May 2007
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
dexter30 is on a distinguished road
Reputation: 20
Default Help in making an Expert

SORRY MY MISTAKE - THIS IS NOT AN EXPLORER, BUT AN EXPERT

Dear friends,

I need some help to build an Expert in Metastock:

Buy Signal - I have already programmed this. Let´s call this condition XBUY.

Sell Signal - Let´s call it XSELL. It must obey either of the following conditions:
----
1. Price has gone down to 5% or less of the entry price.
OR
2. Price has risen to 5% or more of the entry price.
----

Obs.: IMPORTANT - there must not be simultaneous trades, that is, a buy signal must only appear after a sell signal that ends the prior trade. For each buy there must be only one sell and vice-versa.

Thanks in advance!

Last edited by dexter30; 3rd May 2007 at 08:12 AM.
Reply With Quote
Sponsored Links
  #2  
Old 3rd May 2007, 11:18 AM
Member
 
Join Date: Sep 2006
Location: Chennai
Posts: 967
Thanks: 14
Thanked 72 Times in 46 Posts
oxusmorouz will become famous soon enoughoxusmorouz will become famous soon enough
Reputation: 148
Default Re: Help in making an Expert

Quote:
Originally Posted by dexter30 View Post
SORRY MY MISTAKE - THIS IS NOT AN EXPLORER, BUT AN EXPERT

Dear friends,

I need some help to build an Expert in Metastock:

Buy Signal - I have already programmed this. Let´s call this condition XBUY.

Sell Signal - Let´s call it XSELL. It must obey either of the following conditions:
----
1. Price has gone down to 5% or less of the entry price.
OR
2. Price has risen to 5% or more of the entry price.
----

Obs.: IMPORTANT - there must not be simultaneous trades, that is, a buy signal must only appear after a sell signal that ends the prior trade. For each buy there must be only one sell and vice-versa.

Thanks in advance!
Buy Rule:

Buy:= XBuy;
Sell1:= C < .95*Ref(C,-1) ;
Sell2:= C > 1.05*Ref(C,-1);
Sell:= Sell1 or Sell2;
Binary:= If(BarsSince(Buy) < BarsSince(Sell),1,0);

Binary > Ref(Binary,-1);

x--------------------------------------------------x
Sell rule:

Buy:= XBuy;
Sell1:= C < .95*Ref(C,-1) ;
Sell2:= C > 1.05*Ref(C,-1);
Sell:= Sell1 or Sell2;
Binary:= If(BarsSince(Buy) > BarsSince(Sell),1,0);

Binary > Ref(Binary,-1);

x--------------------------------------------------x
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: Help in making an Explorer
Thread Thread Starter Forum Replies Last Post
metastock-explorer:martin pring company sanjaynjain Software 0 23rd October 2006 11:21 PM
New tool in making D_arjun Software 4 10th June 2006 06:13 PM
need help for explorer code cmlee MetaStock 1 7th March 2005 08:04 AM
internet explorer gopu General Chit Chat 3 3rd February 2005 10:45 PM


All times are GMT +5.5. The time now is 03:51 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.
 


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

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