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

entry condition

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

    entry condition

    hi,
    have a question regarding TickSize function. How do I create a script for a long entry which is more than 1 tick above reference price?

    for example if the reference price is "x" and i want to place a longstop at 2 ticks above "x", how do i script that?

    is "EnterLongStop(x + 2*TickSize)" correct?

    #2
    Hi,
    I think its EnterLongLimit(x + 2*TickSize)

    Baruch

    Comment


      #3
      kaywai,

      For long stop's your code will work. Baruch's will work for long limits with that as the limit price.
      Josh P.NinjaTrader Customer Service

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by PaulMohn, Today, 09:12 AM
      2 responses
      5 views
      0 likes
      Last Post PaulMohn  
      Started by ETFVoyageur, Today, 05:50 AM
      5 responses
      34 views
      0 likes
      Last Post NinjaTrader_Gaby  
      Started by thumper57, 05-11-2024, 04:30 PM
      13 responses
      38 views
      0 likes
      Last Post NinjaTrader_BrandonH  
      Started by llanqui, Yesterday, 10:29 AM
      2 responses
      15 views
      0 likes
      Last Post llanqui
      by llanqui
       
      Started by llanqui, Yesterday, 11:10 AM
      2 responses
      22 views
      0 likes
      Last Post llanqui
      by llanqui
       
      Working...
      X