Programming third profitable close - EasyLanguage Programming | futures io social day trading
futures io futures trading


Programming third profitable close
Updated: Views / Replies:327 / 6
Created: by edgeseek 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 100,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
 

Programming third profitable close

  #1 (permalink)
Trading Apprentice
Riyadh, Saudi Arabia
 
Futures Experience: None
Platform: TradeStation
Favorite Futures: ES
 
Posts: 5 since Feb 2017
Thanks: 0 given, 0 received

Programming third profitable close

Hey all,

I'm trying to program a strategy to exit on the third profitable close.

But I have had success only to program it to exit on one profitable close only.

Would appreciate the help if any..
 
Code
If marketposition = 1 and  close > entryprice Then
	Sell 1 contract this bar close;

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)
 Vendor: www.abctradinggroup.com 
Hamburg Germany
 
Futures Experience: Advanced
Platform: Multicharts, Tradestation
Broker/Data: DTN IQ
Favorite Futures: ES
 
Posts: 1,778 since Apr 2013
Thanks: 284 given, 1,061 received


edgeseek,

how exactly do you define the "third profitable close", can you provide an example?

Regards,

ABCTG

Reply With Quote
The following user says Thank You to ABCTG for this post:
 
  #4 (permalink)
Trading Apprentice
Riyadh, Saudi Arabia
 
Futures Experience: None
Platform: TradeStation
Favorite Futures: ES
 
Posts: 5 since Feb 2017
Thanks: 0 given, 0 received

I would define it as third close larger than entry price:

Close > Entry price .....first profitable close ( do nothing)

Close > Entry Price .... second profitable close ( do nothing)

Close > Entry Price ..... third profitable close (Take as third profitable close)

I hope this explains it clearly

Reply With Quote
 
  #5 (permalink)
 Vendor: www.abctradinggroup.com 
Hamburg Germany
 
Futures Experience: Advanced
Platform: Multicharts, Tradestation
Broker/Data: DTN IQ
Favorite Futures: ES
 
Posts: 1,778 since Apr 2013
Thanks: 284 given, 1,061 received

edgeseek,

do you mean three bars have to Close above the entry price while you are in a trade?
If that is the case you have to program your own counter. Use a variable and add +1 to it when your condition is met.
Then when the counter variable is >= 3 trigger your exit.

Finally you only have to reset it after the trade, at the beginning of a new trade or when the Close is below your entry price - depending on what you have in mind of course.

Regards,

ABCTG

Reply With Quote
 
  #6 (permalink)
Trading Apprentice
Riyadh, Saudi Arabia
 
Futures Experience: None
Platform: TradeStation
Favorite Futures: ES
 
Posts: 5 since Feb 2017
Thanks: 0 given, 0 received

That is exactly what I was thinking. If you can please explain how to setup the variable and the counter variable I have googled a lot and couldn't find anything specific related to this.

Reply With Quote
 
  #7 (permalink)
 Vendor: www.abctradinggroup.com 
Hamburg Germany
 
Futures Experience: Advanced
Platform: Multicharts, Tradestation
Broker/Data: DTN IQ
Favorite Futures: ES
 
Posts: 1,778 since Apr 2013
Thanks: 284 given, 1,061 received

edgeseek,

I would suggest to take a look at the EL Essentials PDF, this will cover a lot of the required basics.

Post the code you did so far based on the possible solution I wrote and I will gladly look it and steer you in the right direction.

Regards,

ABCTG

Reply With Quote

Reply



futures io > > > > > Programming third profitable close

Thread Tools Search this Thread
Search this Thread:

Advanced Search



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

September Journal Challenge (sponsored by TopstepTrader)

September

Free Elite Membership: Twitter Tuesday and Facebook Friday!

Tue & Fri
 

Trading with Python: Using Machine Learning w/Ran Aroussi [12:30PM ET]

Elite only

TopstepTrader (TBD)

Sep 25

RandBots (TBD)

Sep 27

Anthony Drager (TBD)

Oct 4
     

Similar Threads
Thread Thread Starter Forum Replies Last Post
Webinar: Programming Profitable NinjaTrader 8 Strategies w/Scott Hodson Big Mike Elite Automated NinjaTrader Trading 20 June 13th, 2018 08:38 PM
Visual Programming (programming without coding) LukeGeniol Platforms and Indicators 11 September 16th, 2016 12:49 PM
Profitable sim/market replay = profitable live? nourozi NinjaTrader 7 January 20th, 2014 10:03 AM
Ninja Close Position / Close Button / ChartTrader vantojo NinjaTrader Programming 1 October 15th, 2012 05:51 PM
Close[0] not waiting until bar close dsraider NinjaTrader Programming 4 February 11th, 2010 05:49 PM


All times are GMT -4. The time now is 07:36 AM. (this page content is cached, log in for real-time version)

Copyright © 2018 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 2018-09-20 in 0.14 seconds with 14 queries on phoenix