- This topic has 3 replies, 2 voices, and was last updated 7 months ago by .
- You must be logged in to reply to this topic.
I’ve been having difficulty getting Exit scripts to behave as intended for Entry scripts that generate a lot of signals.
The reason for this is that TIMESINCESIGNAL, PRICEATSIGNAL and all the other “SIGNAL” tools use the last signal which is typically not the entry signal picked up during the back test.
I’m wondering if you could add a constant like “BACKTESTENTRY” which is the signal held by the back tester during its processing of the data. This way, something like TIMESINCESIGNAL(BACKTESTENTRY) would always get the right signal.
FYI, this is also a problem with the non-trailing stop (Trailing=False), which uses the last signal not the original entry.
Please refer to the following post:
Specifically the final entry in the thread. The offset option may allow you to do what you’re after.
I’ve been managing around this via spreadsheets for the last few months, but I get so many exceptions it’s becoming difficult to be certain I’m getting the correct information – I’m good at Excel but by no means an expert.
The Back Tester “knows” the original entry as it is displayed correctly in the “Trade List” tab. What I’m looking for is access to that entry via scripting.
I’ve attached a PDF that shows the problem; hopefully it’s something you can look at including soon.
Many thanks again
You must be logged in to access attached files.
I’m guessing this post got missed as all others before and since have had a response, so this is just to get the request back on the list.
Necessary cookies are absolutely essential for the website to function properly. These cookies ensure basic functionalities and security features of the website, anonymously.
|cookielawinfo-checbox-analytics||11 months||This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics".|
|cookielawinfo-checbox-functional||11 months||The cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional".|
|cookielawinfo-checbox-others||11 months||This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other.|
|cookielawinfo-checkbox-necessary||11 months||This cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary".|
|cookielawinfo-checkbox-performance||11 months||This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance".|
Functional cookies help to perform certain functionalities like sharing the content of the website on social media platforms, collect feedbacks, and other third-party features.
Performance cookies are used to understand and analyze the key performance indexes of the website which helps in delivering a better user experience for the visitors.
Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics the number of visitors, bounce rate, traffic source, etc.
Advertisement cookies are used to provide visitors with relevant ads and marketing campaigns. These cookies track visitors across websites and collect information to provide customized ads.
Other uncategorized cookies are those that are being analyzed and have not been classified into a category as yet.