Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Open positions in Forex

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

    Open positions in Forex

    Hello,

    Is it possible to program a strategy and apply it to Forex? I mean, my broker is IB and in a typical strategy for example with futures when in the code you write: "Enter Long", it buys one future contract, but in the case of Forex with IB you decide if you want to buy 1k, 10k or whatever you want.

    Is there a way to specify this in the code?

    Thanks

    Daniel

    #2
    Hi Daniel, yes FX spot trading would be possible via automated NinjaScript strategies as well - you would enter then your unitsize as qty - for example 10000 for a minilot.
    BertrandNinjaTrader Customer Service

    Comment


      #3
      Hello, Can you please give an example of a automated Strategy for forex?

      Comment


        #4
        You can for example run our with NT shipped SampleMACrossOver strategy on your FX spot symbol (for example $EURUSD, daily data for free available with our Kinetick connection inbuild, see my signature).

        This will show a basic moving average crossover strategy that will reverse it's positions with each signal, the parameters used for the SMA's could be adjusted by the user.
        BertrandNinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by geddyisodin, 04-25-2024, 05:20 AM
        8 responses
        58 views
        0 likes
        Last Post NinjaTrader_Gaby  
        Started by jxs_xrj, 01-12-2020, 09:49 AM
        4 responses
        3,285 views
        1 like
        Last Post jgualdronc  
        Started by Option Whisperer, Today, 09:55 AM
        0 responses
        5 views
        0 likes
        Last Post Option Whisperer  
        Started by halgo_boulder, 04-20-2024, 08:44 AM
        2 responses
        22 views
        0 likes
        Last Post halgo_boulder  
        Started by mishhh, 05-25-2010, 08:54 AM
        19 responses
        6,189 views
        0 likes
        Last Post rene69851  
        Working...
        X