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 frankthearm, Today, 09:08 AM
        5 responses
        11 views
        0 likes
        Last Post NinjaTrader_Clayton  
        Started by jeronymite, 04-12-2024, 04:26 PM
        3 responses
        43 views
        0 likes
        Last Post jeronymite  
        Started by yertle, Today, 08:38 AM
        5 responses
        15 views
        0 likes
        Last Post NinjaTrader_BrandonH  
        Started by adeelshahzad, Today, 03:54 AM
        3 responses
        19 views
        0 likes
        Last Post NinjaTrader_BrandonH  
        Started by bill2023, Yesterday, 08:51 AM
        6 responses
        27 views
        0 likes
        Last Post NinjaTrader_Erick  
        Working...
        X