Rank: Newbie
Groups: Registered Users, Subscribers, Unverified Users Joined: 3/11/2016(UTC) Posts: 2
|
Hello,
I am trying to test the performance of the stocks with the system tester according to SMI.
My problem is that when i use the "Cross" formula it uses the first value when smi crosses -40 but i need the program to use the lowest value after it crosses -40 and before it slopes.
Please help me to write the formula. Thank you... Edited by user Monday, May 9, 2016 11:18:02 AM(UTC)
| Reason: Not specified
|
|
|
|
Rank: Advanced Member
Groups: Moderators, Registered, Registered Users, Subscribers Joined: 10/8/2010(UTC) Posts: 1,960
Thanks: 91 times Was thanked: 155 time(s) in 150 post(s)
|
Hi,
If you do not receive a response here, you can always submit a request to our formulas team via https://www.metastock.co...s/customformulaform.aspx
Regarding a slope, if you are referring to the price moving upward from a low point, we would need the slope clearly defined mathematically. Of course this is also using forward-looking logic, so outside of hypothetical testing, you couldn't really use this logic in a live trading environment.
|
|
|
|
Rank: Advanced Member
Groups: Registered, Registered Users, Subscribers Joined: 7/25/2005(UTC) Posts: 1,042
Was thanked: 57 time(s) in 54 post(s)
|
Hi simurg
can you please provide more details about what you're trying to do. "SMI crosses -40" is ambiguous because you don't say whether the SMI is crossing over or under -40. By "slope" do you mean first bar turning up, nth bar moving up, first bar turning down, nth bar turning down, and so on. What does "crosses -40 and before it slopes" mean?
If you're going to use your code in the EST then you need to include an exit as well as an entry, also with clear rules.
Roy
|
|
|
|
Rank: Newbie
Groups: Registered Users, Subscribers, Unverified Users Joined: 3/11/2016(UTC) Posts: 2
|
Hello Roy,
I am trying to use the formula for the system tester. I consider as a buy signal when fast SMI line crosses under -40 for example to -45 or -50. When i use the "cross" formula the program uses the first price when under -40 but maybe the smi goes through -50 or -60.
What i need is to make the app use the price when the fast smi is at the lowest point and again starts to rise for example from -60 to -40.
Briefly the formula should find the lowest point of the trough when fast smi is under -40 line. The exit rule will be %10 profit.
Thank you for your help... Edited by user Saturday, May 14, 2016 11:11:25 AM(UTC)
| Reason: Not specified
|
|
|
|
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.