Rank: Newbie
Groups: Registered, Registered Users Joined: 3/28/2009(UTC) Posts: 5
|
I want to write a formula that 1. any one day's close price is higher than yesterday 's high and given that it is after a down trend that the lowest price is the reference lowest recently, and
2. after 1 is formed, there is any one day that the close price is higher than yesterday 's high.
Anyone can help? Thank you very much.
|
|
|
|
Rank: Newbie
Groups: Registered, Registered Users Joined: 3/28/2009(UTC) Posts: 5
|
Could anyone help? Thanks a lot
|
|
|
|
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)
|
Hi ak,
You've asked a couple of basic questions on the forum...
The first place to
start learning about MS formula codes is the MS Users Manual. Have a
read of it a couple of times because it contains too much information
to be fully absorbed on only one reading. In there you will find the
rules and syntax for writing codes with some friendly reminders about
how not to achieve certain things, and some examples of how to recreate
some of the inbuilt indicators in your own code.
From there, the
next step is to do all the exercises in the free Equis Formula
Primer, available for download from the Files section. This teaches
more of the basics on which everything else relies.
You also
have all of the indicators that come pre-loaded in MS. Some of these
are proprietary and are password protected, but most of them are not.
You can use these codes as more examples for writing indicators, system
tests, explorations and experts.
Like always, if you get stuck,
help is available here on the Forum. Just post your best attempt at the
code along with a full explanation of what you are trying to achieve
and an explanation why your code is not achieving this and one of the
Forum members will give some of their time to help you.
Hope this helps.
wabbit [:D]
|
|
|
|
Rank: Newbie
Groups: Registered, Registered Users Joined: 3/28/2009(UTC) Posts: 5
|
|
|
|
|
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.