indicator negative entry or zero parameter error message

Viewing 16 post (of 16 total)
  • Author
    Posts
  • #161750 quote
    juanj
    Participant
    Master

    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
Viewing 16 post (of 16 total)
  • You must be logged in to reply to this topic.

indicator negative entry or zero parameter error message


ProOrder: Automated Strategies & Backtesting

New Reply
Author
author-avatar
sulimaster @sulimaster Participant
Summary

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
Logo Logo
Loading...