Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Problem with OIF Generation - Using ATM in OIF etc

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

    Problem with OIF Generation - Using ATM in OIF etc

    Hello,

    After reading the attached file
    I am currently looking into integrating Amibroker with Ninjatrader using the OIF file. I went into OIF builder and for the instrument AUDJPY I tried creating a OIF file with a STOPLIMIT order and STOPPRICE of 100.66 and LIMITPRICE of 100.66. The OIF utility resets the value to 101. Is this a bug or am i doing something wrong?. However when I click on generate I see the correct values over there. But when I click on write file, I don't see the file being created under my documents\ninjatrader6\incoming\

    Any thoughts on why the file is not getting created?.

    Also once the position is opened, then do I need to place another order to place a protective stop and exit?. Can these be sent part of the initial OIF as well?. Or Can I create an ATM Strategy Called Scalper_Entry_Exits and then use this Strategy name in the OEF?. So the OEF PLACE takes care of the netry orders and the ATM Strategy takes care of the protective stop and the exit?. Is this doable?

    I would greatly appreciate if someone can post a sample ATM Strategy for the Forex market?. I.e as soon as a position is entered protective stop at 15 pips and exit at 15 pips. Especially given that the decimal places vary for EURUSD as compared to USDJPY and all yen crosses.

    While at this topic, Is there any disadvantage in using OIF based approach vs com/dll medthod?.

    Sorry for too many questions...I am just two days into NT and it looks very interesting.

    Thanks.

    Cheers,Padhu
    Attached Files

    #2
    If you do not pass in a strategy template name then yes, you have to then submit your own protective orders. If you submit a strategy template name, then the strategy will take effect and submit them for you.

    OIF is slower than DLL but we are likely talking milliseconds not seconds.
    RayNinjaTrader Customer Service

    Comment


      #3
      >> Is this a bug or am i doing something wrong?
      Yes, this is a bug which will be fixed in next release. Thanks for pointing this out. For now you can work around and select a different instrument and then reselect AUDJPY.

      Comment


        #4
        I assume since only an OIF script is available for the AB to NT ATI, that a wrapper function or some other interface would need to be developed in AmiBroker to enable DLL operability. Anyone have any experience working with ATI functionality (OIF or DLL) on Amibroker that would be willing to share his/her experience? PMs welcome.

        Regards,

        Whitmark
        whitmark
        NinjaTrader Ecosystem Vendor - Whitmark Development

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by fx.practic, 10-15-2013, 12:53 AM
        5 responses
        5,406 views
        0 likes
        Last Post Bidder
        by Bidder
         
        Started by Shai Samuel, 07-02-2022, 02:46 PM
        4 responses
        98 views
        0 likes
        Last Post Bidder
        by Bidder
         
        Started by DJ888, Yesterday, 10:57 PM
        0 responses
        8 views
        0 likes
        Last Post DJ888
        by DJ888
         
        Started by MacDad, 02-25-2024, 11:48 PM
        7 responses
        160 views
        0 likes
        Last Post loganjarosz123  
        Started by Belfortbucks, Yesterday, 09:29 PM
        0 responses
        9 views
        0 likes
        Last Post Belfortbucks  
        Working...
        X