Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Arrow Entries

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

    Arrow Entries

    I am wondering if it possible to program a simple strategy that will place a buy or sell order whenever an arrow is plotted from a different indicator.

    In other words, I have an indicator that plots arrows and I want to program a strategy to buy on an up and sell on a down so that I can backtest it.

    Please advise...

    Thanks,
    Fib

    #2
    Hello fibbee,
    You would have to copy or recreate the conditions in the indicator that draws the arrows, in a new strategy. This would require manual programming to accomplish.


    To find and copy the conditions that draw the arrows in the indicator.
    Go to Tools > Edit NinjaScript > Indicator > Select your indicator and press OK to view the code of your indicator.


    Then, you can open a new Strategy editor by clicking on Tools > New NinjaScript > Strategy > Next > Give the Strategy a name > Click Unlock Code to view the NinjaScript Editor. From here, you can begin coding your script.


    Copy the necessary portions of the code from the indicator and paste it in the Strategy editor. Then you could use order entry methods such as EnterLong() and EnterShort() to submit your orders.


    Here are the EnterLong() and EnterShort() Help Guides to assist with configuring your order entry methods.

    If you would like to have a 3rd party develop this for you, please let me know and I will have our business development team contact you.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Mindset, 04-21-2026, 06:46 AM
    0 responses
    102 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by M4ndoo, 04-20-2026, 05:21 PM
    0 responses
    144 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by M4ndoo, 04-19-2026, 05:54 PM
    0 responses
    71 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by cmoran13, 04-16-2026, 01:02 PM
    0 responses
    125 views
    0 likes
    Last Post cmoran13  
    Started by PaulMohn, 04-10-2026, 11:11 AM
    0 responses
    79 views
    0 likes
    Last Post PaulMohn  
    Working...
    X