NexusFi: Find Your Edge


Home Menu

 





Keeping Limit order amounts after entry from other side


Discussion in MultiCharts

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




 
Search this Thread
  #1 (permalink)
 Phil18 
Antwerp Belgium
 
Experience: Intermediate
Platform: oec
Trading: ES
Posts: 9 since Sep 2015
Thanks Given: 2
Thanks Received: 0

Hi everyone,

I have a strategy which identifies a range-bound market and then sells the top of the range and buys at the bottom of the range. The strategy utilizes limit orders. So, for example, the market keeps bouncing from 500 to 510 and then back. After selling at 510, I anticipate that the market will go down to 500 where I will buy, and then back to 510, where I will sell again.

In order to get into the limit order queue as early as possible, I'm trying to enter a limit sell order for 510 while I'm still in the previous short. So say I sold at 510 and the market goes down to 508, I then enter another sell limit at 510

 
Code
if MarketPosition_at_Broker = -1 then sellshort ("s1") 1 contract next bar at 510 limit
The problem is, when I enter my long at 500, the sell limit at 510 changes from 1 contract to 2 contracts (in order to get me net short 1), and I lose my place in the queue. Can anyone think of a way that I can get around this?


 
Code
if MarketPosition_at_Broker = -1 then sellshort ("s1") 2 contracts next bar at 510 limit
doesn't help, because once I go long, that 2 contract order will just be changed to 3 contracts, and I lose my place in the queue again..

Thanks in advance!


Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Pakistan Mediator in Tehran as Hormuz Normalization Coll …
Prediction Markets & Event Contracts
Rubios Good News Within Hours and the 30-Day Math: Why H …
Prediction Markets & Event Contracts
SEC Advisory Committee Backs Tokenized Securities Exempt …
Traders Hideout
$24.5 Billion Record Month: Prediction Markets Shatter A …
Prediction Markets & Event Contracts
Powell in 48 Hours: Word Markets Give 78% on Inflation, …
Prediction Markets & Event Contracts
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
The Pivot Point 113.6³ — Navigating the Prediction of …
26 thanks
Sober Journey With S&P
17 thanks
The Confluence Meter: A Multi-Layered Signal Framework B …
11 thanks
NT8 color choices
10 thanks
Volume Indicators
7 thanks
  #2 (permalink)
 ABCTG   is a Vendor
 
Posts: 2,447 since Apr 2013
Thanks Given: 493
Thanks Received: 1,639

Phil18,

since you can't change this platform behavior one way might be to use two charts - one for long and one for short.
However, this would add an extra bit of complexity most likely since you might have to close out your positions yourself that would otherwise be reversed by MC.

Regards,

ABCTG


Follow me on X Reply With Quote
Thanked by:
  #3 (permalink)
 Phil18 
Antwerp Belgium
 
Experience: Intermediate
Platform: oec
Trading: ES
Posts: 9 since Sep 2015
Thanks Given: 2
Thanks Received: 0


ABCTG,

It took some creative magic to finally make it work, but your suggestions was the key to the solution, so thanks :-)


Started this thread Reply With Quote




Last Updated on February 15, 2020


© 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