NexusFi: Find Your Edge


Home Menu

 





Immediate Stop and Limit orders


Discussion in EasyLanguage Programming

Updated
      Top Posters
    1. looks_one interfool with 2 posts (1 thanks)
    2. looks_two Quick Summary with 1 posts (0 thanks)
    3. looks_3 NW27 with 1 posts (1 thanks)
    4. looks_4 Bimi with 1 posts (0 thanks)
    1. trending_up 5,282 views
    2. thumb_up 2 thanks given
    3. group 3 followers
    1. forum 4 posts
    2. attach_file 0 attachments




 
Search this Thread

Immediate Stop and Limit orders

  #1 (permalink)
interfool
Tucson AZ USA
 
Posts: 3 since Oct 2012
Thanks Given: 2
Thanks Received: 3

I am trying to find out a way to immediately issue stop and limit orders with prices I generate either:

A. When I place an entry order, so when the order fills, I have a stop and limit in place.

B. Immediately after an order fills, put the stop and limit in place, NOT wait until the next bar.

Have not found a way to do this in Easy/Power language. All stop and limit orders fill at the next bar.
I want to use my custom pricing, so "this bar" stuff doesn't work.

Any ideas?

Thanks!

Reply With Quote
Thanked by:

Can you help answer these questions
from other members on NexusFi?
ZombieSqueeze
Platforms and Indicators
Futures True Range Report
The Elite Circle
The space time continuum and the dynamics of a financial …
Emini and Emicro Index
Exit Strategy
NinjaTrader
Better Renko Gaps
The Elite Circle
 
  #3 (permalink)
Bimi
London
 
Posts: 118 since Mar 2010
Thanks Given: 42
Thanks Received: 58



interfool View Post
I am trying to find out a way to immediately issue stop and limit orders with prices I generate either:

A. When I place an entry order, so when the order fills, I have a stop and limit in place.

B. Immediately after an order fills, put the stop and limit in place, NOT wait until the next bar.

Have not found a way to do this in Easy/Power language. All stop and limit orders fill at the next bar.
I want to use my custom pricing, so "this bar" stuff doesn't work.

Any ideas?

Thanks!

use setstoploss and setprofittarget

Reply With Quote
  #4 (permalink)
interfool
Tucson AZ USA
 
Posts: 3 since Oct 2012
Thanks Given: 2
Thanks Received: 3

Actually, using [IntrabarOrderGeneration = true] solves the issue. It basically turns "Next Bar" entries into "Next Tick" entries.

Found this after I posted here.

All the best.

Reply With Quote
  #5 (permalink)
 NW27 
Newcastle, Australia
 
Experience: Intermediate
Platform: Multicharts 8 - Full Version
Broker: IB
Trading: SPI,FTSE100, 6E, 6A
Posts: 285 since Oct 2010
Thanks Given: 108
Thanks Received: 188

Hi,
Have you downloaded NWT Exits from the download area? It will show you how to do lots of this style of specialised programming.

Regards,
Neil.

Reply With Quote
Thanked by:




Last Updated on November 15, 2012


© 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