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

Fixed criterias to allow to enter a trade

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

    Fixed criterias to allow to enter a trade

    Hello,
    is it possible, with an indicator or script, to only be allowed in the NT8 platform to enter a trade when special criterias are fullfilled?

    For an easy example: Longtrades are only possible via the platform, when the recent price is above the 20 Moving average, and additional the 20 MA is rising. Otherwise it is not possible to enter a trade, because the buttons in the chart trader or dom are disabled. In this cases it is only possible to flaten an existing position.

    Thanks for help
    André

    #2
    Hello Mirasol,

    This is possible if the indicator or script is the one submitting the order. This could be possible if you created an indicator or addon with its own buttons to submit trades. You cannot block the existing tools from placing trades so a custom order entry tool would be needed for that purpose.

    An indicator would likely be the suggested route if you want to include indicator data or do crossing based on bar data.

    While technically you could use WPF tactics to disable the existing buttons I would not suggest doing that. If you have an error or situation where you need to manage it yourself it would not be helpful having something trying to prevent you from doing that. A good alternative is to compliment the existing tools and add your own custom buttons with custom criteria on how they are used, you could put that in the chart trader if you wanted and then just use your own buttons for trading.

    I look forward to being of further assistance.

    JesseNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by trilliantrader, Today, 03:01 PM
    1 response
    4 views
    0 likes
    Last Post NinjaTrader_Clayton  
    Started by geddyisodin, Today, 05:20 AM
    6 responses
    34 views
    0 likes
    Last Post geddyisodin  
    Started by pechtri, 06-22-2023, 02:31 AM
    9 responses
    122 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by frankthearm, 04-18-2024, 09:08 AM
    16 responses
    67 views
    0 likes
    Last Post NinjaTrader_Clayton  
    Started by habeebft, Today, 01:18 PM
    1 response
    8 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Working...
    X