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,450 views
    2. thumb_up 2 thanks given
    3. group 3 followers
    1. forum 4 posts
    2. attach_file 0 attachments




 
Search this Thread
  #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?
Strategy runs differently with in Automated Order Execut …
MultiCharts
Building models w/Neuroshell and Adaptatrade
Platforms and Indicators
My funded futures (mffu)
Funded Trading Evaluation Firms
Split Session Asia/London/US with lines extending
Sierra Chart
Feb & Mar24 New Ag Micros & New Solana Crypto Fu …
Traders Hideout
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Machine Learning Journal
41 thanks
Is the WH trying to engineer a recession? This Wall Stre …
15 thanks
Demark Indicator
3 thanks
OpenAIs Deep Research - finance/trading related prompts
3 thanks
Daytrading ES & NQ
3 thanks
  #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


© 2025 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