9.1- 9.5 - EasyLanguage Programming | futures io social day trading
futures io futures trading

9.1- 9.5
Updated: Views / Replies:132 / 2
Created: by Pitrader 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

Thread Tools Search this Thread

9.1- 9.5

  #1 (permalink)
Posts: 10 since Feb 2011
Thanks: 2 given, 0 received

9.1- 9.5

I have an indicator that works just fine on ver 9.1 but I get an error when applied to 9.5 or higher. Placed on a 15 second chart to expedite, once the active bar closes I get a 'Vector is empty or invalid index' error. I have the code below. Any help would be appreciated.

 using elsystem ; 								
using elsystem.drawingobjects ; 								
using elsystem.drawing ; 								
    PtOffsetPoint(0.5), UniqueID("GGG"); 								
	ii(0), ptoffset(0), TextLabel BarCounterTxt( NULL ), TextLabel DeleteText(NULL), BNPoint PosBN( NULL ); 							
Arrays: TXID[100](0);	 							
method void CreateBNLabel(int barcnt) 								
	{ create position for the text label by bar number using the BNPoint class } 							
	PosBN = BNPoint.Create( CurrentBar - barcnt, Low[barcnt]-PtOffsetPoint) ; 							
	{ create the text label } 							
	BarCounterTxt = TextLabel.Create( PosBN, Numtostr(barcnt+1,0) ) ; 							
	BarCounterTxt.Font = Font.Create( "Arial", 8 ) ; 							
	BarCounterTxt.HStyle = HorizontalStyle.center ; 							
	BarCounterTxt.VStyle = VerticalStyle.top;							
	BarCounterTxt.Color = Color.Red ; 							
	BarCounterTxt.Tag = UniqueID astype string ;							
	BarCounterTxt.Persist = true ; 							
	end ;	 						
method void ShowText() 								
		DrawingObjects.Add( BarCounterTxt ) ; 						
//Deleting the Old Texts								
method void deleteAllText()  								
Var: int textList, int textCnt,int jj  ;  								
    textList = ObjectCategory.TextLabel;   								
    textCnt = DrawingObjects.Items[textList].Count;  								
    if (LastBarOnChart) then   								
        for jj = 0 to TextCnt - 1   								
            DeleteText = DrawingObjects.Items[textList][jj] astype TextLabel;  								
            if (DeleteText <> NULL) and DeleteText.Tag astype string = UniqueID then DrawingObjects.Delete(DeleteText);  								
	if (LastBarOnChart) and (BarStatus(1)=2) then 							
		for ii = 0 to BackBars -1						

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
Trading Experience: Advanced
Platform: Multicharts, Tradestation
Broker/Data: DTN IQ
Favorite Futures: ES
Posts: 2,101 since Apr 2013
Thanks: 377 given, 1,346 received


this might be caused by your method that deletes the text, as you loop through elements of the drawing collection and delete elements from it during the loop. This can lead to a situation where you try to access an index that is not longer present in the collection, which would trigger the error.



Follow me on Twitter Visit my Facebook Reply With Quote


futures io > > > > > 9.1- 9.5

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

futures io is celebrating 10-years w/ over $18,000 in prizes!

Right now

$250 Amazon Gift Cards with our "Thanks Contest" challenge!

Right now

Webinar: The Seven Most Effective Trading Setups w/Peter Davies @ Jigsaw

Oct 17

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

Copyright © 2019 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