Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

choptmft2

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

    choptmft2

    hello, i have problem to inser it into my strategy..can help me? i would like entry when the color change..
    thank's!
    Attached Files

    #2
    Hello Bergimax,

    Thank you for your post.

    Are you referring the charts back color change or the bars in the lower panel?
    Cal H.NinjaTrader Customer Service

    Comment


      #3
      the charts back color change

      Comment


        #4
        You will want to reference the public data series ExtrnSignal then, as this switches from 0, 1 and -1

        Code:
        ChopTMFT2(bgColorDown, bgColorUp, colorBackground, colorZone, dnColor, doubleMA, ftColor, opacity, periodMA, threshold, upColor, zoneColor, zoneOpacity).ExtrnSignal;
        Cal H.NinjaTrader Customer Service

        Comment


          #5
          thank's for the replay cal.
          i try this but it don't work..
          if (ChopTMFT2(Color.DeepPink, Color.RoyalBlue, true, true, Color.Red, true, Color.Yellow, 50, 5, 0.382, Color.Lime, Color.Gray, 3).ExtrnSignal[1] == 1
          && ChopTMFT2(Color.DeepPink, Color.RoyalBlue, true, true, Color.Red, true, Color.Yellow, 50, 5, 0.382, Color.Lime, Color.Gray, 3).ExtrnSignal[2] == 0)

          Comment


            #6
            Does it give you an error message or does not execute?
            Cal H.NinjaTrader Customer Service

            Comment


              #7
              sorry my error..it work! thank's!

              Comment

              Latest Posts

              Collapse

              Topics Statistics Last Post
              Started by rajendrasubedi2023, Today, 09:50 AM
              0 responses
              10 views
              0 likes
              Last Post rajendrasubedi2023  
              Started by ender_wiggum, Today, 09:50 AM
              0 responses
              4 views
              0 likes
              Last Post ender_wiggum  
              Started by bmartz, Today, 09:30 AM
              1 response
              8 views
              0 likes
              Last Post NinjaTrader_Erick  
              Started by geddyisodin, Today, 05:20 AM
              3 responses
              24 views
              0 likes
              Last Post NinjaTrader_Gaby  
              Started by lorem, Today, 09:18 AM
              1 response
              5 views
              0 likes
              Last Post lorem
              by lorem
               
              Working...
              X