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 Bimi with 1 posts (0 thanks)
    3. looks_3 Quick Summary with 1 posts (0 thanks)
    4. looks_4 NW27 with 1 posts (1 thanks)
    1. trending_up 5,867 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?
June 15 Peace Odds Surge From 3.6% to 12.25% After Trump …
Prediction Markets & Event Contracts
Fabrication or Framework? Irans Denied MOU Explains the …
Prediction Markets & Event Contracts
Beijing Summit Closes: Xi Pledges Hormuz Help -- $1.14B …
Prediction Markets & Event Contracts
CFTC Approves First US Bitcoin Perpetual Futures -- Kals …
Traders Hideout
CFTC Opens First COT Report Review in 20 Years -- Asks W …
Traders Hideout
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Big Mike in Ecuador
196 thanks
Sober Journey With S&P
27 thanks
30 Sessions
20 thanks
BERN ALGOS algo trading journal
8 thanks
Volume Indicators
8 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


© 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