Problem with naming multiple entry/exits - EasyLanguage Programming | futures io social day trading
futures io futures trading


Problem with naming multiple entry/exits
Updated: Views / Replies:5,012 / 21
Created: by Big Mike Attachments:0

Welcome to futures io.

(If you already have an account, login at the top of the page)

futures io is the largest futures trading community on the planet, with over 90,000 members. At futures io, our goal has always been and always will be to create a friendly, positive, forward-thinking community where members can openly share and discuss everything the world of trading has to offer. The community is one of the friendliest you will find on any subject, with members going out of their way to help others. Some of the primary differences between futures io and other trading sites revolve around the standards of our community. Those standards include a code of conduct for our members, as well as extremely high standards that govern which partners we do business with, and which products or services we recommend to our members.

At futures io, our focus is on quality education. No hype, gimmicks, or secret sauce. The truth is: trading is hard. To succeed, you need to surround yourself with the right support system, educational content, and trading mentors Ė all of which you can find on futures io, utilizing our social trading environment.

With futures io, you can find honest trading reviews on brokers, trading rooms, indicator packages, trading strategies, and much more. Our trading review process is highly moderated to ensure that only genuine users are allowed, so you donít need to worry about fake reviews.

We are fundamentally different than most other trading sites:
  • We are here to help. Just let us know what you need.
  • We work extremely hard to keep things positive in our community.
  • We do not tolerate rude behavior, trolling, or vendors advertising in posts.
  • We firmly believe in and encourage sharing. The holy grail is within you, we can help you find it.
  • We expect our members to participate and become a part of the community. Help yourself by helping others.

You'll need to register in order to view the content of the threads and start contributing to our community.  It's free and simple.

-- Big Mike, Site Administrator

Reply
 
Thread Tools Search this Thread
 

Problem with naming multiple entry/exits

  #11 (permalink)
Elite Member
Newcastle, Australia
 
Futures Experience: Intermediate
Platform: Multicharts 8 - Full Version
Broker/Data: IB
Favorite Futures: SPI,FTSE100, 6E, 6A
 
Posts: 285 since Oct 2010
Thanks: 108 given, 177 received

What version are you running ?
There was an issue with multiple exits and this that was fixed in 7.4 (build 5032)
Version 8 may be ok?


Thanks,
Neil.

(Sent from my Galaxy S2 via Tapatalk)

Reply With Quote
 
  #12 (permalink)
Trading Apprentice
Las Vegas, Nevada
 
Futures Experience: Intermediate
Platform: MultiCharts
Favorite Futures: Forex
 
Posts: 10 since Mar 2012
Thanks: 1 given, 0 received

7.4 4953 - so maybe this was just fixed? (I guess MC doesn't have an autoupdater/checker, right - so I should get used to checking for new versions like I do with TWS...) I will attempt an update when I can take it offline again.

Reply With Quote
 
  #13 (permalink)
Site Administrator
Manta, Ecuador
 
Futures Experience: Advanced
Platform: My own custom solution
Favorite Futures: E-mini ES S&P 500
 
Big Mike's Avatar
 
Posts: 46,168 since Jun 2009
Thanks: 29,280 given, 82,799 received



equalizer View Post
I think Contract and Share are equivalent. SetStopContract is for the built-in stop though (which I am using for initial stop loss, but not for my custom trailing stop).

My understanding is SetStopContract modifies behavior of stop loss and profit target orders. Without specifying this reserve word, a single uniform "all out" stop is hit for both stop losses and profit targets, whereas if you do specify it, the stops and targets are unique for each entry order.

Mike

Due to time constraints, please do not PM me if your question can be resolved or answered on the forum.

Need help?
1) Stop changing things. No new indicators, charts, or methods. Be consistent with what is in front of you first.
2) Start a journal and post to it daily with the trades you made to show your strengths and weaknesses.
3) Set goals for yourself to reach daily. Make them about how you trade, not how much money you make.
4) Accept responsibility for your actions. Stop looking elsewhere to explain away poor performance.
5) Where to start as a trader? Watch this webinar and read this thread for hundreds of questions and answers.
6)
Help using the forum? Watch this video to learn general tips on using the site.

If you want
to support our community, become an Elite Member.

Reply With Quote
 
  #14 (permalink)
Trading Apprentice
Las Vegas, Nevada
 
Futures Experience: Intermediate
Platform: MultiCharts
Favorite Futures: Forex
 
Posts: 10 since Mar 2012
Thanks: 1 given, 0 received


Big Mike View Post
My understanding is SetStopContract modifies behavior of stop loss and profit target orders. Without specifying this reserve word, a single uniform "all out" stop is hit for both stop losses and profit targets, whereas if you do specify it, the stops and targets are unique for each entry order.

Mike


Interesting - my understanding was different; I thought it meant that SetStopPosition will mean that the dollar amount fed to SetStopLoss(amount) will be calculated off the entire position, whereas with SetStopContract will mean the amount is the amount lost per contract/share; but that in either case, the entire position will be closed.

That's why I always ended up implementing my own stop order logic for any stops beyond the initial "worst case" stop - because the built-in stop, while easy to use in that it's always calculating every tick without any additional work, will always close out the whole position (and has to be set across the board at all times).

Are you saying it's possible to customize it per order? Perhaps using From Entry("name") could be used with it? I still don't think so though - that's why the included Stop Loss Strategy (only several lines total) can be applied to the chart with any other built-in strategy, because it's always for the whole position.

I hope my understanding is wrong though!

Reply With Quote
 
  #15 (permalink)
Site Administrator
Manta, Ecuador
 
Futures Experience: Advanced
Platform: My own custom solution
Favorite Futures: E-mini ES S&P 500
 
Big Mike's Avatar
 
Posts: 46,168 since Jun 2009
Thanks: 29,280 given, 82,799 received

You can't customize it per order. I have an open PM request to address that, but no word yet.

Mike

Due to time constraints, please do not PM me if your question can be resolved or answered on the forum.

Need help?
1) Stop changing things. No new indicators, charts, or methods. Be consistent with what is in front of you first.
2) Start a journal and post to it daily with the trades you made to show your strengths and weaknesses.
3) Set goals for yourself to reach daily. Make them about how you trade, not how much money you make.
4) Accept responsibility for your actions. Stop looking elsewhere to explain away poor performance.
5) Where to start as a trader? Watch this webinar and read this thread for hundreds of questions and answers.
6)
Help using the forum? Watch this video to learn general tips on using the site.

If you want
to support our community, become an Elite Member.

Reply With Quote
 
  #16 (permalink)
Trading Apprentice
Las Vegas, Nevada
 
Futures Experience: Intermediate
Platform: MultiCharts
Favorite Futures: Forex
 
Posts: 10 since Mar 2012
Thanks: 1 given, 0 received


Big Mike View Post
My understanding is SetStopContract modifies behavior of stop loss and profit target orders. Without specifying this reserve word, a single uniform "all out" stop is hit for both stop losses and profit targets, whereas if you do specify it, the stops and targets are unique for each entry order.

I guess I am not sure what you meant by this then. Again, I think it only specifies if the dollar amount is for the whole position, or per contract - not whether it applies to a stop loss vs. a profit taking order. But if I am missing something, it would be pretty important to know the subtleties.

That's great you have an active request regarding customing it per order (by name or id). I too think it would be a pretty important feature.

Reply With Quote
 
  #17 (permalink)
Trading Apprentice
Zurich/Switzerland
 
Futures Experience: Intermediate
Platform: MC
Favorite Futures: FX
 
Posts: 1 since Jul 2012
Thanks: 0 given, 0 received

Tied Exits

Could you provide an example of tied exits (stoploss and profit target) to each of these entries? Tks.

Var: PosNum(0),PosPrice1(0),PosPrice2(0),PosPrice3(0);

switch (PosNum) begin

case 1: Buy ("LE # 1") 1 Contract Next Bar At PosPrice1 Limit;
case 2: Buy ("LE # 2") 1 Contract Next Bar At PosPrice2 Limit;
case 3: Buy ("LE # 3") 1 Contract Next Bar At PosPrice3 Limit;

end;

Reply With Quote
 
  #18 (permalink)
Trading Apprentice
Las Vegas, Nevada
 
Futures Experience: Intermediate
Platform: MultiCharts
Favorite Futures: Forex
 
Posts: 10 since Mar 2012
Thanks: 1 given, 0 received

You cannot tie those exits to each entry as far as I understood (but can set it for the same number of shares per entry). This is one of reasons I ended up migrating to Amibroker, so I am afraid I won't be able to assist further. Perhaps Mike can.

Reply With Quote
 
  #19 (permalink)
Elite Member
London
 
Futures Experience: Beginner
Platform: MultiCharts
 
Posts: 221 since Nov 2010
Thanks: 8 given, 19 received

Any Solution?

Reply With Quote
 
  #20 (permalink)
Market Wizard
Hamburg Germany
 
Futures Experience: Advanced
Platform: Multicharts, Tradestation, Multicharts.NET, NinjaTrader, MetaTrader
Broker/Data: DTN IQ
Favorite Futures: ES
 
Posts: 1,466 since Apr 2013
Thanks: 224 given, 836 received


bomberone1,

a solution to what particular problem in this thread? There might be solutions now.

Regards,

ABCTG


bomberone1 View Post
Any Solution?



Last edited by ABCTG; July 26th, 2016 at 05:50 AM. Reason: To avoid confusion
Reply With Quote

Reply



futures io > > > > > Problem with naming multiple entry/exits

Thread Tools Search this Thread
Search this Thread:

Advanced Search



Upcoming Webinars and Events (4:30PM ET unless noted)
 

RandBots: AutoTrading Bots to diversify your trading

Oct 24
 

TopstepTrader: Profiting Without Risking Your Own Money

Oct 26

Building Open Source Indicators for NT8 w/Fat Tails @ Lizard Indicators

Elite only
     

Similar Threads
Thread Thread Starter Forum Replies Last Post
re coding for entry/exits in easylanguage baz111 EasyLanguage Programming 1 December 28th, 2011 06:17 AM
NinjaTrader custom indicator problem with multiple data series - freezing TraderOfFortune NinjaTrader Programming 17 December 22nd, 2011 06:29 PM
MULTIPLE ORDER ENTRY gparkis NinjaTrader 9 May 17th, 2011 10:25 AM
Using Limit entry, how to know if entry was execute - Multicharts arjfca EasyLanguage Programming 11 November 24th, 2010 04:33 PM
Need help with order entry on multiple dataseries bobbakerr EasyLanguage Programming 20 August 29th, 2010 09:03 AM


All times are GMT -4. The time now is 09:41 AM.

Copyright © 2017 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, +507 833-9432, info@futures.io
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.
no new posts
Page generated 2017-10-23 in 0.14 seconds with 19 queries on phoenix via your IP 54.81.110.114