NexusFi: Find Your Edge


Home Menu

 





Entering a limit buy above the current ask?


Discussion in Sierra Chart

Updated
      Top Posters
    1. looks_one tr8er with 8 posts (6 thanks)
    2. looks_two Trembling Hand with 3 posts (6 thanks)
    3. looks_3 SMCJB with 3 posts (11 thanks)
    4. looks_4 Sawtooth with 2 posts (3 thanks)
      Best Posters
    1. looks_one SMCJB with 3.7 thanks per post
    2. looks_two bobwest with 3 thanks per post
    3. looks_3 Trembling Hand with 2 thanks per post
    4. looks_4 tr8er with 0.8 thanks per post
    1. trending_up 1,078 views
    2. thumb_up 40 thanks given
    3. group 6 followers
    1. forum 23 posts
    2. attach_file 3 attachments




 
Search this Thread

Entering a limit buy above the current ask?

  #21 (permalink)
 
Tuglife's Avatar
 Tuglife 
Escondido CA USA
 
Experience: Beginner
Platform: Sierra Chart
Trading: YM
Posts: 168 since Jan 2020
Thanks Given: 88
Thanks Received: 174

Thank you to everyone who weighed in with constructive feedback.

The subject of this post is something I looked into some time back (I screwed it up somehow). What I remember at the time was SC's documentation stating that you couldn't enter a limit buy above market. That was one of the reason's for my post. As I posted earlier, I want to use this technique in algo trading to control gaps or slippage, and I have been able to buy limit above marker in manual trade entries.

I just did a new search and came up with an answer from the SC support board that confirms what a couple of people have said on this thread, with an interesting detail.

Question put to their board was: How to enter a buy limit order above current ask in a spreadsheet system.

Sierra Chart Engineering replied:

This is going to be easier to do with ACSIL because there is a specific order type that supports this.

Refer to:
Automated Trading From an Advanced Custom Study

Order Types: OCO Buy Limit Sell Limit

Visit my NexusFi Trade Journal Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Can I use Ehlers Periodogram as the lookback for another …
NinjaTrader
MC Advanced Simulated Trading.
MultiCharts
ZombieSqueeze
Platforms and Indicators
Legends Trading: Ask Me Anything (AMA) w/Greg Khojikian CEO
Trading Reviews and Vendors
Better Renko Gaps
The Elite Circle
 
  #22 (permalink)
 Trembling Hand 
Melbourne, Land of Oz
 
Experience: Advanced
Platform: Sierra Chart, CQG
Broker: CQG
Trading: HSI
Posts: 246 since Jun 2011
Thanks Given: 28
Thanks Received: 360


Tuglife View Post
Thank you to everyone who weighed in with constructive feedback.

You actually can just check this yourself. Open a DOM hit "buy market" and look into the Activity log. You will have a buy order without a limit price (order 1 in pic). Then submit a buy above the bid and you will see the order has a LIMIT price but still fills at best bid. (order 2 in pic)

Same with NT

or if you want to test it in ACSIL for yourself here is the code.

 
Code
SCSFExport scsf_AA_TemplateFunction(SCStudyInterfaceRef sc)
{

    // Section 1 - Set the configuration variables and defaults
    if (sc.SetDefaults)
    {
        sc.GraphName = "Limit Test Function";
	sc.GraphRegion = 0;
	sc.AutoLoop = 0;
		
	sc.AllowOnlyOneTradePerBar = false;
	sc.MaximumPositionAllowed = 1;
	sc.SendOrdersToTradeService = false;

	return;
	}


	if (sc.GetBarHasClosedStatus() == BHCS_BAR_HAS_CLOSED)
	{
		s_SCNewOrder NewOrder;
		NewOrder.OrderQuantity = 1;
		NewOrder.OrderType = SCT_ORDERTYPE_LIMIT;  // <<<<< NOTE Limit order priced above current market
		NewOrder.Price1 =  sc.Close[sc.Index] + 4;
		int Result = 0;
		Result = (int)sc.BuyEntry(NewOrder);
	
	}


}

Attached Thumbnails
Click image for larger version

Name:	2024-02-06 21_23_18-Trade Activity Log.png
Views:	22
Size:	21.9 KB
ID:	337508   Click image for larger version

Name:	2024-02-06 21_11_07-Control Center - Log.png
Views:	24
Size:	65.2 KB
ID:	337509  
Follow me on Twitter Reply With Quote
Thanked by:
  #23 (permalink)
 Sawtooth 
Prescott AZ USA
 
Experience: Advanced
Platform: SierraChart
Broker: Stage5, FCM:Dorman, Data:Denali, Routing:Teton
Trading: YM ES NQ
Posts: 474 since Nov 2009
Thanks Given: 219
Thanks Received: 603



Trembling Hand View Post
You actually can just check this yourself. Open a DOM hit "buy market" and look into the Activity log. You will have a buy order without a limit price (order 1 in pic). Then submit a buy above the bid and you will see the order has a LIMIT price but still fills at best bid. (order 2 in pic)

Thanks for the testing tip.

Are you saying that a BuyLimit 3 points above the Market offers the same entry protection as a BuyStopLimit at Market with a Limit Offset of 3 points?

This is esoteric, and would be difficult to confirm.

I've always understood the two to be different:
The BuyLimit above Market immediately fills at Market and offers no entry price protection.
The BuyStopLimit at Market offers entry price protection to its Limit Offset.

Reply With Quote
  #24 (permalink)
 
josh's Avatar
 josh 
Georgia, US
Legendary Market Wizard
 
Experience: None
Platform: SC
Broker: Denali+Rithmic
Trading: ES, NQ, YM
Posts: 6,266 since Jan 2011
Thanks Given: 6,814
Thanks Received: 18,324

This thread inspired me to write a clarifying thread. Nothing fancy, just a scenario to try to clear up a marketable limit order.


Reply With Quote




Last Updated on March 31, 2024


© 2024 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 - Privacy Policy - Downloads - Top
no new posts