View Full Version : initial stop
ajellis
19th April 2006, 08:57 AM
David,
might it be possible to have a function in Tradesim whereby the initial stop requires a close below the initial stop value, rather than intraday penetration, in order for it to trigger? The exit value could be the open of the next day.
regards
Andrew
David Samborsky
2nd May 2006, 01:00 PM
UseClosingPriceAsStopThreshold
ExtFml(“TradeSim.UseClosingPriceAsStopThresholdâ €ť);
Calling this function changes the way the price is compared to the InitialStop value when protective stops have been enabled using the EnableProtectiveStops function. If this function is called and protective stops have been enabled using the EnableProtectiveStops function then for a trade on the long side a protective stop is generated when the closing price of the days trade is less or equal to the initial stop value. Similarly for trades on the short side a protective stop is generated when the closing price of the days trade is greater or equal to the initial stop value. See the flowcharts above for the exact operation.
Note: If a stop has been breeched then the trade will always exit at the opening price on the next bar if UseClosingPriceAsStopThreshold has been called. See the flowcharts above for the exact operation.
vBulletin® v3.8.6, Copyright ©2000-2012, Jelsoft Enterprises Ltd.