How not to enter back into Position within 10 days
Author: kelvinyip
Creation Date: 11/25/2020 5:26 PM
profile picture

kelvinyip

#1
I am running the code in a DataSet with multiple symbols. For the same symbol, I don't want to enter into a position again within 10 days.. Any samples please ? Something like bar-LastPosition.ExitBar>10 but it 's got to keep track of symbols


I have tried something like this but it is giving some strange exception.

CODE:
Please log in to see this code.



thx
profile picture

Eugene

#2
Please check out this handy method from C.Components: CooledOff
This website uses cookies to improve your experience. We'll assume you're ok with that, but you can opt-out if you wish (Read more).