indicator negative entry or zero parameter error message

Viewing 16 post (of 16 total)
  • Author
    Posts
  • #161750 quote
    juanjjuanj
    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.
ProRealAI ProRealAI New

Stuck on this ProBuilder code?

Describe what this topic is trying to build, in plain English, and ProRealAI writes the ProRealTime™ indicator, screener or system for you.

Available in 7 languages
Try ProRealAI

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 juanjjuanj
5 years, 7 months ago.

Topic Details
Forum: ProOrder: Automated Strategies & Backtesting
Language: English
Started: 09/23/2020
Status: Active
Attachments: No files
ProRealCode ProRealCode
Loading...