NexusFi: Find Your Edge


Home Menu

 





Pending Orders Are Eating Up My Buying Power In My Multichart Strategy


Discussion in MultiCharts

Updated
    1. trending_up 2,342 views
    2. thumb_up 2 thanks given
    3. group 2 followers
    1. forum 6 posts
    2. attach_file 0 attachments




 
Search this Thread
  #1 (permalink)
 KhaosTrader 
San Jose
 
Experience: Intermediate
Platform: NinjaTrader, Esignal
Trading: Stocks
Posts: 107 since Jan 2012
Thanks Given: 40
Thanks Received: 21

Hi,

I am using Interactive Brokers as my broker and MultiCharts as my charting and automated trading platform, data is IQFeed.

I have a strategy that if it finds a "setup" will issue a long order and a short order. These orders may or may not be filled, depending if price crosses the trigger level for long or short. When one order is filled (either long or short), it cancels the other pending order.

The problem is, each pending order "eats up" my buying power. If I have this strategy attached to multiple stocks, then when a setup is found for each stock, it issues both the the long and short order - which may or may not be filled in 1 direction only -- but it eats up my buying power for both orders the moment a setup on each chart is detected.

This limitation makes it not possible for me to attach a live strategy to many stocks as my buying power is eaten up, regardless if I actually enter the market, because the stop or limit order (unfilled) eats up my buying power.

Any ideas how I can make it such that pending orders dont eat up my buying power?


Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
ATFX Suspends Prop Trading Unit ATFunded -- Full Review …
Funded Trading Evaluation Firms
Warsh Drops Easing Bias, December Hike Now Above 50% -- …
Prediction Markets & Event Contracts
Four New E-mini Futures Launch June 29 -- Russell 3000, …
Emini and Emicro Index
Iran and Israel Stand Down: What $9M in Peace Contracts …
Prediction Markets & Event Contracts
Fabrication or Framework? Irans Denied MOU Explains the …
Prediction Markets & Event Contracts
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
NexusFi site changelog and issues/problem reporting
16 thanks
Darmok and Jalad at Tanagra
3 thanks
CME Expands 24/7 Trading to WTI Crude Oil and Gold -- We …
1 thanks
Big Mike in Ecuador
1 thanks
30 Sessions
1 thanks
  #2 (permalink)
Bimi
London
 
Posts: 118 since Mar 2010
Thanks Given: 42
Thanks Received: 58


KhaosTrader View Post
Hi,

I am using Interactive Brokers as my broker and MultiCharts as my charting and automated trading platform, data is IQFeed.

I have a strategy that if it finds a "setup" will issue a long order and a short order. These orders may or may not be filled, depending if price crosses the trigger level for long or short. When one order is filled (either long or short), it cancels the other pending order.

The problem is, each pending order "eats up" my buying power. If I have this strategy attached to multiple stocks, then when a setup is found for each stock, it issues both the the long and short order - which may or may not be filled in 1 direction only -- but it eats up my buying power for both orders the moment a setup on each chart is detected.

This limitation makes it not possible for me to attach a live strategy to many stocks as my buying power is eaten up, regardless if I actually enter the market, because the stop or limit order (unfilled) eats up my buying power.

Any ideas how I can make it such that pending orders dont eat up my buying power?

you can always use IOG.


Reply With Quote
  #3 (permalink)
 KhaosTrader 
San Jose
 
Experience: Intermediate
Platform: NinjaTrader, Esignal
Trading: Stocks
Posts: 107 since Jan 2012
Thanks Given: 40
Thanks Received: 21


I am using [IntrabarOrderGeneration = true] already...

But in my strategy i do the following on each tick

 
Code
if MarketPosition = 0 and EnterTrade and OpenEntriesCount=0 and TradeTimeOk then begin
	
	Buy ("Enter Long") 3*ShareLotSize Shares next Bar at LongEntryPrice stop;
	SellShort("Enter Short") 300  Shares Next Bar at (ShortEntryPrice) stop;

end;
so this is "updated" each tick.. But once the setup is detected, this code is working (setup detected will make EnterTrade=True).


Started this thread Reply With Quote
  #4 (permalink)
Bimi
London
 
Posts: 118 since Mar 2010
Thanks Given: 42
Thanks Received: 58


KhaosTrader View Post
I am using [IntrabarOrderGeneration = true] already...

But in my strategy i do the following on each tick

 
Code
if MarketPosition = 0 and EnterTrade and OpenEntriesCount=0 and TradeTimeOk then begin
	
	Buy ("Enter Long") 3*ShareLotSize Shares next Bar at LongEntryPrice stop;
	SellShort("Enter Short") 300  Shares Next Bar at (ShortEntryPrice) stop;

end;
so this is "updated" each tick.. But once the setup is detected, this code is working (setup detected will make EnterTrade=True).

you are doing it wrong
wait till the price hit the entry price, then send in the order.


Reply With Quote
  #5 (permalink)
 KhaosTrader 
San Jose
 
Experience: Intermediate
Platform: NinjaTrader, Esignal
Trading: Stocks
Posts: 107 since Jan 2012
Thanks Given: 40
Thanks Received: 21

Oh, ok that makes sense, but I would like to have my order submitted PRIOR to it hitting such that my order wont get in late and I get a worse price....

Therefore here are some ideas...

1) I better put limits on these orders...

2) When price gets CLOSE to my entry I should submit the order,

3) when price is not close, the order will not be submitted, and therefore if price was close and the order existed before, it will not be resubmitted, so the order will be cancelled

Is that correct?


Started this thread Reply With Quote
  #6 (permalink)
Bimi
London
 
Posts: 118 since Mar 2010
Thanks Given: 42
Thanks Received: 58


KhaosTrader View Post
Oh, ok that makes sense, but I would like to have my order submitted PRIOR to it hitting such that my order wont get in late and I get a worse price....

Therefore here are some ideas...

1) I better put limits on these orders...

2) When price gets CLOSE to my entry I should submit the order,

3) when price is not close, the order will not be submitted, and therefore if price was close and the order existed before, it will not be resubmitted, so the order will be cancelled

Is that correct?

IOG is for market orders


Reply With Quote
  #7 (permalink)
 KhaosTrader 
San Jose
 
Experience: Intermediate
Platform: NinjaTrader, Esignal
Trading: Stocks
Posts: 107 since Jan 2012
Thanks Given: 40
Thanks Received: 21

so there is no way to put a limit on the order to protect my entry price?


Started this thread Reply With Quote




Last Updated on September 19, 2012


© 2026 NexusFi®, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
All information is for educational use only and is not investment advice. There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Downloads - Top
no new posts