• 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 NT-Roland, Today, 11:24 AM
    1 response
    10 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by NT-Roland, Today, 06:34 AM
    1 response
    11 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by gemini42, Yesterday, 09:44 PM
    1 response
    18 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by BobyGill, Today, 03:48 PM
    0 responses
    1 view
    0 likes
    Last Post BobyGill  
    Started by martyn73, Today, 02:29 PM
    0 responses
    9 views
    0 likes
    Last Post martyn73  
    Working...
    X