Rank: Member
Groups: Registered, Registered Users Joined: 11/10/2006(UTC) Posts: 14
|
Hi,
Could some one please write the needed codes for the following ( to be used in the Expert Advisor as a system ) :
1. Buy : close > mov(c,12,e) * 1.01
2. Stop : entry price(eg close) - 2*ATR(10)
3.Trailing Stop : HighstHigh - 3 * ATR(10)
Thanks .
|
|
|
|
Rank: Advanced Member
Groups: Registered, Registered Users, Subscribers, Unverified Users Joined: 10/28/2004(UTC) Posts: 3,111 Location: Perth, Western Australia
Was thanked: 16 time(s) in 16 post(s)
|
NewTrader wrote:Could some one please write the needed codes Yes, I am pretty sure YOU could write the codes, after reading the MetaStock Users Manual which is a tome of information that includes getting started writing your own MetaStock Formula Language codes and explorations. After you have finished reading the manual, download the free Equis Formula Primer from the Files section and work your way through the exercises contained therein. After reading the "bible" and completing the Primer, should you have any trouble getting your code to work in the explorer, post your best attempt at the code, along with a detailed explanation of exactly what you are trying to achieve and I am sure that somoene will assist you to fix any errors in your code. The idea of the Forum is not to do all the work for you, but to assist you to learn to do the work for yourself. If you do not want to learn or need this function before you have time to learn, please consider hiring a programmer to implement your system for you. "Give a man a fish, he eats for one day. Teach a man to fish, he eats every day." wabbit [:D]
|
|
|
|
Users browsing this topic |
Guest (Hidden)
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.