Rank: Newbie
Groups: Registered, Registered Users Joined: 11/14/2005(UTC) Posts: 8
|
I was wondering if anyone has a good way to reference the entry date for a trade. It seems that several functions would allow this except that the function requires constants in certain fields.
Specifically, would MS accept this?
Initial stop = ref(Open,-barssince(Entry Signal=1) - .5*Avg Bar Range
Trailing Stop = highestsince(1, Entry Signal =1,High) - 2* Avg Bar Range
Close Long = L<max(Initial Stop, Trailing Stop); Limit = max(Initial Stop, Trailing Stop)
Thanks,
Scott
|
|
|
|
Rank: Advanced Member
Groups: Registered, Registered Users, Subscribers Joined: 9/8/2004(UTC) Posts: 2,266
Was thanked: 1 time(s) in 1 post(s)
|
Quote:ref(Open,-barssince(Entry Signal=1))
As you have found out some functions only take constant values, there are functions in both the ASI dll and Forum dll that have been created to allow variable input in some functions. In the download section you will find the forum dll manual you should take a look at that ;)
Patrick :mrgreen:
|
|
|
|
Rank: Newbie
Groups: Registered, Registered Users Joined: 11/14/2005(UTC) Posts: 8
|
Thanks for the link, but given how useful and relevant these functions are, how could Equis not include these in the std functions?
|
|
|
|
Rank: Advanced Member
Groups: Registered, Registered Users, Subscribers Joined: 9/8/2004(UTC) Posts: 2,266
Was thanked: 1 time(s) in 1 post(s)
|
Well Equis did/does not really know about these functions ... But I have had a few chats with our new product manager ( Grant Robertson AKA Plato on the forum ) and we are discussing/thinking about it.
Patrick :mrgreen:
|
|
|
|
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.