• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

CountIf alternative?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    CountIf alternative?

    Hi guys, im trying to count the amount of signals i get in one chart (conditions meet) but i was struggling to the CountIf method working properly till i saw this in the help manual:

    " This method will NOT work on multi-series strategies. "

    im using a 4h and 5 minutes series, Whats the alternative to CountIf to accomplish this?

    should i create a data series? a mock up example will tremendously help

    Thanks in advance!

    #2
    Hello kabott

    You can declare an integer, like signalFound and where the condition is true add a line signalFound++ ; To increment the value of the integer.

    For a reference, this is demonstrated in the indicator CandlestickPatterns on your NinjaTrader. Look for the integer patternFound.

    Please let me know if I can be of further assistance.
    Paul H.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by canuck, Today, 07:52 PM
    0 responses
    2 views
    0 likes
    Last Post canuck
    by canuck
     
    Started by itrader46, Yesterday, 11:12 PM
    2 responses
    16 views
    0 likes
    Last Post koganam
    by koganam
     
    Started by walter739, Today, 06:04 PM
    0 responses
    3 views
    0 likes
    Last Post walter739  
    Started by MarkWise, Today, 03:04 PM
    2 responses
    8 views
    0 likes
    Last Post MarkWise  
    Started by maltese, Today, 02:38 PM
    2 responses
    10 views
    0 likes
    Last Post maltese
    by maltese
     
    Working...
    X