No orders issued using Buy Stop (Part 2) - EasyLanguage Programming | futures io social day trading
futures io futures trading


No orders issued using Buy Stop (Part 2)
Updated: Views / Replies:1,647 / 5
Created: by arjfca 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
 

No orders issued using Buy Stop (Part 2)

  #1 (permalink)
Elite Member
Montreal, Canada
 
Futures Experience: Intermediate
Platform: Multicharts
Broker/Data: Interactive Broker
Favorite Futures: Forex
 
Posts: 262 since Sep 2010
Thanks: 436 given, 86 received

No orders issued using Buy Stop (Part 2)

Hello again


As mentionned in my last post, I'm trying to code my system to put stop oders. Entry should be done if stropon a stop I did they modification suggested by Jeff, but still no orders

 
Code
IfHavelong=truethenbegin
 Ifbarnumber=53thenprint(date:0:0," ",time:0:0,MyPosition," Par:",PAR," Ety", Pricetargetl:0:5," ISL",ISLL:0:5," QTY",qty:0:0);
 BuynextbarQTYcontractsatPriceTargetLstop;
 Setstoploss(Par*Qty*BigPointValue);
end;
My process
- All value is calculated after the end of the bar using
 
Code
If Barstatus[1] = 2;
- IntrabarOrderGeneration = True

- I did look on the chart and found a bar that fulfill my rules

- I created a print line to show that my targeted bar was detected as an entry and all parameters well calculated

- Did look the marketposition just before the targeted bar

- Price on the nextbar did go over my stop target by 10 pips so it should had triggerd the stop entry

- Did look after the targeted barnumber and the marketposition had not change

I'm in the dark... Don't know what to test now


Any help or hint greatly appreciated
Martin

Reply With Quote
 
  #2 (permalink)
Quick Summary
Quick Summary Post

Quick Summary is created and edited by users like you... Add FAQ's, Links and other Relevant Information by clicking the edit button in the lower right hand corner of this message.

 
  #3 (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,238 since Jun 2009
Thanks: 29,350 given, 83,217 received


Hi,

The code you posted is badly formatted.

Best thing to do is paste it into Notepad, which will strip formatting like colors and stuff, and then copy it from notepad and paste it into forum, wrapping it around the code tags. That way it will be legible.

Can you also include more of the signal so we can see what you are trying to do.

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
The following user says Thank You to Big Mike for this post:
 
  #4 (permalink)
Elite Member
Montreal, Canada
 
Futures Experience: Intermediate
Platform: Multicharts
Broker/Data: Interactive Broker
Favorite Futures: Forex
 
Posts: 262 since Sep 2010
Thanks: 436 given, 86 received

Hello Mike

Thank for the formating trick, I did tried to play with format on some post, but never tougth to copy on NotePad.

I will work on my strategy program steps to see why there is no orders send. My program is quite long and I dont want to abuse and mixup with to much informations.

I will see If to lean and send only the appropriate lines.

Best wish of happiness and success for the New Year .

Martin

Reply With Quote
 
  #5 (permalink)
 Vendor: www.systemtradersuccess.com 
Gurnee, IL
 
Futures Experience: Advanced
Platform: TradeStation
Broker/Data: TradeStation
Favorite Futures: Futures
 
Posts: 46 since Apr 2010
Thanks: 17 given, 92 received

I'm not sure what the variable PAR is. Is it a price? Or is it a number representing ticks? Can you display what the print statement printed? Also did you use "setstopcontract" in your code?


arjfca View Post
Hello again


As mentionned in my last post, I'm trying to code my system to put stop oders. Entry should be done if stropon a stop I did they modification suggested by Jeff, but still no orders

 
Code
IfHavelong=truethenbegin
 Ifbarnumber=53thenprint(date:0:0," ",time:0:0,MyPosition," Par:",PAR," Ety", Pricetargetl:0:5," ISL",ISLL:0:5," QTY",qty:0:0);
 BuynextbarQTYcontractsatPriceTargetLstop;
 Setstoploss(Par*Qty*BigPointValue);
end;
My process
- All value is calculated after the end of the bar using
 
Code
If Barstatus[1] = 2;
- IntrabarOrderGeneration = True

- I did look on the chart and found a bar that fulfill my rules

- I created a print line to show that my targeted bar was detected as an entry and all parameters well calculated

- Did look the marketposition just before the targeted bar

- Price on the nextbar did go over my stop target by 10 pips so it should had triggerd the stop entry

- Did look after the targeted barnumber and the marketposition had not change

I'm in the dark... Don't know what to test now


Any help or hint greatly appreciated
Martin


Reply With Quote
The following user says Thank You to Jeff65 for this post:
 
  #6 (permalink)
Elite Member
Montreal, Canada
 
Futures Experience: Intermediate
Platform: Multicharts
Broker/Data: Interactive Broker
Favorite Futures: Forex
 
Posts: 262 since Sep 2010
Thanks: 436 given, 86 received

Jeff,

PAR : Pip At Risk. My Fix Dollars Amount / PAR will give me how many units to buy or sell

PAR: Is the range of my setup bar + 2pips + spread. So, yes it is not a fix number.


I have done many test and still not been able to see my "stop entry" activated i when it should had.

I will post later an updated (clearer) code

Martin

Reply With Quote

Reply



futures io > > > > > No orders issued using Buy Stop (Part 2)

Thread Tools Search this Thread
Search this Thread:

Advanced Search



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

Linda Bradford Raschke: Reading The Tape

Elite only

Adam Grimes: TBA

Elite only

NinjaTrader: TBA

January

Ran Aroussi: TBA

Elite only
     

Similar Threads
Thread Thread Starter Forum Replies Last Post
Is it possible to use Stop orders in Range bars ? Darshiit EasyLanguage Programming 8 June 20th, 2014 02:39 AM
No orders issued part 3 arjfca EasyLanguage Programming 4 December 19th, 2010 11:32 AM
No orders issued using Buy Stop arjfca EasyLanguage Programming 3 December 14th, 2010 06:33 AM
Stop Orders sam028 Terms (Glossary) 0 June 27th, 2010 06:40 PM
How To Tell Where Other Traders Have Placed Their Stop and Buy Orders shodson Traders Hideout 4 March 18th, 2010 09:03 AM


All times are GMT -4. The time now is 05:00 PM.

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-12-11 in 0.11 seconds with 19 queries on phoenix via your IP 54.226.132.197