I am also experiencing this issue which is very frustrating as graphing all values does not return a negative value, Even tried replacing barindex-tradeindex with the following line of code without success:
//barindex-tradeindex alternative
If (longonmarket[1] and shortonmarket) or (shortonmarket[1] and longonmarket) Then
NewTradeIndex = 1
ElsIf onmarket Then
NewTradeIndex = NewTradeIndex + 1
Else
NewTradeIndex = 0
EndIf
This topic contains 15 replies, has 6 voices, and was last updated by juanj 5 years ago.
Topic Details
Forum:
ProOrder: Automated Strategies & Backtesting
Language:
English
Started:
09/23/2020
Status:
Active
Attachments:
No files
Loading...
About personal data collected
The information collected on this form is stored in a computer file by ProRealCode to create and access your ProRealCode profile. This data is kept in a secure database for the duration of the member's membership. They will be kept as long as you use our services and will be automatically deleted after 3 years of inactivity. Your personal data is used to create your private profile on ProRealCode. This data is maintained by SAS ProRealCode, 407 rue Freycinet, 59151 Arleux, France. If you subscribe to our newsletters, your email address is provided to our service provider "MailChimp" located in the United States, with whom we have signed a confidentiality agreement. This company is also compliant with the EU/Swiss Privacy Shield, and the GDPR.
For any request for correction or deletion concerning your data, you can directly contact the ProRealCode team by email at privacy@prorealcode.com
If you would like to lodge a complaint regarding the use of your personal data, you can contact your data protection supervisory authority.
Get Assistance
Assistance Type
Your Need
Proposed Solutions
Do you like cookies? 🍪 We use cookies to ensure you get the best experience on our website.
(Learn more)