Darlene
10th May 2004, 06:52 AM
I am hoping someone will be able to help re a position sizing problem I am having with TradeSim...
I have developed a long reversal system that uses a LLV(L,3) as an exit.
I like to use the "Fixed Risk" position sizing as it factors in volatility - however I do not actually use an initial stop, as the LLV3 is sufficiently tight.
To be able to use the "Fixed Risk" position sizing, but not activate the Inital Stop as an exit, I included the code (InitialStop := c-1.5*ATR(10);), but "turned it off" by using the "DisableProtectiveStop" function. That is while it could use the 1.5*ATR(10) in the formula for position sizing it never actually exited using the Initial Stop - only the LLV3, as I had planned. (I fully understand that my actual risk using this system is still variable and by no means limited to the set "FixedRisk" I choose in TradeSIM. I look carefully at the TradeLog to determine the range and average etc of both risk and actual $$ size of the positions). I really just like the formula, which I have been assuming is (Fixed Risk$$/"Stop Loss (ATR)" or $xx/xATR ), as it takes the volatility into account and it reduces the position size with the more extreme end of the volatile stocks while still having some exposure to them. My Volatility gate is ATR(30)/Mov(c,30,s)>0.01.)
My problem is that, using the above code, I realised TradeSim was actually using the close, and calculating the ATR(10), on the day of entry rather than trigger. As this was impossible, in reality, to implement, I changed the code to "InitialStop := Ref(c-1.5*ATR(10)),-1);" to reflect more closely what I would really be doing. (I enter the day following the trigger so use the function "EnableDelayOfEntryByOneBar". ) It seems tradesim is now using the correct value of the ATR(10) to calculate position size but the system has become significantly less profitable.
It does not make sense to me that the value of the ATR on one day - when included as part only, of an average of the previous same 9 days (ie., ATR(10)) can make such a huge difference. Sometimes - in the TradeLog, the position sizes are extremely different - and this is the only change I have made.
Any help much appreciated.
Cheers
Darlene
I have developed a long reversal system that uses a LLV(L,3) as an exit.
I like to use the "Fixed Risk" position sizing as it factors in volatility - however I do not actually use an initial stop, as the LLV3 is sufficiently tight.
To be able to use the "Fixed Risk" position sizing, but not activate the Inital Stop as an exit, I included the code (InitialStop := c-1.5*ATR(10);), but "turned it off" by using the "DisableProtectiveStop" function. That is while it could use the 1.5*ATR(10) in the formula for position sizing it never actually exited using the Initial Stop - only the LLV3, as I had planned. (I fully understand that my actual risk using this system is still variable and by no means limited to the set "FixedRisk" I choose in TradeSIM. I look carefully at the TradeLog to determine the range and average etc of both risk and actual $$ size of the positions). I really just like the formula, which I have been assuming is (Fixed Risk$$/"Stop Loss (ATR)" or $xx/xATR ), as it takes the volatility into account and it reduces the position size with the more extreme end of the volatile stocks while still having some exposure to them. My Volatility gate is ATR(30)/Mov(c,30,s)>0.01.)
My problem is that, using the above code, I realised TradeSim was actually using the close, and calculating the ATR(10), on the day of entry rather than trigger. As this was impossible, in reality, to implement, I changed the code to "InitialStop := Ref(c-1.5*ATR(10)),-1);" to reflect more closely what I would really be doing. (I enter the day following the trigger so use the function "EnableDelayOfEntryByOneBar". ) It seems tradesim is now using the correct value of the ATR(10) to calculate position size but the system has become significantly less profitable.
It does not make sense to me that the value of the ATR on one day - when included as part only, of an average of the previous same 9 days (ie., ATR(10)) can make such a huge difference. Sometimes - in the TradeLog, the position sizes are extremely different - and this is the only change I have made.
Any help much appreciated.
Cheers
Darlene