![]() |
This website will be down for maintenance from Friday May 24th at 6PM MDT until Saturday May 25th at 11AM MDT. We apologize for the inconvenience. If you need assistance during this time, please email sales@ninjatrader.com
|
|||||||
| Strategy Development Support for the development of custom automated trading strategies using NinjaScript. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Junior Member
Join Date: Jun 2008
Posts: 5
Thanks: 0
Thanked 0 times in 0 posts
|
Can a Ninja Script strategy be written to take advantage of a range bound Forex pair? For instance let us say USDJPY is stuck in a 20 pip range. We can manually enter a limit order to buy at 90.10 and with an ATM strategy take profit at 90.30.
To repeat the process we have to wait for the profit target to be filled and then again manually enter another limit order to buy at 90.10 with an ATM strategy to take profit 20 pips later. Can this process be automated to repeat once the profit target has been reached to automatically enter a limit order to buy again at 90.10? |
|
|
|
|
|
#2 |
|
NinjaTrader Customer Service
Join Date: Sep 2008
Location: Germany
Posts: 22,421
Thanks: 252
Thanked 982 times in 964 posts
|
Hi Serutuf, sure you can code a NinjaScript strategy that scalps the pair this way - please see this link here for more info to get you started this way - http://www.ninjatrader-support.com/H...verview39.html
To learn how to connect the strategy with your ATM strategy templates, please see this link - http://www.ninjatrader-support.com/H...trategies.html To see sample code, please study the SampeATMStrategy in your NinjaScript editor.
Bertrand
NinjaTrader Customer Service |
|
|
|
|
|
#3 |
|
Junior Member
Join Date: Jun 2008
Posts: 5
Thanks: 0
Thanked 0 times in 0 posts
|
Thanks for the prompt reply.
What I want to create is a grid trading strategy to buy at 10 pip or a user defined interval and sell when 10 pips in profit. Has anyone set this to a strategy? |
|
|
|
|
|
#4 |
|
NinjaTrader Customer Service
Join Date: Sep 2008
Location: Germany
Posts: 22,421
Thanks: 252
Thanked 982 times in 964 posts
|
I am not aware of this type of strategy available already, but it should be doable with custom programming in our NinjaScript environment - in case you want professional programming services, please contact these NinjaScript consultants - http://www.ninjatrader.com/webnew/pa...injaScript.htm
Bertrand
NinjaTrader Customer Service |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Pair trading / Spread trading | HelloHello | Automated Trading | 8 | 09-18-2010 08:55 PM |
| Between Range | cirion | Indicator Development | 14 | 12-17-2008 05:17 PM |
| How to get currency pair charts with yahoo finance connection? | TraderGreg | Charting | 1 | 08-13-2008 01:01 PM |
| "MarketPosition(Pair, Account)" | trickofthetrade | Historical NinjaTrader 6.5 Beta Threads | 1 | 03-27-2008 01:24 PM |
| License for Forex trading with Gain Capital/Forex.com | kgillis23 | Automated Trading | 1 | 10-26-2007 12:28 PM |