Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

GAIN custom filltype

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

    GAIN custom filltype

    Would like to share a custom filltype for the GAIN broker and was wondering how you export a file from the custom/type dir?

    #2
    darckeen,

    Working from that directory is done at your own risk. We do not support exporting any custom types and you will have to do it manually.
    Josh P.NinjaTrader Customer Service

    Comment


      #3
      Okies, well here is an attempt at a FillType for GAIN or any other broker that submits pices as bid only and only allows you to take offers/hit bids.

      Short comings that it tries to address are:

      Slippage is only applied to market buys.

      Limit and stop buys are trigger when the bid + slippage hits the target.

      Limit orders do not need to trade through to get executed.

      Can get better then limit price if order is submitted on a bar with a better open.

      Stop orders always get the worst of the stop price or bar open.

      Ditched multiple entry on same bar logic.


      To use set the slippage to the typical bid ask spread of the pair. Seems true to fills reported from live sims.
      Attached Files
      Last edited by darckeen; 04-21-2009, 08:49 PM.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Hwop38, 05-04-2026, 07:02 PM
      0 responses
      161 views
      0 likes
      Last Post Hwop38
      by Hwop38
       
      Started by CaptainJack, 04-24-2026, 11:07 PM
      0 responses
      310 views
      0 likes
      Last Post CaptainJack  
      Started by Mindset, 04-21-2026, 06:46 AM
      0 responses
      245 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Started by M4ndoo, 04-20-2026, 05:21 PM
      0 responses
      350 views
      0 likes
      Last Post M4ndoo
      by M4ndoo
       
      Started by M4ndoo, 04-19-2026, 05:54 PM
      0 responses
      179 views
      0 likes
      Last Post M4ndoo
      by M4ndoo
       
      Working...
      X