|02-26-2011, 01:28 PM||#1|
Join Date: Jan 2009
Thanked 20 times in 20 posts
Is it possible to enter a negative number for the value in SetStopLoss and CalculationMode.Ticks? Alternatively, is it possible to switch CalculationMode from ticks to price while holding a position (that would actually be preferable)?
When a position is first entered, a fixed number of ticks is used then it jumps to a number of ticks based on some other criteria and then once a certain profit level is reached, it starts trailing.
Because you can't mix SetStopLoss with a trailing stop, once I get to the trailing stop level I still have to use SetStopLoss.
However, now I want a stop that is above (for a long) my entry so it would appear the stop loss in ticks is actually a negative number.
Yes, I know I can use price all along but because initally the price is going to be so close to the market, I have to jump through hoops to make certain I don't place a stop at the market which will give me an error and shut the strategy down.
|Thread||Thread Starter||Forum||Replies||Last Post|
|SetStopLoss||gg80108||General Programming||3||10-11-2010 10:38 AM|
|SetStopLoss()||Lost Trader||Strategy Development||4||08-03-2010 02:14 PM|
|An example for SetStopLoss||crunchy||General Programming||3||05-09-2010 09:11 AM|
|SetStopLoss||toyogo00||Strategy Development||1||07-22-2008 09:02 AM|
|SetStopLoss||thepcmd||Strategy Development||2||12-01-2007 01:14 PM|