simple stratgy - EasyLanguage Programming | futures io social day trading
futures io futures trading


simple stratgy
Updated: Views / Replies:1,054 / 6
Created: by musuk 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
 

simple stratgy

  #1 (permalink)
Elite Member
uk, london
 
Futures Experience: Beginner
Platform: NinjaTrader
Favorite Futures: forex
 
Posts: 25 since Sep 2011
Thanks: 6 given, 2 received

simple stratgy

hi every one

i want to build a signal that it buy when the current bar start counting the numbers of previose bars and if it higher then it will buy and same when it sale to close.
i think its easey but i have no idea how to do it.

thanks

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)
Elite Member
las vegas
 
Futures Experience: Intermediate
Platform: Sierra Chart
Broker/Data: Velocity/IB
Favorite Futures: 6E
 
Posts: 1,147 since Feb 2010
Thanks: 304 given, 836 received


Are you saying that if you define your entry criteria as 8, then if the last 8 bars are up bars then it will buy at the open of the ninth bar? To let you know, I have analyzed the crap out of bar data and can tell you that over time there is a 50% chance that the next bar will be an up bar and a 50% chance it will be a down bar, regardless of how many of the previous bars were consecutively up or down, i.e. the probabilities are always the same as flipping a coin. To account for the overall change in price, there is a very small differential in the percentages and/or average size of the bars, but nothing that can be readily exploited after consideration of slippage and commissions.

That said, you can create this easily using the strategy wizard, just add a condition that Close > Open 1 bar ago, then add another condition for 2 bars ago, etc.

Reply With Quote
The following user says Thank You to vegasfoster for this post:
 
  #4 (permalink)
Elite Member
uk, london
 
Futures Experience: Beginner
Platform: NinjaTrader
Favorite Futures: forex
 
Posts: 25 since Sep 2011
Thanks: 6 given, 2 received

thanks for ur reply

i know that its 50% win or loose but i just want to create an aidea in my head so if any one can just write it for me or just give some notes that will be nice

thanks

Reply With Quote
 
  #5 (permalink)
Market Wizard
virginia
 
Futures Experience: Intermediate
Platform: ninja
Favorite Futures: ES
 
cory's Avatar
 
Posts: 5,218 since Jun 2009
Thanks: 628 given, 6,316 received
Forum Reputation: Legendary


musuk View Post
thanks for ur reply

i know that its 50% win or loose but i just want to create an aidea in my head so if any one can just write it for me or just give some notes that will be nice

thanks

check this out https://futures.io/index-futures-trading/7347-tf-russell-2000-futures-contract-t...-works-21.html#post89246

Reply With Quote
 
  #6 (permalink)
Elite Member
Warsaw, Poland
 
Futures Experience: Beginner
Platform: MultiCharts
Broker/Data: IB, IQFeed
Favorite Futures: TF
 
Posts: 5 since Aug 2011
Thanks: 13 given, 6 received


musuk View Post
hi every one

i want to build a signal that it buy when the current bar start counting the numbers of previose bars and if it higher then it will buy and same when it sale to close.
i think its easey but i have no idea how to do it.

thanks

Maybe try this:

 
Code
inputs: TP$(100), SL$(100), _BackBars(5);
variable: quantity(1), nBars(0);

For nBars = 0 to _BackBars begin
	if H[nBars] > H[nBars + 1] then begin
		condition1 = true;
	end	
	else begin
		condition1 = false;
	break;
	end;
end;
For nBars = 0 to _BackBars begin
	if H[nBars] < H[nBars + 1] then begin
		condition2 = true;
	end	
	else begin
		condition2 = false;
	break;
	end;
end;

if condition1 then begin
	Buy quantity contracts Next Bar At market;
end;

if condition2 then begin
	SellShort quantity contracts Next Bar At market;
end;		

setstopposition;
setprofittarget(TP$);
setstoploss(SL$);

Reply With Quote
The following user says Thank You to kzaorski for this post:
 
  #7 (permalink)
Elite Member
uk, london
 
Futures Experience: Beginner
Platform: NinjaTrader
Favorite Futures: forex
 
Posts: 25 since Sep 2011
Thanks: 6 given, 2 received

thanks for ur reply i will try this.

Reply With Quote

Reply



futures io > > > > > simple stratgy

Thread Tools Search this Thread
Search this Thread:

Advanced Search



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

Jigsaw Trading: TBA

Elite only

FuturesTrader71: TBA

Elite only

NinjaTrader: TBA

Jan 18

RandBots: TBA

Jan 23

GFF Brokers & CME Group: Futures & Bitcoin

Elite only

Adam Grimes: TBA

Elite only

Ran Aroussi: TBA

Elite only
     

Similar Threads
Thread Thread Starter Forum Replies Last Post
Please help with simple strategy with SMA dimkrinichnyi NinjaTrader Programming 17 November 1st, 2011 02:25 PM
Simple RSI Strategy frostengine NinjaTrader Programming 2 October 30th, 2011 01:12 PM
Keeping it Simple Silver Dragon Trading Journals 26 September 19th, 2011 06:00 PM
Tepper: investing, it can just be that simple. cory News and Current Events 1 October 3rd, 2010 03:34 PM
Simple strategy vast NinjaTrader Programming 19 August 5th, 2010 06:39 PM


All times are GMT -4. The time now is 01:17 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-14 in 0.10 seconds with 19 queries on phoenix via your IP 54.234.255.29