PDA

View Full Version : setprofitstop used with pyramiding enabled


gawdib
29th December 2003, 12:42 AM
THe ts manual: SetProfitStop ExtFml(“TradeSim.SetProfitStop”,ProfitThreshol d%); This function is used to automatically exit a trade irrespective of the ExitTrigger when a profit threshold exceeds an amount determined by the ProfitThreshold parameter. The ProfitThreshold parameter must be positive and is expressed in percentage. The profit calculation takes into account which side of the market (Long or short) the trade has been taken and the profit threshold is always referenced to the entry criteria. When a trade is exited in this manner the trade is flagged in the database and is shown in the TradeSim Trade Database Manager as a profit stop. A call to the Initialize function disables the effects to a call to this function. For long trades a profit stop is generated when the following criteria is satisfied:- (100 x (XP – EP)/EP) > PercentProfitThreshold Copyright © 2000-2003 by Compuvision Australia Pty Ltd. All Rights Reserved
http://www.compuvision.com.au
Page 65.

I need to be sure if the "entry criteria" means: both 1. the entry criteria set for "entering" a pyramiding-on -top-of-the-entrytrigger- purchase and 2: the entry criteria for the initial commitment of money to a virgin investment vehicle that at the moment has no money riding on it.

Or in another way to say it,: the criteria listed at the "entrytrigger" point in the 4-5 parameter-- trading -system- tradesim- formua. Is this the ONLY one that the setprofit stop will react to?

Related matter: when the manual refers to "entering a trade" is it meant WHENEVER money is committed or just when the ENTRYTRIGGER formula is first found and not again until some type of exit has occurred after this very first entrytrigger ever for this "stock"( PERHAPS ALSO the first entrytrigger formula found after the last exit?

thanks very much . regards, geoffrey

David Samborsky
29th December 2003, 01:20 PM
For more detailed information on trade pyramids please refer to document AN-3 avaliable from the download site.