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 usazencort, Today, 01:16 AM
        0 responses
        1 view
        0 likes
        Last Post usazencort  
        Started by kaywai, 09-01-2023, 08:44 PM
        5 responses
        603 views
        0 likes
        Last Post NinjaTrader_Jason  
        Started by xiinteractive, 04-09-2024, 08:08 AM
        6 responses
        22 views
        0 likes
        Last Post xiinteractive  
        Started by Pattontje, Yesterday, 02:10 PM
        2 responses
        21 views
        0 likes
        Last Post Pattontje  
        Started by flybuzz, 04-21-2024, 04:07 PM
        17 responses
        230 views
        0 likes
        Last Post TradingLoss  
        Working...
        X