PDA

View Full Version : Minimum profit?


alikair
29th December 2003, 05:24 PM
Is there a way to record the entry price so that it can be used to calculate the exit price?

Or is there a command that wont alow a trade to exit if the minimum pofit target has not been reached?

David Samborsky
30th December 2003, 01:55 AM
Is there a way to record the entry price so that it can be used to calculate the exit price?
The way the Metastock Formula language is structured there is no easy way to do this which is why we incorporated a profit stop into the RecordTrades function. Use ExtFml("TradeSim.SetProfitStop",...)

alikair
31st December 2003, 04:10 PM
Is there a way to record the entry price so that it can be used to calculate the exit price?
The way the Metastock Formula language is structured there is no easy way to do this which is why we incorporated a profit stop into the RecordTrades function. Use ExtFml("TradeSim.SetProfitStop",...)

I thought setprofitstop was a MAX profit not a MIN profit?

If there was a way to know when I entered I could figure out the profit myself. I dont recall seeing anything that I could call up in a metastock formula that would tell me what I enter the trade at.

Also could you pls tell me if there is a way to force the trade to stay in the market for at lest x amount of bars(or days)?

Thank you

Alex

David Samborsky
1st January 2004, 01:55 AM
It's neither min nor max profit. You set the target profit threshold and the trade will be closed out when this profit threshold is met.

If there was a way to know when I entered I could figure out the profit myself. I dont recall seeing anything that I could call up in a metastock formula that would tell me what I enter the trade at.
Not an easy thing to do believe it or not.


Also could you pls tell me if there is a way to force the trade to stay in the market for at lest x amount of bars(or days)?
There is currently no way of doing this.