gordont
17th February 2005, 12:13 AM
I am trying to test a trading plan using the SetTimeStop Exit Control Function.
I am unable to see how to code the Exit Price to account for when the SetTimeStop is actuated.
There needs to be an IF statement that sets the Exit Price to be the Stop Loss Price unless the SetTimeStop is actuated, when the closing price will be used. What is the parameter that is used to count the number of days in the trade?
I am unable to see how to code the Exit Price to account for when the SetTimeStop is actuated.
There needs to be an IF statement that sets the Exit Price to be the Stop Loss Price unless the SetTimeStop is actuated, when the closing price will be used. What is the parameter that is used to count the number of days in the trade?