Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

entry strategy based on indicator color change

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

    entry strategy based on indicator color change

    I would like to create a estrategy thats the entry are dependent of the indicator volume up down.

    I would like to perform a code like this

    If volumeupdow[0] is red Then
    entershort

    How can i write this sentences in ninjatrader

    thanks

    #2
    Hello memonic,

    Thank you for the post.

    You may use something like the attached example to check which plot of the VolumeUpDown indicator has an actual value. The color is determined by which the plot gets reset so check for the one that has a value.

    Please let me know if I can assist further.
    Attached Files

    Comment


      #3
      Hello, i have a nearly similar question, i am trying to creat a strategy using the startegy builder that will use an indicater called ZI8SupperiaPowerTrend01. This indicator will appear in the background of the chart (behinf the cnadle sticks) and it turns green whenever there is a bullish pattern and red when its bearish. What i am trying to do it create a strategy that will make me enter long whenever the indicator turn green and take profit when ever the indicator turn red and vice versa with the short. Any help with that would be much appreciated
      please see picsture to see exactly what i am talking about. Thank youClick image for larger version

Name:	20240529_033221.jpg
Views:	113
Size:	703.8 KB
ID:	1305207.

      Comment


        #4
        Hello Mahmad1323,

        Does the indicator have Plots? If the indicator is only coloring the chart that is not something which the strategy can detect, it needs to have a plot that exposes some form of data or signal to be used.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by NullPointStrategies, Yesterday, 05:17 AM
        0 responses
        65 views
        0 likes
        Last Post NullPointStrategies  
        Started by argusthome, 03-08-2026, 10:06 AM
        0 responses
        139 views
        0 likes
        Last Post argusthome  
        Started by NabilKhattabi, 03-06-2026, 11:18 AM
        0 responses
        75 views
        0 likes
        Last Post NabilKhattabi  
        Started by Deep42, 03-06-2026, 12:28 AM
        0 responses
        45 views
        0 likes
        Last Post Deep42
        by Deep42
         
        Started by TheRealMorford, 03-05-2026, 06:15 PM
        0 responses
        50 views
        0 likes
        Last Post TheRealMorford  
        Working...
        X