PDA

View Full Version : Profit Target Stop


Abate
19th February 2004, 05:19 AM
How do I set my profit target to exit at the High of the day. The SetProfitStop function on the TradeSim allows you to exit at the Exit Price specified. The problem I have is that I have two exit conditions, one is to exit when the close of the day is the lowest low in the last 15 days and the other is a profit target where I need to exit when the high of the day is 10 percent higher than the entry price. Do I enter 2 ExitPrices i.e. ExitPrice:=Close and ExitPrice2:=High and if so how do I tell SetProfitStop to use ExitPrice2, because there is no variable to specify that in the function.

David Samborsky
21st February 2004, 02:27 AM
You can't exactly do that.

The Profit Stop uses your ExitPrice array to calculate when a profit threshold has been reached so it it is not possible to use one price as the threshold and another as the exit price.

Jose
22nd February 2004, 12:06 AM
Abate, this needs to be coded in MetaStock - a lot of work.

Re http://www.compuvision.com.au/phpBB2/viewtopic.php?t=231
you've mailed me that you've posted your MetaStock code, but I can't find it anywhere here.

jose '-)