Gap Counter - EasyLanguage Programming | futures io social day trading
futures io futures trading


Gap Counter
Updated: Views / Replies:425 / 2
Created: by skiman721 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
 

Gap Counter

  #1 (permalink)
Elite Member
North Bay
 
Futures Experience: Intermediate
Platform: NT, ToS, MulitCharts
Broker/Data: NT, TD
Favorite Futures: ES, CL
 
Posts: 39 since Nov 2011
Thanks: 10 given, 9 received

Gap Counter

I'm trying to count the number of consecutive daily up or down gaps but having trouble with the code. I'm not sure how to increase or decrease the variables.

 
Code
vars: 
newday(false),
openingPrice(0),
ydayClose(0),
ydayRange(0),
GapDown(0),
GapUp(0),
GapPresent(0);

// SET VARS
if date[1] < date then begin
	newday=true;
	ydayRange=(HighD(1)-LowD(1));
	ydayClose=CloseD(1);
	openingPrice=OpenD(0);
end;

//GAP COUNTER
if newday and openingPrice < (ydayClose - (ydayRange*0.1)) then begin
         GapDown +=1;
         GapUp = 1;
         GapPresent +=1;
     end;

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)
Trading Apprentice
Miami Florida
 
Futures Experience: Intermediate
Platform: TradeStation
Favorite Futures: Forex
 
juanman's Avatar
 
Posts: 7 since Apr 2015
Thanks: 1 given, 4 received


I think that when ever your code get executed all your var are initialized again, so try using
Intrabarpersists int GapCount(0); ..... so if you set a new value its remain in your vars, then see what are your results,

Reply With Quote

Reply



futures io > > > > > Gap Counter

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
Range Counter / Tick Counter / Bar Timer zeller4 NinjaTrader 20 August 10th, 2015 04:01 PM
gap between candlesticks luck IB Trader Workstation 2 December 16th, 2014 02:47 AM
Support and Resistance Levels / Gap up & Gap down bars sajidghori Currency Futures 7 May 10th, 2014 08:13 PM
gap% column asafal ThinkOrSwim 0 May 16th, 2013 09:03 PM
How is this gap up possible? mcteague Emini Index Futures Trading 8 December 20th, 2012 11:53 AM


All times are GMT -4. The time now is 09:17 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-12-13 in 0.12 seconds with 19 queries on phoenix via your IP 54.82.56.95