Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Auto Execution Pause

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

  • NinjaTrader_Dierk
    replied
    - you do have full control of your orders in NinjaScript. You may place/cancel them at any time even based on order status change events
    - yes, MBT supports stops orders

    Leave a comment:


  • BIGRED
    replied
    Agreed this is a TS / EL issue. The order is held by TS until the a tick that cause the signal on the chart.

    1. If there is anything you have in Ninja Script, it might help.

    2. Another option might be.. going to stop orders. Does NT to MBT support that type of order?

    Thank you
    Don

    Leave a comment:


  • NinjaTrader_Dierk
    replied
    Sorry, not sure I follow. NT executes what ever order you submit from TS to NT via the ATI.

    -> you would need to address your concern in your TS EasyLanguage script.

    Unfortunately we are no experts in EasyLanguage. Thus we could not provide advise.

    Leave a comment:


  • BIGRED
    started a topic Auto Execution Pause

    Auto Execution Pause

    I have assembled a functioning trade automation EL code that woks with the NT dll which has one element that leaves me a bit uncomfortable (that is before I add risk controls). I am planning to trade Forex.

    What takes place.
    Assume that I will get a visual buy signal on a chart at the price of 123.456.

    The market trades up to and at that price and therefore the signal appears on the chart. Trading pauses after the one trade that caused the signal.

    Trade automation waits for the very next tick before submitting the order.

    I have 2 concerns....

    1. I could find myself with a chart signal going short and the next trade could be in the reverse direction, causing a buy. In this case I believe I will find my chart position to be out of sync with my brokerage position.
    2. That I sit with a chart signal being opposite of my brokerage position when a lot of power comes in and blows through my price. Something I think is likely if trading gets tight.

    Has anyone got an idea about how to approach this?

    Part of the code follows...

    Thanks!
    Don


    If Sellfilled=0 then begin;
    If Close >= SellNT[1] then sellshort next bar at SELLNT STOP;
    Sellfilled=1;Buyfilled=0;
    If marketposition = -1 and barssinceentry=0 and lastbaronchart then begin;
    if Sellfirstorder=0 then begin;
    Success = NTSellMarket("MyOrderId", 20000);
    Sellfirstorder=1;Buyfirstorder=0;
    Last edited by BIGRED; 03-04-2008, 12:43 AM. Reason: Clarification

Latest Posts

Collapse

Topics Statistics Last Post
Started by funk10101, Today, 09:43 PM
0 responses
6 views
0 likes
Last Post funk10101  
Started by pkefal, 04-11-2024, 07:39 AM
11 responses
37 views
0 likes
Last Post jeronymite  
Started by bill2023, Yesterday, 08:51 AM
8 responses
44 views
0 likes
Last Post bill2023  
Started by yertle, Today, 08:38 AM
6 responses
26 views
0 likes
Last Post ryjoga
by ryjoga
 
Started by algospoke, Yesterday, 06:40 PM
2 responses
24 views
0 likes
Last Post algospoke  
Working...
X