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.

    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.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by kinfxhk, 07-14-2026, 09:39 AM
        0 responses
        89 views
        0 likes
        Last Post kinfxhk
        by kinfxhk
         
        Started by kinfxhk, 07-13-2026, 10:18 AM
        0 responses
        92 views
        0 likes
        Last Post kinfxhk
        by kinfxhk
         
        Started by kinfxhk, 07-13-2026, 09:50 AM
        0 responses
        70 views
        0 likes
        Last Post kinfxhk
        by kinfxhk
         
        Started by kinfxhk, 07-13-2026, 07:21 AM
        0 responses
        87 views
        0 likes
        Last Post kinfxhk
        by kinfxhk
         
        Started by kinfxhk, 07-11-2026, 02:11 AM
        0 responses
        64 views
        0 likes
        Last Post kinfxhk
        by kinfxhk
         
        Working...
        X