PDA

View Full Version : Scalping a range bound Forex Pair


Serutuf
12-30-2008, 07:08 PM
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?

NinjaTrader_Bertrand
12-31-2008, 04:32 AM
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/HelpGuideV6/Overview39.html

To learn how to connect the strategy with your ATM strategy templates, please see this link - http://www.ninjatrader-support.com/HelpGuideV6/UsingASMStrategies.html

To see sample code, please study the SampeATMStrategy in your NinjaScript editor.

Serutuf
12-31-2008, 06:12 AM
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?

NinjaTrader_Bertrand
12-31-2008, 06:23 AM
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/partners_onlinetrading_NinjaScript.htm